2025-05-06 17:41 ftp://ftp.de.debian.org/debian/pool/main/o/open-isns/open-isns_0.101.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 -j3 platform: Linux-6.8.0-1022-oracle-aarch64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 cppcheck: head 2.17.0 head-info: 56be00d (2025-05-06 17:27:07 +0200) count: 486 486 elapsed-time: 1.2 1.2 head-timing-info: old-timing-info: head results: open-isns-0.101/authblock.c:49:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_AUTHBLK_SIZE [valueFlowBailoutIncompleteVar] open-isns-0.101/buffer.c:41:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_ACCMODE [valueFlowBailoutIncompleteVar] open-isns-0.101/bitvector.c:34:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable isns_bitvector_t [valueFlowBailoutIncompleteVar] open-isns-0.101/attrs.c:113:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable isns_attr_type_nil [valueFlowBailoutIncompleteVar] open-isns-0.101/attrs.c:141:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable isns_attr_type_nil [valueFlowBailoutIncompleteVar] open-isns-0.101/attrs.c:540:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nil [valueFlowBailoutIncompleteVar] open-isns-0.101/attrs.c:549:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable string [valueFlowBailoutIncompleteVar] open-isns-0.101/attrs.c:558:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uint32 [valueFlowBailoutIncompleteVar] open-isns-0.101/attrs.c:567:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable int32 [valueFlowBailoutIncompleteVar] open-isns-0.101/attrs.c:576:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uint64 [valueFlowBailoutIncompleteVar] open-isns-0.101/attrs.c:585:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ipaddr [valueFlowBailoutIncompleteVar] open-isns-0.101/attrs.c:660:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_INTERNAL_ERROR [valueFlowBailoutIncompleteVar] open-isns-0.101/attrs.c:767:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_INTERNAL_ERROR [valueFlowBailoutIncompleteVar] open-isns-0.101/attrs.c:798:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable isns_attr_type_nil [valueFlowBailoutIncompleteVar] open-isns-0.101/attrs.c:828:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_SUCCESS [valueFlowBailoutIncompleteVar] open-isns-0.101/attrs.c:889:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_SUCCESS [valueFlowBailoutIncompleteVar] open-isns-0.101/attrs.c:911:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_INTERNAL_ERROR [valueFlowBailoutIncompleteVar] open-isns-0.101/attrs.c:950:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] open-isns-0.101/attrs.c:1008:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] open-isns-0.101/attrs.c:1031:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_UDP [valueFlowBailoutIncompleteVar] open-isns-0.101/attrs.c:1056:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_UDP [valueFlowBailoutIncompleteVar] open-isns-0.101/attrs.c:1065:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in6_addr [valueFlowBailoutIncompleteVar] open-isns-0.101/attrs.c:1083:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_UDP [valueFlowBailoutIncompleteVar] open-isns-0.101/attrs.c:1095:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_TCP [valueFlowBailoutIncompleteVar] open-isns-0.101/attrs.c:1443:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET6_ADDRSTRLEN [valueFlowBailoutIncompleteVar] open-isns-0.101/attrs.c:1464:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] open-isns-0.101/attrs.c:1617:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __ISNS_ATTR_TYPE_BUILTIN_MAX [valueFlowBailoutIncompleteVar] open-isns-0.101/callback.c:44:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable events [valueFlowBailoutIncompleteVar] open-isns-0.101/callback.c:77:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable notifiers [valueFlowBailoutIncompleteVar] open-isns-0.101/callback.c:89:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable events [valueFlowBailoutIncompleteVar] open-isns-0.101/callback.c:111:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable notifiers [valueFlowBailoutIncompleteVar] open-isns-0.101/callback.c:118:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_SCN_DD_MEMBER_ADDED [valueFlowBailoutIncompleteVar] open-isns-0.101/bitvector.c:53:17: style: Variable 'end' can be declared as pointer to const [constVariablePointer] open-isns-0.101/bitvector.c:148:17: style: Variable 'end' can be declared as pointer to const [constVariablePointer] open-isns-0.101/bitvector.c:201:24: style: Variable 'end' can be declared as pointer to const [constVariablePointer] open-isns-0.101/bitvector.c:355:22: style: Parameter 'result' can be declared as pointer to const [constParameterPointer] open-isns-0.101/bitvector.c:467:17: style: Variable 'end' can be declared as pointer to const [constVariablePointer] open-isns-0.101/bitvector.c:494:17: style: Variable 'end' can be declared as pointer to const [constVariablePointer] open-isns-0.101/bitvector.c:540:17: style: Variable 'end' can be declared as pointer to const [constVariablePointer] open-isns-0.101/bitvector.c:298:24: style: Variable 'oldval' is assigned a value that is never used. [unreadVariable] open-isns-0.101/client.c:29:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ic_source_name [valueFlowBailoutIncompleteVar] open-isns-0.101/client.c:45:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ic_server_name [valueFlowBailoutIncompleteVar] open-isns-0.101/client.c:73:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ic_source_name [valueFlowBailoutIncompleteVar] open-isns-0.101/client.c:81:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ic_control_socket [valueFlowBailoutIncompleteVar] open-isns-0.101/client.c:179:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ic_security [valueFlowBailoutIncompleteVar] open-isns-0.101/attrs.c:656:18: warning: Either the condition 'attr==NULL' is redundant or there is possible null pointer dereference: attr. [nullPointerRedundantCheck] open-isns-0.101/attrs.c:659:12: note: Assuming that condition 'attr==NULL' is not redundant open-isns-0.101/attrs.c:656:18: note: Null pointer dereference open-isns-0.101/client.c:196:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ic_auth_key_file [valueFlowBailoutIncompleteVar] open-isns-0.101/client.c:211:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ic_control_key_file [valueFlowBailoutIncompleteVar] open-isns-0.101/attrs.c:470:15: style: Variable 'attr' can be declared as pointer to const [constVariablePointer] open-isns-0.101/attrs.c:655:16: style: Variable 'attr' can be declared as pointer to const [constVariablePointer] open-isns-0.101/attrs.c:892:21: style: Variable 'attr' can be declared as pointer to const [constVariablePointer] open-isns-0.101/attrs.c:1139:57: style: Parameter 'bp' can be declared as pointer to const. However it seems that 'isns_attr_type_nil_decode' is a callback function, if 'bp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] open-isns-0.101/attrs.c:1165:15: note: You might need to cast the function pointer here open-isns-0.101/attrs.c:1139:57: note: Parameter 'bp' can be declared as pointer to const open-isns-0.101/attrs.c:1140:40: style: Parameter 'value' can be declared as pointer to const. However it seems that 'isns_attr_type_nil_decode' is a callback function, if 'value' is declared with const you might also need to cast function pointer(s). [constParameterCallback] open-isns-0.101/attrs.c:1165:15: note: You might need to cast the function pointer here open-isns-0.101/attrs.c:1140:40: note: Parameter 'value' can be declared as pointer to const open-isns-0.101/attrs.c:1153:63: style: Parameter 'value' can be declared as pointer to const. However it seems that 'isns_attr_type_nil_parse' is a callback function, if 'value' is declared with const you might also need to cast function pointer(s). [constParameterCallback] open-isns-0.101/attrs.c:1167:14: note: You might need to cast the function pointer here open-isns-0.101/attrs.c:1153:63: note: Parameter 'value' can be declared as pointer to const open-isns-0.101/attrs.c:1559:17: style: Variable 'data' can be declared as pointer to const [constVariablePointer] open-isns-0.101/config.c:302:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] open-isns-0.101/db-file.c:87:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_INTERNAL_ERROR [valueFlowBailoutIncompleteVar] open-isns-0.101/db-file.c:164:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_INTERNAL_ERROR [valueFlowBailoutIncompleteVar] open-isns-0.101/db-file.c:220:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_SUCCESS [valueFlowBailoutIncompleteVar] open-isns-0.101/db-file.c:250:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_SUCCESS [valueFlowBailoutIncompleteVar] open-isns-0.101/db-file.c:262:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_SUCCESS [valueFlowBailoutIncompleteVar] open-isns-0.101/db-file.c:273:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_ATTR_LIST_INIT [valueFlowBailoutIncompleteVar] open-isns-0.101/db-file.c:359:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_SUCCESS [valueFlowBailoutIncompleteVar] open-isns-0.101/db-file.c:404:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_INTERNAL_ERROR [valueFlowBailoutIncompleteVar] open-isns-0.101/db-file.c:431:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_NO_SUCH_ENTRY [valueFlowBailoutIncompleteVar] open-isns-0.101/db-file.c:495:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] open-isns-0.101/db-file.c:591:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_INTERNAL_ERROR [valueFlowBailoutIncompleteVar] open-isns-0.101/db-file.c:608:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_SUCCESS [valueFlowBailoutIncompleteVar] open-isns-0.101/compat/my_getopt.c:67:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] open-isns-0.101/compat/my_getopt.c:221:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] open-isns-0.101/db-file.c:366:15: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] open-isns-0.101/db-file.c:224:18: style: Variable 'child' can be declared as pointer to const [constVariablePointer] open-isns-0.101/db-file.c:357:17: style: Variable 'dp' can be declared as pointer to const [constVariablePointer] open-isns-0.101/db-file.c:401:21: style: Variable 'back' can be declared as pointer to const [constVariablePointer] open-isns-0.101/db-file.c:427:21: style: Variable 'back' can be declared as pointer to const [constVariablePointer] open-isns-0.101/db-file.c:584:32: style: Parameter 'db' can be declared as pointer to const. However it seems that 'isns_dbe_file_store' is a callback function, if 'db' is declared with const you might also need to cast function pointer(s). [constParameterCallback] open-isns-0.101/db-file.c:628:20: note: You might need to cast the function pointer here open-isns-0.101/db-file.c:584:32: note: Parameter 'db' can be declared as pointer to const open-isns-0.101/db-file.c:586:21: style: Variable 'back' can be declared as pointer to const [constVariablePointer] open-isns-0.101/db-file.c:602:33: style: Parameter 'db' can be declared as pointer to const. However it seems that 'isns_dbe_file_remove' is a callback function, if 'db' is declared with const you might also need to cast function pointer(s). [constParameterCallback] open-isns-0.101/db-file.c:629:21: note: You might need to cast the function pointer here open-isns-0.101/db-file.c:602:33: note: Parameter 'db' can be declared as pointer to const open-isns-0.101/db-file.c:604:21: style: Variable 'back' can be declared as pointer to const [constVariablePointer] open-isns-0.101/db-file.c:38:11: style: struct member 'isns_db_object_info::__db_reserved' is never used. [unusedStructMember] open-isns-0.101/db-policy.c:38:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_ATTR_LIST_INIT [valueFlowBailoutIncompleteVar] open-isns-0.101/db-policy.c:77:65: style: Parameter 'store_base' can be declared as pointer to const. However it seems that '__isns_db_keystore_find' is a callback function, if 'store_base' is declared with const you might also need to cast function pointer(s). [constParameterCallback] open-isns-0.101/db-policy.c:184:27: note: You might need to cast the function pointer here open-isns-0.101/db-policy.c:77:65: note: Parameter 'store_base' can be declared as pointer to const open-isns-0.101/db.c:59:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_NO_SUCH_ENTRY [valueFlowBailoutIncompleteVar] open-isns-0.101/db.c:121:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable isns_iscsi_node_template [valueFlowBailoutIncompleteVar] open-isns-0.101/db.c:169:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_ATTR_LIST_INIT [valueFlowBailoutIncompleteVar] open-isns-0.101/db.c:184:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_ATTR_LIST_INIT [valueFlowBailoutIncompleteVar] open-isns-0.101/db.c:338:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ia_tag_id [valueFlowBailoutIncompleteVar] open-isns-0.101/db.c:462:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_SCN_OBJECT_ADDED [valueFlowBailoutIncompleteVar] open-isns-0.101/db.c:540:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_SCN_OBJECT_REMOVED [valueFlowBailoutIncompleteVar] open-isns-0.101/db.c:609:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable isns_entity_template [valueFlowBailoutIncompleteVar] open-isns-0.101/db.c:733:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ic_registration_period [valueFlowBailoutIncompleteVar] open-isns-0.101/db.c:796:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_ATTR_LIST_INIT [valueFlowBailoutIncompleteVar] open-isns-0.101/db.c:250:27: style: Parameter 'tmpl' can be declared as pointer to const [constParameterPointer] open-isns-0.101/db.c:315:29: style: Parameter 'db' can be declared as pointer to const [constParameterPointer] open-isns-0.101/db.c:829:35: style: Parameter 'db' can be declared as pointer to const [constParameterPointer] open-isns-0.101/db.c:830:27: style: Parameter 'tmpl' can be declared as pointer to const [constParameterPointer] open-isns-0.101/db.c:23:25: style: struct member 'isns_db_trans::idt_next' is never used. [unusedStructMember] open-isns-0.101/db.c:24:8: style: struct member 'isns_db_trans::idt_action' is never used. [unusedStructMember] open-isns-0.101/db.c:25:19: style: struct member 'isns_db_trans::idt_object' is never used. [unusedStructMember] open-isns-0.101/dd.c:135:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_DD_REGISTER [valueFlowBailoutIncompleteVar] open-isns-0.101/dd.c:154:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_DD_DEREGISTER [valueFlowBailoutIncompleteVar] open-isns-0.101/dd.c:196:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable isns_dd_template [valueFlowBailoutIncompleteVar] open-isns-0.101/dd.c:327:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_TAG_DD_ID [valueFlowBailoutIncompleteVar] open-isns-0.101/dd.c:465:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable isns_iscsi_node_template [valueFlowBailoutIncompleteVar] open-isns-0.101/dd.c:669:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] open-isns-0.101/dd.c:750:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_SUCCESS [valueFlowBailoutIncompleteVar] open-isns-0.101/dd.c:941:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable isns_iscsi_node_template [valueFlowBailoutIncompleteVar] open-isns-0.101/dd.c:951:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_OBJECT_LIST_INIT [valueFlowBailoutIncompleteVar] open-isns-0.101/dd.c:1052:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_TAG_ISCSI_NAME [valueFlowBailoutIncompleteVar] open-isns-0.101/dd.c:1105:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] open-isns-0.101/dd.c:1121:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_TAG_DD_ID [valueFlowBailoutIncompleteVar] open-isns-0.101/dd.c:1179:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_OBJECT_LIST_INIT [valueFlowBailoutIncompleteVar] open-isns-0.101/dd.c:1241:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_ATTR_LIST_INIT [valueFlowBailoutIncompleteVar] open-isns-0.101/config.c:101:8: style: Variable 'name' can be declared as pointer to const [constVariablePointer] open-isns-0.101/config.c:132:8: style: Variable 'name' can be declared as pointer to const [constVariablePointer] open-isns-0.101/deregister.c:29:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_DEVICE_DEREGISTER [valueFlowBailoutIncompleteVar] open-isns-0.101/deregister.c:73:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable isns_portal_template [valueFlowBailoutIncompleteVar] open-isns-0.101/deregister.c:109:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_SUCCESS [valueFlowBailoutIncompleteVar] open-isns-0.101/deregister.c:159:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_OBJECT_LIST_INIT [valueFlowBailoutIncompleteVar] open-isns-0.101/domain.c:17:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_OBJECT_LIST_INIT [valueFlowBailoutIncompleteVar] open-isns-0.101/domain.c:58:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_TAG_DD_ID [valueFlowBailoutIncompleteVar] open-isns-0.101/domain.c:69:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable isns_dd_template [valueFlowBailoutIncompleteVar] open-isns-0.101/domain.c:75:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable isns_ddset_template [valueFlowBailoutIncompleteVar] open-isns-0.101/domain.c:147:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ic_use_default_domain [valueFlowBailoutIncompleteVar] open-isns-0.101/entity.c:24:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_TAG_ENTITY_IDENTIFIER [valueFlowBailoutIncompleteVar] open-isns-0.101/entity.c:39:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_ENTITY_PROTOCOL_ISCSI [valueFlowBailoutIncompleteVar] open-isns-0.101/entity.c:56:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable isns_attr_type_string [valueFlowBailoutIncompleteVar] open-isns-0.101/entity.c:67:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable isns_entity_template [valueFlowBailoutIncompleteVar] open-isns-0.101/entity.c:93:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable isns_entity_template [valueFlowBailoutIncompleteVar] open-isns-0.101/dd.c:984:18: style: Local variable 'changed' shadows outer argument [shadowArgument] open-isns-0.101/dd.c:949:21: note: Shadowed declaration open-isns-0.101/dd.c:984:18: note: Shadow variable open-isns-0.101/dd.c:173:20: style: Variable 'attrs' can be declared as pointer to const [constVariablePointer] open-isns-0.101/dd.c:310:20: style: Variable 'attrs' can be declared as pointer to const [constVariablePointer] open-isns-0.101/dd.c:522:53: style: Parameter 'obj' can be declared as pointer to const [constParameterPointer] open-isns-0.101/dd.c:551:15: style: Variable 'cur' can be declared as pointer to const [constVariablePointer] open-isns-0.101/dd.c:587:15: style: Variable 'cur' can be declared as pointer to const [constVariablePointer] open-isns-0.101/dd.c:638:14: style: Variable 'cur' can be declared as pointer to const [constVariablePointer] open-isns-0.101/dd.c:685:54: style: Parameter 'dd' can be declared as pointer to const [constParameterPointer] open-isns-0.101/dd.c:763:23: style: Variable 'next' can be declared as pointer to const [constVariablePointer] open-isns-0.101/dd.c:72:12: style: struct member 'isns_dd_ifcp_node::index' is never used. [unusedStructMember] open-isns-0.101/esi.c:66:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ic_esi_retries [valueFlowBailoutIncompleteVar] open-isns-0.101/esi.c:103:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable isns_esi_list [valueFlowBailoutIncompleteVar] open-isns-0.101/esi.c:154:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_ATTR_LIST_INIT [valueFlowBailoutIncompleteVar] open-isns-0.101/esi.c:214:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable isns_esi_list [valueFlowBailoutIncompleteVar] open-isns-0.101/esi.c:225:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable isns_esi_list [valueFlowBailoutIncompleteVar] open-isns-0.101/esi.c:241:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hold [valueFlowBailoutIncompleteVar] open-isns-0.101/esi.c:334:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ic_esi_retries [valueFlowBailoutIncompleteVar] open-isns-0.101/esi.c:412:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable isns_esi_list [valueFlowBailoutIncompleteVar] open-isns-0.101/esi.c:441:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_ENTITY_STATUS_INQUIRY [valueFlowBailoutIncompleteVar] open-isns-0.101/esi.c:563:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable isns_entity_template [valueFlowBailoutIncompleteVar] open-isns-0.101/export.c:351:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] open-isns-0.101/esi.c:97:17: style: Variable 'obj' can be declared as pointer to const [constVariablePointer] open-isns-0.101/esi.c:221:30: style: Parameter 'obj' can be declared as pointer to const [constParameterPointer] open-isns-0.101/export.c:190:16: style: Local variable 'i' shadows outer variable [shadowVariable] open-isns-0.101/export.c:150:27: note: Shadowed declaration open-isns-0.101/export.c:190:16: note: Shadow variable open-isns-0.101/export.c:106:27: style: Variable 'tmpl' can be declared as pointer to const [constVariablePointer] open-isns-0.101/export.c:217:57: style: Parameter 'st' can be declared as pointer to const [constParameterPointer] open-isns-0.101/export.c:306:29: style: Parameter 'tmpl' can be declared as pointer to const [constParameterPointer] open-isns-0.101/export.c:444:58: style: Parameter 'st' can be declared as pointer to const [constParameterPointer] open-isns-0.101/export.c:446:33: style: Variable 'current' can be declared as pointer to const [constVariablePointer] open-isns-0.101/getnext.c:28:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_DEVICE_GET_NEXT [valueFlowBailoutIncompleteVar] open-isns-0.101/getnext.c:87:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_INVALID_QUERY [valueFlowBailoutIncompleteVar] open-isns-0.101/getnext.c:218:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_SUCCESS [valueFlowBailoutIncompleteVar] open-isns-0.101/getnext.c:250:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_ATTRIBUTE_NOT_IMPLEMENTED [valueFlowBailoutIncompleteVar] open-isns-0.101/isnsd.c:69:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] open-isns-0.101/isnsd.c:163:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] open-isns-0.101/isnsd.c:179:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ic_pidfile [valueFlowBailoutIncompleteVar] open-isns-0.101/isnsd.c:220:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ic_security [valueFlowBailoutIncompleteVar] open-isns-0.101/isnsadm.c:103:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] open-isns-0.101/isnsadm.c:282:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] open-isns-0.101/isnsadm.c:343:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_ATTR_LIST_INIT [valueFlowBailoutIncompleteVar] open-isns-0.101/isnsadm.c:507:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_SUCCESS [valueFlowBailoutIncompleteVar] open-isns-0.101/isnsadm.c:522:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_OBJECT_LIST_INIT [valueFlowBailoutIncompleteVar] open-isns-0.101/isnsadm.c:601:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_ATTR_LIST_INIT [valueFlowBailoutIncompleteVar] open-isns-0.101/isnsadm.c:642:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_ATTR_LIST_INIT [valueFlowBailoutIncompleteVar] open-isns-0.101/isnsadm.c:730:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable isns_entity_template [valueFlowBailoutIncompleteVar] open-isns-0.101/isnsadm.c:766:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_ATTR_LIST_INIT [valueFlowBailoutIncompleteVar] open-isns-0.101/isnsadm.c:844:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_ATTR_LIST_INIT [valueFlowBailoutIncompleteVar] open-isns-0.101/isnsadm.c:886:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable isns_dd_template [valueFlowBailoutIncompleteVar] open-isns-0.101/isnsadm.c:903:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_ATTR_LIST_INIT [valueFlowBailoutIncompleteVar] open-isns-0.101/isnsadm.c:942:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable isns_dd_template [valueFlowBailoutIncompleteVar] open-isns-0.101/isnsadm.c:960:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_ATTR_LIST_INIT [valueFlowBailoutIncompleteVar] open-isns-0.101/isnsadm.c:1016:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_OBJECT_LIST_INIT [valueFlowBailoutIncompleteVar] open-isns-0.101/isnsadm.c:1036:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_ATTR_LIST_INIT [valueFlowBailoutIncompleteVar] open-isns-0.101/isnsadm.c:1087:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_ATTR_LIST_INIT [valueFlowBailoutIncompleteVar] open-isns-0.101/isnsd.c:315:19: style: Local variable 'sock' shadows outer variable [shadowVariable] open-isns-0.101/isnsd.c:215:17: note: Shadowed declaration open-isns-0.101/isnsd.c:315:19: note: Shadow variable open-isns-0.101/isnsdd.c:111:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] open-isns-0.101/isnsdd.c:223:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] open-isns-0.101/isnsdd.c:255:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ic_pidfile [valueFlowBailoutIncompleteVar] open-isns-0.101/isnsdd.c:292:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable proxies [valueFlowBailoutIncompleteVar] open-isns-0.101/isnsdd.c:343:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_OBJECT_LIST_INIT [valueFlowBailoutIncompleteVar] open-isns-0.101/isnsdd.c:387:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_OBJECT_LIST_INIT [valueFlowBailoutIncompleteVar] open-isns-0.101/isnsdd.c:459:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_TAG_ESI_INTERVAL [valueFlowBailoutIncompleteVar] open-isns-0.101/isnsdd.c:499:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_OBJECT_LIST_INIT [valueFlowBailoutIncompleteVar] open-isns-0.101/isnsdd.c:594:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable proxies [valueFlowBailoutIncompleteVar] open-isns-0.101/isnsdd.c:666:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_SUCCESS [valueFlowBailoutIncompleteVar] open-isns-0.101/isnsdd.c:678:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_SUCCESS [valueFlowBailoutIncompleteVar] open-isns-0.101/isnsdd.c:721:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_OBJECT_LIST_INIT [valueFlowBailoutIncompleteVar] open-isns-0.101/isnsdd.c:842:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_OBJECT_LIST_INIT [valueFlowBailoutIncompleteVar] open-isns-0.101/isnsdd.c:886:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_ATTR_LIST_INIT [valueFlowBailoutIncompleteVar] open-isns-0.101/isnsdd.c:964:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_SUCCESS [valueFlowBailoutIncompleteVar] open-isns-0.101/isnsdd.c:985:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ic_scn_callout [valueFlowBailoutIncompleteVar] open-isns-0.101/isnsdd.c:1022:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_ATTR_LIST_INIT [valueFlowBailoutIncompleteVar] open-isns-0.101/isnsdd.c:1104:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_DGRAM [valueFlowBailoutIncompleteVar] open-isns-0.101/isnsdd.c:269:2: warning: If memory allocation fails, then there is a possible null pointer dereference: proxy [nullPointerOutOfMemory] open-isns-0.101/isnsdd.c:267:16: note: Assuming allocation function fails open-isns-0.101/isnsdd.c:267:16: note: Assignment 'proxy=calloc(1,sizeof(*proxy))', assigned value is 0 open-isns-0.101/isnsdd.c:269:2: note: Null pointer dereference open-isns-0.101/isnsdd.c:1095:30: style:inconclusive: Function 'run_discovery' argument 1 names different: declaration 'srv' definition 'server'. [funcArgNamesDifferent] open-isns-0.101/isnsdd.c:71:43: note: Function 'run_discovery' argument 1 names different: declaration 'srv' definition 'server'. open-isns-0.101/isnsdd.c:1095:30: note: Function 'run_discovery' argument 1 names different: declaration 'srv' definition 'server'. open-isns-0.101/isnsdd.c:788:7: style: Local variable 'status' shadows outer variable [shadowVariable] open-isns-0.101/isnsdd.c:724:7: note: Shadowed declaration open-isns-0.101/isnsdd.c:788:7: note: Shadow variable open-isns-0.101/local.c:70:34: debug: Function::addArguments found argument 'line' with varid 0. [varid0] open-isns-0.101/isnsadm.c:787:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] open-isns-0.101/local.c:74:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ic_local_registry_file [valueFlowBailoutIncompleteVar] open-isns-0.101/local.c:139:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ic_local_registry_file [valueFlowBailoutIncompleteVar] open-isns-0.101/local.c:187:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ic_local_registry_file [valueFlowBailoutIncompleteVar] open-isns-0.101/local.c:206:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ic_entity_name [valueFlowBailoutIncompleteVar] open-isns-0.101/local.c:219:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_ATTR_LIST_INIT [valueFlowBailoutIncompleteVar] open-isns-0.101/local.c:298:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] open-isns-0.101/local.c:325:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] open-isns-0.101/logging.c:70:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] open-isns-0.101/logging.c:103:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] open-isns-0.101/logging.c:115:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_WARNING [valueFlowBailoutIncompleteVar] open-isns-0.101/logging.c:125:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_NOTICE [valueFlowBailoutIncompleteVar] open-isns-0.101/logging.c:135:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] open-isns-0.101/logging.c:156:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBG_GENERAL [valueFlowBailoutIncompleteVar] open-isns-0.101/logging.c:194:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBG_GENERAL [valueFlowBailoutIncompleteVar] open-isns-0.101/logging.c:195:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBG_SOCKET [valueFlowBailoutIncompleteVar] open-isns-0.101/logging.c:196:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBG_PROTOCOL [valueFlowBailoutIncompleteVar] open-isns-0.101/logging.c:197:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBG_MESSAGE [valueFlowBailoutIncompleteVar] open-isns-0.101/logging.c:198:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBG_AUTH [valueFlowBailoutIncompleteVar] open-isns-0.101/logging.c:199:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBG_STATE [valueFlowBailoutIncompleteVar] open-isns-0.101/logging.c:200:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBG_SCN [valueFlowBailoutIncompleteVar] open-isns-0.101/logging.c:201:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBG_ESI [valueFlowBailoutIncompleteVar] open-isns-0.101/logging.c:218:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] open-isns-0.101/logging.c:228:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] open-isns-0.101/local.c:75:9: style: Local variable 'line' shadows outer argument [shadowArgument] open-isns-0.101/local.c:70:34: note: Shadowed declaration open-isns-0.101/local.c:75:9: note: Shadow variable open-isns-0.101/local.c:91:9: style: Local variable 'argv' shadows outer argument [shadowArgument] open-isns-0.101/local.c:70:34: note: Shadowed declaration open-isns-0.101/local.c:91:9: note: Shadow variable open-isns-0.101/local.c:92:7: style: Local variable 'argc' shadows outer argument [shadowArgument] open-isns-0.101/local.c:70:34: note: Shadowed declaration open-isns-0.101/local.c:92:7: note: Shadow variable open-isns-0.101/local.c:339:8: style: Local variable 'i' shadows outer variable [shadowVariable] open-isns-0.101/local.c:334:16: note: Shadowed declaration open-isns-0.101/local.c:339:8: note: Shadow variable open-isns-0.101/local.c:91:21: style: Variable 'owner' can be declared as pointer to const [constVariablePointer] open-isns-0.101/local.c:225:9: style: Variable 'attr' can be declared as pointer to const [constVariablePointer] open-isns-0.101/message.c:68:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_MAX_PDU_SIZE [valueFlowBailoutIncompleteVar] open-isns-0.101/message.c:95:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_MAX_MESSAGE [valueFlowBailoutIncompleteVar] open-isns-0.101/message.c:118:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_F_SERVER [valueFlowBailoutIncompleteVar] open-isns-0.101/message.c:161:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_MESSAGE_FORMAT_ERROR [valueFlowBailoutIncompleteVar] open-isns-0.101/message.c:203:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable isns_hdr [valueFlowBailoutIncompleteVar] open-isns-0.101/message.c:240:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_MQ_SORT_RESEND_TIMEOUT [valueFlowBailoutIncompleteVar] open-isns-0.101/message.c:329:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] open-isns-0.101/message.c:365:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ic_iqn_prefix [valueFlowBailoutIncompleteVar] open-isns-0.101/message.c:429:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] open-isns-0.101/message.c:497:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_TAG_FC_PORT_NAME_WWPN [valueFlowBailoutIncompleteVar] open-isns-0.101/message.c:517:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable string [valueFlowBailoutIncompleteVar] open-isns-0.101/message.c:589:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_TAG_ISCSI_NODE_TYPE [valueFlowBailoutIncompleteVar] open-isns-0.101/message.c:643:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_TAG_DELIMITER [valueFlowBailoutIncompleteVar] open-isns-0.101/message.c:657:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_SUCCESS [valueFlowBailoutIncompleteVar] open-isns-0.101/objects.c:331:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable isns_entity_template [valueFlowBailoutIncompleteVar] open-isns-0.101/objects.c:436:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable isns_iscsi_node_template [valueFlowBailoutIncompleteVar] open-isns-0.101/objects.c:442:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable isns_fc_port_template [valueFlowBailoutIncompleteVar] open-isns-0.101/objects.c:448:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable isns_fc_node_template [valueFlowBailoutIncompleteVar] open-isns-0.101/objects.c:454:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable isns_portal_template [valueFlowBailoutIncompleteVar] open-isns-0.101/objects.c:460:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable isns_iscsi_pg_template [valueFlowBailoutIncompleteVar] open-isns-0.101/objects.c:509:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable isns_attr_type_nil [valueFlowBailoutIncompleteVar] open-isns-0.101/objects.c:540:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_OBJECT_LIST_INIT [valueFlowBailoutIncompleteVar] open-isns-0.101/objects.c:765:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_TAG_TIMESTAMP [valueFlowBailoutIncompleteVar] open-isns-0.101/objects.c:795:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_SCN_OBJECT_UPDATED [valueFlowBailoutIncompleteVar] open-isns-0.101/objects.c:809:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_SCN_OBJECT_UPDATED [valueFlowBailoutIncompleteVar] open-isns-0.101/objects.c:838:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable string [valueFlowBailoutIncompleteVar] open-isns-0.101/objects.c:850:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uint32 [valueFlowBailoutIncompleteVar] open-isns-0.101/objects.c:861:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uint64 [valueFlowBailoutIncompleteVar] open-isns-0.101/objects.c:871:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ipaddr [valueFlowBailoutIncompleteVar] open-isns-0.101/objects.c:901:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ia_tag_id [valueFlowBailoutIncompleteVar] open-isns-0.101/objects.c:933:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] open-isns-0.101/objects.c:1129:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_INVALID_QUERY [valueFlowBailoutIncompleteVar] open-isns-0.101/message.c:315:15: style: Variable 'comp' can be declared as pointer to const [constVariablePointer] open-isns-0.101/message.c:350:7: style: Variable 'pos' is assigned a value that is never used. [unreadVariable] open-isns-0.101/parser.c:33:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] open-isns-0.101/parser.c:115:9: style: Variable 's' can be declared as pointer to const [constVariablePointer] open-isns-0.101/pidfile.c:49:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] open-isns-0.101/pidfile.c:85:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] open-isns-0.101/objects.c:189:51: style: Parameter 'tmpl' can be declared as pointer to const [constParameterPointer] open-isns-0.101/objects.c:353:27: style: Parameter 'tmpl' can be declared as pointer to const [constParameterPointer] open-isns-0.101/objects.c:396:27: style: Parameter 'child_type' can be declared as pointer to const [constParameterPointer] open-isns-0.101/objects.c:428:27: style: Parameter 'tmpl' can be declared as pointer to const [constParameterPointer] open-isns-0.101/objects.c:723:48: style: Parameter 'tmpl' can be declared as pointer to const [constParameterPointer] open-isns-0.101/objects.c:1080:18: style: Parameter 'obj' can be declared as pointer to const [constParameterPointer] open-isns-0.101/objects.c:1093:27: style: Parameter 'tmpl' can be declared as pointer to const [constParameterPointer] open-isns-0.101/objects.c:1122:27: style: Parameter 'tmpl' can be declared as pointer to const [constParameterPointer] open-isns-0.101/objects.c:1205:17: style: Variable 'prev' can be declared as pointer to const [constVariablePointer] open-isns-0.101/policy.c:87:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ic_security [valueFlowBailoutIncompleteVar] open-isns-0.101/policy.c:160:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_ISCSI_CONTROL_MASK [valueFlowBailoutIncompleteVar] open-isns-0.101/policy.c:209:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_ISCSI_CONTROL_MASK [valueFlowBailoutIncompleteVar] open-isns-0.101/policy.c:251:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_ISCSI_CONTROL_MASK [valueFlowBailoutIncompleteVar] open-isns-0.101/policy.c:280:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_ISCSI_CONTROL_MASK [valueFlowBailoutIncompleteVar] open-isns-0.101/policy.c:388:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable isns_entity_template [valueFlowBailoutIncompleteVar] open-isns-0.101/policy.c:426:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_ISCSI_CONTROL_MASK [valueFlowBailoutIncompleteVar] open-isns-0.101/policy.c:472:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_ISCSI_CONTROL_MASK [valueFlowBailoutIncompleteVar] open-isns-0.101/policy.c:514:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_ENTITY_STATUS_INQUIRY [valueFlowBailoutIncompleteVar] open-isns-0.101/policy.c:540:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_DEVICE_ATTRIBUTE_REGISTER [valueFlowBailoutIncompleteVar] open-isns-0.101/portal-group.c:47:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable isns_iscsi_pg_template [valueFlowBailoutIncompleteVar] open-isns-0.101/portal-group.c:93:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_ATTR_LIST_INIT [valueFlowBailoutIncompleteVar] open-isns-0.101/portal-group.c:125:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_ATTR_LIST_INIT [valueFlowBailoutIncompleteVar] open-isns-0.101/portal-group.c:212:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_ATTR_LIST_INIT [valueFlowBailoutIncompleteVar] open-isns-0.101/policy.c:137:34: warning: Shifting signed 32-bit value by 31 bits is undefined behaviour. See condition at line 132. [shiftTooManyBitsSigned] open-isns-0.101/policy.c:132:15: note: Assuming that condition 'function>=32' is not redundant open-isns-0.101/policy.c:137:34: note: Shift open-isns-0.101/portal-group.c:150:37: style: Parameter 'entity' can be declared as pointer to const [constParameterPointer] open-isns-0.101/portal-group.c:152:17: style: Variable 'other' can be declared as pointer to const [constVariablePointer] open-isns-0.101/query.c:24:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_DEVICE_ATTRIBUTE_QUERY [valueFlowBailoutIncompleteVar] open-isns-0.101/query.c:43:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_SUCCESS [valueFlowBailoutIncompleteVar] open-isns-0.101/query.c:51:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_INVALID_QUERY [valueFlowBailoutIncompleteVar] open-isns-0.101/query.c:63:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ia_tag_id [valueFlowBailoutIncompleteVar] open-isns-0.101/query.c:83:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_OBJECT_LIST_INIT [valueFlowBailoutIncompleteVar] open-isns-0.101/query.c:200:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_OBJECT_LIST_INIT [valueFlowBailoutIncompleteVar] open-isns-0.101/query.c:64:27: style: Variable 'tmpl' can be declared as pointer to const [constVariablePointer] open-isns-0.101/register.c:30:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_DEVICE_ATTRIBUTE_REGISTER [valueFlowBailoutIncompleteVar] open-isns-0.101/register.c:130:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_ATTR_LIST_INIT [valueFlowBailoutIncompleteVar] open-isns-0.101/register.c:402:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_NO_SUCH_ENTRY [valueFlowBailoutIncompleteVar] open-isns-0.101/register.c:638:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_SUCCESS [valueFlowBailoutIncompleteVar] open-isns-0.101/register.c:688:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable isns_iscsi_node_template [valueFlowBailoutIncompleteVar] open-isns-0.101/register.c:701:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable isns_iscsi_node_template [valueFlowBailoutIncompleteVar] open-isns-0.101/register.c:779:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_INVALID_REGISTRATION [valueFlowBailoutIncompleteVar] open-isns-0.101/register.c:811:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_OBJECT_LIST_INIT [valueFlowBailoutIncompleteVar] open-isns-0.101/compat/my_getopt.c:142:44: style: Redundant initialization for 'colon_mode'. The initialized value is overwritten before it is read. [redundantInitialization] open-isns-0.101/compat/my_getopt.c:139:25: note: colon_mode is initialized open-isns-0.101/compat/my_getopt.c:142:44: note: colon_mode is overwritten open-isns-0.101/compat/my_getopt.c:226:19: style: Variable 'charind' is assigned a value that is never used. [unreadVariable] open-isns-0.101/relation.c:77:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable obj [valueFlowBailoutIncompleteVar] open-isns-0.101/relation.c:103:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable obj [valueFlowBailoutIncompleteVar] open-isns-0.101/relation.c:127:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable obj [valueFlowBailoutIncompleteVar] open-isns-0.101/relation.c:155:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable obj [valueFlowBailoutIncompleteVar] open-isns-0.101/relation.c:169:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable obj [valueFlowBailoutIncompleteVar] open-isns-0.101/relation.c:240:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable obj [valueFlowBailoutIncompleteVar] open-isns-0.101/relation.c:149:20: style: Variable 'rp' can be declared as pointer to const [constVariablePointer] open-isns-0.101/relation.c:238:17: style: Variable 'left' can be declared as pointer to const [constVariablePointer] open-isns-0.101/relation.c:238:24: style: Variable 'right' can be declared as pointer to const [constVariablePointer] open-isns-0.101/register.c:697:26: style: Variable 'match_tmpl' can be declared as pointer to const [constVariablePointer] open-isns-0.101/scn.c:63:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_OBJECT_LIST_INIT [valueFlowBailoutIncompleteVar] open-isns-0.101/scn.c:105:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_SCN_REGISTER [valueFlowBailoutIncompleteVar] open-isns-0.101/scn.c:130:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_STATE_CHANGE_NOTIFICATION [valueFlowBailoutIncompleteVar] open-isns-0.101/scn.c:146:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_TAG_ISCSI_SCN_BITMAP [valueFlowBailoutIncompleteVar] open-isns-0.101/scn.c:166:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_SUCCESS [valueFlowBailoutIncompleteVar] open-isns-0.101/scn.c:265:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_SUCCESS [valueFlowBailoutIncompleteVar] open-isns-0.101/scn.c:344:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_OBJECT_LIST_INIT [valueFlowBailoutIncompleteVar] open-isns-0.101/scn.c:475:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_SCN_MANAGEMENT_REGISTRATION_MASK [valueFlowBailoutIncompleteVar] open-isns-0.101/scn.c:533:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable isns_entity_template [valueFlowBailoutIncompleteVar] open-isns-0.101/scn.c:817:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ic_scn_retries [valueFlowBailoutIncompleteVar] open-isns-0.101/scn.c:867:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_TAG_FC_PORT_NAME_WWPN [valueFlowBailoutIncompleteVar] open-isns-0.101/security.c:418:68: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] open-isns-0.101/security.c:419:47: style: Parameter 'ks' can be declared as pointer to const [constParameterPointer] open-isns-0.101/security.c:425:62: style: Parameter 'peer' can be declared as pointer to const [constParameterPointer] open-isns-0.101/security.c:430:60: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] open-isns-0.101/scope.c:99:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_TAG_ISCSI_NODE_TYPE [valueFlowBailoutIncompleteVar] open-isns-0.101/scope.c:166:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_OBJECT_LIST_INIT [valueFlowBailoutIncompleteVar] open-isns-0.101/scope.c:221:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_OBJECT_LIST_INIT [valueFlowBailoutIncompleteVar] open-isns-0.101/scope.c:295:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_OBJECT_LIST_INIT [valueFlowBailoutIncompleteVar] open-isns-0.101/scope.c:323:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ic_use_default_domain [valueFlowBailoutIncompleteVar] open-isns-0.101/scope.c:355:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable isns_entity_template [valueFlowBailoutIncompleteVar] open-isns-0.101/scope.c:448:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_OBJECT_LIST_INIT [valueFlowBailoutIncompleteVar] open-isns-0.101/server.c:42:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] open-isns-0.101/server.c:79:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_SUCCESS [valueFlowBailoutIncompleteVar] open-isns-0.101/server.c:108:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_SUCCESS [valueFlowBailoutIncompleteVar] open-isns-0.101/server.c:246:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_MESSAGE_NOT_SUPPORTED [valueFlowBailoutIncompleteVar] open-isns-0.101/server.c:77:8: style: Parameter 'status' can be declared as pointer to const [constParameterPointer] open-isns-0.101/server.c:86:65: style: Parameter 'srv' can be declared as pointer to const [constParameterPointer] open-isns-0.101/server.c:87:41: style: Parameter 'msg' can be declared as pointer to const [constParameterPointer] open-isns-0.101/server.c:88:31: style: Parameter 'status' can be declared as pointer to const [constParameterPointer] open-isns-0.101/server.c:94:63: style: Parameter 'srv' can be declared as pointer to const [constParameterPointer] open-isns-0.101/server.c:95:41: style: Parameter 'msg' can be declared as pointer to const [constParameterPointer] open-isns-0.101/server.c:96:31: style: Parameter 'status' can be declared as pointer to const [constParameterPointer] open-isns-0.101/server.c:242:58: style: Parameter 'srv' can be declared as pointer to const. However it seems that 'isns_not_supported' is a callback function, if 'srv' is declared with const you might also need to cast function pointer(s). [constParameterCallback] open-isns-0.101/server.c:22:25: note: You might need to cast the function pointer here open-isns-0.101/server.c:242:58: note: Parameter 'srv' can be declared as pointer to const open-isns-0.101/server.c:243:41: style: Parameter 'call' can be declared as pointer to const. However it seems that 'isns_not_supported' is a callback function, if 'call' is declared with const you might also need to cast function pointer(s). [constParameterCallback] open-isns-0.101/server.c:22:25: note: You might need to cast the function pointer here open-isns-0.101/server.c:243:41: note: Parameter 'call' can be declared as pointer to const open-isns-0.101/scope.c:504:35: warning: Function 'isns_scope_get_next' argument order different: declaration ', , current, scope' definition 'scope, tmpl, current, match' [funcArgOrderDifferent] open-isns-0.101/db.h:136:44: note: Function 'isns_scope_get_next' argument order different: declaration ', , current, scope' definition 'scope, tmpl, current, match' open-isns-0.101/scope.c:504:35: note: Function 'isns_scope_get_next' argument order different: declaration ', , current, scope' definition 'scope, tmpl, current, match' open-isns-0.101/scope.c:373:19: style: Variable 'obj' can be declared as pointer to const [constVariablePointer] open-isns-0.101/scope.c:381:19: style: Variable 'obj' can be declared as pointer to const [constVariablePointer] open-isns-0.101/scope.c:447:26: style: Variable 'tmpl' can be declared as pointer to const [constVariablePointer] open-isns-0.101/simple.c:70:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable isns_debug_message [valueFlowBailoutIncompleteVar] open-isns-0.101/simple.c:128:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_INTERNAL_ERROR [valueFlowBailoutIncompleteVar] open-isns-0.101/simple.c:171:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable isns_debug_message [valueFlowBailoutIncompleteVar] open-isns-0.101/simple.c:250:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_SUCCESS [valueFlowBailoutIncompleteVar] open-isns-0.101/simple.c:296:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_SUCCESS [valueFlowBailoutIncompleteVar] open-isns-0.101/simple.c:336:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_F_CLIENT [valueFlowBailoutIncompleteVar] open-isns-0.101/simple.c:367:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_SUCCESS [valueFlowBailoutIncompleteVar] open-isns-0.101/simple.c:391:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_SUCCESS [valueFlowBailoutIncompleteVar] open-isns-0.101/simple.c:425:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable isns_debug_message [valueFlowBailoutIncompleteVar] open-isns-0.101/simple.c:489:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_NO_SUCH_ENTRY [valueFlowBailoutIncompleteVar] open-isns-0.101/simple.c:569:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_TAG_PG_TAG [valueFlowBailoutIncompleteVar] open-isns-0.101/slp.c:234:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ic_host_name [valueFlowBailoutIncompleteVar] open-isns-0.101/simple.c:351:17: warning: Possible null pointer dereference: msg [nullPointer] open-isns-0.101/simple.c:347:9: note: Assignment 'msg=NULL', assigned value is 0 open-isns-0.101/simple.c:351:17: note: Null pointer dereference open-isns-0.101/simple.c:639:11: style: Redundant initialization for 'pos'. The initialized value is overwritten before it is read. [redundantInitialization] open-isns-0.101/simple.c:565:19: note: pos is initialized open-isns-0.101/simple.c:639:11: note: pos is overwritten open-isns-0.101/simple.c:215:39: style: Parameter 'simp' can be declared as pointer to const [constParameterPointer] open-isns-0.101/storage-node.c:20:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable isns_entity_template [valueFlowBailoutIncompleteVar] open-isns-0.101/storage-node.c:45:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable isns_entity_template [valueFlowBailoutIncompleteVar] open-isns-0.101/storage-node.c:77:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_ISCSI_NODE_TYPE_INITIATOR [valueFlowBailoutIncompleteVar] open-isns-0.101/storage-node.c:86:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_ISCSI_NODE_TYPE_TARGET [valueFlowBailoutIncompleteVar] open-isns-0.101/storage-node.c:98:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable isns_attr_type_string [valueFlowBailoutIncompleteVar] open-isns-0.101/scn.c:99:46: style: Parameter 'clnt' can be declared as pointer to const [constParameterPointer] open-isns-0.101/scn.c:165:14: style: Variable 'scn' can be declared as pointer to const [constVariablePointer] open-isns-0.101/scn.c:263:15: style: Variable 'attr' can be declared as pointer to const [constVariablePointer] open-isns-0.101/scn.c:468:28: style: Parameter 'scn' can be declared as pointer to const [constParameterPointer] open-isns-0.101/scn.c:572:30: style: Variable 'dd' can be declared as pointer to const [constVariablePointer] open-isns-0.101/scn.c:756:18: style: Parameter 'msg' can be declared as pointer to const. However it seems that 'isns_process_scn_response' is a callback function, if 'msg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] open-isns-0.101/scn.c:833:5: note: You might need to cast the function pointer here open-isns-0.101/scn.c:756:18: note: Parameter 'msg' can be declared as pointer to const open-isns-0.101/scn.c:854:25: style: Variable 'tsattr' can be declared as pointer to const [constVariablePointer] open-isns-0.101/scn.c:909:17: style: Variable 'ddattr' can be declared as pointer to const [constVariablePointer] open-isns-0.101/socket.c:100:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_F_AUTHBLK_PRESENT [valueFlowBailoutIncompleteVar] open-isns-0.101/socket.c:135:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_F_FIRST_PDU [valueFlowBailoutIncompleteVar] open-isns-0.101/socket.c:363:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_F_CLIENT [valueFlowBailoutIncompleteVar] open-isns-0.101/socket.c:493:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLOUT [valueFlowBailoutIncompleteVar] open-isns-0.101/socket.c:508:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLIN [valueFlowBailoutIncompleteVar] open-isns-0.101/socket.c:572:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_STREAM [valueFlowBailoutIncompleteVar] open-isns-0.101/socket.c:584:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AI_PASSIVE [valueFlowBailoutIncompleteVar] open-isns-0.101/socket.c:606:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] open-isns-0.101/socket.c:651:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EAGAIN [valueFlowBailoutIncompleteVar] open-isns-0.101/socket.c:724:80: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_LOCAL [valueFlowBailoutIncompleteVar] open-isns-0.101/socket.c:770:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_MAX_BUFFER [valueFlowBailoutIncompleteVar] open-isns-0.101/socket.c:840:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable struct_cmsgcred_t [valueFlowBailoutIncompleteVar] open-isns-0.101/socket.c:880:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLIN [valueFlowBailoutIncompleteVar] open-isns-0.101/socket.c:915:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLIN [valueFlowBailoutIncompleteVar] open-isns-0.101/socket.c:933:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_storage [valueFlowBailoutIncompleteVar] open-isns-0.101/socket.c:978:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_LOCAL [valueFlowBailoutIncompleteVar] open-isns-0.101/socket.c:986:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNSPEC [valueFlowBailoutIncompleteVar] open-isns-0.101/socket.c:1093:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] open-isns-0.101/socket.c:1157:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLIN [valueFlowBailoutIncompleteVar] open-isns-0.101/socket.c:1196:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_MAX_BUFFER [valueFlowBailoutIncompleteVar] open-isns-0.101/socket.c:1228:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_DONTWAIT [valueFlowBailoutIncompleteVar] open-isns-0.101/socket.c:1275:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] open-isns-0.101/socket.c:1308:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_DGRAM [valueFlowBailoutIncompleteVar] open-isns-0.101/socket.c:1377:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_DGRAM [valueFlowBailoutIncompleteVar] open-isns-0.101/socket.c:1427:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_STREAM [valueFlowBailoutIncompleteVar] open-isns-0.101/socket.c:1514:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNSPEC [valueFlowBailoutIncompleteVar] open-isns-0.101/socket.c:1823:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable max_sockets [valueFlowBailoutIncompleteVar] open-isns-0.101/socket.c:2030:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ic_security [valueFlowBailoutIncompleteVar] open-isns-0.101/socket.c:2083:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_F_FIRST_PDU [valueFlowBailoutIncompleteVar] open-isns-0.101/socket.c:2127:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_MQ_SORT_RESEND_TIMEOUT [valueFlowBailoutIncompleteVar] open-isns-0.101/socket.c:2141:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] open-isns-0.101/socket.c:2156:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable call_timeout [valueFlowBailoutIncompleteVar] open-isns-0.101/socket.c:2173:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable call_timeout [valueFlowBailoutIncompleteVar] open-isns-0.101/socket.c:2211:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNSPEC [valueFlowBailoutIncompleteVar] open-isns-0.101/socket.c:2326:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AI_CANONNAME [valueFlowBailoutIncompleteVar] open-isns-0.101/socket.c:2385:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_DGRAM [valueFlowBailoutIncompleteVar] open-isns-0.101/socket.c:2427:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable all_sockets [valueFlowBailoutIncompleteVar] open-isns-0.101/sysdep-unix.c:23:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] open-isns-0.101/sysdep-unix.c:78:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] open-isns-0.101/sysdep-unix.c:149:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] open-isns-0.101/sysdep-unix.c:179:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] open-isns-0.101/sysdep-unix.c:17:23: style: Variable 'end' can be declared as pointer to const [constVariablePointer] open-isns-0.101/sysdep-unix.c:72:23: style: Variable 'end' can be declared as pointer to const [constVariablePointer] open-isns-0.101/tests/pauw1.c:14:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_DEFAULT_ISNSADM_CONFIG [valueFlowBailoutIncompleteVar] open-isns-0.101/tags.c:267:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_ENTITY_PROTOCOL_NONE [valueFlowBailoutIncompleteVar] open-isns-0.101/tags.c:321:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_PORTAL_PORT_UDP_MASK [valueFlowBailoutIncompleteVar] open-isns-0.101/tags.c:344:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_PORTAL_PORT_UDP_MASK [valueFlowBailoutIncompleteVar] open-isns-0.101/tags.c:421:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_ISCSI_INITIATOR_MASK [valueFlowBailoutIncompleteVar] open-isns-0.101/tests/pauw2.c:25:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_DEFAULT_ISNSADM_CONFIG [valueFlowBailoutIncompleteVar] open-isns-0.101/tags.c:262:61: style:inconclusive: Function 'isns_entity_protocol_parse' argument 2 names different: declaration 'buf' definition 'string'. [funcArgNamesDifferent] open-isns-0.101/tags.c:39:1: note: Function 'isns_entity_protocol_parse' argument 2 names different: declaration 'buf' definition 'string'. open-isns-0.101/tags.c:262:61: note: Function 'isns_entity_protocol_parse' argument 2 names different: declaration 'buf' definition 'string'. open-isns-0.101/tags.c:313:57: style:inconclusive: Function 'isns_tcpudp_port_parse' argument 2 names different: declaration 'buf' definition 'string'. [funcArgNamesDifferent] open-isns-0.101/tags.c:40:1: note: Function 'isns_tcpudp_port_parse' argument 2 names different: declaration 'buf' definition 'string'. open-isns-0.101/tags.c:313:57: note: Function 'isns_tcpudp_port_parse' argument 2 names different: declaration 'buf' definition 'string'. open-isns-0.101/tags.c:360:38: style:inconclusive: Function 'isns_timestamp_parse' argument 2 names different: declaration 'buf' definition 'string'. [funcArgNamesDifferent] open-isns-0.101/tags.c:43:1: note: Function 'isns_timestamp_parse' argument 2 names different: declaration 'buf' definition 'string'. open-isns-0.101/tags.c:360:38: note: Function 'isns_timestamp_parse' argument 2 names different: declaration 'buf' definition 'string'. open-isns-0.101/tags.c:433:1: style:inconclusive: Function 'isns_iscsi_node_type_parse' argument 2 names different: declaration 'buf' definition 'string'. [funcArgNamesDifferent] open-isns-0.101/tags.c:42:1: note: Function 'isns_iscsi_node_type_parse' argument 2 names different: declaration 'buf' definition 'string'. open-isns-0.101/tags.c:433:1: note: Function 'isns_iscsi_node_type_parse' argument 2 names different: declaration 'buf' definition 'string'. open-isns-0.101/tags.c:448:1: style:inconclusive: Function 'isns_portal_secbitmap_parse' argument 2 names different: declaration 'buf' definition 'string'. [funcArgNamesDifferent] open-isns-0.101/tags.c:44:1: note: Function 'isns_portal_secbitmap_parse' argument 2 names different: declaration 'buf' definition 'string'. open-isns-0.101/tags.c:448:1: note: Function 'isns_portal_secbitmap_parse' argument 2 names different: declaration 'buf' definition 'string'. open-isns-0.101/tags.c:464:1: style:inconclusive: Function 'isns_scn_bitmap_parse' argument 2 names different: declaration 'buf' definition 'string'. [funcArgNamesDifferent] open-isns-0.101/tags.c:45:1: note: Function 'isns_scn_bitmap_parse' argument 2 names different: declaration 'buf' definition 'string'. open-isns-0.101/tags.c:464:1: note: Function 'isns_scn_bitmap_parse' argument 2 names different: declaration 'buf' definition 'string'. open-isns-0.101/tags.c:473:1: style:inconclusive: Function 'isns_dd_features_parse' argument 2 names different: declaration 'buf' definition 'string'. [funcArgNamesDifferent] open-isns-0.101/tags.c:46:1: note: Function 'isns_dd_features_parse' argument 2 names different: declaration 'buf' definition 'string'. open-isns-0.101/tags.c:473:1: note: Function 'isns_dd_features_parse' argument 2 names different: declaration 'buf' definition 'string'. open-isns-0.101/tags.c:495:1: style:inconclusive: Function 'isns_policy_function_parse' argument 2 names different: declaration 'buf' definition 'string'. [funcArgNamesDifferent] open-isns-0.101/tags.c:48:1: note: Function 'isns_policy_function_parse' argument 2 names different: declaration 'buf' definition 'string'. open-isns-0.101/tags.c:495:1: note: Function 'isns_policy_function_parse' argument 2 names different: declaration 'buf' definition 'string'. open-isns-0.101/tags.c:359:59: style: Parameter 'value' can be declared as pointer to const. However it seems that 'isns_timestamp_parse' is a callback function, if 'value' is declared with const you might also need to cast function pointer(s). [constParameterCallback] open-isns-0.101/tags.c:67:1: note: You might need to cast the function pointer here open-isns-0.101/tags.c:359:59: note: Parameter 'value' can be declared as pointer to const open-isns-0.101/tags.c:370:8: style: Variable 'str' can be declared as pointer to const [constVariablePointer] open-isns-0.101/tags.c:616:9: style: Variable 'sepa' can be declared as pointer to const [constVariablePointer] open-isns-0.101/tags.c:650:8: style: Variable 'buf_end' can be declared as pointer to const [constVariablePointer] open-isns-0.101/tags.c:659:22: style: Variable 'name' can be declared as pointer to const [constVariablePointer] open-isns-0.101/tests/pauw3.c:34:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_DEFAULT_ISNSADM_CONFIG [valueFlowBailoutIncompleteVar] open-isns-0.101/tags.c:541:4: style: Variable 'n' is assigned a value that is never used. [unreadVariable] open-isns-0.101/tests/pauw4.c:29:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISNS_DEFAULT_ISNSADM_CONFIG [valueFlowBailoutIncompleteVar] open-isns-0.101/timer.c:30:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timers [valueFlowBailoutIncompleteVar] open-isns-0.101/timer.c:83:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timers [valueFlowBailoutIncompleteVar] open-isns-0.101/timer.c:98:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timers [valueFlowBailoutIncompleteVar] open-isns-0.101/timer.c:31:17: style: Variable 'cur' can be declared as pointer to const [constVariablePointer] open-isns-0.101/timer.c:79:42: style: Parameter 'fn' can be declared as pointer to const [constParameterPointer] open-isns-0.101/timer.c:79:52: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] open-isns-0.101/timer.c:111:10: style: Variable 'expire' is assigned a value that is never used. [unreadVariable] open-isns-0.101/util.c:217:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] open-isns-0.101/util.c:68:15: warning: Either the condition 'poweris_security,msg,segment)' is always true [knownConditionTrueFalse] open-isns-0.101/socket.c:415:29: note: Calling function 'isns_pdu_authenticate' returns 0 open-isns-0.101/socket.c:415:7: note: Condition '!isns_pdu_authenticate(sock->is_security,msg,segment)' is always true open-isns-0.101/socket.c:1839:18: style: Local variable 'sock' shadows outer variable [shadowVariable] open-isns-0.101/socket.c:1816:17: note: Shadowed declaration open-isns-0.101/socket.c:1839:18: note: Shadow variable open-isns-0.101/socket.c:101:13: style: Variable 'authblk' can be declared as pointer to const [constVariablePointer] open-isns-0.101/socket.c:325:63: style: Parameter 'sec' can be declared as pointer to const [constParameterPointer] open-isns-0.101/socket.c:326:57: style: Parameter 'msg' can be declared as pointer to const [constParameterPointer] open-isns-0.101/socket.c:327:39: style: Parameter 'bp' can be declared as pointer to const [constParameterPointer] open-isns-0.101/socket.c:347:38: style: Parameter 'creds' can be declared as pointer to const [constParameterPointer] open-isns-0.101/socket.c:440:20: style: Variable 'ohdr' can be declared as pointer to const [constVariablePointer] open-isns-0.101/socket.c:703:33: style: Parameter 'sock' can be declared as pointer to const [constParameterPointer] open-isns-0.101/socket.c:1070:19: style: Variable 'ai' can be declared as pointer to const [constVariablePointer] open-isns-0.101/socket.c:1094:34: style: Variable 'best' can be declared as pointer to const [constVariablePointer] open-isns-0.101/socket.c:1138:19: style: Variable 'addr' can be declared as pointer to const [constVariablePointer] open-isns-0.101/socket.c:1186:39: style: Parameter 'sock' can be declared as pointer to const [constParameterPointer] open-isns-0.101/socket.c:2012:35: style: Parameter 'timeout' can be declared as pointer to const [constParameterPointer] open-isns-0.101/socket.c:2204:22: style: Variable 'host' can be declared as pointer to const [constVariablePointer] open-isns-0.101/socket.c:1508:6: style: Variable 'no' is assigned a value that is never used. [unreadVariable] diff: DONE