2026-07-31 13:38 ftp://ftp.de.debian.org/debian/pool/main/e/etherape/etherape_0.9.22.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=gtk --library=cairo --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j96 platform: Linux-6.8.0-111-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.4.0 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04.1) 13.3.0 cppcheck: head 2.21.0 head-info: cb9f2a2 (2026-07-31 11:53:12 +0200) count: 270 272 elapsed-time: 1.3 1.4 head-timing-info: old-timing-info: head results: etherape-0.9.22/src/capture/cap-util.c:46:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/capture/cap-util.c:62:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/capture/cap-util.c:79:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/common.h:143:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/appdata.c:43:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ST_LIVE [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/appdata.c:62:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ST_LIVE [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/appdata.c:79:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLADEDIR [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/callbacks.c:28:42: style: Parameter 'widget' can be declared as pointer to const [constParameterPointer] etherape-0.9.22/src/callbacks.c:29:46: style: Parameter 'allocation' can be declared as pointer to const [constParameterPointer] etherape-0.9.22/src/callbacks.c:29:67: style: Parameter 'user_data' can be declared as pointer to const [constParameterPointer] etherape-0.9.22/src/callbacks.c:43:49: style: Parameter 'widget' can be declared as pointer to const [constParameterPointer] etherape-0.9.22/src/callbacks.c:44:54: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] etherape-0.9.22/src/callbacks.c:45:47: style: Parameter 'user_data' can be declared as pointer to const [constParameterPointer] etherape-0.9.22/src/appdata.c:86:5: style: Statements following noreturn function 'g_error()' will never be executed. [unreachableCode] etherape-0.9.22/src/names/ares_resolve.c:83:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/names/ares_resolve.c:98:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARES_LIB_INIT_ALL [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/names/ares_resolve.c:123:79: style: Parameter 'hostent' can be declared as pointer to const. However it seems that 'rdns_ares_cb' is a callback function, if 'hostent' is declared with const you might also need to cast function pointer(s). [constParameterCallback] etherape-0.9.22/src/names/ares_resolve.c:168:22: note: You might need to cast the function pointer here etherape-0.9.22/src/names/ares_resolve.c:123:79: note: Parameter 'hostent' can be declared as pointer to const etherape-0.9.22/src/names/dns.c:56:35: style:inconclusive: Function 'dns_lookup' argument 1 names different: declaration 'address' definition 'addr'. [funcArgNamesDifferent] etherape-0.9.22/src/names/dns.h:31:35: note: Function 'dns_lookup' argument 1 names different: declaration 'address' definition 'addr'. etherape-0.9.22/src/names/dns.c:56:35: note: Function 'dns_lookup' argument 1 names different: declaration 'address' definition 'addr'. etherape-0.9.22/src/names/eth_resolv.c:95:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/names/ip-cache.c:117:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name_res [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/names/ip-cache.c:41:69: style: Parameter 'unused' can be declared as pointer to const. However it seems that 'addr_tree_cmp' is a callback function, if 'unused' is declared with const you might also need to cast function pointer(s). [constParameterCallback] etherape-0.9.22/src/names/ip-cache.c:96:34: note: You might need to cast the function pointer here etherape-0.9.22/src/names/ip-cache.c:41:69: note: Parameter 'unused' can be declared as pointer to const etherape-0.9.22/src/capture/capture.c:60:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/names/names_netbios.c:223:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXDNAME [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/capture/capture.c:68:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/datastructs.c:245:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/capture/capture.c:129:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/datastructs.c:385:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_DEBUG [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/capture/capture.c:165:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/capture/capture.c:318:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/capture/capture.c:343:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/capture/capture.c:383:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/capture/capture.c:417:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/stats/basic_stats.c:137:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable total_mem_packets [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/stats/basic_stats.c:160:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable now [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/stats/basic_stats.c:184:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable now [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/stats/basic_stats.c:239:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable now [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/stats/basic_stats.c:261:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable now [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/export.c:45:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ST_FILE [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/export.c:74:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/export.c:123:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ST_FILE [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/export.c:152:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/capture/capctl.c:77:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ST_LIVE [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/names/thread_resolve.c:153:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/stats/conversations.c:125:10: style: Variable 'item' can be declared as pointer to const [constVariablePointer] etherape-0.9.22/src/capture/capctl.c:131:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/names/thread_resolve.c:206:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTHREAD_CREATE_DETACHED [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/stats/conversations.c:135:21: style: Variable 'conv' can be declared as pointer to const [constVariablePointer] etherape-0.9.22/src/capture/capctl.c:148:76: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/capture/capctl.c:173:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/capture/capctl.c:283:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable now [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/capture/capctl.c:295:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable interface [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/capture/capctl.c:352:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable now [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/capture/capctl.c:410:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PRIORITY_DEFAULT [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/capture/capctl.c:416:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/capture/capctl.c:440:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/capture/capctl.c:518:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/capture/capctl.c:529:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/capture/capctl.c:559:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/capture/capctl.c:656:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/capture/capctl.c:678:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/capture/capctl.c:696:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/capture/capctl.c:750:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/capture/capctl.c:763:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/names/names.c:203:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable node_id_t [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/names/names.c:274:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name_res [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/names/names.c:285:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LINK6 [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/names/names.c:302:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLT_FDDI [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/names/names.c:337:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IP [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/names/names.c:350:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IP [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/names/names.c:370:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IP [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/names/names.c:403:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name_res [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/names/names.c:429:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mode [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/names/names.c:512:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXDNAME [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/names/names.c:560:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXDNAME [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/names/names.c:628:76: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable node_name_id_compare [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/export.c:51:11: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] etherape-0.9.22/src/export.c:133:28: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] etherape-0.9.22/src/export.c:99:22: style: Parameter 'ofile' can be declared as pointer to const [constParameterPointer] etherape-0.9.22/src/export.c:176:23: style: Parameter 'ofile' can be declared as pointer to const [constParameterPointer] etherape-0.9.22/src/stats/node_id.c:35:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable APEMODE_DEFAULT [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/stats/node_id.c:276:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG_ENABLED [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/names/names_netbios.c:190:62: style:inconclusive: Function 'process_netbios_name' argument 2 names different: declaration 'name_ret' definition 'outname'. [funcArgNamesDifferent] etherape-0.9.22/src/names/names_netbios.c:91:62: note: Function 'process_netbios_name' argument 2 names different: declaration 'name_ret' definition 'outname'. etherape-0.9.22/src/names/names_netbios.c:190:62: note: Function 'process_netbios_name' argument 2 names different: declaration 'name_ret' definition 'outname'. etherape-0.9.22/src/names/names_netbios.c:190:78: style:inconclusive: Function 'process_netbios_name' argument 3 names different: declaration 'maxname' definition 'outname_size'. [funcArgNamesDifferent] etherape-0.9.22/src/names/names_netbios.c:91:79: note: Function 'process_netbios_name' argument 3 names different: declaration 'maxname' definition 'outname_size'. etherape-0.9.22/src/names/names_netbios.c:190:78: note: Function 'process_netbios_name' argument 3 names different: declaration 'maxname' definition 'outname_size'. etherape-0.9.22/src/ui_utils.c:146:11: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] etherape-0.9.22/src/stats/node_id.c:40:39: style:inconclusive: Function 'node_id_compare' argument 1 names different: declaration 'a' definition 'na'. [funcArgNamesDifferent] etherape-0.9.22/src/stats/node_id.h:38:39: note: Function 'node_id_compare' argument 1 names different: declaration 'a' definition 'na'. etherape-0.9.22/src/stats/node_id.c:40:39: note: Function 'node_id_compare' argument 1 names different: declaration 'a' definition 'na'. etherape-0.9.22/src/stats/node_id.c:40:60: style:inconclusive: Function 'node_id_compare' argument 2 names different: declaration 'b' definition 'nb'. [funcArgNamesDifferent] etherape-0.9.22/src/stats/node_id.h:38:59: note: Function 'node_id_compare' argument 2 names different: declaration 'b' definition 'nb'. etherape-0.9.22/src/stats/node_id.c:40:60: note: Function 'node_id_compare' argument 2 names different: declaration 'b' definition 'nb'. etherape-0.9.22/src/ui_utils.c:42:33: style:inconclusive: Function 'update_gtklabel' argument 1 names different: declaration 'wnd' definition 'window'. [funcArgNamesDifferent] etherape-0.9.22/src/ui_utils.h:42:33: note: Function 'update_gtklabel' argument 1 names different: declaration 'wnd' definition 'window'. etherape-0.9.22/src/ui_utils.c:42:33: note: Function 'update_gtklabel' argument 1 names different: declaration 'wnd' definition 'window'. etherape-0.9.22/src/ui_utils.c:53:29: style:inconclusive: Function 'show_widget' argument 1 names different: declaration 'wnd' definition 'window'. [funcArgNamesDifferent] etherape-0.9.22/src/ui_utils.h:45:29: note: Function 'show_widget' argument 1 names different: declaration 'wnd' definition 'window'. etherape-0.9.22/src/ui_utils.c:53:29: note: Function 'show_widget' argument 1 names different: declaration 'wnd' definition 'window'. etherape-0.9.22/src/ui_utils.c:58:29: style:inconclusive: Function 'hide_widget' argument 1 names different: declaration 'wnd' definition 'window'. [funcArgNamesDifferent] etherape-0.9.22/src/ui_utils.h:46:29: note: Function 'hide_widget' argument 1 names different: declaration 'wnd' definition 'window'. etherape-0.9.22/src/ui_utils.c:58:29: note: Function 'hide_widget' argument 1 names different: declaration 'wnd' definition 'window'. etherape-0.9.22/src/datastructs.c:382:17: portability: Non reentrant function 'getservent' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getservent_r'. [prohibitedgetserventCalled] etherape-0.9.22/src/ui_utils.c:132:9: style: Variable 'env_value' can be declared as pointer to const [constVariablePointer] etherape-0.9.22/src/datastructs.c:280:5: warning: If memory allocation fails, then there is a possible null pointer dereference: compacted [nullPointerOutOfMemory] etherape-0.9.22/src/datastructs.c:276:21: note: Assuming allocation function fails etherape-0.9.22/src/datastructs.c:276:21: note: Assignment 'compacted=malloc(sizeof(char*)*(g_list_length(work)+1))', assigned value is 0 etherape-0.9.22/src/datastructs.c:280:5: note: Null pointer dereference etherape-0.9.22/src/datastructs.c:283:3: warning: If memory allocation fails, then there is a possible null pointer dereference: compacted [nullPointerOutOfMemory] etherape-0.9.22/src/datastructs.c:276:21: note: Assuming allocation function fails etherape-0.9.22/src/datastructs.c:276:21: note: Assignment 'compacted=malloc(sizeof(char*)*(g_list_length(work)+1))', assigned value is 0 etherape-0.9.22/src/datastructs.c:283:3: note: Null pointer dereference etherape-0.9.22/src/datastructs.c:446:40: style:inconclusive: Function 'port_service_free' argument 1 names different: declaration '' definition 'p'. [funcArgNamesDifferentUnnamed] etherape-0.9.22/src/datastructs.c:319:74: style: Parameter 'unused' can be declared as pointer to const. However it seems that 'services_port_cmp' is a callback function, if 'unused' is declared with const you might also need to cast function pointer(s). [constParameterCallback] etherape-0.9.22/src/datastructs.c:380:34: note: You might need to cast the function pointer here etherape-0.9.22/src/datastructs.c:319:74: note: Parameter 'unused' can be declared as pointer to const etherape-0.9.22/src/datastructs.c:334:74: style: Parameter 'unused' can be declared as pointer to const. However it seems that 'services_name_cmp' is a callback function, if 'unused' is declared with const you might also need to cast function pointer(s). [constParameterCallback] etherape-0.9.22/src/datastructs.c:378:35: note: You might need to cast the function pointer here etherape-0.9.22/src/datastructs.c:334:74: note: Parameter 'unused' can be declared as pointer to const etherape-0.9.22/src/datastructs.c:345:58: style: Parameter 'value' can be declared as pointer to const. However it seems that 'services_port_trv' is a callback function, if 'value' is declared with const you might also need to cast function pointer(s). [constParameterCallback] etherape-0.9.22/src/datastructs.c:397:32: note: You might need to cast the function pointer here etherape-0.9.22/src/datastructs.c:345:58: note: Parameter 'value' can be declared as pointer to const etherape-0.9.22/src/stats/util.c:284:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/stats/util.c:312:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable now [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/main.c:178:34: error: There is an unknown macro here somewhere. Configuration is required. If PIXMAPS_DIR is a macro then please configure it. [unknownMacro] etherape-0.9.22/src/datastructs.c:299:13: style: Variable 'cur' is assigned a value that is never used. [unreadVariable] etherape-0.9.22/src/menus.c:93:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_INFO [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/menus.c:151:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_CANCEL [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/menus.c:181:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_CANCEL [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/menus.c:229:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ST_LIVE [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/menus.c:250:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_DEBUG [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/menus.c:293:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_DEBUG [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/menus.c:299:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_DEBUG [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/menus.c:305:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_DEBUG [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/menus.c:311:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_DEBUG [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/menus.c:408:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/menus.c:488:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ST_FILE [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/menus.c:568:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_INFO [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/menus.c:637:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_INFO [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/menus.c:648:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_BUTTONS_OK [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/menus.c:657:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ST_FILE [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/stats/links.c:258:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable proto_link_timeout_time [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/stats/links.c:326:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG_ENABLED [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/stats/traffic_stats.c:119:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable now [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/capture/capture.c:128:14: style: Variable 'dev' can be declared as pointer to const [constVariablePointer] etherape-0.9.22/src/preferences.c:391:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/stats/protocols.c:56:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable data [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/stats/protocols.c:148:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_CRITICAL [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/stats/protocols.c:197:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable now [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/stats/protocols.c:263:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable data [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/stats/protocols.c:649:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable proto_timeout_time [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/stats/protocols.c:736:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable averaging_time [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/node_windows.c:54:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_DEBUG [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/stats/traffic_stats.c:134:5: warning: Return value of function g_queue_pop_tail() is not used. [ignoredReturnValue] etherape-0.9.22/src/names/thread_resolve.c:112:9: style: Condition '!request_stop_thread' is always true [knownConditionTrueFalse] etherape-0.9.22/src/names/thread_resolve.c:109:10: note: Assuming that condition '!request_stop_thread' is not redundant etherape-0.9.22/src/names/thread_resolve.c:112:9: note: Condition '!request_stop_thread' is always true etherape-0.9.22/src/stats/traffic_stats.c:164:65: style:inconclusive: Function 'traffic_stats_update' argument 2 names different: declaration 'pkt_expire_time' definition 'avg_time'. [funcArgNamesDifferent] etherape-0.9.22/src/stats/traffic_stats.h:42:65: note: Function 'traffic_stats_update' argument 2 names different: declaration 'pkt_expire_time' definition 'avg_time'. etherape-0.9.22/src/stats/traffic_stats.c:164:65: note: Function 'traffic_stats_update' argument 2 names different: declaration 'pkt_expire_time' definition 'avg_time'. etherape-0.9.22/src/names/thread_resolve.c:309:38: style:inconclusive: Function 'thread_lookup' argument 1 names different: declaration 'address' definition 'ip'. [funcArgNamesDifferent] etherape-0.9.22/src/names/thread_resolve.h:27:38: note: Function 'thread_lookup' argument 1 names different: declaration 'address' definition 'ip'. etherape-0.9.22/src/names/thread_resolve.c:309:38: note: Function 'thread_lookup' argument 1 names different: declaration 'address' definition 'ip'. etherape-0.9.22/src/names/thread_resolve.c:103:20: style: Variable 'saptr' can be declared as pointer to const [constVariablePointer] etherape-0.9.22/src/names/thread_resolve.c:250:44: style: Parameter 'ip' can be declared as pointer to const [constParameterPointer] etherape-0.9.22/src/stats/links.c:185:17: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] etherape-0.9.22/src/stats/links.c:245:55: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'gfunc_remove_link' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] etherape-0.9.22/src/stats/links.c:404:31: note: You might need to cast the function pointer here etherape-0.9.22/src/stats/links.c:245:55: note: Parameter 'user_data' can be declared as pointer to const etherape-0.9.22/src/stats/links.c:296:78: style: Parameter 'dummy' can be declared as pointer to const. However it seems that 'links_catalog_compare' is a callback function, if 'dummy' is declared with const you might also need to cast function pointer(s). [constParameterCallback] etherape-0.9.22/src/stats/links.c:305:31: note: You might need to cast the function pointer here etherape-0.9.22/src/stats/links.c:296:78: note: Parameter 'dummy' can be declared as pointer to const etherape-0.9.22/src/stats/links.c:425:54: style: Parameter 'value' can be declared as pointer to const. However it seems that 'link_dump_tvs' is a callback function, if 'value' is declared with const you might also need to cast function pointer(s). [constParameterCallback] etherape-0.9.22/src/stats/links.c:445:25: note: You might need to cast the function pointer here etherape-0.9.22/src/stats/links.c:425:54: note: Parameter 'value' can be declared as pointer to const etherape-0.9.22/src/stats/node.c:107:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INFO_ENABLED [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/stats/node.c:131:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INFO_ENABLED [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/stats/node.c:225:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable proto_node_timeout_time [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/stats/node.c:280:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mode [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/stats/node.c:302:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG_ENABLED [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/stats/node.c:413:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_DEBUG [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/stats/node.c:544:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_DEBUG [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/stats/node.c:682:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/stats/node.c:765:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NS_HOSTNAME [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/stats/node.c:801:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NS_HOSTNAME [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/capture/capctl.c:139:8: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] etherape-0.9.22/src/menus.c:560:5: style: Statements following noreturn function 'g_error()' will never be executed. [unreachableCode] etherape-0.9.22/src/capture/capctl.c:581:5: style: Statements following noreturn function 'g_error()' will never be executed. [unreachableCode] etherape-0.9.22/src/capture/capctl.c:637:5: style: Statements following noreturn function 'g_error()' will never be executed. [unreachableCode] etherape-0.9.22/src/capture/capctl.c:407:46: style: Parameter 'unused' can be declared as pointer to const. However it seems that 'filecap_timeout_destroy' is a callback function, if 'unused' is declared with const you might also need to cast function pointer(s). [constParameterCallback] etherape-0.9.22/src/capture/capctl.c:521:41: note: You might need to cast the function pointer here etherape-0.9.22/src/capture/capctl.c:407:46: note: Parameter 'unused' can be declared as pointer to const etherape-0.9.22/src/menus.c:65:82: style: Parameter 'event' can be declared as pointer to const. However it seems that 'on_diagram_button_press_event' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] etherape-0.9.22/src/menus.c:58:3: note: You might need to cast the function pointer here etherape-0.9.22/src/menus.c:65:82: note: Parameter 'event' can be declared as pointer to const etherape-0.9.22/src/menus.c:241:10: style: Variable 'filter' can be declared as pointer to const [constVariablePointer] etherape-0.9.22/src/menus.c:316:48: style: Parameter 'menuitem' can be declared as pointer to const [constParameterPointer] etherape-0.9.22/src/menus.c:316:67: style: Parameter 'user_data' can be declared as pointer to const [constParameterPointer] etherape-0.9.22/src/menus.c:321:54: style: Parameter 'menuitem' can be declared as pointer to const [constParameterPointer] etherape-0.9.22/src/menus.c:321:73: style: Parameter 'user_data' can be declared as pointer to const [constParameterPointer] etherape-0.9.22/src/menus.c:462:10: style: Variable 'errorbuf' can be declared as pointer to const [constVariablePointer] etherape-0.9.22/src/node_windows.c:407:14: style: Local variable 'nodes_check' shadows outer variable [shadowVariable] etherape-0.9.22/src/node_windows.c:43:26: note: Shadowed variable etherape-0.9.22/src/node_windows.c:407:14: note: Shadow local variable etherape-0.9.22/src/node_windows.c:100:42: style: Parameter 'data' can be declared as pointer to const. However it seems that 'nodes_table_compare' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] etherape-0.9.22/src/node_windows.c:233:37: note: You might need to cast the function pointer here etherape-0.9.22/src/node_windows.c:100:42: note: Parameter 'data' can be declared as pointer to const etherape-0.9.22/src/node_windows.c:312:60: style: Parameter 'value' can be declared as pointer to const. However it seems that 'nodes_table_iterate' is a callback function, if 'value' is declared with const you might also need to cast function pointer(s). [constParameterCallback] etherape-0.9.22/src/node_windows.c:375:25: note: You might need to cast the function pointer here etherape-0.9.22/src/node_windows.c:312:60: note: Parameter 'value' can be declared as pointer to const etherape-0.9.22/src/node_windows.c:391:47: style: Parameter 'wdg' can be declared as pointer to const [constParameterPointer] etherape-0.9.22/src/node_windows.c:391:62: style: Parameter 'evt' can be declared as pointer to const [constParameterPointer] etherape-0.9.22/src/node_windows.c:391:76: style: Parameter 'ud' can be declared as pointer to const [constParameterPointer] etherape-0.9.22/src/menus.c:191:50: error: Uninitialized variable: dialog [legacyUninitvar] etherape-0.9.22/src/preferences.c:285:7: error: Memory leak: gkey [memleak] etherape-0.9.22/src/preferences.c:414:38: style:inconclusive: Function 'free_config' argument 1 names different: declaration 't' definition 'p'. [funcArgNamesDifferent] etherape-0.9.22/src/preferences.h:107:38: note: Function 'free_config' argument 1 names different: declaration 't' definition 'p'. etherape-0.9.22/src/preferences.c:414:38: note: Function 'free_config' argument 1 names different: declaration 't' definition 'p'. etherape-0.9.22/src/pref_dialog.c:175:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_STRING [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/info_windows.c:203:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_CRITICAL [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/stats/decode_proto.c:192:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_INFO [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/stats/decode_proto.c:265:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable now [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/stats/decode_proto.c:375:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLT_LOOP [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/stats/decode_proto.c:408:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG_ENABLED [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/stats/decode_proto.c:982:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mode [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/stats/decode_proto.c:1236:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_DEBUG [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/stats/decode_proto.c:1255:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mode [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/stats/decode_proto.c:1347:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mode [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/stats/decode_proto.c:1593:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_DEBUG [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/names/names.c:535:19: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] etherape-0.9.22/src/names/names.c:590:19: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] etherape-0.9.22/src/names/names.c:609:35: style:inconclusive: Function 'add_name' argument 1 names different: declaration 'numeric' definition 'numeric_name'. [funcArgNamesDifferent] etherape-0.9.22/src/names/names.c:117:35: note: Function 'add_name' argument 1 names different: declaration 'numeric' definition 'numeric_name'. etherape-0.9.22/src/names/names.c:609:35: note: Function 'add_name' argument 1 names different: declaration 'numeric' definition 'numeric_name'. etherape-0.9.22/src/names/names.c:609:62: style:inconclusive: Function 'add_name' argument 2 names different: declaration 'resolved' definition 'resolved_name'. [funcArgNamesDifferent] etherape-0.9.22/src/names/names.c:117:57: note: Function 'add_name' argument 2 names different: declaration 'resolved' definition 'resolved_name'. etherape-0.9.22/src/names/names.c:609:62: note: Function 'add_name' argument 2 names different: declaration 'resolved' definition 'resolved_name'. etherape-0.9.22/src/names/names.c:268:38: style: Parameter 'nt' can be declared as pointer to const [constParameterPointer] etherape-0.9.22/src/names/names.c:394:38: style: Parameter 'nt' can be declared as pointer to const [constParameterPointer] etherape-0.9.22/src/names/names.c:613:10: style: Variable 'name_item' can be declared as pointer to const [constVariablePointer] etherape-0.9.22/src/names/names.c:583:9: style: Variable 'len' is assigned a value that is never used. [unreadVariable] etherape-0.9.22/src/pref_dialog.c:394:42: style:inconclusive: Function 'on_group_unk_check_toggled' argument 2 names different: declaration '' definition 'user_data'. [funcArgNamesDifferentUnnamed] etherape-0.9.22/src/pref_dialog.c:114:17: style: Variable 'model' can be declared as pointer to const [constVariablePointer] etherape-0.9.22/src/pref_dialog.c:402:43: style: Parameter 'button' can be declared as pointer to const [constParameterPointer] etherape-0.9.22/src/pref_dialog.c:402:60: style: Parameter 'user_data' can be declared as pointer to const [constParameterPointer] etherape-0.9.22/src/pref_dialog.c:431:45: style: Parameter 'button' can be declared as pointer to const [constParameterPointer] etherape-0.9.22/src/pref_dialog.c:431:62: style: Parameter 'user_data' can be declared as pointer to const [constParameterPointer] etherape-0.9.22/src/diagram.c:282:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_INFO [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/diagram.c:333:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_STYLE_PROVIDER_PRIORITY_APPLICATION [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/diagram.c:425:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MAXDOUBLE [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/diagram.c:1059:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ST_FILE [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/diagram.c:1096:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ST_LIVE [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/diagram.c:1208:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_DEBUG [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/diagram.c:1266:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_DEBUG [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/diagram.c:1369:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_DEBUG [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/diagram.c:1471:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_CRITICAL [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/diagram.c:1506:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_DEBUG [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/diagram.c:1808:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_DEBUG [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/diagram.c:1999:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_INFO [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/diagram.c:2083:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_DEBUG [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/diagram.c:2106:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ST_LIVE [valueFlowBailoutIncompleteVar] etherape-0.9.22/src/info_windows.c:112:5: style: Statements following noreturn function 'g_error()' will never be executed. [unreachableCode] etherape-0.9.22/src/info_windows.c:121:5: style: Statements following noreturn function 'g_error()' will never be executed. [unreachableCode] etherape-0.9.22/src/info_windows.c:805:5: style: Statements following noreturn function 'g_error()' will never be executed. [unreachableCode] etherape-0.9.22/src/pref_dialog.c:552:8: style: Unused variable: isadd [unusedVariable] etherape-0.9.22/src/info_windows.c:194:47: style:inconclusive: Function 'on_prot_info_delete_event' argument 1 names different: declaration '' definition 'prot_info'. [funcArgNamesDifferentUnnamed] etherape-0.9.22/src/info_windows.c:194:68: style:inconclusive: Function 'on_prot_info_delete_event' argument 2 names different: declaration '' definition 'evt'. [funcArgNamesDifferentUnnamed] etherape-0.9.22/src/stats/protocols.c:381:17: style: Condition 'tmp==NULL' is always false [knownConditionTrueFalse] etherape-0.9.22/src/info_windows.c:195:45: style:inconclusive: Function 'on_prot_info_delete_event' argument 3 names different: declaration '' definition 'user_data'. [funcArgNamesDifferentUnnamed] etherape-0.9.22/src/info_windows.c:625:62: style:inconclusive: Function 'on_delete_protocol_window' argument 2 names different: declaration 'e' definition 'evt'. [funcArgNamesDifferent] etherape-0.9.22/src/info_windows.h:37:62: note: Function 'on_delete_protocol_window' argument 2 names different: declaration 'e' definition 'evt'. etherape-0.9.22/src/info_windows.c:625:62: note: Function 'on_delete_protocol_window' argument 2 names different: declaration 'e' definition 'evt'. etherape-0.9.22/src/info_windows.c:655:75: style:inconclusive: Function 'on_prot_list_select_row' argument 3 names different: declaration 'ud' definition 'user_data'. [funcArgNamesDifferent] etherape-0.9.22/src/info_windows.h:36:43: note: Function 'on_prot_list_select_row' argument 3 names different: declaration 'ud' definition 'user_data'. etherape-0.9.22/src/info_windows.c:655:75: note: Function 'on_prot_list_select_row' argument 3 names different: declaration 'ud' definition 'user_data'. etherape-0.9.22/src/info_windows.c:736:47: style:inconclusive: Function 'on_node_info_delete_event' argument 1 names different: declaration '' definition 'node_info'. [funcArgNamesDifferentUnnamed] etherape-0.9.22/src/info_windows.c:736:68: style:inconclusive: Function 'on_node_info_delete_event' argument 2 names different: declaration '' definition 'evt'. [funcArgNamesDifferentUnnamed] etherape-0.9.22/src/info_windows.c:737:45: style:inconclusive: Function 'on_node_info_delete_event' argument 3 names different: declaration '' definition 'user_data'. [funcArgNamesDifferentUnnamed] etherape-0.9.22/src/info_windows.c:923:53: style:inconclusive: Function 'update_node_protocols_window' argument 1 names different: declaration 'node_window' definition 'window'. [funcArgNamesDifferent] etherape-0.9.22/src/info_windows.c:82:53: note: Function 'update_node_protocols_window' argument 1 names different: declaration 'node_window' definition 'window'. etherape-0.9.22/src/info_windows.c:923:53: note: Function 'update_node_protocols_window' argument 1 names different: declaration 'node_window' definition 'window'. etherape-0.9.22/src/info_windows.c:517:10: style: Variable 'item' can be declared as pointer to const [constVariablePointer] etherape-0.9.22/src/info_windows.c:625:47: style: Parameter 'wdg' can be declared as pointer to const [constParameterPointer] etherape-0.9.22/src/stats/protocols.c:303:11: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] etherape-0.9.22/src/info_windows.c:625:62: style: Parameter 'evt' can be declared as pointer to const [constParameterPointer] etherape-0.9.22/src/info_windows.c:625:76: style: Parameter 'ud' can be declared as pointer to const [constParameterPointer] etherape-0.9.22/src/stats/protocols.c:303:57: warning: Possible null pointer dereference: msg_level [nullPointer] etherape-0.9.22/src/stats/protocols.c:284:19: note: Assignment 'msg_level=NULL', assigned value is 0 etherape-0.9.22/src/stats/protocols.c:285:14: note: Assuming condition is false etherape-0.9.22/src/stats/protocols.c:303:57: note: Null pointer dereference etherape-0.9.22/src/stats/protocols.c:346:40: warning: Possible null pointer dereference: msg_level [nullPointer] etherape-0.9.22/src/stats/protocols.c:328:17: note: Assignment 'msg_level=NULL', assigned value is 0 etherape-0.9.22/src/stats/protocols.c:329:12: note: Assuming condition is false etherape-0.9.22/src/stats/protocols.c:346:40: note: Null pointer dereference etherape-0.9.22/src/stats/protocols.c:392:41: warning: Possible null pointer dereference: msg_level [nullPointer] etherape-0.9.22/src/stats/protocols.c:369:17: note: Assignment 'msg_level=NULL', assigned value is 0 etherape-0.9.22/src/stats/protocols.c:370:12: note: Assuming condition is false etherape-0.9.22/src/stats/protocols.c:392:41: note: Null pointer dereference etherape-0.9.22/src/stats/protocols.c:481:48: warning: Possible null pointer dereference: msg_names [nullPointer] etherape-0.9.22/src/stats/protocols.c:459:17: note: Assignment 'msg_names=NULL', assigned value is 0 etherape-0.9.22/src/stats/protocols.c:461:12: note: Assuming condition is false etherape-0.9.22/src/stats/protocols.c:481:48: note: Null pointer dereference etherape-0.9.22/src/stats/protocols.c:580:7: warning: Possible null pointer dereference: msg_names [nullPointer] etherape-0.9.22/src/stats/protocols.c:550:17: note: Assignment 'msg_names=NULL', assigned value is 0 etherape-0.9.22/src/stats/protocols.c:552:12: note: Assuming condition is false etherape-0.9.22/src/stats/protocols.c:580:7: note: Null pointer dereference etherape-0.9.22/src/stats/protocols.c:382:47: error: Null pointer dereference [nullPointer] etherape-0.9.22/src/stats/protocols.c:161:53: style:inconclusive: Function 'protocol_stack_avg' argument 2 names different: declaration 'avg_usecs' definition 'avgtime'. [funcArgNamesDifferent] etherape-0.9.22/src/stats/protocols.h:59:53: note: Function 'protocol_stack_avg' argument 2 names different: declaration 'avg_usecs' definition 'avgtime'. etherape-0.9.22/src/stats/protocols.c:161:53: note: Function 'protocol_stack_avg' argument 2 names different: declaration 'avg_usecs' definition 'avgtime'. etherape-0.9.22/src/stats/protocols.c:213:10: style: Variable 'item' can be declared as pointer to const [constVariablePointer] etherape-0.9.22/src/stats/protocols.c:257:15: style: Variable 'protocol' can be declared as pointer to const [constVariablePointer] etherape-0.9.22/src/stats/protocols.c:719:65: style: Parameter 'value' can be declared as pointer to const. However it seems that 'protosum_accumulate_link' is a callback function, if 'value' is declared with const you might also need to cast function pointer(s). [constParameterCallback] etherape-0.9.22/src/stats/protocols.c:734:25: note: You might need to cast the function pointer here etherape-0.9.22/src/stats/protocols.c:719:65: note: Parameter 'value' can be declared as pointer to const etherape-0.9.22/src/stats/node.c:168:17: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] etherape-0.9.22/src/stats/node.c:720:45: style:inconclusive: Function 'parse_nodeset_spec_list' argument 1 names different: declaration 's' definition 'orig_s'. [funcArgNamesDifferent] etherape-0.9.22/src/stats/node.h:84:45: note: Function 'parse_nodeset_spec_list' argument 1 names different: declaration 's' definition 'orig_s'. etherape-0.9.22/src/stats/node.c:720:45: note: Function 'parse_nodeset_spec_list' argument 1 names different: declaration 's' definition 'orig_s'. etherape-0.9.22/src/stats/node.c:443:78: style: Parameter 'dummy' can be declared as pointer to const. However it seems that 'nodes_catalog_compare' is a callback function, if 'dummy' is declared with const you might also need to cast function pointer(s). [constParameterCallback] etherape-0.9.22/src/stats/node.c:452:31: note: You might need to cast the function pointer here etherape-0.9.22/src/stats/node.c:443:78: note: Parameter 'dummy' can be declared as pointer to const etherape-0.9.22/src/stats/node.c:518:55: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'gfunc_remove_node' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] etherape-0.9.22/src/stats/node.c:539:31: note: You might need to cast the function pointer here etherape-0.9.22/src/stats/node.c:518:55: note: Parameter 'user_data' can be declared as pointer to const etherape-0.9.22/src/stats/node.c:547:54: style: Parameter 'value' can be declared as pointer to const. However it seems that 'node_dump_tvs' is a callback function, if 'value' is declared with const you might also need to cast function pointer(s). [constParameterCallback] etherape-0.9.22/src/stats/node.c:567:25: note: You might need to cast the function pointer here etherape-0.9.22/src/stats/node.c:547:54: note: Parameter 'value' can be declared as pointer to const etherape-0.9.22/src/stats/node.c:664:10: style: Variable 'pfxlen_str' can be declared as pointer to const [constVariablePointer] etherape-0.9.22/src/diagram.c:1885:18: style: Expression 'log(1 + x)' can be replaced by 'log1p(x)' to avoid loss of precision. [unpreciseMathCall] etherape-0.9.22/src/diagram.c:1931:18: style: Expression 'log(1 + x)' can be replaced by 'log1p(x)' to avoid loss of precision. [unpreciseMathCall] etherape-0.9.22/src/diagram.c:593:3: style:inconclusive: Statements following 'return' will never be executed. [unreachableCode] etherape-0.9.22/src/diagram.c:259:30: style:inconclusive: Function 'ask_reposition' argument 1 names different: declaration 'refresh_font' definition 'r_font'. [funcArgNamesDifferent] etherape-0.9.22/src/diagram.h:36:30: note: Function 'ask_reposition' argument 1 names different: declaration 'refresh_font' definition 'r_font'. etherape-0.9.22/src/diagram.c:259:30: note: Function 'ask_reposition' argument 1 names different: declaration 'refresh_font' definition 'r_font'. etherape-0.9.22/src/diagram.c:944:47: style:inconclusive: Function 'canvas_node_delete' argument 1 names different: declaration 'cn' definition 'canvas_node'. [funcArgNamesDifferent] etherape-0.9.22/src/diagram.c:86:47: note: Function 'canvas_node_delete' argument 1 names different: declaration 'cn' definition 'canvas_node'. etherape-0.9.22/src/diagram.c:944:47: note: Function 'canvas_node_delete' argument 1 names different: declaration 'cn' definition 'canvas_node'. etherape-0.9.22/src/diagram.c:1353:43: style:inconclusive: Function 'canvas_node_update' argument 1 names different: declaration 'ether_addr' definition 'node_id'. [funcArgNamesDifferent] etherape-0.9.22/src/diagram.c:87:44: note: Function 'canvas_node_update' argument 1 names different: declaration 'ether_addr' definition 'node_id'. etherape-0.9.22/src/diagram.c:1353:43: note: Function 'canvas_node_update' argument 1 names different: declaration 'ether_addr' definition 'node_id'. etherape-0.9.22/src/diagram.c:1502:65: style:inconclusive: Function 'add_ordered_node' argument 2 names different: declaration 'canvas_node' definition 'node'. [funcArgNamesDifferent] etherape-0.9.22/src/diagram.c:199:45: note: Function 'add_ordered_node' argument 2 names different: declaration 'canvas_node' definition 'node'. etherape-0.9.22/src/diagram.c:1502:65: note: Function 'add_ordered_node' argument 2 names different: declaration 'canvas_node' definition 'node'. etherape-0.9.22/src/diagram.c:1624:61: style:inconclusive: Function 'reposition_canvas_nodes_prep' argument 3 names different: declaration 'data' definition 'rdata'. [funcArgNamesDifferent] etherape-0.9.22/src/diagram.c:209:61: note: Function 'reposition_canvas_nodes_prep' argument 3 names different: declaration 'data' definition 'rdata'. etherape-0.9.22/src/diagram.c:1624:61: note: Function 'reposition_canvas_nodes_prep' argument 3 names different: declaration 'data' definition 'rdata'. etherape-0.9.22/src/diagram.c:287:40: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] etherape-0.9.22/src/diagram.c:287:55: style: Parameter 'obj' can be declared as pointer to const [constParameterPointer] etherape-0.9.22/src/diagram.c:399:64: style: Parameter 'node' can be declared as pointer to const. However it seems that 'find_bounds' is a callback function, if 'node' is declared with const you might also need to cast function pointer(s). [constParameterCallback] etherape-0.9.22/src/diagram.c:431:47: note: You might need to cast the function pointer here etherape-0.9.22/src/diagram.c:399:64: note: Parameter 'node' can be declared as pointer to const etherape-0.9.22/src/diagram.c:571:18: style: Variable 'clicked_node' can be declared as pointer to const [constVariablePointer] etherape-0.9.22/src/diagram.c:578:18: style: Variable 'clicked_link' can be declared as pointer to const [constVariablePointer] etherape-0.9.22/src/diagram.c:597:18: style: Variable 'hovered_link' can be declared as pointer to const [constVariablePointer] etherape-0.9.22/src/diagram.c:607:67: style: Parameter 'rect' can be declared as pointer to const [constParameterPointer] etherape-0.9.22/src/diagram.c:1597:39: style: Parameter 'node' can be declared as pointer to const [constParameterPointer] etherape-0.9.22/src/diagram.c:2031:42: style: Parameter 'dummy' can be declared as pointer to const. However it seems that 'canvas_node_compare' is a callback function, if 'dummy' is declared with const you might also need to cast function pointer(s). [constParameterCallback] etherape-0.9.22/src/diagram.c:313:52: note: You might need to cast the function pointer here etherape-0.9.22/src/diagram.c:2031:42: note: Parameter 'dummy' can be declared as pointer to const etherape-0.9.22/src/diagram.c:2039:42: style: Parameter 'dummy' can be declared as pointer to const. However it seems that 'canvas_link_compare' is a callback function, if 'dummy' is declared with const you might also need to cast function pointer(s). [constParameterCallback] etherape-0.9.22/src/diagram.c:315:52: note: You might need to cast the function pointer here etherape-0.9.22/src/diagram.c:2039:42: note: Parameter 'dummy' can be declared as pointer to const etherape-0.9.22/src/stats/decode_proto.c:1595:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] etherape-0.9.22/src/stats/decode_proto.c:1598:11: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] etherape-0.9.22/src/stats/decode_proto.c:1602:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] etherape-0.9.22/src/stats/decode_proto.c:1608:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] etherape-0.9.22/src/stats/decode_proto.c:1604:16: warning: %d in format string (no. 1) requires 'int *' but the argument type is 'unsigned int *'. [invalidScanfArgType_int] etherape-0.9.22/src/stats/decode_proto.c:1610:16: warning: %d in format string (no. 1) requires 'int *' but the argument type is 'unsigned int *'. [invalidScanfArgType_int] etherape-0.9.22/src/stats/decode_proto.c:248:30: style:inconclusive: Function 'packet_acquired' argument 1 names different: declaration 'packet' definition 'cap_bytes'. [funcArgNamesDifferent] etherape-0.9.22/src/stats/decode_proto.h:27:30: note: Function 'packet_acquired' argument 1 names different: declaration 'packet' definition 'cap_bytes'. etherape-0.9.22/src/stats/decode_proto.c:248:30: note: Function 'packet_acquired' argument 1 names different: declaration 'packet' definition 'cap_bytes'. etherape-0.9.22/src/stats/decode_proto.c:248:47: style:inconclusive: Function 'packet_acquired' argument 2 names different: declaration 'raw_size' definition 'cap_size'. [funcArgNamesDifferent] etherape-0.9.22/src/stats/decode_proto.h:27:44: note: Function 'packet_acquired' argument 2 names different: declaration 'raw_size' definition 'cap_size'. etherape-0.9.22/src/stats/decode_proto.c:248:47: note: Function 'packet_acquired' argument 2 names different: declaration 'raw_size' definition 'cap_size'. etherape-0.9.22/src/stats/decode_proto.c:248:63: style:inconclusive: Function 'packet_acquired' argument 3 names different: declaration 'pkt_size' definition 'orig_size'. [funcArgNamesDifferent] etherape-0.9.22/src/stats/decode_proto.h:27:60: note: Function 'packet_acquired' argument 3 names different: declaration 'pkt_size' definition 'orig_size'. etherape-0.9.22/src/stats/decode_proto.c:248:63: note: Function 'packet_acquired' argument 3 names different: declaration 'pkt_size' definition 'orig_size'. diff: 2.21.0 etherape-0.9.22/src/capture/cap-util.c:83:22: warning: Uninitialized variable: status [uninitvar] etherape-0.9.22/src/capture/cap-util.c:80:13: note: Assuming condition is false etherape-0.9.22/src/capture/cap-util.c:83:22: note: Uninitialized variable: status 2.21.0 etherape-0.9.22/src/preferences.c:483:53: style:inconclusive: Function 'mutate_saved_config' argument 2 names different: declaration '' definition 'data'. [funcArgNamesDifferentUnnamed] DONE