2024-04-20 20:57 ftp://ftp.de.debian.org/debian/pool/main/o/osmo-sgsn/osmo-sgsn_1.9.0+dfsg1.orig.tar.xz cppcheck-options: --library=posix --library=gnu --showtime=top5 --check-library --inconclusive --enable=style,information --inline-suppr --disable=missingInclude --suppress=unmatchedSuppression --template=daca2 --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning -D__GNUC__ --platform=unix64 -j1 platform: Linux-6.6.15-amd64-x86_64-with-glibc2.37 python: 3.11.8 client-version: 1.3.49 compiler: g++ (Debian 13.2.0-13) 13.2.0 cppcheck: head 2.13.0 head-info: fb15ac6 (2024-04-20 19:16:41 +0200) count: 636 228 elapsed-time: 3.3 3.7 head-timing-info: Tokenizer::simplifyTokens1::ValueFlow: 2.16881s (avg. 0.0528979s - 41 result(s)) valueFlowAfterAssign(tokenlist, symboldatabase, errorLogger, settings, skippedFunctions): 0.564042s (avg. 0.00569739s - 99 result(s)) valueFlowCondition(SimpleConditionHandler{}, tokenlist, symboldatabase, errorLogger, settings, skippedFunctions): 0.418851s (avg. 0.00423082s - 99 result(s)) valueFlowSubFunction(tokenlist, symboldatabase, errorLogger, settings): 0.370524s (avg. 0.00374267s - 99 result(s)) valueFlowLifetime(tokenlist, errorLogger, settings): 0.236577s (avg. 0.00168984s - 140 result(s)) Overall time: 2.90575s old-timing-info: Tokenizer::simplifyTokens1::ValueFlow: 2.56093s (avg. 0.0624617s - 41 result(s)) valueFlowAfterAssign(tokenlist, symboldatabase, errorLogger, settings, skippedFunctions): 0.668366s (avg. 0.00675117s - 99 result(s)) valueFlowSubFunction(tokenlist, symboldatabase, errorLogger, *settings): 0.587894s (avg. 0.00593832s - 99 result(s)) valueFlowLifetime(tokenlist, errorLogger, settings): 0.370734s (avg. 0.0026481s - 140 result(s)) valueFlowCondition(SimpleConditionHandler{}, tokenlist, symboldatabase, errorLogger, settings, skippedFunctions): 0.343173s (avg. 0.00346639s - 99 result(s)) Overall time: 3.27394s head results: osmo-sgsn-1.9.0/src/gprs/gprs_gb_parse.c:95:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSM48_IE_GMM_PTMSI_SIG [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/gprs/gprs_gb_parse.c:146:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GPRS_DET_T_MT_REATT_REQ [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/gprs/gprs_gb_parse.c:208:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GMM_CAUSE_IMPL_DETACHED [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/gprs/gprs_gb_parse.c:236:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSM48_IE_GMM_PTMSI_SIG [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/gprs/gprs_gb_parse.c:323:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSM48_IE_GSM_APN [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/gprs/gprs_gb_parse.c:346:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSM48_PDISC_SM_GPRS [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/gprs/gprs_gb_parse.c:426:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GPRS_SAPI_GMM [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/gprs/gprs_gb_parse.c:450:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bssgp_normal_hdr [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/gprs/gprs_gb_parse.c:492:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bssgp_normal_hdr [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/gprs/gprs_gb_parse.c:589:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DGPRS [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/gprs/gprs_gb_parse.c:661:7: style: Variable 'sep' is assigned a value that is never used. [unreadVariable] osmo-sgsn-1.9.0/src/gprs/gprs_llc_parse.c:62:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INIT_CRC24 [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/gprs/gprs_llc_parse.c:74:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gprs_cipher_names [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/gprs/gprs_llc_parse.c:99:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EIO [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/gprs/gprs_utils.c:70:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GPRS_TMR_UNIT_MASK [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/gprs/gprs_utils.c:94:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GPRS_TMR_DEACTIVATED [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/gprs/gprs_utils.c:114:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSM48_TMSI_LEN [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/gprs/gprs_utils.c:129:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSM_MI_TYPE_MASK [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/gprs/sgsn_ares.c:45:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sgsn [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/gprs/sgsn_ares.c:53:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ares_channel [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/gprs/sgsn_ares.c:119:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ares_fds [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/gprs/sgsn_ares.c:159:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARES_OPT_FLAGS [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/gprs/sgsn_ares.c:71:18: style: Variable 'timeout' can be declared as pointer to const [constVariablePointer] osmo-sgsn-1.9.0/src/gtphub/gtphub.c:168:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NI_NUMERICHOST [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/gtphub/gtphub.c:184:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/gtphub/gtphub.c:206:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET6_ADDRSTRLEN [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/gtphub/gtphub.c:217:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/gtphub/gtphub.c:256:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTPIE_GSN_ADDR [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/gtphub/gtphub.c:271:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTPIE_GSN_ADDR [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/gtphub/gtphub.c:300:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTP0_HEADER_SIZE [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/gtphub/gtphub.c:343:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTP1_HEADER_SIZE_LONG [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/gtphub/gtphub.c:422:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTPIE_IMSI [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/gtphub/gtphub.c:428:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTPIE_NSAPI [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/gtphub/gtphub.c:478:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSM_APN_LENGTH [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/gtphub/gtphub.c:527:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTPH_PLANE_USER [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/gtphub/gtphub.c:607:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable expiry [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/gtphub/gtphub.c:618:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable entry [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/gtphub/gtphub.c:635:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable entry [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/gtphub/gtphub.c:667:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable last_nr [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/gtphub/gtphub.c:721:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable entry [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/gtphub/gtphub.c:735:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable entry [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/gtphub/gtphub.c:747:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable entry [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/gtphub/gtphub.c:785:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLOCK_MONOTONIC [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/gtphub/gtphub.c:847:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OSMO_FD_READ [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/gtphub/gtphub.c:923:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/gtphub/gtphub.c:977:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nr_mapping [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/gtphub/gtphub.c:1000:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTPH_PLANE_CTRL [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/gtphub/gtphub.c:1037:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTPH_SIDE_SGSN [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/gtphub/gtphub.c:1110:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gtphub_tunnel [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/gtphub/gtphub.c:1296:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable entry [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/gtphub/gtphub.c:1376:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable entry [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/gtphub/gtphub.c:1404:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTPIE_RECOVERY [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/gtphub/gtphub.c:1434:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIx32 [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/gtphub/gtphub.c:1461:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTPH_PLANE_CTRL [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/gtphub/gtphub.c:1666:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTP_DELETE_PDP_REQ [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/gtphub/gtphub.c:1785:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTPH_PLANE_CTRL [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/gtphub/gtphub.c:1816:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTP_DELETE_PDP_REQ [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/gtphub/gtphub.c:1858:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable entry [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/gtphub/gtphub.c:1902:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTPIE_RECOVERY [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/gtphub/gtphub.c:1933:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTPH_PLANE_N [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/gtphub/gtphub.c:1965:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTPH_PLANE_N [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/gtphub/gtphub.c:2071:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTP_ECHO_REQ [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/gtphub/gtphub.c:2123:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTPH_SIDE_GGSN [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/gtphub/gtphub.c:2353:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTPH_SIDE_GGSN [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/gtphub/gtphub.c:2385:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable entry [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/gtphub/gtphub.c:2398:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable entry [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/gtphub/gtphub.c:2415:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable entry [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/gtphub/gtphub.c:2459:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTPH_EXPIRE_QUICKLY_SECS [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/gtphub/gtphub.c:2533:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTPH_SIDE_GGSN [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/gtphub/gtphub.c:2592:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable entry [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/gtphub/gtphub.c:2604:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable entry [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/gtphub/gtphub.c:2615:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable entry [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/gtphub/gtphub.c:2648:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gtphub_peer [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/gtphub/gtphub.c:2669:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gtphub_peer_addr [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/gtphub/gtphub.c:2706:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gtphub_peer_port [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/gtphub/gtphub.c:2760:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/gtphub/gtphub.c:2818:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_RAW [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/gtphub/gtphub.c:2843:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/gtphub/gtphub.c:2895:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NI_NUMERICHOST [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/gtphub/gtphub.c:1690:9: warning:inconclusive: Possible null pointer dereference: pdi [nullPointer] osmo-sgsn-1.9.0/src/gtphub/gtphub.c:1688:32: note: Assignment 'pdi=NULL', assigned value is 0 osmo-sgsn-1.9.0/src/gtphub/gtphub.c:1690:9: note: Null pointer dereference osmo-sgsn-1.9.0/src/gtphub/gtphub.c:1691:12: warning:inconclusive: Possible null pointer dereference: pdi [nullPointer] osmo-sgsn-1.9.0/src/gtphub/gtphub.c:1688:32: note: Assignment 'pdi=NULL', assigned value is 0 osmo-sgsn-1.9.0/src/gtphub/gtphub.c:1691:12: note: Null pointer dereference osmo-sgsn-1.9.0/src/gtphub/gtphub.c:1692:12: warning:inconclusive: Possible null pointer dereference: pdi [nullPointer] osmo-sgsn-1.9.0/src/gtphub/gtphub.c:1688:32: note: Assignment 'pdi=NULL', assigned value is 0 osmo-sgsn-1.9.0/src/gtphub/gtphub.c:1692:12: note: Null pointer dereference osmo-sgsn-1.9.0/src/gtphub/gtphub.c:1572:8: style: Local variable 'rc' shadows outer variable [shadowVariable] osmo-sgsn-1.9.0/src/gtphub/gtphub.c:1523:7: note: Shadowed declaration osmo-sgsn-1.9.0/src/gtphub/gtphub.c:1572:8: note: Shadow variable osmo-sgsn-1.9.0/src/gtphub/gtphub.c:441:33: style: Parameter 'imsi' can be declared as pointer to const [constParameterPointer] osmo-sgsn-1.9.0/src/gtphub/gtphub.c:732:16: style: Parameter 'origin' can be declared as pointer to const [constParameterPointer] osmo-sgsn-1.9.0/src/gtphub/gtphub.c:1064:34: style: Variable 'te' can be declared as pointer to const [constVariablePointer] osmo-sgsn-1.9.0/src/gtphub/gtphub.c:1227:21: style: Variable 'nrm' can be declared as pointer to const [constVariablePointer] osmo-sgsn-1.9.0/src/gtphub/gtphub.c:1431:33: style: Variable 'to' can be declared as pointer to const [constVariablePointer] osmo-sgsn-1.9.0/src/gtphub/gtphub.c:1767:56: style: Parameter 'hub' can be declared as pointer to const [constParameterPointer] osmo-sgsn-1.9.0/src/gtphub/gtphub.c:1768:30: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] osmo-sgsn-1.9.0/src/gtphub/gtphub.c:1769:31: style: Parameter 'from_ctrl' can be declared as pointer to const [constParameterPointer] osmo-sgsn-1.9.0/src/gtphub/gtphub.c:1770:31: style: Parameter 'to_ctrl' can be declared as pointer to const [constParameterPointer] osmo-sgsn-1.9.0/src/gtphub/gtphub.c:1861:35: style: Variable 'te' can be declared as pointer to const [constVariablePointer] osmo-sgsn-1.9.0/src/gtphub/gtphub.c:1862:35: style: Variable 'te2' can be declared as pointer to const [constVariablePointer] osmo-sgsn-1.9.0/src/gtphub/gtphub.c:2058:50: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] osmo-sgsn-1.9.0/src/gtphub/gtphub.c:2068:50: style: Parameter 'hub' can be declared as pointer to const [constParameterPointer] osmo-sgsn-1.9.0/src/gtphub/gtphub.c:2107:18: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] osmo-sgsn-1.9.0/src/gtphub/gtphub.c:2377:57: style: Parameter 'pp' can be declared as pointer to const [constParameterPointer] osmo-sgsn-1.9.0/src/gtphub/gtphub.c:2627:27: style: Variable 'a' can be declared as pointer to const [constVariablePointer] osmo-sgsn-1.9.0/src/gtphub/gtphub.c:1723:26: error: Uninitialized variable: pdi->tun [uninitvar] osmo-sgsn-1.9.0/src/gtphub/gtphub_ares.c:73:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARES_SUCCESS [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/gtphub/gtphub_ares.c:180:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable entry [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/gtphub/gtphub_ares.c:96:8: style: Variable 'addr0' can be declared as pointer to const [constVariablePointer] osmo-sgsn-1.9.0/src/gtphub/gtphub_main.c:92:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gtphub_side_idx_names [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/gtphub/gtphub_main.c:100:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/gtphub/gtphub_main.c:176:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu8 [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/gtphub/gtphub_main.c:225:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/gtphub/gtphub_main.c:252:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optind [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/gtphub/gtphub_main.c:357:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OSMO_VTY_PORT_GTPHUB [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/gtphub/gtphub_main.c:73:24: style: Parameter 'tar' can be declared as pointer to const. However it seems that 'gtphub_log_filter_fn' is a callback function, if 'tar' is declared with const you might also need to cast function pointer(s). [constParameterCallback] osmo-sgsn-1.9.0/src/gtphub/gtphub_main.c:79:15: note: You might need to cast the function pointer here osmo-sgsn-1.9.0/src/gtphub/gtphub_main.c:73:24: note: Parameter 'tar' can be declared as pointer to const osmo-sgsn-1.9.0/src/gtphub/gtphub_main.c:204:44: style: Parameter 'ccfg' can be declared as pointer to const [constParameterPointer] osmo-sgsn-1.9.0/src/gtphub/gtphub_main.c:236:24: style: Variable 'long_options' can be declared as const array [constVariable] osmo-sgsn-1.9.0/src/gtphub/gtphub_sock.c:39:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/gtphub/gtphub_vty.c:137:2: error: There is an unknown macro here somewhere. Configuration is required. If for_each_plane is a macro then please configure it. [unknownMacro] osmo-sgsn-1.9.0/src/sgsn/gprs_gb.c:55:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_gb.c:97:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BSSGP_PAGING_PS [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_gb.c:143:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable osmo_prim_op_names [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_gb.c:154:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SAP_NS [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_gb.c:115:11: style: Variable 'nsp.nsei' is assigned a value that is never used. [unreadVariable] osmo-sgsn-1.9.0/src/sgsn/gprs_gb.c:116:11: style: Variable 'nsp.bvci' is assigned a value that is never used. [unreadVariable] osmo-sgsn-1.9.0/src/sgsn/gprs_gmm.c:98:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGL_ERROR [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_gmm.c:114:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGL_ERROR [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_gmm.c:123:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OSMO_TDEF_S [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_gmm.c:135:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GMM_CTR_PKTS_SIG_OUT [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_gmm.c:194:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGL_INFO [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_gmm.c:219:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DMM [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_gmm.c:245:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DMM [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_gmm.c:294:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGL_INFO [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_gmm.c:358:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGL_NOTICE [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_gmm.c:392:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DMM [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_gmm.c:425:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGL_DEBUG [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_gmm.c:471:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGL_INFO [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_gmm.c:534:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGL_NOTICE [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_gmm.c:562:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OSMO_AUTH_TYPE_UMTS [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_gmm.c:614:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGL_INFO [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_gmm.c:688:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGL_INFO [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_gmm.c:784:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGL_ERROR [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_gmm.c:828:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGL_NOTICE [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_gmm.c:870:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSM_MI_TYPE_IMEI [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_gmm.c:982:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OSMO_AUTH_TYPE_NONE [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_gmm.c:994:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGL_NOTICE [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_gmm.c:1010:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SGSN_ERROR_CAUSE_NONE [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_gmm.c:1046:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SGSN_ERROR_CAUSE_NONE [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_gmm.c:1068:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DMM [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_gmm.c:1130:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ST_GMM_COMMON_PROC_INIT [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_gmm.c:1144:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MM_CTX_T_UTRAN_Iu [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_gmm.c:1158:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MM_CTX_T_GERAN_Gb [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_gmm.c:1170:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GPRS_ALGO_GEA0 [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_gmm.c:1198:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGL_INFO [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_gmm.c:1391:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGL_INFO [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_gmm.c:1458:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CTR_GPRS_DETACH_REQUEST [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_gmm.c:1497:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CTR_GPRS_ROUTING_AREA_ACKED [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_gmm.c:1553:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CTR_GPRS_ROUTING_AREA_REJECT [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_gmm.c:1578:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_gmm.c:1621:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GMM_CAUSE_PROTO_ERR_UNSPEC [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_gmm.c:1836:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGL_INFO [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_gmm.c:1865:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGL_INFO [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_gmm.c:1892:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGL_INFO [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_gmm.c:2000:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGL_INFO [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_gmm.c:2014:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGL_NOTICE [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_gmm.c:2177:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGL_NOTICE [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_gmm.c:2247:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GPRS_SAPI_GMM [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_gmm.c:2258:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MM_CTX_T_GERAN_Gb [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_gmm.c:2277:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_gmm.c:2302:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_gmm.c:473:18: warning: Either the condition 'vec' is redundant or there is possible null pointer dereference: vec. [nullPointerRedundantCheck] osmo-sgsn-1.9.0/src/sgsn/gprs_gmm.c:475:26: note: Assuming that condition 'vec' is not redundant osmo-sgsn-1.9.0/src/sgsn/gprs_gmm.c:473:18: note: Null pointer dereference osmo-sgsn-1.9.0/src/sgsn/gprs_gmm.c:474:23: warning: Either the condition 'vec' is redundant or there is possible null pointer dereference: vec. [nullPointerRedundantCheck] osmo-sgsn-1.9.0/src/sgsn/gprs_gmm.c:475:26: note: Assuming that condition 'vec' is not redundant osmo-sgsn-1.9.0/src/sgsn/gprs_gmm.c:474:23: note: Null pointer dereference osmo-sgsn-1.9.0/src/sgsn/gprs_gmm.c:269:56: style: Parameter 'oldmsg' can be declared as pointer to const [constParameterPointer] osmo-sgsn-1.9.0/src/sgsn/gprs_gmm.c:376:46: style: Parameter 'mm' can be declared as pointer to const [constParameterPointer] osmo-sgsn-1.9.0/src/sgsn/gprs_gmm.c:411:53: style: Parameter 'oldmsg' can be declared as pointer to const [constParameterPointer] osmo-sgsn-1.9.0/src/sgsn/gprs_gmm.c:1142:54: style: Parameter 'mmctx' can be declared as pointer to const [constParameterPointer] osmo-sgsn-1.9.0/src/sgsn/gprs_gmm.c:1187:20: style: Variable 'gh' can be declared as pointer to const [constVariablePointer] osmo-sgsn-1.9.0/src/sgsn/gprs_gmm.c:1188:28: style: Variable 'msnc' can be declared as pointer to const [constVariablePointer] osmo-sgsn-1.9.0/src/sgsn/gprs_gmm.c:1188:45: style: Variable 'ms_ra_acc_cap' can be declared as pointer to const [constVariablePointer] osmo-sgsn-1.9.0/src/sgsn/gprs_gmm.c:1435:20: style: Variable 'gh_a' can be declared as pointer to const [constVariablePointer] osmo-sgsn-1.9.0/src/sgsn/gprs_gmm.c:1436:20: style: Variable 'gh_b' can be declared as pointer to const [constVariablePointer] osmo-sgsn-1.9.0/src/sgsn/gprs_gmm.c:1547:42: style: Parameter 'old_msg' can be declared as pointer to const [constParameterPointer] osmo-sgsn-1.9.0/src/sgsn/gprs_gmm.c:1615:20: style: Variable 'gh' can be declared as pointer to const [constVariablePointer] osmo-sgsn-1.9.0/src/sgsn/gprs_gmm.c:1883:20: style: Variable 'gh' can be declared as pointer to const [constVariablePointer] osmo-sgsn-1.9.0/src/sgsn/gprs_gmm_attach.c:38:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SGSN_AUTH_UNKNOWN [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_gmm_attach.c:90:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable E_IDEN_RESP_RECV [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_gmm_attach.c:132:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable auth_policy [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_gmm_attach.c:180:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ST_ACCEPT [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_gmm_attach.c:211:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ST_INIT [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_gmm_attach.c:227:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GMM_DISCARD_MS_WITHOUT_REJECT [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_gmm_attach.c:241:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SGSN_AUTH_UMTS_RESYNC [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_gmm_attach.c:252:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ST_AUTH [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_gmm_attach.c:292:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ST_ACCEPT [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_gmm_attach.c:376:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ST_INIT [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_gmm_attach.c:414:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGL_ERROR [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_gmm_attach.c:191:54: style: Parameter 'fi' can be declared as pointer to const. However it seems that 'st_accept_on_enter' is a callback function, if 'fi' is declared with const you might also need to cast function pointer(s). [constParameterCallback] osmo-sgsn-1.9.0/src/sgsn/gprs_gmm_attach.c:337:14: note: You might need to cast the function pointer here osmo-sgsn-1.9.0/src/sgsn/gprs_gmm_attach.c:191:54: note: Parameter 'fi' can be declared as pointer to const osmo-sgsn-1.9.0/src/sgsn/gprs_gmm_attach.c:222:45: style: Parameter 'fi' can be declared as pointer to const. However it seems that 'st_reject' is a callback function, if 'fi' is declared with const you might also need to cast function pointer(s). [constParameterCallback] osmo-sgsn-1.9.0/src/sgsn/gprs_gmm_attach.c:344:13: note: You might need to cast the function pointer here osmo-sgsn-1.9.0/src/sgsn/gprs_gmm_attach.c:222:45: note: Parameter 'fi' can be declared as pointer to const osmo-sgsn-1.9.0/src/sgsn/gprs_gmm_attach.c:233:55: style: Parameter 'fi' can be declared as pointer to const. However it seems that 'st_ask_vlr_on_enter' is a callback function, if 'fi' is declared with const you might also need to cast function pointer(s). [constParameterCallback] osmo-sgsn-1.9.0/src/sgsn/gprs_gmm_attach.c:309:14: note: You might need to cast the function pointer here osmo-sgsn-1.9.0/src/sgsn/gprs_gmm_attach.c:233:55: note: Parameter 'fi' can be declared as pointer to const osmo-sgsn-1.9.0/src/sgsn/gprs_gmm_attach.c:257:63: style: Parameter 'fi' can be declared as pointer to const. However it seems that 'st_iu_security_cmd_on_enter' is a callback function, if 'fi' is declared with const you might also need to cast function pointer(s). [constParameterCallback] osmo-sgsn-1.9.0/src/sgsn/gprs_gmm_attach.c:330:14: note: You might need to cast the function pointer here osmo-sgsn-1.9.0/src/sgsn/gprs_gmm_attach.c:257:63: note: Parameter 'fi' can be declared as pointer to const osmo-sgsn-1.9.0/src/sgsn/gprs_gmm_fsm.c:49:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ST_GMM_COMMON_PROC_INIT [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_gmm_fsm.c:72:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ST_GMM_REGISTERED_NORMAL [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_gmm_fsm.c:81:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ST_GMM_COMMON_PROC_INIT [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_gmm_fsm.c:99:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ST_GMM_REGISTERED_NORMAL [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_gmm_fsm.c:199:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ST_GMM_DEREGISTERED [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_gmm_fsm.c:107:60: style: Parameter 'fi' can be declared as pointer to const. However it seems that 'st_gmm_deregistered_init' is a callback function, if 'fi' is declared with const you might also need to cast function pointer(s). [constParameterCallback] osmo-sgsn-1.9.0/src/sgsn/gprs_gmm_fsm.c:171:13: note: You might need to cast the function pointer here osmo-sgsn-1.9.0/src/sgsn/gprs_gmm_fsm.c:107:60: note: Parameter 'fi' can be declared as pointer to const osmo-sgsn-1.9.0/src/sgsn/gprs_gmm_fsm.c:107:86: style: Parameter 'data' can be declared as pointer to const. However it seems that 'st_gmm_deregistered_init' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] osmo-sgsn-1.9.0/src/sgsn/gprs_gmm_fsm.c:171:13: note: You might need to cast the function pointer here osmo-sgsn-1.9.0/src/sgsn/gprs_gmm_fsm.c:107:86: note: Parameter 'data' can be declared as pointer to const osmo-sgsn-1.9.0/src/sgsn/gprs_gmm_fsm.c:192:30: style: Variable 'rat_chg' can be declared as pointer to const [constVariablePointer] osmo-sgsn-1.9.0/src/sgsn/gprs_gmm_fsm.c:223:44: style: Parameter 'fi' can be declared as pointer to const. However it seems that 'gmm_fsm_timer_cb' is a callback function, if 'fi' is declared with const you might also need to cast function pointer(s). [constParameterCallback] osmo-sgsn-1.9.0/src/sgsn/gprs_gmm_fsm.c:236:14: note: You might need to cast the function pointer here osmo-sgsn-1.9.0/src/sgsn/gprs_gmm_fsm.c:223:44: note: Parameter 'fi' can be declared as pointer to const osmo-sgsn-1.9.0/src/sgsn/gprs_llc.c:69:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xid_fields [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_llc.c:119:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xid_fields [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_llc.c:160:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_llc.c:221:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_llc.c:349:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gprs_llc_xid_type_names [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_llc.c:397:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_llc.c:509:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gprs_llc_llmes [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_llc.c:524:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TLLI_FOREIGN [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_llc.c:559:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GPRS_LLES_UNASSIGNED [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_llc.c:570:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gprs_llc_llme [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_llc.c:692:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GPRS_LLC_U_XID [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_llc.c:704:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GPRS_LLC_U_DM_RESP [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_llc.c:711:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSM0464_CIPH_MAX_BLOCK [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_llc.c:770:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EFBIG [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_llc.c:887:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EIO [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_llc.c:923:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BSSGP_IE_LLC_PDU [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_llc.c:1044:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GPRS_ALGO_GEA0 [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_llc.c:1071:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TLLI_UNASSIGNED [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_llc.c:1126:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TLLI_UNASSIGNED [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_llc.c:1133:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GPRS_SAPI_GMM [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_llc.c:1175:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu8 [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_llc.c:76:19: style: Variable 'xid_version.type' is assigned a value that is never used. [unreadVariable] osmo-sgsn-1.9.0/src/sgsn/gprs_llc.c:77:19: style: Variable 'xid_version.data' is assigned a value that is never used. [unreadVariable] osmo-sgsn-1.9.0/src/sgsn/gprs_llc.c:78:23: style: Variable 'xid_version.data_len' is assigned a value that is never used. [unreadVariable] osmo-sgsn-1.9.0/src/sgsn/gprs_llc.c:81:17: style: Variable 'xid_n201u.type' is assigned a value that is never used. [unreadVariable] osmo-sgsn-1.9.0/src/sgsn/gprs_llc.c:82:17: style: Variable 'xid_n201u.data' is assigned a value that is never used. [unreadVariable] osmo-sgsn-1.9.0/src/sgsn/gprs_llc.c:83:21: style: Variable 'xid_n201u.data_len' is assigned a value that is never used. [unreadVariable] osmo-sgsn-1.9.0/src/sgsn/gprs_llc.c:86:17: style: Variable 'xid_n201i.type' is assigned a value that is never used. [unreadVariable] osmo-sgsn-1.9.0/src/sgsn/gprs_llc.c:87:17: style: Variable 'xid_n201i.data' is assigned a value that is never used. [unreadVariable] osmo-sgsn-1.9.0/src/sgsn/gprs_llc.c:88:21: style: Variable 'xid_n201i.data_len' is assigned a value that is never used. [unreadVariable] osmo-sgsn-1.9.0/src/sgsn/gprs_llc.c:125:17: style: Variable 'xid_reset.type' is assigned a value that is never used. [unreadVariable] osmo-sgsn-1.9.0/src/sgsn/gprs_llc.c:126:17: style: Variable 'xid_reset.data' is assigned a value that is never used. [unreadVariable] osmo-sgsn-1.9.0/src/sgsn/gprs_llc.c:127:21: style: Variable 'xid_reset.data_len' is assigned a value that is never used. [unreadVariable] osmo-sgsn-1.9.0/src/sgsn/gprs_llc.c:130:17: style: Variable 'xid_iovui.type' is assigned a value that is never used. [unreadVariable] osmo-sgsn-1.9.0/src/sgsn/gprs_llc.c:131:17: style: Variable 'xid_iovui.data' is assigned a value that is never used. [unreadVariable] osmo-sgsn-1.9.0/src/sgsn/gprs_llc_vty.c:61:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VTY_NEWLINE [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_llc_vty.c:74:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLOCK_MONOTONIC [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_llc_vty.c:103:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vty [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_llc_vty.c:112:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable show_llc_cmd [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_llc_xid.c:67:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_llc_xid.c:115:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_llc_xid.c:152:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_llc_xid.c:181:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable llist_head [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_llc_xid.c:245:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable llist_head [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_llc_xid.c:265:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_llc_xid.c:160:3: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] osmo-sgsn-1.9.0/src/sgsn/gprs_llc_xid.c:162:3: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] osmo-sgsn-1.9.0/src/sgsn/gprs_mm_state_gb_fsm.c:59:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ST_MM_READY [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_mm_state_gb_fsm.c:72:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ST_MM_STANDBY [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_mm_state_gb_fsm.c:91:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ST_MM_READY [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_mm_state_gb_fsm.c:42:55: style: Parameter 'fi' can be declared as pointer to const. However it seems that 'st_mm_idle_on_enter' is a callback function, if 'fi' is declared with const you might also need to cast function pointer(s). [constParameterCallback] osmo-sgsn-1.9.0/src/sgsn/gprs_mm_state_gb_fsm.c:103:14: note: You might need to cast the function pointer here osmo-sgsn-1.9.0/src/sgsn/gprs_mm_state_gb_fsm.c:42:55: note: Parameter 'fi' can be declared as pointer to const osmo-sgsn-1.9.0/src/sgsn/gprs_mm_state_iu_fsm.c:46:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET_ADDRSTRLEN [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_mm_state_iu_fsm.c:62:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ST_PMM_CONNECTED [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_mm_state_iu_fsm.c:76:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ST_PMM_IDLE [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_mm_state_iu_fsm.c:99:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ST_PMM_CONNECTED [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_mm_state_iu_fsm.c:87:56: style: Parameter 'fi' can be declared as pointer to const. However it seems that 'st_pmm_idle_on_enter' is a callback function, if 'fi' is declared with const you might also need to cast function pointer(s). [constParameterCallback] osmo-sgsn-1.9.0/src/sgsn/gprs_mm_state_iu_fsm.c:130:14: note: You might need to cast the function pointer here osmo-sgsn-1.9.0/src/sgsn/gprs_mm_state_iu_fsm.c:87:56: note: Parameter 'fi' can be declared as pointer to const osmo-sgsn-1.9.0/src/sgsn/gprs_ranap.c:45:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MM_CTX_T_UTRAN_Iu [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_ranap.c:108:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PDP_STATE_CR_CONF [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_ranap.c:123:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGL_NOTICE [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_ranap.c:195:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T_defs [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_ranap.c:212:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RANAP_NSAP_ADDR_ENC_X213 [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_ranap.c:236:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_ranap.c:230:65: style: Parameter 'ra_id' can be declared as pointer to const [constParameterPointer] osmo-sgsn-1.9.0/src/sgsn/gprs_sgsn.c:338:2: error: There is an unknown macro here somewhere. Configuration is required. If llist_for_each_entry_safe is a macro then please configure it. [unknownMacro] osmo-sgsn-1.9.0/src/sgsn/gprs_sm.c:95:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGL_ERROR [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_sm.c:104:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGL_ERROR [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_sm.c:116:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGL_ERROR [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_sm.c:162:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DMM [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_sm.c:188:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGL_INFO [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_sm.c:233:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGL_NOTICE [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_sm.c:259:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGL_INFO [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_sm.c:287:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGL_INFO [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_sm.c:310:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGL_DEBUG [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_sm.c:329:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET_ADDRSTRLEN [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_sm.c:419:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSM_APN_LENGTH [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_sm.c:605:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_sm.c:630:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGL_INFO [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_sm.c:656:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGL_INFO [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_sm.c:679:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGL_INFO [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_sm.c:694:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGL_NOTICE [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_sm.c:721:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGL_NOTICE [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_sm.c:685:35: style:inconclusive: Function 'pdpctx_timer_cb' argument 1 names different: declaration '_mm' definition '_pdp'. [funcArgNamesDifferent] osmo-sgsn-1.9.0/src/sgsn/gprs_sm.c:89:35: note: Function 'pdpctx_timer_cb' argument 1 names different: declaration '_mm' definition '_pdp'. osmo-sgsn-1.9.0/src/sgsn/gprs_sm.c:685:35: note: Function 'pdpctx_timer_cb' argument 1 names different: declaration '_mm' definition '_pdp'. osmo-sgsn-1.9.0/src/sgsn/gprs_sm.c:328:18: style: Variable 'addr' can be declared as pointer to const [constVariablePointer] osmo-sgsn-1.9.0/src/sgsn/gprs_sndcp.c:240:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_sndcp.c:283:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_sndcp.c:307:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_sndcp.c:428:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_sndcp.c:487:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gprs_sndcp_entity [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_sndcp.c:513:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EEXIST [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_sndcp.c:537:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOENT [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_sndcp.c:590:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_sndcp.c:689:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sgsn [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_sndcp.c:800:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_sndcp.c:967:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable comp_fields [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_sndcp.c:1046:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GPRS_LLC_XID_T_L3_PAR [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_sndcp.c:1074:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DSNDCP [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_sndcp.c:1121:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DSNDCP [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_sndcp.c:1172:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GPRS_LLC_XID_T_L3_PAR [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_sndcp.c:1269:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_sndcp.c:744:8: style: Local variable 'rc' shadows outer variable [shadowVariable] osmo-sgsn-1.9.0/src/sgsn/gprs_sndcp.c:678:6: note: Shadowed declaration osmo-sgsn-1.9.0/src/sgsn/gprs_sndcp.c:744:8: note: Shadow variable osmo-sgsn-1.9.0/src/sgsn/gprs_sndcp.c:224:67: style: Parameter 'sgsn' can be declared as pointer to const [constParameterPointer] osmo-sgsn-1.9.0/src/sgsn/gprs_sndcp.c:234:15: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] osmo-sgsn-1.9.0/src/sgsn/gprs_sndcp.c:263:63: style: Parameter 'sne' can be declared as pointer to const [constParameterPointer] osmo-sgsn-1.9.0/src/sgsn/gprs_sndcp.c:782:25: style: Variable 'scomph' can be declared as pointer to const [constVariablePointer] osmo-sgsn-1.9.0/src/sgsn/gprs_sndcp.c:284:12: error: Uninitialized variable: dqe->seg_nr [uninitvar] osmo-sgsn-1.9.0/src/sgsn/gprs_sndcp.c:1005:9: style: Variable 'entity' is assigned a value that is never used. [unreadVariable] osmo-sgsn-1.9.0/src/sgsn/gprs_sndcp_comp.c:46:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gprs_sndcp_comp [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_sndcp_comp.c:144:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable llist_head [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_sndcp_comp.c:161:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_sndcp_comp.c:195:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_sndcp_comp.c:256:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_sndcp_comp.c:278:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_sndcp_dcomp.c:86:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable V42BIS [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_sndcp_dcomp.c:117:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable V42BIS [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_sndcp_dcomp.c:145:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DSNDCP [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_sndcp_dcomp.c:166:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MIN_COMPR_PAYLOAD [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_sndcp_dcomp.c:253:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_sndcp_dcomp.c:292:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SNDCP_XID_DATA_COMPRESSION [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_sndcp_dcomp.c:338:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SNDCP_XID_DATA_COMPRESSION [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_sndcp_dcomp.c:204:26: style: Checking if unsigned expression 'len' is less than zero. [unsignedLessThanZero] osmo-sgsn-1.9.0/src/sgsn/gprs_sndcp_dcomp.c:186:24: note: Assignment 'compressed_data.len=0', assigned value is 0 osmo-sgsn-1.9.0/src/sgsn/gprs_sndcp_dcomp.c:204:26: note: Unsigned less than zero osmo-sgsn-1.9.0/src/sgsn/gprs_sndcp_pcomp.c:56:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RFC_1144 [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_sndcp_pcomp.c:82:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RFC_1144 [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_sndcp_pcomp.c:114:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SL_TYPE_COMPRESSED_TCP [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_sndcp_pcomp.c:144:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SL_TYPE_IP [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_sndcp_pcomp.c:213:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SNDCP_XID_PROTOCOL_COMPRESSION [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_sndcp_pcomp.c:262:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SNDCP_XID_PROTOCOL_COMPRESSION [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_sndcp_vty.c:59: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-sgsn-1.9.0/src/sgsn/gprs_sndcp_xid.c:472:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SNDCP_XID_PROTOCOL_COMPRESSION [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_sndcp_xid.c:523:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SNDCP_XID_PROTOCOL_COMPRESSION [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_sndcp_xid.c:545:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_sndcp_xid.c:592:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SNDCP_XID_DATA_COMPRESSION [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_sndcp_xid.c:630:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_sndcp_xid.c:672:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_sndcp_xid.c:712:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_sndcp_xid.c:969:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_sndcp_xid.c:1033:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SNDCP_XID_PROTOCOL_COMPRESSION [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_sndcp_xid.c:1052:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SNDCP_XID_DATA_COMPRESSION [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_sndcp_xid.c:1074:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RFC1144_PCOMP_NUM [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_sndcp_xid.c:1137:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gprs_sndcp_pcomp_rfc1144_params [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_sndcp_xid.c:1185:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gprs_sndcp_dcomp_v42bis_params [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_sndcp_xid.c:1232:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_sndcp_xid.c:1320:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_ENTITIES [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_sndcp_xid.c:1366:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SNDCP_XID_VERSION_NUMBER [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_sndcp_xid.c:1431:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_sndcp_xid.c:1469:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SNDCP_XID_INVALID_COMPRESSION [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_sndcp_xid.c:1583:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_sndcp_xid.c:1612:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_sndcp_xid.c:1635:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_ENTITIES [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_sndcp_xid.c:1696:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DSNDCP [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_sndcp_xid.c:1796:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DSNDCP [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_sndcp_xid.c:1862:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_sndcp_xid.c:0:0: debug: ValueFlow maximum iterations exceeded [valueFlowMaxIterations] osmo-sgsn-1.9.0/src/sgsn/gprs_sndcp_xid.c:113:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] osmo-sgsn-1.9.0/src/sgsn/gprs_sndcp_xid.c:183:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] osmo-sgsn-1.9.0/src/sgsn/gprs_sndcp_xid.c:293:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] osmo-sgsn-1.9.0/src/sgsn/gprs_sndcp_xid.c:371:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] osmo-sgsn-1.9.0/src/sgsn/gprs_sndcp_xid.c:607:3: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] osmo-sgsn-1.9.0/src/sgsn/gprs_sndcp_xid.c:760:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] osmo-sgsn-1.9.0/src/sgsn/gprs_sndcp_xid.c:829:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] osmo-sgsn-1.9.0/src/sgsn/gprs_sndcp_xid.c:933:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] osmo-sgsn-1.9.0/src/sgsn/gprs_sndcp_xid.c:1015:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] osmo-sgsn-1.9.0/src/sgsn/gprs_sndcp_xid.c:1119:4: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] osmo-sgsn-1.9.0/src/sgsn/gprs_sndcp_xid.c:607:7: style: Variable 'dst' is assigned a value that is never used. [unreadVariable] osmo-sgsn-1.9.0/src/sgsn/gprs_sndcp_xid.c:760:6: style: Variable 'src' is assigned a value that is never used. [unreadVariable] osmo-sgsn-1.9.0/src/sgsn/gprs_sndcp_xid.c:829:6: style: Variable 'src' is assigned a value that is never used. [unreadVariable] osmo-sgsn-1.9.0/src/sgsn/gprs_sndcp_xid.c:933:6: style: Variable 'src' is assigned a value that is never used. [unreadVariable] osmo-sgsn-1.9.0/src/sgsn/gprs_sndcp_xid.c:1015:6: style: Variable 'src' is assigned a value that is never used. [unreadVariable] osmo-sgsn-1.9.0/src/sgsn/gprs_sndcp_xid.c:1119:7: style: Variable 'src' is assigned a value that is never used. [unreadVariable] osmo-sgsn-1.9.0/src/sgsn/gprs_sndcp_xid.c:1355:19: style: Variable 'byte_counter' is assigned a value that is never used. [unreadVariable] osmo-sgsn-1.9.0/src/sgsn/gprs_sndcp_xid.c:1407:18: style: Variable 'byte_counter' is assigned a value that is never used. [unreadVariable] osmo-sgsn-1.9.0/src/sgsn/gprs_subscriber.c:74:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ipaccess_unit [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_subscriber.c:110:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sgsn_subscriber_data [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_subscriber.c:127:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sgsn_subscriber_pdp_data [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_subscriber.c:141:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable entry [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_subscriber.c:151:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gprs_subscr [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_subscriber.c:185:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GPRS_SUBSCRIBER_ENABLE_PURGE [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_subscriber.c:194:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GPRS_SUBSCRIBER_CANCELLED [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_subscriber.c:209:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OSMO_GSUP_CN_DOMAIN_PS [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_subscriber.c:244:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGL_INFO [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_subscriber.c:282:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_subscriber.c:296:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_subscriber.c:355:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGL_ERROR [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_subscriber.c:409:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SGSN_ERROR_CAUSE_NONE [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_subscriber.c:422:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OSMO_GSUP_CN_DOMAIN_PS [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_subscriber.c:445:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SGSN_ERROR_CAUSE_NONE [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_subscriber.c:456:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GMM_CAUSE_IMSI_UNKNOWN [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_subscriber.c:478:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGL_DEBUG [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_subscriber.c:530:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGL_DEBUG [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_subscriber.c:573:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gsm48_gmm_cause_names [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_subscriber.c:587:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGL_INFO [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_subscriber.c:599:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGL_NOTICE [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_subscriber.c:634:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OSMO_GSUP_CANCEL_TYPE_UPDATE [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_subscriber.c:661:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GMM_CAUSE_IMSI_UNKNOWN [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_subscriber.c:696:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gsm48_gmm_cause_names [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_subscriber.c:786:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGL_INFO [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_subscriber.c:806:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGL_INFO [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_subscriber.c:819:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGL_INFO [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_subscriber.c:840:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGL_DEBUG [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_subscriber.c:851:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGL_DEBUG [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_subscriber.c:875:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GPRS_SUBSCRIBER_FIRST_CONTACT [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_subscriber.c:895:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGL_DEBUG [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_subscriber.c:922:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGL_DEBUG [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_subscriber.c:956:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DREF [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gprs_subscriber.c:881:18: style: The statement 'if (subscr->lac!=mmctx->ra.lac) subscr->lac=mmctx->ra.lac' is logically equivalent to 'subscr->lac=mmctx->ra.lac'. [duplicateConditionalAssign] osmo-sgsn-1.9.0/src/sgsn/gprs_subscriber.c:882:15: note: Assignment 'subscr->lac=mmctx->ra.lac' osmo-sgsn-1.9.0/src/sgsn/gprs_subscriber.c:881:18: note: Condition 'subscr->lac!=mmctx->ra.lac' is redundant osmo-sgsn-1.9.0/src/sgsn/gprs_subscriber.c:630:37: style: Parameter 'gsup_msg' can be declared as pointer to const [constParameterPointer] osmo-sgsn-1.9.0/src/sgsn/gprs_subscriber.c:783:31: style: Variable 'sdata' can be declared as pointer to const [constVariablePointer] osmo-sgsn-1.9.0/src/sgsn/gtp_mme.c:42:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sgsn_mme_ctx [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gtp_mme.c:62:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gtp_mme.c:82:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mme_rim_route [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gtp_mme.c:91:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gtp_mme.c:104:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gtp_mme.c:115:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gtp_mme.c:125:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/gtp_mme.c:140:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/sgsn_auth.c:49:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/sgsn_auth.c:61:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EEXIST [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/sgsn_auth.c:79:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENODEV [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/sgsn_auth.c:95:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable auth_policy [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/sgsn_auth.c:160:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGL_DEBUG [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/sgsn_auth.c:217:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGL_DEBUG [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/sgsn_auth.c:289:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSM_KEY_SEQ_INVAL [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/sgsn_auth.c:73:56: style: Parameter 'cfg' can be declared as pointer to const [constParameterPointer] osmo-sgsn-1.9.0/src/sgsn/sgsn_auth.c:156:25: style: Variable 'at' can be declared as pointer to const [constVariablePointer] osmo-sgsn-1.9.0/src/sgsn/sgsn_auth.c:212:25: style: Variable 'at' can be declared as pointer to const [constVariablePointer] osmo-sgsn-1.9.0/src/sgsn/sgsn_auth.c:291:20: error: Uninitialized variable: sdata [legacyUninitvar] osmo-sgsn-1.9.0/src/sgsn/sgsn_cdr.c:143:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/sgsn_cdr.c:156:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET_ADDRSTRLEN [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/sgsn_cdr.c:253:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SS_SGSN [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/sgsn_cdr.c:80:24: style: Parameter 'mmctx' can be declared as pointer to const [constParameterPointer] osmo-sgsn-1.9.0/src/sgsn/sgsn_cdr.c:131:40: style: Parameter 'eua' can be declared as pointer to const [constParameterPointer] osmo-sgsn-1.9.0/src/sgsn/sgsn_ctrl.c:44:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/sgsn_ctrl.c:60:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CTRL_NODE_ROOT [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/sgsn_libgtp.c:178:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGL_NOTICE [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/sgsn_libgtp.c:315:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGL_INFO [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/sgsn_libgtp.c:379:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MM_CTX_T_GERAN_Gb [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/sgsn_libgtp.c:396:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGL_INFO [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/sgsn_libgtp.c:473:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGL_INFO [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/sgsn_libgtp.c:487:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/sgsn_libgtp.c:520:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGL_INFO [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/sgsn_libgtp.c:548:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGL_INFO [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/sgsn_libgtp.c:586:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGL_NOTICE [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/sgsn_libgtp.c:604:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/sgsn_libgtp.c:626:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DGPRS [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/sgsn_libgtp.c:685:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET_ADDRSTRLEN [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/sgsn_libgtp.c:731:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EIO [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/sgsn_libgtp.c:812:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EIO [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/sgsn_libgtp.c:843:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OSMO_FD_READ [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/sgsn_libgtp.c:869:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTP_MODE_SGSN [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/sgsn_libgtp.c:175:22: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] osmo-sgsn-1.9.0/src/sgsn/sgsn_libgtp.c:699:82: style: Checking if unsigned expression 'len' is less than zero. [unsignedLessThanZero] osmo-sgsn-1.9.0/src/sgsn/sgsn_libgtp.c:113:36: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] osmo-sgsn-1.9.0/src/sgsn/sgsn_libgtp.c:464:57: style: Parameter 'addr' can be declared as pointer to const [constParameterPointer] osmo-sgsn-1.9.0/src/sgsn/sgsn_libgtp.c:666:45: style: Parameter 'peer' can be declared as pointer to const. However it seems that 'cb_unsup_ind' is a callback function, if 'peer' is declared with const you might also need to cast function pointer(s). [constParameterCallback] osmo-sgsn-1.9.0/src/sgsn/sgsn_libgtp.c:906:28: note: You might need to cast the function pointer here osmo-sgsn-1.9.0/src/sgsn/sgsn_libgtp.c:666:45: note: Parameter 'peer' can be declared as pointer to const osmo-sgsn-1.9.0/src/sgsn/sgsn_libgtp.c:675:49: style: Parameter 'peer' can be declared as pointer to const. However it seems that 'cb_extheader_ind' is a callback function, if 'peer' is declared with const you might also need to cast function pointer(s). [constParameterCallback] osmo-sgsn-1.9.0/src/sgsn/sgsn_libgtp.c:907:32: note: You might need to cast the function pointer here osmo-sgsn-1.9.0/src/sgsn/sgsn_libgtp.c:675:49: note: Parameter 'peer' can be declared as pointer to const osmo-sgsn-1.9.0/src/sgsn/sgsn_libgtp.c:720:38: style: Parameter 'lib' can be declared as pointer to const. However it seems that 'cb_data_ind' is a callback function, if 'lib' is declared with const you might also need to cast function pointer(s). [constParameterCallback] osmo-sgsn-1.9.0/src/sgsn/sgsn_libgtp.c:905:27: note: You might need to cast the function pointer here osmo-sgsn-1.9.0/src/sgsn/sgsn_libgtp.c:720:38: note: Parameter 'lib' can be declared as pointer to const osmo-sgsn-1.9.0/src/sgsn/sgsn_libgtp.c:720:49: style: Parameter 'packet' can be declared as pointer to const. However it seems that 'cb_data_ind' is a callback function, if 'packet' is declared with const you might also need to cast function pointer(s). [constParameterCallback] osmo-sgsn-1.9.0/src/sgsn/sgsn_libgtp.c:905:27: note: You might need to cast the function pointer here osmo-sgsn-1.9.0/src/sgsn/sgsn_libgtp.c:720:49: note: Parameter 'packet' can be declared as pointer to const osmo-sgsn-1.9.0/src/sgsn/sgsn_libgtp.c:838:43: style: Parameter 'fd' can be declared as pointer to const. However it seems that 'sgsn_gtp_fd_cb' is a callback function, if 'fd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] osmo-sgsn-1.9.0/src/sgsn/sgsn_libgtp.c:893:57: note: You might need to cast the function pointer here osmo-sgsn-1.9.0/src/sgsn/sgsn_libgtp.c:838:43: note: Parameter 'fd' can be declared as pointer to const osmo-sgsn-1.9.0/src/sgsn/sgsn_libgtp.c:304:5: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] osmo-sgsn-1.9.0/src/sgsn/sgsn_main.c:104:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable osmo_bssgp_prim [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/sgsn_main.c:132:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/sgsn_main.c:169:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONFIG_NODE [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/sgsn_main.c:215:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VTY_REF_GEN_MODE_DEFAULT [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/sgsn_main.c:272:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable osmo_stderr_target [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/sgsn_main.c:437:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gprs_gb_send_cb [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/sgsn_main.c:132:2: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] osmo-sgsn-1.9.0/src/sgsn/sgsn_main.c:244:24: style: Variable 'long_options' can be declared as const array [constVariable] osmo-sgsn-1.9.0/src/sgsn/sgsn_rim.c:21:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BSSGP_RIM_ROUTING_INFO_GERAN [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/sgsn_rim.c:37:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BSSGP_RIM_ROUTING_INFO_EUTRAN [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/sgsn_rim.c:58:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BSSGP_RIM_ROUTING_INFO_GERAN [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/sgsn_rim.c:95:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BSSGP_RIM_ROUTING_INFO_EUTRAN [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/sgsn_vty.c:385:7: error: There is an unknown macro here somewhere. Configuration is required. If OSMO_STRINGIFY_VAL is a macro then please configure it. [unknownMacro] osmo-sgsn-1.9.0/src/sgsn/slhc.c:117:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable slcompress [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/slhc.c:172:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DSLHC [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/slhc.c:209:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DSLHC [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/slhc.c:267:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable iphdr [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/slhc.c:590:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NEW_C [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/slhc.c:736:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DSLHC [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/slhc.c:782:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DSLHC [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/slhc.c:792:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NULLSLCOMPR [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/slhc.c:803:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NULLSLCOMPR [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/src/sgsn/slhc.c:595:8: style: Condition 'x<0' is always false [knownConditionTrueFalse] osmo-sgsn-1.9.0/src/sgsn/slhc.c:594:7: note: Assignment 'x=*cp++', assigned value is greater than -1 osmo-sgsn-1.9.0/src/sgsn/slhc.c:595:8: note: Condition 'x<0' is always false osmo-sgsn-1.9.0/src/sgsn/slhc.c:259:22: style: Variable 'oth' can be declared as pointer to const [constVariablePointer] osmo-sgsn-1.9.0/src/sgsn/v42bis.c:425:1: error: There is an unknown macro here somewhere. Configuration is required. If SPAN_DECLARE is a macro then please configure it. [unknownMacro] osmo-sgsn-1.9.0/tests/gprs/gprs_test.c:60:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GPRS_TMR_DEACTIVATED [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/tests/gprs/gprs_test.c:61:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] osmo-sgsn-1.9.0/tests/gprs/gprs_test.c:103:7: style: Local variable 'tmr' shadows outer variable [shadowVariable] osmo-sgsn-1.9.0/tests/gprs/gprs_test.c:53:18: note: Shadowed declaration osmo-sgsn-1.9.0/tests/gprs/gprs_test.c:103:7: note: Shadow variable osmo-sgsn-1.9.0/tests/gtphub/gtphub_test.c:70:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nr_mapping [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/tests/gtphub/gtphub_test.c:221:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable entry [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/tests/gtphub/gtphub_test.c:260:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/tests/gtphub/gtphub_test.c:384:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/tests/gtphub/gtphub_test.c:393:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/tests/gtphub/gtphub_test.c:402:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/tests/gtphub/gtphub_test.c:411:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/tests/gtphub/gtphub_test.c:434:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTPH_SIDE_GGSN [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/tests/gtphub/gtphub_test.c:588:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTPH_SIDE_SGSN [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/tests/gtphub/gtphub_test.c:619:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTPH_EXPIRE_SLOWLY_MINUTES [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/tests/gtphub/gtphub_test.c:644:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable entry [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/tests/gtphub/gtphub_test.c:667:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/tests/gtphub/gtphub_test.c:868:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTPH_SIDE_SGSN [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/tests/gtphub/gtphub_test.c:888:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTPH_SIDE_GGSN [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/tests/gtphub/gtphub_test.c:926:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTPH_PLANE_CTRL [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/tests/gtphub/gtphub_test.c:994:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTPH_EXPIRE_QUICKLY_SECS [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/tests/gtphub/gtphub_test.c:1038:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTPH_EXPIRE_QUICKLY_SECS [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/tests/gtphub/gtphub_test.c:1082:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTPH_SIDE_SGSN [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/tests/gtphub/gtphub_test.c:1124:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/tests/gtphub/gtphub_test.c:1226:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/tests/gtphub/gtphub_test.c:1299:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/tests/gtphub/gtphub_test.c:1379:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/tests/gtphub/gtphub_test.c:1487:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/tests/gtphub/gtphub_test.c:1590:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/tests/gtphub/gtphub_test.c:1775:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTPH_SIDE_SGSN [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/tests/gtphub/gtphub_test.c:438:9: warning: Either the condition '!imsi_str' is redundant or there is possible null pointer dereference: imsi_str. [nullPointerRedundantCheck] osmo-sgsn-1.9.0/tests/gtphub/gtphub_test.c:440:6: note: Assuming that condition '!imsi_str' is not redundant osmo-sgsn-1.9.0/tests/gtphub/gtphub_test.c:438:9: note: Null pointer dereference osmo-sgsn-1.9.0/tests/gtphub/gtphub_test.c:438:19: warning: Either the condition '!apn_ni_str' is redundant or there is possible null pointer dereference: apn_ni_str. [nullPointerRedundantCheck] osmo-sgsn-1.9.0/tests/gtphub/gtphub_test.c:445:6: note: Assuming that condition '!apn_ni_str' is not redundant osmo-sgsn-1.9.0/tests/gtphub/gtphub_test.c:438:19: note: Null pointer dereference osmo-sgsn-1.9.0/tests/gtphub/gtphub_test.c:530:19: warning: Either the condition 'dump' is redundant or there is possible null pointer dereference: dump. [nullPointerRedundantCheck] osmo-sgsn-1.9.0/tests/gtphub/gtphub_test.c:532:14: note: Assuming that condition 'dump' is not redundant osmo-sgsn-1.9.0/tests/gtphub/gtphub_test.c:530:19: note: Null pointer dereference osmo-sgsn-1.9.0/tests/gtphub/gtphub_test.c:530:25: warning: Either the condition 'hex' is redundant or there is possible null pointer dereference: hex. [nullPointerRedundantCheck] osmo-sgsn-1.9.0/tests/gtphub/gtphub_test.c:532:22: note: Assuming that condition 'hex' is not redundant osmo-sgsn-1.9.0/tests/gtphub/gtphub_test.c:530:25: note: Null pointer dereference osmo-sgsn-1.9.0/tests/gtphub/gtphub_test.c:217:14: style: Local variable 'buf' shadows outer variable [shadowVariable] osmo-sgsn-1.9.0/tests/gtphub/gtphub_test.c:511:16: note: Shadowed declaration osmo-sgsn-1.9.0/tests/gtphub/gtphub_test.c:217:14: note: Shadow variable osmo-sgsn-1.9.0/tests/gtphub/gtphub_test.c:565:7: style: Local variable 'buf' shadows outer variable [shadowVariable] osmo-sgsn-1.9.0/tests/gtphub/gtphub_test.c:511:16: note: Shadowed declaration osmo-sgsn-1.9.0/tests/gtphub/gtphub_test.c:565:7: note: Shadow variable osmo-sgsn-1.9.0/tests/gtphub/gtphub_test.c:640:14: style: Local variable 'buf' shadows outer variable [shadowVariable] osmo-sgsn-1.9.0/tests/gtphub/gtphub_test.c:511:16: note: Shadowed declaration osmo-sgsn-1.9.0/tests/gtphub/gtphub_test.c:640:14: note: Shadow variable osmo-sgsn-1.9.0/tests/gtphub/gtphub_test.c:95:21: style: Variable 'm' can be declared as pointer to const [constVariablePointer] osmo-sgsn-1.9.0/tests/gtphub/gtphub_test.c:113:15: style: Parameter 'expect_origin' can be declared as pointer to const [constParameterPointer] osmo-sgsn-1.9.0/tests/gtphub/gtphub_test.c:115:21: style: Variable 'm' can be declared as pointer to const [constVariablePointer] osmo-sgsn-1.9.0/tests/gtphub/gtphub_test.c:156:21: style: Variable 'mapping' can be declared as pointer to const [constVariablePointer] osmo-sgsn-1.9.0/tests/gtphub/gtphub_test.c:486:44: style: Parameter 'hub' can be declared as pointer to const [constParameterPointer] osmo-sgsn-1.9.0/tests/gtphub/gtphub_test.c:674:27: style: Variable 'pp' can be declared as pointer to const [constVariablePointer] osmo-sgsn-1.9.0/tests/gtphub/gtphub_test.c:861:27: style: Parameter 'ggsn_receiver' can be declared as pointer to const [constParameterPointer] osmo-sgsn-1.9.0/tests/gtphub/gtphub_test.c:881:27: style: Parameter 'sgsn_receiver' can be declared as pointer to const [constParameterPointer] osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:75:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSM_RESERVED_TMSI [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:97:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:229:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TLLI_LOCAL [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:257:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:287:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:313:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gprs_subscribers [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:393:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GPRS_SUBSCRIBER_FIRST_CONTACT [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:447:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:581:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GPRS_SUBSCRIBER_FIRST_CONTACT [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:759:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TLLI_LOCAL [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:800:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TLLI_LOCAL [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:842:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TLLI_LOCAL [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:877:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TLLI_LOCAL [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:912:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TLLI_LOCAL [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:934:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOTSUP [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:953:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OSMO_AUTH_TYPE_GSM [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:962:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sres [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:1002:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EAGAIN [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:1030:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EAGAIN [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:1063:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OSMO_GSUP_MSGT_PURGE_MS_RESULT [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:1165:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable title [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:1275:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SGSN_AUTH_POLICY_OPEN [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:1450:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSM_APN_LENGTH [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:1677:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:202:38: style: Condition 'count(gprs_llme_list())==old_count+1' is always false [knownConditionTrueFalse] osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:166:14: note: Assignment 'count=0', assigned value is 0 osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:169:3: note: Compound assignment '+=', assigned value is 1 osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:202:19: note: Calling function 'count' returns 1 osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:202:38: note: Condition 'count(gprs_llme_list())==old_count+1' is always false osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:232:38: style: Condition 'count(gprs_llme_list())==0' is always false [knownConditionTrueFalse] osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:166:14: note: Assignment 'count=0', assigned value is 0 osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:169:3: note: Compound assignment '+=', assigned value is 1 osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:232:19: note: Calling function 'count' returns 1 osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:232:38: note: Condition 'count(gprs_llme_list())==0' is always false osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:237:38: style: Condition 'count(gprs_llme_list())==1' is always true [knownConditionTrueFalse] osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:166:14: note: Assignment 'count=0', assigned value is 0 osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:169:3: note: Compound assignment '+=', assigned value is 1 osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:237:19: note: Calling function 'count' returns 1 osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:237:38: note: Condition 'count(gprs_llme_list())==1' is always true osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:242:38: style: Condition 'count(gprs_llme_list())==1' is always true [knownConditionTrueFalse] osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:166:14: note: Assignment 'count=0', assigned value is 0 osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:169:3: note: Compound assignment '+=', assigned value is 1 osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:242:19: note: Calling function 'count' returns 1 osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:242:38: note: Condition 'count(gprs_llme_list())==1' is always true osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:248:38: style: Condition 'count(gprs_llme_list())==0' is always false [knownConditionTrueFalse] osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:166:14: note: Assignment 'count=0', assigned value is 0 osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:169:3: note: Compound assignment '+=', assigned value is 1 osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:248:19: note: Calling function 'count' returns 1 osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:248:38: note: Condition 'count(gprs_llme_list())==0' is always false osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:399:38: style: Condition 'count(gprs_llme_list())==0' is always false [knownConditionTrueFalse] osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:166:14: note: Assignment 'count=0', assigned value is 0 osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:169:3: note: Compound assignment '+=', assigned value is 1 osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:399:19: note: Calling function 'count' returns 1 osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:399:38: note: Condition 'count(gprs_llme_list())==0' is always false osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:587:38: style: Condition 'count(gprs_llme_list())==0' is always false [knownConditionTrueFalse] osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:166:14: note: Assignment 'count=0', assigned value is 0 osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:169:3: note: Compound assignment '+=', assigned value is 1 osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:587:19: note: Calling function 'count' returns 1 osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:587:38: note: Condition 'count(gprs_llme_list())==0' is always false osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:762:38: style: Condition 'count(gprs_llme_list())==0' is always false [knownConditionTrueFalse] osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:166:14: note: Assignment 'count=0', assigned value is 0 osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:169:3: note: Compound assignment '+=', assigned value is 1 osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:762:19: note: Calling function 'count' returns 1 osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:762:38: note: Condition 'count(gprs_llme_list())==0' is always false osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:774:38: style: Condition 'count(gprs_llme_list())==0' is always false [knownConditionTrueFalse] osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:166:14: note: Assignment 'count=0', assigned value is 0 osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:169:3: note: Compound assignment '+=', assigned value is 1 osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:774:19: note: Calling function 'count' returns 1 osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:774:38: note: Condition 'count(gprs_llme_list())==0' is always false osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:803:38: style: Condition 'count(gprs_llme_list())==0' is always false [knownConditionTrueFalse] osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:166:14: note: Assignment 'count=0', assigned value is 0 osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:169:3: note: Compound assignment '+=', assigned value is 1 osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:803:19: note: Calling function 'count' returns 1 osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:803:38: note: Condition 'count(gprs_llme_list())==0' is always false osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:815:38: style: Condition 'count(gprs_llme_list())==0' is always false [knownConditionTrueFalse] osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:166:14: note: Assignment 'count=0', assigned value is 0 osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:169:3: note: Compound assignment '+=', assigned value is 1 osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:815:19: note: Calling function 'count' returns 1 osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:815:38: note: Condition 'count(gprs_llme_list())==0' is always false osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:841:38: style: Condition 'count(gprs_llme_list())==0' is always false [knownConditionTrueFalse] osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:166:14: note: Assignment 'count=0', assigned value is 0 osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:169:3: note: Compound assignment '+=', assigned value is 1 osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:841:19: note: Calling function 'count' returns 1 osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:841:38: note: Condition 'count(gprs_llme_list())==0' is always false osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:845:38: style: Condition 'count(gprs_llme_list())==1' is always true [knownConditionTrueFalse] osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:166:14: note: Assignment 'count=0', assigned value is 0 osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:169:3: note: Compound assignment '+=', assigned value is 1 osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:845:19: note: Calling function 'count' returns 1 osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:845:38: note: Condition 'count(gprs_llme_list())==1' is always true osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:852:38: style: Condition 'count(gprs_llme_list())==0' is always false [knownConditionTrueFalse] osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:166:14: note: Assignment 'count=0', assigned value is 0 osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:169:3: note: Compound assignment '+=', assigned value is 1 osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:852:19: note: Calling function 'count' returns 1 osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:852:38: note: Condition 'count(gprs_llme_list())==0' is always false osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:876:38: style: Condition 'count(gprs_llme_list())==0' is always false [knownConditionTrueFalse] osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:166:14: note: Assignment 'count=0', assigned value is 0 osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:169:3: note: Compound assignment '+=', assigned value is 1 osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:876:19: note: Calling function 'count' returns 1 osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:876:38: note: Condition 'count(gprs_llme_list())==0' is always false osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:889:38: style: Condition 'count(gprs_llme_list())==0' is always false [knownConditionTrueFalse] osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:166:14: note: Assignment 'count=0', assigned value is 0 osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:169:3: note: Compound assignment '+=', assigned value is 1 osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:889:19: note: Calling function 'count' returns 1 osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:889:38: note: Condition 'count(gprs_llme_list())==0' is always false osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:911:38: style: Condition 'count(gprs_llme_list())==0' is always false [knownConditionTrueFalse] osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:166:14: note: Assignment 'count=0', assigned value is 0 osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:169:3: note: Compound assignment '+=', assigned value is 1 osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:911:19: note: Calling function 'count' returns 1 osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:911:38: note: Condition 'count(gprs_llme_list())==0' is always false osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:915:38: style: Condition 'count(gprs_llme_list())==1' is always true [knownConditionTrueFalse] osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:166:14: note: Assignment 'count=0', assigned value is 0 osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:169:3: note: Compound assignment '+=', assigned value is 1 osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:915:19: note: Calling function 'count' returns 1 osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:915:38: note: Condition 'count(gprs_llme_list())==1' is always true osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:925:38: style: Condition 'count(gprs_llme_list())==0' is always false [knownConditionTrueFalse] osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:166:14: note: Assignment 'count=0', assigned value is 0 osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:169:3: note: Compound assignment '+=', assigned value is 1 osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:925:19: note: Calling function 'count' returns 1 osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:925:38: note: Condition 'count(gprs_llme_list())==0' is always false osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:1204:38: style: Condition 'count(gprs_llme_list())==0' is always false [knownConditionTrueFalse] osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:166:14: note: Assignment 'count=0', assigned value is 0 osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:169:3: note: Compound assignment '+=', assigned value is 1 osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:1204:19: note: Calling function 'count' returns 1 osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:1204:38: note: Condition 'count(gprs_llme_list())==0' is always false osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:1212:39: style: Condition 'count(gprs_llme_list())==1' is always true [knownConditionTrueFalse] osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:166:14: note: Assignment 'count=0', assigned value is 0 osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:169:3: note: Compound assignment '+=', assigned value is 1 osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:1212:20: note: Calling function 'count' returns 1 osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:1212:39: note: Condition 'count(gprs_llme_list())==1' is always true osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:1226:39: style: Condition 'count(gprs_llme_list())==0' is always false [knownConditionTrueFalse] osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:166:14: note: Assignment 'count=0', assigned value is 0 osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:169:3: note: Compound assignment '+=', assigned value is 1 osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:1226:20: note: Calling function 'count' returns 1 osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:1226:39: note: Condition 'count(gprs_llme_list())==0' is always false osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:1280:38: style: Condition 'count(gprs_llme_list())==0' is always false [knownConditionTrueFalse] osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:166:14: note: Assignment 'count=0', assigned value is 0 osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:169:3: note: Compound assignment '+=', assigned value is 1 osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:1280:19: note: Calling function 'count' returns 1 osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:1280:38: note: Condition 'count(gprs_llme_list())==0' is always false osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:1282:38: style: Condition 'count(gprs_llme_list())==1' is always true [knownConditionTrueFalse] osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:166:14: note: Assignment 'count=0', assigned value is 0 osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:169:3: note: Compound assignment '+=', assigned value is 1 osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:1282:19: note: Calling function 'count' returns 1 osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:1282:38: note: Condition 'count(gprs_llme_list())==1' is always true osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:1333:38: style: Condition 'count(gprs_llme_list())==0' is always false [knownConditionTrueFalse] osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:166:14: note: Assignment 'count=0', assigned value is 0 osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:169:3: note: Compound assignment '+=', assigned value is 1 osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:1333:19: note: Calling function 'count' returns 1 osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:1333:38: note: Condition 'count(gprs_llme_list())==0' is always false osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:1462:38: style: Condition 'count(gprs_llme_list())==0' is always false [knownConditionTrueFalse] osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:166:14: note: Assignment 'count=0', assigned value is 0 osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:169:3: note: Compound assignment '+=', assigned value is 1 osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:1462:19: note: Calling function 'count' returns 1 osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:1462:38: note: Condition 'count(gprs_llme_list())==0' is always false osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:1219:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:1219:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:117:36: style:inconclusive: Function 'mock_osmo_get_rand_id' argument 1 names different: declaration 'data' definition 'buf'. [funcArgNamesDifferent] osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:108:36: note: Function 'mock_osmo_get_rand_id' argument 1 names different: declaration 'data' definition 'buf'. osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:117:36: note: Function 'mock_osmo_get_rand_id' argument 1 names different: declaration 'data' definition 'buf'. osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:117:48: style:inconclusive: Function 'mock_osmo_get_rand_id' argument 2 names different: declaration 'len' definition 'num'. [funcArgNamesDifferent] osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:108:49: note: Function 'mock_osmo_get_rand_id' argument 2 names different: declaration 'len' definition 'num'. osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:117:48: note: Function 'mock_osmo_get_rand_id' argument 2 names different: declaration 'len' definition 'num'. osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:191:28: style: Variable 'ictx' can be declared as pointer to const [constVariablePointer] osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:192:23: style: Variable 'lle' can be declared as pointer to const [constVariablePointer] osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:225:29: style: Variable 'lle_copy' can be declared as pointer to const [constVariablePointer] osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:747:28: style: Variable 'ictx' can be declared as pointer to const [constVariablePointer] osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:788:28: style: Variable 'ictx' can be declared as pointer to const [constVariablePointer] osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:1094:22: style: Variable 'ctx' can be declared as pointer to const [constVariablePointer] osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:1239:22: style: Variable 'ictx' can be declared as pointer to const [constVariablePointer] osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:1344:18: style: Variable 'actx' can be declared as pointer to const [constVariablePointer] osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:1442:24: style: Variable 'ggc' can be declared as pointer to const [constVariablePointer] osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:1686:41: style: Parameter 'oph' can be declared as pointer to const [constParameterPointer] osmo-sgsn-1.9.0/tests/sgsn/sgsn_test.c:1686:52: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] osmo-sgsn-1.9.0/tests/slhc/slhc_test.c:89:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SL_TYPE_UNCOMPRESSED_TCP [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/tests/slhc/slhc_test.c:263:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/tests/slhc/slhc_test.c:80:45: style: Parameter 'data_i' can be declared as pointer to const [constParameterPointer] osmo-sgsn-1.9.0/tests/slhc/slhc_test.c:126:59: style: Parameter 'packet' can be declared as pointer to const [constParameterPointer] osmo-sgsn-1.9.0/tests/slhc/slhc_test.c:272:41: style: Parameter 'oph' can be declared as pointer to const [constParameterPointer] osmo-sgsn-1.9.0/tests/slhc/slhc_test.c:272:52: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] osmo-sgsn-1.9.0/tests/sndcp_xid/sndcp_xid_test.c:53:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DSNDCP [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/tests/sndcp_xid/sndcp_xid_test.c:76:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable comp_fields [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/tests/sndcp_xid/sndcp_xid_test.c:275:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/tests/sndcp_xid/sndcp_xid_test.c:284:41: style: Parameter 'oph' can be declared as pointer to const [constParameterPointer] osmo-sgsn-1.9.0/tests/sndcp_xid/sndcp_xid_test.c:284:52: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] osmo-sgsn-1.9.0/tests/v42bis/v42bis_test.c:305:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable V42BIS_COMPRESSION_MODE_DYNAMIC [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/tests/v42bis/v42bis_test.c:322:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable V42BIS_COMPRESSION_MODE_DYNAMIC [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/tests/v42bis/v42bis_test.c:426:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/tests/v42bis/v42bis_test.c:122:59: style: Parameter 'packet' can be declared as pointer to const [constParameterPointer] osmo-sgsn-1.9.0/tests/v42bis/v42bis_test.c:140:27: style: Parameter 'packet' can be declared as pointer to const [constParameterPointer] osmo-sgsn-1.9.0/tests/v42bis/v42bis_test.c:181:35: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'tx_v42bis_data_handler' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] osmo-sgsn-1.9.0/tests/v42bis/v42bis_test.c:233:5: note: You might need to cast the function pointer here osmo-sgsn-1.9.0/tests/v42bis/v42bis_test.c:181:35: note: Parameter 'user_data' can be declared as pointer to const osmo-sgsn-1.9.0/tests/v42bis/v42bis_test.c:189:36: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'rx_v42bis_frame_handler' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] osmo-sgsn-1.9.0/tests/v42bis/v42bis_test.c:351:5: note: You might need to cast the function pointer here osmo-sgsn-1.9.0/tests/v42bis/v42bis_test.c:189:36: note: Parameter 'user_data' can be declared as pointer to const osmo-sgsn-1.9.0/tests/v42bis/v42bis_test.c:208:56: style: Parameter 'testvec' can be declared as pointer to const [constParameterPointer] osmo-sgsn-1.9.0/tests/v42bis/v42bis_test.c:435:41: style: Parameter 'oph' can be declared as pointer to const [constParameterPointer] osmo-sgsn-1.9.0/tests/v42bis/v42bis_test.c:435:52: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] osmo-sgsn-1.9.0/tests/v42bis/v42bis_test.c:336:13: style: Variable 'rc_sum' is assigned a value that is never used. [unreadVariable] osmo-sgsn-1.9.0/tests/v42bis/v42bis_test.c:366:9: style: Variable 'rc_sum' is assigned a value that is never used. [unreadVariable] osmo-sgsn-1.9.0/tests/v42bis/v42bis_test.c:369:9: style: Variable 'rc_sum' is assigned a value that is never used. [unreadVariable] osmo-sgsn-1.9.0/tests/v42bis/v42bis_test.c:372:9: style: Variable 'rc_sum' is assigned a value that is never used. [unreadVariable] osmo-sgsn-1.9.0/tests/xid/xid_test.c:40:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xid_fields [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/tests/xid/xid_test.c:110:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DSNDCP [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/tests/xid/xid_test.c:155:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] osmo-sgsn-1.9.0/tests/xid/xid_test.c:164:41: style: Parameter 'oph' can be declared as pointer to const [constParameterPointer] osmo-sgsn-1.9.0/tests/xid/xid_test.c:164:52: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] osmo-sgsn-1.9.0/tests/xid/xid_test.c:50:19: style: Variable 'xid_field_1.type' is assigned a value that is never used. [unreadVariable] osmo-sgsn-1.9.0/tests/xid/xid_test.c:51:19: style: Variable 'xid_field_2.type' is assigned a value that is never used. [unreadVariable] osmo-sgsn-1.9.0/tests/xid/xid_test.c:52:19: style: Variable 'xid_field_3.type' is assigned a value that is never used. [unreadVariable] osmo-sgsn-1.9.0/tests/xid/xid_test.c:53:19: style: Variable 'xid_field_4.type' is assigned a value that is never used. [unreadVariable] osmo-sgsn-1.9.0/tests/xid/xid_test.c:55:19: style: Variable 'xid_field_1.data' is assigned a value that is never used. [unreadVariable] osmo-sgsn-1.9.0/tests/xid/xid_test.c:56:19: style: Variable 'xid_field_2.data' is assigned a value that is never used. [unreadVariable] osmo-sgsn-1.9.0/tests/xid/xid_test.c:57:19: style: Variable 'xid_field_3.data' is assigned a value that is never used. [unreadVariable] osmo-sgsn-1.9.0/tests/xid/xid_test.c:58:19: style: Variable 'xid_field_4.data' is assigned a value that is never used. [unreadVariable] osmo-sgsn-1.9.0/tests/xid/xid_test.c:60:23: style: Variable 'xid_field_1.data_len' is assigned a value that is never used. [unreadVariable] osmo-sgsn-1.9.0/tests/xid/xid_test.c:61:23: style: Variable 'xid_field_2.data_len' is assigned a value that is never used. [unreadVariable] osmo-sgsn-1.9.0/tests/xid/xid_test.c:62:23: style: Variable 'xid_field_3.data_len' is assigned a value that is never used. [unreadVariable] osmo-sgsn-1.9.0/tests/xid/xid_test.c:63:23: style: Variable 'xid_field_4.data_len' is assigned a value that is never used. [unreadVariable] diff: DONE