2025-05-06 23:07 ftp://ftp.de.debian.org/debian/pool/main/o/osmo-hlr/osmo-hlr_1.9.0+dfsg1.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --library=sqlite3 --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-59-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04) 14.2.0 cppcheck: head 2.17.0 head-info: 8e656e5 (2025-05-06 23:42:00 +0200) count: 340 340 elapsed-time: 4.4 4.0 head-timing-info: old-timing-info: head results: osmo-hlr-1.9.0/src/auc.c:52:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OSMO_AUTH_ALG_NONE [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/ctrl.c:59:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/ctrl.c:139:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/ctrl.c:171:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OSMO_AUTH_ALG_NONE [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/ctrl.c:183:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OSMO_AUTH_ALG_NONE [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/ctrl.c:214:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CTRL_CMD_ERROR [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/ctrl.c:251:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CTRL_CMD_ERROR [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/ctrl.c:283:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CTRL_CMD_ERROR [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/ctrl.c:302:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CTRL_CMD_ERROR [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/ctrl.c:337:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CTRL_CMD_ERROR [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/ctrl.c:378:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CTRL_CMD_ERROR [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/ctrl.c:394:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CTRL_CMD_ERROR [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/ctrl.c:437:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CTRL_CMD_ERROR [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/ctrl.c:462:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CTRL_CMD_ERROR [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/ctrl.c:478:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CTRL_CMD_ERROR [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/ctrl.c:514:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CTRL_CMD_ERROR [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/ctrl.c:547:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OSMO_AUTH_TYPE_GSM [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/ctrl.c:614:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CTRL_CMD_ERROR [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/ctrl.c:650:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OSMO_AUTH_TYPE_UMTS [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/ctrl.c:751:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CTRL_NODE_SUBSCR [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/ctrl.c:770:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CTRL_NODE_SUBSCR [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/ctrl.c:362:57: style: Parameter 'cmd' can be declared as pointer to const [constParameterPointer] osmo-hlr-1.9.0/src/ctrl.c:362:87: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] osmo-hlr-1.9.0/src/ctrl.c:496:49: style: Parameter 'cmd' can be declared as pointer to const [constParameterPointer] osmo-hlr-1.9.0/src/ctrl.c:496:79: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] osmo-hlr-1.9.0/src/ctrl.c:596:49: style: Parameter 'cmd' can be declared as pointer to const [constParameterPointer] osmo-hlr-1.9.0/src/ctrl.c:596:79: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] osmo-hlr-1.9.0/src/db.c:145:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_STATIC [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/db.c:265:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stmt_bootstrap_sql [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/db.c:593:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable db_context [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/db_auc.c:39:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DB_STMT_AUC_UPD_SQN [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/db_auc.c:90:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EIO [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/db_auc.c:120:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DB_STMT_AUC_BY_IMSI [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/db_auc.c:249:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/db_auc.c:256:4: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] osmo-hlr-1.9.0/src/db_auc.c:256:12: style: Variable 'num_vec' is assigned a value that is never used. [unreadVariable] osmo-hlr-1.9.0/src/db_debug.c:82:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EEXIST [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/db_debug.c:54:29: style: Parameter 'data' can be declared as pointer to const. However it seems that 'tall_xInit' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] osmo-hlr-1.9.0/src/db_debug.c:72:12: note: You might need to cast the function pointer here osmo-hlr-1.9.0/src/db_debug.c:54:29: note: Parameter 'data' can be declared as pointer to const osmo-hlr-1.9.0/src/db_debug.c:57:34: style: Parameter 'data' can be declared as pointer to const. However it seems that 'tall_xShutdown' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] osmo-hlr-1.9.0/src/db_debug.c:74:16: note: You might need to cast the function pointer here osmo-hlr-1.9.0/src/db_debug.c:57:34: note: Parameter 'data' can be declared as pointer to const osmo-hlr-1.9.0/src/db_hlr.c:59:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/db_hlr.c:100:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DB_STMT_DEL_BY_ID [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/db_hlr.c:167:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/db_hlr.c:233:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DB_STMT_AUC_2G_DELETE [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/db_hlr.c:409:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DB_STMT_UPD_IMEI_BY_IMSI [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/db_hlr.c:453:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DB_LAST_LU_SEEN_FMT [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/db_hlr.c:480:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOENT [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/db_hlr.c:539:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DB_STMT_EXISTS_BY_IMSI [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/db_hlr.c:568:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DB_STMT_SEL_BY_IMSI [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/db_hlr.c:589:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DB_STMT_EXISTS_BY_MSISDN [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/db_hlr.c:619:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DB_STMT_SEL_BY_MSISDN [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/db_hlr.c:655:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DB_STMT_SEL_ALL [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/db_hlr.c:731:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DB_STMT_SEL_BY_ID [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/db_hlr.c:754:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DB_STMT_SEL_BY_IMEI [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/db_hlr.c:783:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DB_STMT_UPD_NAM_CS_BY_IMSI [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/db_hlr.c:840:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DB_STMT_UPD_VLR_BY_ID [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/db_hlr.c:940:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DB_STMT_UPD_PURGE_CS_BY_IMSI [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/db_hlr.c:986:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EIO [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/db_hlr.c:997:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DB_STMT_IND_ADD [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/db_hlr.c:1007:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DB_STMT_IND_DEL [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/db_hlr.c:1016:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DB_STMT_IND_SELECT [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/db_hlr.c:1046:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOTSUP [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/dgsm.c:234:9: error: There is an unknown macro here somewhere. Configuration is required. If OSMO_SOCKADDR_STR_FMT is a macro then please configure it. [unknownMacro] osmo-hlr-1.9.0/src/dgsm_vty.c:99:7: error: There is an unknown macro here somewhere. Configuration is required. If OSMO_MSLOOKUP_MDNS_IP4 is a macro then please configure it. [unknownMacro] osmo-hlr-1.9.0/src/gsup_router.c:42:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/gsup_router.c:63:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/gsup_router.c:81:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EEXIST [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/gsup_router.c:110:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/gsup_router.c:75:25: style: Variable 'exists_on_conn' can be declared as pointer to const [constVariablePointer] osmo-hlr-1.9.0/src/gsup_send.c:48:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENODEV [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/gsup_send.c:66:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/gsup_send.c:86:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/gsup_server.c:53:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPAC_PROTO_OSMO [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/gsup_server.c:61:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOTCONN [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/gsup_server.c:77:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OSMO_GSUP_MSGT_ROUTING_ERROR [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/gsup_server.c:119:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OSMO_CNI_PEER_ID_IPA_NAME [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/gsup_server.c:182:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPAC_PROTO_IPACCESS [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/gsup_server.c:252:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable val [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/gsup_server.c:267:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENODEV [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/gsup_server.c:288:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPAC_IDTAG_SERNR [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/gsup_server.c:330:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/gsup_server.c:341:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable osmo_gsup_conn [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/gsup_server.c:380:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable osmo_gsup_server [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/gsup_server.c:429:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/gsup_server.c:458:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OSMO_GSUP_MAX_CALLED_PARTY_BCD_LEN [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/gsup_server.c:504:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OSMO_CNI_PEER_ID_IPA_NAME [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/gsup_server.c:154:61: style: Parameter 'conn' can be declared as pointer to const [constParameterPointer] osmo-hlr-1.9.0/src/gsup_server.c:155:18: style: Parameter 'msg_rx' can be declared as pointer to const [constParameterPointer] osmo-hlr-1.9.0/src/gsup_server.c:274:45: style: Parameter 'tlvp' can be declared as pointer to const. However it seems that 'osmo_gsup_server_ccm_cb' is a callback function, if 'tlvp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] osmo-hlr-1.9.0/src/gsup_server.c:348:23: note: You might need to cast the function pointer here osmo-hlr-1.9.0/src/gsup_server.c:274:45: note: Parameter 'tlvp' can be declared as pointer to const osmo-hlr-1.9.0/src/gsup_server.c:496:62: style: Parameter 'modified_gsup' can be declared as pointer to const [constParameterPointer] osmo-hlr-1.9.0/src/gsupclient/cni_peer_id.c:38:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOSPC [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/gsupclient/cni_peer_id.c:98:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OTC_SELECT [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/gsupclient/cni_peer_id.c:133:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/gsupclient/cni_peer_id.c:147:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OSMO_CNI_PEER_ID_IPA_NAME [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/gsupclient/cni_peer_id.c:171:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/gsupclient/cni_peer_id.c:183:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OTC_SELECT [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/gsupclient/gsup_client.c:47:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPAC_MSGT_PING [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/gsupclient/gsup_client.c:85:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EBADF [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/gsupclient/gsup_client.c:118:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPAC_PROTO_OSMO [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/gsupclient/gsup_client.c:134:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPAC_PROTO_EXT_OAP [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/gsupclient/gsup_client.c:147:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/gsupclient/gsup_client.c:163:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OSMO_OAP_INITIALIZED [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/gsupclient/gsup_client.c:196:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPAC_PROTO_EXT_OAP [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/gsupclient/gsup_client.c:227:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPAC_MSGT_PONG [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/gsupclient/gsup_client.c:290:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OSMO_GSUP_CLIENT_PING_INTERVAL [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/gsupclient/gsup_client.c:310:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable osmo_gsup_client [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/gsupclient/gsup_client.c:381:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ipaccess_unit [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/gsupclient/gsup_client.c:404:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOTCONN [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/gsupclient/gsup_client.c:426:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/gsupclient/gsup_client.c:451:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/gsupclient/gsup_client_mux.c:43:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OSMO_GSUP_MESSAGE_CLASS_USSD [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/gsupclient/gsup_client_mux.c:69:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gsm48_gmm_cause_names [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/gsupclient/gsup_client_mux.c:105:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gsup_client_mux [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/gsupclient/gsup_client_mux.c:117:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/gsupclient/gsup_client_mux.c:129:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOTSUP [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/gsupclient/gsup_client_mux.c:174:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cause [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/gsupclient/gsup_req.c:125:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable osmo_gsup_req [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/gsupclient/gsup_req.c:173:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGL_DEBUG [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/gsupclient/gsup_req.c:207:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGL_ERROR [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/gsupclient/gsup_req.c:322:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OSMO_GSUP_MESSAGE_CLASS_UNSET [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/gsupclient/gsup_req.c:375:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable osmo_quote_cstr_buf [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/gsupclient/gsup_test_client.c:81:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_imsi_ops [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/gsupclient/gsup_test_client.c:108:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/gsupclient/gsup_test_client.c:128:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/gsupclient/gsup_test_client.c:146:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/gsupclient/gsup_test_client.c:223:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLGSUP [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/gsupclient/gsup_test_client.c:291:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OSMO_GSUP_PORT [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/gsupclient/gsup_test_client.c:260:25: style: Variable 'st' can be declared as pointer to const [constVariablePointer] osmo-hlr-1.9.0/src/gsupclient/gsup_test_client.c:61:38: error: Uninitialized variable: io->type [uninitvar] osmo-hlr-1.9.0/src/hlr.c:87:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/hlr.c:168:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSM23003_MSISDN_MAX_DIGITS [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/hlr.c:205:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSM23003_MSISDN_MAX_DIGITS [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/hlr.c:262:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OSMO_GSUP_MSGT_DELETE_DATA_REQUEST [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/hlr.c:296:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OSMO_GSUP_MSGT_SEND_AUTH_INFO_RESULT [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/hlr.c:374:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OSMO_GSUP_CN_DOMAIN_CS [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/hlr.c:397:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSM23003_IMEI_NUM_DIGITS_NO_CHK [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/hlr.c:463:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/hlr.c:512:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/hlr.c:628:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VTY_REF_GEN_MODE_DEFAULT [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/hlr.c:688:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/hlr.c:742:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/hlr.c:772:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hlr [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/hlr.c:657:24: style: Variable 'long_options' can be declared as const array [constVariable] osmo-hlr-1.9.0/src/hlr_db_tool.c:81:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_VERSION [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/hlr_db_tool.c:119:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/hlr_db_tool.c:186:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/hlr_db_tool.c:263:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EIO [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/hlr_db_tool.c:311:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OSMO_AUTH_TYPE_GSM [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/hlr_db_tool.c:369:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRId64 [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/hlr_db_tool.c:484:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hlr_log_info [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/hlr_db_tool.c:493:7: style: Condition 'main_action' is always false [knownConditionTrueFalse] osmo-hlr-1.9.0/src/hlr_db_tool.c:478:16: note: Assignment 'main_action=NULL', assigned value is 0 osmo-hlr-1.9.0/src/hlr_db_tool.c:485:9: note: Assuming condition is false osmo-hlr-1.9.0/src/hlr_db_tool.c:493:7: note: Condition 'main_action' is always false osmo-hlr-1.9.0/src/hlr_db_tool.c:97:24: style: Variable 'long_options' can be declared as const array [constVariable] osmo-hlr-1.9.0/src/hlr_db_tool.c:46:7: style: struct member 'Anonymous0::bootstrap' is never used. [unusedStructMember] osmo-hlr-1.9.0/src/hlr_sms.c:270:2: error: There is an unknown macro here somewhere. Configuration is required. If llist_for_each_entry is a macro then please configure it. [unknownMacro] osmo-hlr-1.9.0/src/hlr_ussd.c:47:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/hlr_ussd.c:60:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hlr_euse [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/hlr_ussd.c:79:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/hlr_ussd.c:94:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hlr_ussd_route [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/hlr_ussd.c:110:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hlr_ussd_route [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/hlr_ussd.c:129:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSM0480_USSD_7BIT_STRING_LEN [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/hlr_ussd.c:217:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/hlr_ussd.c:258:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ncss_guard_timeout [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/hlr_ussd.c:292:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dbc [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/hlr_ussd.c:320:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable message_type [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/hlr_ussd.c:356:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OSMO_GSUP_SESSION_STATE_END [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/hlr_ussd.c:365:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OSMO_GSUP_MSGT_PROC_SS_RESULT [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/hlr_ussd.c:378:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSM0480_USSD_7BIT_STRING_LEN [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/hlr_ussd.c:406:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSM0480_USSD_7BIT_STRING_LEN [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/hlr_ussd.c:418:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSM0480_USSD_7BIT_STRING_LEN [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/hlr_ussd.c:475:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OSMO_CNI_PEER_ID_IPA_NAME [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/hlr_ussd.c:488:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OSMO_CNI_PEER_ID_IPA_NAME [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/hlr_ussd.c:507:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSM0480_ERR_CODE_FACILITY_NOT_SUPPORTED [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/hlr_ussd.c:524:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSM0480_ERR_CODE_SS_NOT_AVAILABLE [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/hlr_ussd.c:567:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_hlr [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/hlr_ussd.c:642:17: style: Condition 'rt' is always true [knownConditionTrueFalse] osmo-hlr-1.9.0/src/hlr_vty.c:409:7: error: There is an unknown macro here somewhere. Configuration is required. If IP_STR is a macro then please configure it. [unknownMacro] osmo-hlr-1.9.0/src/hlr_vty_subscr.c:57:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VTY_NEWLINE [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/hlr_vty_subscr.c:83:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/hlr_vty_subscr.c:171:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/hlr_vty_subscr.c:192:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSM23003_IMEI_NUM_DIGITS_NO_CHK [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/hlr_vty_subscr.c:225:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VTY_NEWLINE [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/hlr_vty_subscr.c:243:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dbc [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/hlr_vty_subscr.c:283:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable argv [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/hlr_vty_subscr.c:303:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CMD_WARNING [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/hlr_vty_subscr.c:315:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable argv [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/hlr_vty_subscr.c:335:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CMD_WARNING [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/hlr_vty_subscr.c:350:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable argv [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/hlr_vty_subscr.c:384:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable argv [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/hlr_vty_subscr.c:411:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable argv [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/hlr_vty_subscr.c:460:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VTY_NEWLINE [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/hlr_vty_subscr.c:486:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OSMO_AUTH_ALG_NONE [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/hlr_vty_subscr.c:533:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable argv [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/hlr_vty_subscr.c:565:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable argv [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/hlr_vty_subscr.c:604:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable argv [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/hlr_vty_subscr.c:641:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable argv [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/hlr_vty_subscr.c:696:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable argv [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/hlr_vty_subscr.c:740:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable argv [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/hlr_vty_subscr.c:789:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable argv [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/hlr_vty_subscr.c:808:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable show_subscriber_all_cmd [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/hlr_vty_subscr.c:68:3: style: Modulo of one is always equal to zero [moduloofone] osmo-hlr-1.9.0/src/lu_fsm.c:113:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OSMO_GSUP_MSGT_UPDATE_LOCATION_REQUEST [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/lu_fsm.c:206:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OSMO_GSUP_MSGT_UPDATE_LOCATION_REQUEST [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/lu_fsm.c:225:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSM_CAUSE_NET_FAIL [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/lu_fsm.c:233:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSM_CAUSE_NET_FAIL [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/lu_fsm.c:249:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GMM_CAUSE_NET_FAIL [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/lu_fsm.c:277:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GMM_CAUSE_NET_FAIL [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/lu_fsm.c:293:4: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] osmo-hlr-1.9.0/src/lu_fsm.c:299:4: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] osmo-hlr-1.9.0/src/lu_fsm.c:229:50: style: Parameter 'fi' can be declared as pointer to const. However it seems that 'lu_fsm_cleanup' is a callback function, if 'fi' is declared with const you might also need to cast function pointer(s). [constParameterCallback] osmo-hlr-1.9.0/src/lu_fsm.c:313:13: note: You might need to cast the function pointer here osmo-hlr-1.9.0/src/lu_fsm.c:229:50: note: Parameter 'fi' can be declared as pointer to const osmo-hlr-1.9.0/src/lu_fsm.c:213:4: error: Uninitialized variables: lu.entry, lu.update_location_req, lu.subscr, lu.is_ps, lu.vlr_name, lu.via_proxy [uninitvar] osmo-hlr-1.9.0/src/lu_fsm.c:210:13: note: Assuming condition is false osmo-hlr-1.9.0/src/lu_fsm.c:213:4: note: Uninitialized variables: lu.entry, lu.update_location_req, lu.subscr, lu.is_ps, lu.vlr_name, lu.via_proxy osmo-hlr-1.9.0/src/mslookup/mdns.c:71:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OSMO_MDNS_RFC_MAX_NAME_LEN [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/mslookup/mdns.c:93:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/mslookup/mdns.c:126:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable osmo_mslookup_query [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/mslookup/mdns.c:151:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/mslookup/mdns.c:194:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/mslookup/mdns.c:263:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/mslookup/mdns.c:277:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/mslookup/mdns.c:307:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OSMO_MSLOOKUP_RC_NONE [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/mslookup/mdns.c:407:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/mslookup/mdns_msg.c:42:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OSMO_MDNS_RFC_CLASS_IN [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/mslookup/mdns_msg.c:55:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable osmo_mdns_rfc_header [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/mslookup/mdns_msg.c:99:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/mslookup/mdns_msg.c:125:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable osmo_mdns_rfc_header [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/mslookup/mdns_msg.c:187:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable osmo_mdns_record [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/mslookup/mdns_msg.c:235:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OSMO_MDNS_RFC_RECORD_TYPE_TXT [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/mslookup/mdns_rfc.c:56:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/mslookup/mdns_rfc.c:81:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/mslookup/mdns_rfc.c:100:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable osmo_mdns_rfc_question [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/mslookup/mdns_rfc.c:137:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/mslookup/mdns_rfc.c:167:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable osmo_mdns_rfc_record [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/mslookup/mdns_sock.c:57:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INADDR_ANY [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/mslookup/mslookup.c:205:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OSMO_MSLOOKUP_RC_NONE [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/mslookup/mslookup_client.c:49:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable entry [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/mslookup/mslookup_client.c:93:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable entry [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/mslookup/mslookup_client.c:118:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable entry [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/mslookup/mslookup_client.c:154:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OSMO_MSLOOKUP_RC_RESULT [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/mslookup/mslookup_client.c:180:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable entry [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/mslookup/mslookup_client.c:206:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OSMO_MSLOOKUP_RC_RESULT [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/mslookup/mslookup_client.c:261:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable client [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/mslookup/mslookup_client.c:50:10: error: Uninitialized variable: r->request_handle [uninitvar] osmo-hlr-1.9.0/src/mslookup/mslookup_client.c:276:14: error: Uninitialized variable: other->request_handle [uninitvar] osmo-hlr-1.9.0/src/mslookup/mslookup_client_fake.c:60:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable request_handle [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/mslookup/mslookup_client_fake.c:74:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable entry [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/mslookup/mslookup_client_fake.c:94:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable entry [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/mslookup/mslookup_client_fake.c:132:74: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable osmo_mslookup_client_method [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/mslookup/mslookup_client_fake.c:85:46: style:inconclusive: Function 'fake_lookup_async_response' argument 1 names different: declaration 'state' definition 'data'. [funcArgNamesDifferent] osmo-hlr-1.9.0/src/mslookup/mslookup_client_fake.c:44:46: note: Function 'fake_lookup_async_response' argument 1 names different: declaration 'state' definition 'data'. osmo-hlr-1.9.0/src/mslookup/mslookup_client_fake.c:85:46: note: Function 'fake_lookup_async_response' argument 1 names different: declaration 'state' definition 'data'. osmo-hlr-1.9.0/src/mslookup/mslookup_client_fake.c:67:77: style: Parameter 'method' can be declared as pointer to const. However it seems that 'fake_lookup_request_cleanup' is a callback function, if 'method' is declared with const you might also need to cast function pointer(s). [constParameterCallback] osmo-hlr-1.9.0/src/mslookup/mslookup_client_fake.c:148:22: note: You might need to cast the function pointer here osmo-hlr-1.9.0/src/mslookup/mslookup_client_fake.c:67:77: note: Parameter 'method' can be declared as pointer to const osmo-hlr-1.9.0/src/mslookup/mslookup_client_fake.c:75:10: error: Uninitialized variable: r->request_handle [uninitvar] osmo-hlr-1.9.0/src/mslookup/mslookup_client_mdns.c:57:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable entry [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/mslookup/mslookup_client_mdns.c:88:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/mslookup/mslookup_client_mdns.c:106:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable request_handle [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/mslookup/mslookup_client_mdns.c:133:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable entry [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/mslookup/mslookup_client_mdns.c:151:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable entry [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/mslookup/mslookup_client_mdns.c:177:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable osmo_mslookup_client_method [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/mslookup/mslookup_client_mdns.c:70:45: style: Parameter 'osmo_fd' can be declared as pointer to const. However it seems that 'mdns_method_recv' is a callback function, if 'osmo_fd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] osmo-hlr-1.9.0/src/mslookup/mslookup_client_mdns.c:200:51: note: You might need to cast the function pointer here osmo-hlr-1.9.0/src/mslookup/mslookup_client_mdns.c:70:45: note: Parameter 'osmo_fd' can be declared as pointer to const osmo-hlr-1.9.0/src/mslookup/mslookup_client_mdns.c:127:77: style: Parameter 'method' can be declared as pointer to const. However it seems that 'mdns_method_request_cleanup' is a callback function, if 'method' is declared with const you might also need to cast function pointer(s). [constParameterCallback] osmo-hlr-1.9.0/src/mslookup/mslookup_client_mdns.c:208:22: note: You might need to cast the function pointer here osmo-hlr-1.9.0/src/mslookup/mslookup_client_mdns.c:127:77: note: Parameter 'method' can be declared as pointer to const osmo-hlr-1.9.0/src/mslookup/mslookup_client_mdns.c:142:70: style: Parameter 'method' can be declared as pointer to const. However it seems that 'mdns_method_destruct' is a callback function, if 'method' is declared with const you might also need to cast function pointer(s). [constParameterCallback] osmo-hlr-1.9.0/src/mslookup/mslookup_client_mdns.c:209:15: note: You might need to cast the function pointer here osmo-hlr-1.9.0/src/mslookup/mslookup_client_mdns.c:142:70: note: Parameter 'method' can be declared as pointer to const osmo-hlr-1.9.0/src/mslookup/mslookup_client_mdns.c:220:116: style: Parameter 'dns_method' can be declared as pointer to const [constParameterPointer] osmo-hlr-1.9.0/src/mslookup/mslookup_client_mdns.c:229:100: style: Parameter 'dns_method' can be declared as pointer to const [constParameterPointer] osmo-hlr-1.9.0/src/mslookup/mslookup_client_mdns.c:231:33: style: Variable 'state' can be declared as pointer to const [constVariablePointer] osmo-hlr-1.9.0/src/mslookup/mslookup_client_mdns.c:134:10: error: Uninitialized variable: r->request_handle [uninitvar] osmo-hlr-1.9.0/src/mslookup/osmo-mslookup-client.c:150:17: error: There is an unknown macro here somewhere. Configuration is required. If OSMO_MSLOOKUP_MDNS_IP4 is a macro then please configure it. [unknownMacro] osmo-hlr-1.9.0/src/mslookup_server.c:223:51: error: There is an unknown macro here somewhere. Configuration is required. If OSMO_MSLOOKUP_SERVICE_HLR_GSUP is a macro then please configure it. [unknownMacro] osmo-hlr-1.9.0/src/mslookup_server_mdns.c:107:70: error: There is an unknown macro here somewhere. Configuration is required. If OSMO_SOCKADDR_STR_FMT is a macro then please configure it. [unknownMacro] osmo-hlr-1.9.0/src/osmo-euse-demo.c:73:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/osmo-euse-demo.c:131:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OSMO_GSUP_MSGT_PROC_SS_RESULT [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/osmo-euse-demo.c:136:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSM0480_USSD_7BIT_STRING_LEN [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/osmo-euse-demo.c:172:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DMAIN [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/osmo-euse-demo.c:214:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OSMO_GSUP_PORT [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/proxy.c:231:3: error: There is an unknown macro here somewhere. Configuration is required. If OSMO_SOCKADDR_STR_FMT is a macro then please configure it. [unknownMacro] osmo-hlr-1.9.0/src/rand_fake.c:34:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/rand_urandom.c:30:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/src/remote_hlr.c:175:56: error: There is an unknown macro here somewhere. Configuration is required. If OSMO_SOCKADDR_STR_FMT is a macro then please configure it. [unknownMacro] osmo-hlr-1.9.0/tests/auc/auc_test.c:124:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/tests/auc/auc_test.c:187:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/tests/auc/auc_test.c:254:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/tests/auc/auc_test.c:305:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/tests/auc/auc_test.c:478:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/tests/auc/auc_test.c:527:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OSMO_AUTH_TYPE_GSM [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/tests/auc/auc_test.c:660:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/tests/auc/auc_test.c:680:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hlr_log_info [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/tests/auc/auc_test.c:48:8: style: Variable 'end' can be declared as pointer to const [constVariablePointer] osmo-hlr-1.9.0/tests/auc/auc_test.c:640:24: style: Variable 'long_options' can be declared as const array [constVariable] osmo-hlr-1.9.0/tests/auc/gen_ts_55_205_test_sets/func_template.c:54:33: error: syntax error [syntaxError] osmo-hlr-1.9.0/tests/auc/gen_ts_55_205_test_sets/main_template.c:108:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hlr_log_info [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/tests/auc/gen_ts_55_205_test_sets/main_template.c:52:8: style: Variable 'end' can be declared as pointer to const [constVariablePointer] osmo-hlr-1.9.0/tests/auc/gen_ts_55_205_test_sets/main_template.c:118:8: style: Variable 'printf' is assigned a value that is never used. [unreadVariable] osmo-hlr-1.9.0/tests/db/db_test.c:160:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/tests/db/db_test.c:185:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OSMO_AUTH_TYPE_NONE [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/tests/db/db_test.c:232:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/tests/db/db_test.c:256:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/tests/db/db_test.c:525:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/tests/db/db_test.c:538:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/tests/db/db_test.c:552:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/tests/db/db_test.c:794:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/tests/db/db_test.c:856:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/tests/db/db_test.c:927:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/tests/db/db_test.c:1010:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/tests/db/db_test.c:1030:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hlr_log_info [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/tests/db/db_test.c:124:50: style: Parameter 'vec' can be declared as pointer to const [constParameterPointer] osmo-hlr-1.9.0/tests/db/db_test.c:125:32: style: Parameter 'aud2g' can be declared as pointer to const [constParameterPointer] osmo-hlr-1.9.0/tests/db/db_test.c:126:32: style: Parameter 'aud3g' can be declared as pointer to const [constParameterPointer] osmo-hlr-1.9.0/tests/db/db_test.c:990:24: style: Variable 'long_options' can be declared as const array [constVariable] osmo-hlr-1.9.0/tests/db/db_test.c:1061:30: style: Parameter 'conn' can be declared as pointer to const [constParameterPointer] osmo-hlr-1.9.0/tests/db/db_test.c:1063:37: style: Parameter 'luop' can be declared as pointer to const [constParameterPointer] osmo-hlr-1.9.0/tests/db/db_test.c:1065:23: style: Parameter 'luop' can be declared as pointer to const [constParameterPointer] osmo-hlr-1.9.0/tests/gsup/gsup_test.c:36:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OSMO_GSUP_MSGT_UPDATE_LOCATION_REQUEST [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/tests/gsup/gsup_test.c:105:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable osmo_stderr_target [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/tests/gsup/gsup_test.c:58:8: style: Variable 'nonempty_str' can be declared as pointer to const [constVariablePointer] osmo-hlr-1.9.0/tests/gsup/gsup_test.c:80:10: style: Variable 'result' can be declared as pointer to const [constVariablePointer] osmo-hlr-1.9.0/tests/mslookup/mdns_test.c:81:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/tests/mslookup/mdns_test.c:106:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/tests/mslookup/mdns_test.c:143:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/tests/mslookup/mdns_test.c:175:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/tests/mslookup/mdns_test.c:206:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/tests/mslookup/mdns_test.c:267:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/tests/mslookup/mdns_test.c:445:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable osmo_stderr_target [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/tests/mslookup/mdns_test.c:217:3: portability: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] osmo-hlr-1.9.0/tests/mslookup/mdns_test.c:31:14: style: struct member 'qname_enc_dec_test::qname' is never used. [unusedStructMember] osmo-hlr-1.9.0/tests/mslookup/mdns_test.c:32:9: style: struct member 'qname_enc_dec_test::qname_max_len' is never used. [unusedStructMember] osmo-hlr-1.9.0/tests/mslookup/mdns_test.c:350:8: style: Variable 'j' is assigned a value that is never used. [unreadVariable] osmo-hlr-1.9.0/tests/mslookup/mslookup_client_mdns_test.c:50:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OSMO_MSLOOKUP_RC_RESULT [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/tests/mslookup/mslookup_client_mdns_test.c:67:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/tests/mslookup/mslookup_client_mdns_test.c:85:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/tests/mslookup/mslookup_client_mdns_test.c:92:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/tests/mslookup/mslookup_client_mdns_test.c:103:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/tests/mslookup/mslookup_client_mdns_test.c:114:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/tests/mslookup/mslookup_client_mdns_test.c:122:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OSMO_MSLOOKUP_ID_IMSI [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/tests/mslookup/mslookup_client_mdns_test.c:139:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/tests/mslookup/mslookup_client_mdns_test.c:161:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable osmo_gettimeofday_override_time [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/tests/mslookup/mslookup_client_mdns_test.c:172:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/tests/mslookup/mslookup_client_mdns_test.c:200:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INADDR_ANY [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/tests/mslookup/mslookup_client_mdns_test.c:228:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/tests/mslookup/mslookup_client_mdns_test.c:205:9: warning: Assert statement calls a function which may have desired side effects: 'getaddrinfo'. [assertWithSideEffect] osmo-hlr-1.9.0/tests/mslookup/mslookup_client_mdns_test.c:209:9: warning: Assert statement calls a function which may have desired side effects: 'setsockopt'. [assertWithSideEffect] osmo-hlr-1.9.0/tests/mslookup/mslookup_client_mdns_test.c:219:2: error: Resource leak: sock [resourceLeak] osmo-hlr-1.9.0/tests/mslookup/mslookup_client_mdns_test.c:60:40: style: Parameter 'osmo_fd' can be declared as pointer to const. However it seems that 'server_recv' is a callback function, if 'osmo_fd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] osmo-hlr-1.9.0/tests/mslookup/mslookup_client_mdns_test.c:86:59: note: You might need to cast the function pointer here osmo-hlr-1.9.0/tests/mslookup/mslookup_client_mdns_test.c:60:40: note: Parameter 'osmo_fd' can be declared as pointer to const osmo-hlr-1.9.0/tests/mslookup/mslookup_client_test.c:154:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable osmo_gettimeofday_override_time [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/tests/mslookup/mslookup_client_test.c:178:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable osmo_stderr_target [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/tests/mslookup/mslookup_test.c:62:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] osmo-hlr-1.9.0/tests/mslookup/mslookup_test.c:77:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable osmo_stderr_target [valueFlowBailoutIncompleteVar] diff: DONE