2025-09-01 07:00 ftp://ftp.de.debian.org/debian/pool/main/libp/libpcap/libpcap_1.10.5.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --library=openssl --library=microsoft_sal --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 -j4 platform: Linux-6.12.41+deb13-amd64-x86_64-with-glibc2.41 python: 3.13.5 client-version: 1.3.67 compiler: g++ (Debian 14.2.0-19) 14.2.0 cppcheck: head 2.18.0 head-info: 2ee39fe (2025-08-30 22:07:31 +0200) count: 291 714 elapsed-time: 0.8 2.3 head-timing-info: old-timing-info: head results: libpcap-1.10.5/varattrs.h:45:0: error: failed to evaluate #if condition, undefined function-like macro invocation: __has_attribute( ... ) [preprocessorErrorDirective] libpcap-1.10.5/varattrs.h:45:2: error: failed to evaluate #if condition, undefined function-like macro invocation: __has_attribute( ... ) [preprocessorErrorDirective] libpcap-1.10.5/pcap/funcattrs.h:262:0: error: failed to evaluate #if condition, undefined function-like macro invocation: __has_attribute( ... ) [preprocessorErrorDirective] libpcap-1.10.5/pcap/funcattrs.h:262:2: error: failed to evaluate #if condition, undefined function-like macro invocation: __has_attribute( ... ) [preprocessorErrorDirective] libpcap-1.10.5/cmake/have_siocglifconf.c:5:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIOCGLIFCONF [valueFlowBailoutIncompleteVar] libpcap-1.10.5/missing/getopt.c:89:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libpcap-1.10.5/missing/strtok_r.c:44:8: style: Variable 'spanp' can be declared as pointer to const [constVariablePointer] libpcap-1.10.5/missing/getopt.c:62:15: style: Variable '__progname' can be declared as pointer to const [constVariablePointer] libpcap-1.10.5/missing/getopt.c:64:8: style: Variable 'oli' can be declared as pointer to const [constVariablePointer] libpcap-1.10.5/msdos/bin2c.c:10:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libpcap-1.10.5/msdos/bin2c.c:18:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] libpcap-1.10.5/msdos/pktdrvr.c:358:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] libpcap-1.10.5/msdos/pktdrvr.c:427:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] libpcap-1.10.5/msdos/pktdrvr.c:446:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETH_MTU [valueFlowBailoutIncompleteVar] libpcap-1.10.5/msdos/pktdrvr.c:494:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] libpcap-1.10.5/msdos/pktdrvr.c:544:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PD_SLIP [valueFlowBailoutIncompleteVar] libpcap-1.10.5/msdos/pktdrvr.c:566:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] libpcap-1.10.5/msdos/pktdrvr.c:583:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] libpcap-1.10.5/msdos/pktdrvr.c:606:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] libpcap-1.10.5/msdos/pktdrvr.c:627:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] libpcap-1.10.5/msdos/pktdrvr.c:654:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] libpcap-1.10.5/msdos/pktdrvr.c:719:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] libpcap-1.10.5/msdos/pktdrvr.c:754:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] libpcap-1.10.5/msdos/pktdrvr.c:963:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RX_ELEMENT [valueFlowBailoutIncompleteVar] libpcap-1.10.5/msdos/pktdrvr.c:985:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RX_ELEMENT [valueFlowBailoutIncompleteVar] libpcap-1.10.5/msdos/pktdrvr.c:997:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RX_ELEMENT [valueFlowBailoutIncompleteVar] libpcap-1.10.5/msdos/pktdrvr.c:1042:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PDRX_BROADCAST [valueFlowBailoutIncompleteVar] libpcap-1.10.5/msdos/pktdrvr.c:1079:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pcap_pkt_debug [valueFlowBailoutIncompleteVar] libpcap-1.10.5/msdos/pktdrvr.c:976:22: style:inconclusive: Boolean expression 'rxOutOfs>(WORD)' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] libpcap-1.10.5/msdos/pktdrvr.c:986:20: style:inconclusive: Boolean expression 'rxOutOfs>(WORD)' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] libpcap-1.10.5/msdos/pktdrvr.c:976:22: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] libpcap-1.10.5/msdos/pktdrvr.c:986:20: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] libpcap-1.10.5/msdos/pktdrvr.c:364:12: style: Unused variable: rp [unusedVariable] libpcap-1.10.5/msdos/pktdrvr.c:964:22: style: Variable 'len' is assigned a value that is never used. [unreadVariable] libpcap-1.10.5/pcap-dos.h:72:0: error: #error DOSX not defined; 1 = PharLap, 2 = djgpp, 4 = DOS4GW [preprocessorErrorDirective] libpcap-1.10.5/pcap-dos.h:72:4: error: #error DOSX not defined; 1 = PharLap, 2 = djgpp, 4 = DOS4GW [preprocessorErrorDirective] libpcap-1.10.5/pcap-enet.c:89:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable snaplen [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap-enet.c:105:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap-enet.c:156:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap-enet.c:46:50: style: Parameter 'fp' can be declared as pointer to const [constParameterPointer] libpcap-1.10.5/pcap-enet.c:103:28: style: Parameter 'msg' can be declared as pointer to const [constParameterPointer] libpcap-1.10.5/pcap-enet.c:60:11: style: union member 'Anonymous0::s' is never used. [unusedStructMember] libpcap-1.10.5/pcap-new.c:76:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_BUF_SIZE [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap-new.c:391:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_BUF_SIZE [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap-npf.c:212:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKET_OID_DATA [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap-npf.c:345:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap-npf.c:359:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap-npf.c:374:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap-npf.c:412:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKET_OID_DATA [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap-npf.c:467:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap-npf.c:521:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKET_MODE_DUMP [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap-npf.c:594:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERROR_BREAK [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap-npf.c:987:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap-npf.c:1053:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERROR_RFMON_NOTSUP [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap-npf.c:1906:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable device [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap-npf.c:1918:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap-npf.c:2040:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_NETWORK_ADDRESSES [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap-npf.c:2126:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_IF_LOOPBACK [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap-npf.c:2388:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_INSUFFICIENT_BUFFER [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap-npf.c:2521:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pcapint_new_api [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap-npf.c:2669:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_NETWORK_ADDRESSES [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap-npf.c:2769:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_VERSION_STRING [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap-new.c:185:18: style: Variable 'filedata' can be declared as pointer to const [constVariablePointer] libpcap-1.10.5/pcap-npf.c:1041:43: style: Condition 'PacketGetMonitorMode(p->opt.device)==1' is always false [knownConditionTrueFalse] libpcap-1.10.5/pcap-npf.c:1041:27: note: Calling function 'PacketGetMonitorMode' returns -1 libpcap-1.10.5/pcap-npf.c:1041:43: note: Condition 'PacketGetMonitorMode(p->opt.device)==1' is always false libpcap-1.10.5/pcap-npf.c:1047:55: style: Condition '(res=PacketSetMonitorMode(p->opt.device,1))!=1' is always true [knownConditionTrueFalse] libpcap-1.10.5/pcap-npf.c:1047:35: note: Calling function 'PacketSetMonitorMode' returns 0 libpcap-1.10.5/pcap-npf.c:1047:55: note: Condition '(res=PacketSetMonitorMode(p->opt.device,1))!=1' is always true libpcap-1.10.5/pcap-npf.c:1612:54: style: Return value 'PacketIsMonitorModeSupported(p->opt.device)==1' is always false [knownConditionTrueFalse] libpcap-1.10.5/pcap-npf.c:1612:38: note: Calling function 'PacketIsMonitorModeSupported' returns 0 libpcap-1.10.5/pcap-npf.c:1612:54: note: Return value 'PacketIsMonitorModeSupported(p->opt.device)==1' is always false libpcap-1.10.5/pcap-npf.c:1906:36: style: Condition 'get_ts_types(device,p,ebuf)==-1' is always false [knownConditionTrueFalse] libpcap-1.10.5/pcap-npf.c:1906:18: note: Calling function 'get_ts_types' returns 0 libpcap-1.10.5/pcap-npf.c:1906:36: note: Condition 'get_ts_types(device,p,ebuf)==-1' is always false libpcap-1.10.5/pcap-npf.c:2327:13: style: Condition 'status==-1' is always true [knownConditionTrueFalse] libpcap-1.10.5/pcap-npf.c:2325:12: note: Assignment 'status=-1', assigned value is -1 libpcap-1.10.5/pcap-npf.c:2327:13: note: Condition 'status==-1' is always true libpcap-1.10.5/pcap-npf.c:2468:42: style: Condition 'get_if_flags(name,&flags,errbuf)==-1' is always false [knownConditionTrueFalse] libpcap-1.10.5/pcap-npf.c:2468:19: note: Calling function 'get_if_flags' returns 0 libpcap-1.10.5/pcap-npf.c:2468:42: note: Condition 'get_if_flags(name,&flags,errbuf)==-1' is always false libpcap-1.10.5/pcap-npf.c:383:27: style: Parameter 'p' can be declared as pointer to const. However it seems that 'pcap_getevent_npf' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libpcap-1.10.5/pcap-npf.c:1577:19: note: You might need to cast the function pointer here libpcap-1.10.5/pcap-npf.c:383:27: note: Parameter 'p' can be declared as pointer to const libpcap-1.10.5/pcap-npf.c:548:34: style: Parameter 'p' can be declared as pointer to const. However it seems that 'pcap_live_dump_ended_npf' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libpcap-1.10.5/pcap-npf.c:1583:26: note: You might need to cast the function pointer here libpcap-1.10.5/pcap-npf.c:548:34: note: Parameter 'p' can be declared as pointer to const libpcap-1.10.5/pcap-npf.c:566:39: style: Parameter '_U_' can be declared as pointer to const. However it seems that 'pcap_get_airpcap_handle_npf' is a callback function, if '_U_' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libpcap-1.10.5/pcap-npf.c:1584:29: note: You might need to cast the function pointer here libpcap-1.10.5/pcap-npf.c:566:39: note: Parameter '_U_' can be declared as pointer to const libpcap-1.10.5/pcap-npf.c:578:24: style: Variable 'ep' can be declared as pointer to const [constVariablePointer] libpcap-1.10.5/pcap-npf.c:1885:48: style: Parameter '_U_' can be declared as pointer to const [constParameterPointer] libpcap-1.10.5/pcap-npf.c:1885:64: style: Parameter '_U_' can be declared as pointer to const [constParameterPointer] libpcap-1.10.5/pcap-npf.c:1991:30: style: Parameter 'p' can be declared as pointer to const. However it seems that 'pcap_getnonblock_npf' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libpcap-1.10.5/pcap-npf.c:1569:22: note: You might need to cast the function pointer here libpcap-1.10.5/pcap-npf.c:1991:30: note: Parameter 'p' can be declared as pointer to const libpcap-1.10.5/pcap-npf.c:1993:19: style: Variable 'pw' can be declared as pointer to const [constVariablePointer] libpcap-1.10.5/pcap-npf.c:1051:9: error: Uninitialized variable: res [legacyUninitvar] libpcap-1.10.5/pcap-tc.c:406:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TC_SUCCESS [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap-tc.c:493:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERROR_RFMON_NOTSUP [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap-tc.c:667:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TC_SUCCESS [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap-tc.c:739:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap-tc.c:746:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap-tc.c:788:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap-tc.c:859:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TC_SUCCESS [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap-tc.c:999:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TC_SUCCESS [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap-rpcap.c:311:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_in [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap-rpcap.c:435:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap-rpcap.c:681:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERROR_BREAK [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap-rpcap.c:924:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap-rpcap.c:1029:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PF_UNSPEC [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap-rpcap.c:1092:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET6_ADDRSTRLEN [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap-rpcap.c:1578:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap-rpcap.c:1638:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap-rpcap.c:1680:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_OPENFLAG_NOCAPTURE_RPCAP [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap-rpcap.c:1736:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_OPENFLAG_NOCAPTURE_RPCAP [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap-rpcap.c:1875:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_SAMP_NOSAMP [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap-rpcap.c:2005:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap-rpcap.c:2250:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap-rpcap.c:2258:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap-rpcap.c:2285:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_SRC_IFREMOTE [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap-rpcap.c:2447:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_BUF_SIZE [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap-rpcap.c:2628:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_BUF_SIZE [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap-rpcap.c:2942:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap-rpcap.c:3133:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PF_UNSPEC [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap-rpcap.c:3262:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RPCAP_HOSTLIST_SIZE [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap-rpcap.c:3312:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap-rpcap.c:3344:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap-rpcap.c:3404:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap-rpcap.c:3466:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap-rpcap.c:3484:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap-rpcap.c:3557:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap-rpcap.c:3591:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap-tc.c:395:18: style: Condition 'loadStatus!=TC_API_LOADED' is always false [knownConditionTrueFalse] libpcap-1.10.5/pcap-tc.c:393:31: note: Calling function 'LoadTcFunctions' returns 1 libpcap-1.10.5/pcap-tc.c:393:31: note: Assignment 'loadStatus=LoadTcFunctions()', assigned value is 1 libpcap-1.10.5/pcap-tc.c:395:18: note: Condition 'loadStatus!=TC_API_LOADED' is always false libpcap-1.10.5/pcap-tc.c:652:24: style: Condition 'LoadTcFunctions()!=TC_API_LOADED' is always false [knownConditionTrueFalse] libpcap-1.10.5/pcap-tc.c:652:21: note: Calling function 'LoadTcFunctions' returns 1 libpcap-1.10.5/pcap-tc.c:652:24: note: Condition 'LoadTcFunctions()!=TC_API_LOADED' is always false libpcap-1.10.5/pcap-tc.c:602:9: style: Variable 'status' is reassigned a value before the old one has been used. [redundantAssignment] libpcap-1.10.5/pcap-tc.c:574:9: note: status is assigned libpcap-1.10.5/pcap-tc.c:602:9: note: status is overwritten libpcap-1.10.5/pcap-tc.c:381:31: style:inconclusive: Function 'TcFindAllDevs' argument 1 names different: declaration 'devlistp' definition 'devlist'. [funcArgNamesDifferent] libpcap-1.10.5/pcap-tc.h:52:31: note: Function 'TcFindAllDevs' argument 1 names different: declaration 'devlistp' definition 'devlist'. libpcap-1.10.5/pcap-tc.c:381:31: note: Function 'TcFindAllDevs' argument 1 names different: declaration 'devlistp' definition 'devlist'. libpcap-1.10.5/pcap-tc.c:438:8: style: Variable 'name' can be declared as pointer to const [constVariablePointer] libpcap-1.10.5/pcap-tc.c:439:8: style: Variable 'description' can be declared as pointer to const [constVariablePointer] libpcap-1.10.5/pcap-tc.c:721:34: style: Parameter 'p' can be declared as pointer to const. However it seems that 'TcSetDatalink' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libpcap-1.10.5/pcap-tc.c:613:23: note: You might need to cast the function pointer here libpcap-1.10.5/pcap-tc.c:721:34: note: Parameter 'p' can be declared as pointer to const libpcap-1.10.5/pcap-tc.c:428:11: style: Variable 'status' is assigned a value that is never used. [unreadVariable] libpcap-1.10.5/rpcapd/fileconf.c:113:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] libpcap-1.10.5/rpcapd/fileconf.c:510:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RPCAP_HOSTLIST_SEP [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap.c:267:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap.c:358:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERROR_NOT_ACTIVATED [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap.c:366:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERROR_NOT_ACTIVATED [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap.c:374:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERROR_NOT_ACTIVATED [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap.c:382:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERROR_NOT_ACTIVATED [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap.c:390:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERROR_NOT_ACTIVATED [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap.c:398:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERROR_NOT_ACTIVATED [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap.c:406:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERROR_NOT_ACTIVATED [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap.c:544:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap.c:811:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_IF_RUNNING [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap.c:1045:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_IF_LOOPBACK [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap.c:1141:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pcap_addr_t [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap.c:1325:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pcap_if_t [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap.c:1452:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_IF_UP [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap.c:1540:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IFNAMSIZ [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap.c:1663:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIOCGIFADDR [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap.c:2563:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_TSTAMP_PRECISION_MICRO [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap.c:2586:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap.c:2597:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERROR_ACTIVATED [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap.c:2606:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERROR_ACTIVATED [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap.c:2615:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERROR_ACTIVATED [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap.c:2624:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERROR_ACTIVATED [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap.c:2635:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERROR_ACTIVATED [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap.c:2678:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERROR_ACTIVATED [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap.c:2687:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERROR_ACTIVATED [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap.c:2704:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERROR_ACTIVATED [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap.c:2766:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERROR_ACTIVATED [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap.c:2898:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERROR [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap.c:2946:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_TSTAMP_PRECISION_MICRO [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap.c:3000:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERROR_NOT_ACTIVATED [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap.c:3008:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERROR_NOT_ACTIVATED [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap.c:3016:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERROR_NOT_ACTIVATED [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap.c:3093:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLT_DOCSIS [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap.c:3453:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERROR [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap.c:3484:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERROR_NOT_ACTIVATED [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap.c:3492:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERROR_NOT_ACTIVATED [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap.c:3500:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERROR_NOT_ACTIVATED [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap.c:3508:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERROR_NOT_ACTIVATED [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap.c:3516:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERROR_NOT_ACTIVATED [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap.c:3571:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap.c:3596:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap.c:3611:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap.c:3640:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap.c:3657:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap.c:3848:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap.c:4075:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap.c:4172:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERROR [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap.c:4194:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERROR [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap.c:4309:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap.c:4318:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap.c:4340:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap.c:4348:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap.c:4356:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap.c:4364:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap.c:4372:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap.c:4380:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap.c:4388:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap.c:4517:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_TSTAMP_PRECISION_MICRO [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap.c:4566:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_TSTAMP_PRECISION_MICRO [valueFlowBailoutIncompleteVar] libpcap-1.10.5/rpcapd/daemon.c:219:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] libpcap-1.10.5/rpcapd/daemon.c:1141:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] libpcap-1.10.5/rpcapd/daemon.c:1220:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] libpcap-1.10.5/rpcapd/daemon.c:1505:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] libpcap-1.10.5/rpcapd/daemon.c:1604:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] libpcap-1.10.5/rpcapd/daemon.c:1855:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] libpcap-1.10.5/rpcapd/daemon.c:1958:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] libpcap-1.10.5/rpcapd/daemon.c:2299:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] libpcap-1.10.5/rpcapd/daemon.c:2344:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rpcap_filter [valueFlowBailoutIncompleteVar] libpcap-1.10.5/rpcapd/daemon.c:2422:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] libpcap-1.10.5/rpcapd/daemon.c:2476:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] libpcap-1.10.5/rpcapd/daemon.c:2536:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] libpcap-1.10.5/rpcapd/daemon.c:2608:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] libpcap-1.10.5/rpcapd/daemon.c:2840:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_storage [valueFlowBailoutIncompleteVar] libpcap-1.10.5/rpcapd/daemon.c:2916:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] libpcap-1.10.5/rpcapd/daemon.c:2948:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] libpcap-1.10.5/rpcapd/daemon.c:2976:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] libpcap-1.10.5/rpcapd/daemon.c:3073:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_SOCKET [valueFlowBailoutIncompleteVar] libpcap-1.10.5/pcap.c:2938:67: style:inconclusive: Function 'pcapint_open_offline_common' argument 3 names different: declaration 'private_data' definition 'private_offset'. [funcArgNamesDifferent] libpcap-1.10.5/pcap-int.h:516:12: note: Function 'pcapint_open_offline_common' argument 3 names different: declaration 'private_data' definition 'private_offset'. libpcap-1.10.5/pcap.c:2938:67: note: Function 'pcapint_open_offline_common' argument 3 names different: declaration 'private_data' definition 'private_offset'. libpcap-1.10.5/pcap.c:516:29: style: Parameter 'p' can be declared as pointer to const. However it seems that 'pcap_cant_set_rfmon' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libpcap-1.10.5/pcap.c:2544:24: note: You might need to cast the function pointer here libpcap-1.10.5/pcap.c:516:29: note: Parameter 'p' can be declared as pointer to const libpcap-1.10.5/pcap.c:768:31: style: Parameter 'sa' can be declared as pointer to const [constParameterPointer] libpcap-1.10.5/pcap.c:806:32: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] libpcap-1.10.5/pcap.c:2997:23: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] libpcap-1.10.5/pcap.c:3005:27: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] libpcap-1.10.5/pcap.c:3481:23: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] libpcap-1.10.5/pcap.c:3489:25: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] libpcap-1.10.5/pcap.c:3497:28: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] libpcap-1.10.5/pcap.c:3505:28: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] libpcap-1.10.5/pcap.c:3513:22: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] libpcap-1.10.5/pcap.c:3521:19: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] libpcap-1.10.5/pcap.c:3548:21: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] libpcap-1.10.5/pcap.c:3556:32: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] libpcap-1.10.5/pcap.c:3562:42: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] libpcap-1.10.5/pcap.c:3569:21: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] libpcap-1.10.5/pcap.c:3575:21: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] libpcap-1.10.5/pcap.c:4091:44: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] libpcap-1.10.5/pcap.c:4324:29: style: Parameter 'p' can be declared as pointer to const. However it seems that 'pcap_breakloop_dead' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libpcap-1.10.5/pcap.c:4550:20: note: You might need to cast the function pointer here libpcap-1.10.5/pcap.c:4324:29: note: Parameter 'p' can be declared as pointer to const libpcap-1.10.5/pcap.c:4494:27: style: Parameter 'p' can be declared as pointer to const. However it seems that 'pcap_cleanup_dead' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libpcap-1.10.5/pcap.c:4551:18: note: You might need to cast the function pointer here libpcap-1.10.5/pcap.c:4494:27: note: Parameter 'p' can be declared as pointer to const libpcap-1.10.5/rpcapd/daemon.c:1503:14: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] libpcap-1.10.5/rpcapd/daemon.c:1537:19: portability: Non reentrant function 'crypt' called. For threadsafe applications it is recommended to use the reentrant replacement function 'crypt_r'. [prohibitedcryptCalled] libpcap-1.10.5/rpcapd/log.c:80:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libpcap-1.10.5/rpcapd/log.c:188:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] libpcap-1.10.5/rpcapd/daemon.c:1956:39: style:inconclusive: Function 'daemon_msg_startcap_req' argument 6 names different: declaration 'samp_param' definition '_U_'. [funcArgNamesDifferent] libpcap-1.10.5/rpcapd/daemon.c:137:28: note: Function 'daemon_msg_startcap_req' argument 6 names different: declaration 'samp_param' definition '_U_'. libpcap-1.10.5/rpcapd/daemon.c:1956:39: note: Function 'daemon_msg_startcap_req' argument 6 names different: declaration 'samp_param' definition '_U_'. libpcap-1.10.5/rpcapd/daemon.c:2334:109: style:inconclusive: Function 'daemon_unpackapplyfilter' argument 5 names different: declaration 'errbuf' definition 'errmsgbuf'. [funcArgNamesDifferent] libpcap-1.10.5/rpcapd/daemon.c:143:112: note: Function 'daemon_unpackapplyfilter' argument 5 names different: declaration 'errbuf' definition 'errmsgbuf'. libpcap-1.10.5/rpcapd/daemon.c:2334:109: note: Function 'daemon_unpackapplyfilter' argument 5 names different: declaration 'errbuf' definition 'errmsgbuf'. libpcap-1.10.5/rpcapd/daemon.c:2817:35: style:inconclusive: Function 'noop_handler' argument 1 names different: declaration 'sign' definition '_U_'. [funcArgNamesDifferent] libpcap-1.10.5/rpcapd/daemon.c:157:30: note: Function 'noop_handler' argument 1 names different: declaration 'sign' definition '_U_'. libpcap-1.10.5/rpcapd/daemon.c:2817:35: note: Function 'noop_handler' argument 1 names different: declaration 'sign' definition '_U_'. libpcap-1.10.5/rpcapd/rpcapd.c:133:46: error: There is an unknown macro here somewhere. Configuration is required. If RPCAP_DEFAULT_NETPORT is a macro then please configure it. [unknownMacro] libpcap-1.10.5/rpcapd/daemon.c:1419:26: style: Parameter 'username' can be declared as pointer to const [constParameterPointer] libpcap-1.10.5/rpcapd/daemon.c:1419:42: style: Parameter 'password' can be declared as pointer to const [constParameterPointer] libpcap-1.10.5/rpcapd/daemon.c:1495:17: style: Variable 'user' can be declared as pointer to const [constVariablePointer] libpcap-1.10.5/rpcapd/daemon.c:1496:8: style: Variable 'user_password' can be declared as pointer to const [constVariablePointer] libpcap-1.10.5/rpcapd/daemon.c:1500:8: style: Variable 'crypt_password' can be declared as pointer to const [constVariablePointer] libpcap-1.10.5/rpcapd/daemon.c:2855:23: style: Variable 'sockaddrin_ipv4' can be declared as pointer to const [constVariablePointer] libpcap-1.10.5/rpcapd/daemon.c:3095:8: style: Variable 'colonp' can be declared as pointer to const [constVariablePointer] libpcap-1.10.5/rpcapd/win32-svc.c:58:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] libpcap-1.10.5/rpcapd/win32-svc.c:93:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SERVICE_STOP_PENDING [valueFlowBailoutIncompleteVar] libpcap-1.10.5/rpcapd/win32-svc.c:145:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SERVICE_WIN32_OWN_PROCESS [valueFlowBailoutIncompleteVar] libpcap-1.10.5/rpcapd/win32-svc.c:164:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NO_ERROR [valueFlowBailoutIncompleteVar] libpcap-1.10.5/testprogs/can_set_rfmon_test.c:25:31: error: There is an unknown macro here somewhere. Configuration is required. If _U_ is a macro then please configure it. [unknownMacro] libpcap-1.10.5/testprogs/capturetest.c:25:31: error: There is an unknown macro here somewhere. Configuration is required. If _U_ is a macro then please configure it. [unknownMacro] libpcap-1.10.5/testprogs/filtertest.c:25:31: error: There is an unknown macro here somewhere. Configuration is required. If _U_ is a macro then please configure it. [unknownMacro] libpcap-1.10.5/testprogs/findalldevstest-perf.c:25:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] libpcap-1.10.5/testprogs/findalldevstest.c:106:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] libpcap-1.10.5/testprogs/findalldevstest.c:190:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET_ADDRSTRLEN [valueFlowBailoutIncompleteVar] libpcap-1.10.5/testprogs/fuzz/fuzz_both.c:14:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] libpcap-1.10.5/testprogs/fuzz/fuzz_both.c:41:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] libpcap-1.10.5/testprogs/findalldevstest.c:187:31: style: Parameter 'd' can be declared as pointer to const [constParameterPointer] libpcap-1.10.5/testprogs/findalldevstest.c:326:10: style: Variable 'p' can be declared as pointer to const [constVariablePointer] libpcap-1.10.5/testprogs/fuzz/fuzz_both.c:79:12: warning: If memory allocation fails, then there is a possible null pointer dereference: filter [nullPointerOutOfMemory] libpcap-1.10.5/testprogs/fuzz/fuzz_both.c:78:20: note: Assuming allocation function fails libpcap-1.10.5/testprogs/fuzz/fuzz_both.c:78:20: note: Assignment 'filter=malloc(filterSize)', assigned value is 0 libpcap-1.10.5/testprogs/fuzz/fuzz_both.c:79:12: note: Null pointer dereference libpcap-1.10.5/testprogs/fuzz/fuzz_both.c:81:5: warning: If memory allocation fails, then there is a possible null pointer dereference: filter [nullPointerOutOfMemory] libpcap-1.10.5/testprogs/fuzz/fuzz_both.c:78:20: note: Assuming allocation function fails libpcap-1.10.5/testprogs/fuzz/fuzz_both.c:78:20: note: Assignment 'filter=malloc(filterSize)', assigned value is 0 libpcap-1.10.5/testprogs/fuzz/fuzz_both.c:81:5: note: Null pointer dereference libpcap-1.10.5/rpcapd/fileconf.c:431:11: style: Variable 'setting' can be declared as pointer to const [constVariablePointer] libpcap-1.10.5/rpcapd/fileconf.c:497:9: style: Variable 'token' can be declared as pointer to const [constVariablePointer] libpcap-1.10.5/testprogs/fuzz/fuzz_filter.c:32:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_NETMASK_UNKNOWN [valueFlowBailoutIncompleteVar] libpcap-1.10.5/testprogs/fuzz/fuzz_filter.c:28:12: warning: If memory allocation fails, then there is a possible null pointer dereference: filter [nullPointerOutOfMemory] libpcap-1.10.5/testprogs/fuzz/fuzz_filter.c:27:20: note: Assuming allocation function fails libpcap-1.10.5/testprogs/fuzz/fuzz_filter.c:27:20: note: Assignment 'filter=malloc(Size)', assigned value is 0 libpcap-1.10.5/testprogs/fuzz/fuzz_filter.c:28:12: note: Null pointer dereference libpcap-1.10.5/testprogs/fuzz/fuzz_filter.c:30:5: warning: If memory allocation fails, then there is a possible null pointer dereference: filter [nullPointerOutOfMemory] libpcap-1.10.5/testprogs/fuzz/fuzz_filter.c:27:20: note: Assuming allocation function fails libpcap-1.10.5/testprogs/fuzz/fuzz_filter.c:27:20: note: Assignment 'filter=malloc(Size)', assigned value is 0 libpcap-1.10.5/testprogs/fuzz/fuzz_filter.c:30:5: note: Null pointer dereference libpcap-1.10.5/testprogs/fuzz/fuzz_pcap.c:13:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] libpcap-1.10.5/testprogs/fuzz/fuzz_pcap.c:40:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] libpcap-1.10.5/testprogs/nonblocktest.c:58:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libpcap-1.10.5/testprogs/nonblocktest.c:77:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libpcap-1.10.5/testprogs/nonblocktest.c:91:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libpcap-1.10.5/testprogs/nonblocktest.c:109:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] libpcap-1.10.5/testprogs/opentest.c:25:31: error: There is an unknown macro here somewhere. Configuration is required. If _U_ is a macro then please configure it. [unknownMacro] libpcap-1.10.5/testprogs/reactivatetest.c:25:31: error: There is an unknown macro here somewhere. Configuration is required. If _U_ is a macro then please configure it. [unknownMacro] libpcap-1.10.5/testprogs/nonblocktest.c:146:14: style: Variable 'status' is assigned a value that is never used. [unreadVariable] libpcap-1.10.5/testprogs/selpolltest.c:25:31: error: There is an unknown macro here somewhere. Configuration is required. If _U_ is a macro then please configure it. [unknownMacro] libpcap-1.10.5/testprogs/threadsignaltest.c:25:31: error: There is an unknown macro here somewhere. Configuration is required. If _U_ is a macro then please configure it. [unknownMacro] libpcap-1.10.5/testprogs/valgrindtest.c:77:0: error: #error "Unknown platform or platform that doesn't support Valgrind" [preprocessorErrorDirective] libpcap-1.10.5/testprogs/valgrindtest.c:77:2: error: #error "Unknown platform or platform that doesn't support Valgrind" [preprocessorErrorDirective] libpcap-1.10.5/testprogs/writecaptest.c:25:31: error: There is an unknown macro here somewhere. Configuration is required. If _U_ is a macro then please configure it. [unknownMacro] libpcap-1.10.5/pcap-rpcap.c:415:6: style: Condition '!retval' is always true [knownConditionTrueFalse] libpcap-1.10.5/pcap-rpcap.c:396:15: note: Assignment 'retval=0', assigned value is 0 libpcap-1.10.5/pcap-rpcap.c:415:6: note: Condition '!retval' is always true libpcap-1.10.5/pcap-rpcap.c:1059:6: style: Condition 'addrinfo' is always true [knownConditionTrueFalse] libpcap-1.10.5/pcap-rpcap.c:3226:6: style: Condition 'addrinfo' is always true [knownConditionTrueFalse] libpcap-1.10.5/pcap-rpcap.c:3427:71: style:inconclusive: Function 'rpcap_process_msg_header' argument 3 names different: declaration 'ver' definition 'expected_ver'. [funcArgNamesDifferent] libpcap-1.10.5/pcap-rpcap.c:176:68: note: Function 'rpcap_process_msg_header' argument 3 names different: declaration 'ver' definition 'expected_ver'. libpcap-1.10.5/pcap-rpcap.c:3427:71: note: Function 'rpcap_process_msg_header' argument 3 names different: declaration 'ver' definition 'expected_ver'. libpcap-1.10.5/pcap-rpcap.c:308:29: style: Variable 'sockaddrin_ipv4' can be declared as pointer to const [constVariablePointer] libpcap-1.10.5/pcap-rpcap.c:393:23: style: Variable 'net_pkt_header' can be declared as pointer to const [constVariablePointer] libpcap-1.10.5/pcap-rpcap.c:630:21: style: Variable 'pr' can be declared as pointer to const [constVariablePointer] libpcap-1.10.5/pcap-rpcap.c:850:20: style: Variable 'retval' can be declared as pointer to const [constVariablePointer] libpcap-1.10.5/pcap-rpcap.c:913:21: style: Variable 'pr' can be declared as pointer to const [constVariablePointer] libpcap-1.10.5/pcap-rpcap.c:1101:22: style: Variable 'sin4' can be declared as pointer to const [constVariablePointer] libpcap-1.10.5/pcap-rpcap.c:1102:23: style: Variable 'sin6' can be declared as pointer to const [constVariablePointer] libpcap-1.10.5/pcap-rpcap.c:1559:96: style: Parameter 'prog' can be declared as pointer to const [constParameterPointer] libpcap-1.10.5/pcap-rpcap.c:1563:19: style: Variable 'bf_insn' can be declared as pointer to const [constVariablePointer] libpcap-1.10.5/pcap-rpcap.c:1632:21: style: Variable 'pr' can be declared as pointer to const [constVariablePointer] libpcap-1.10.5/pcap-rpcap.c:1667:40: style: Parameter 'fp' can be declared as pointer to const. However it seems that 'pcap_save_current_filter_rpcap' is a callback function, if 'fp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libpcap-1.10.5/pcap-rpcap.c:2552:31: note: You might need to cast the function pointer here libpcap-1.10.5/pcap-rpcap.c:1667:40: note: Parameter 'fp' can be declared as pointer to const libpcap-1.10.5/pcap-rpcap.c:1703:21: style: Variable 'pr' can be declared as pointer to const [constVariablePointer] libpcap-1.10.5/pcap-rpcap.c:1868:21: style: Variable 'pr' can be declared as pointer to const [constVariablePointer] libpcap-1.10.5/pcap-rpcap.c:1975:45: style: Parameter 'auth' can be declared as pointer to const [constParameterPointer] libpcap-1.10.5/pcap-rpcap.c:2270:22: style: Variable 'activeconn' can be declared as pointer to const [constVariablePointer] libpcap-1.10.5/pcap-rpcap.c:3326:101: style: Parameter 'header' can be declared as pointer to const [constParameterPointer] libpcap-1.10.5/pcap-rpcap.c:3357:102: style: Parameter 'header' can be declared as pointer to const [constParameterPointer] diff: 2.18.0 libpcap-1.10.5/bpf_filter.c:436:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_MEMWORDS [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/bpf_filter.c:97:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_MEMWORDS [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/bpf_image.c:145:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_RET [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/dlpisubs.c:138:10: style: Variable 'ep' can be declared as pointer to const [constVariablePointer] 2.18.0 libpcap-1.10.5/dlpisubs.c:234:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLT_EN10MB [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/dlpisubs.c:375:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bpf_u_int32 [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/dlpisubs.c:400:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable I_STR [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/dlpisubs.c:78:25: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] 2.18.0 libpcap-1.10.5/dlpisubs.c:80:20: style: Variable 'pd' can be declared as pointer to const [constVariablePointer] 2.18.0 libpcap-1.10.5/etherent.c:78:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/etherent.c:96:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/fad-getad.c:167:12: style: Variable 'q' can be declared as pointer to const [constVariablePointer] 2.18.0 libpcap-1.10.5/fad-getad.c:237:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/fad-gifc.c:141:32: style: Variable 'ifend' can be declared as pointer to const [constVariablePointer] 2.18.0 libpcap-1.10.5/fad-gifc.c:177:10: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] 2.18.0 libpcap-1.10.5/fad-gifc.c:177:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/fad-glifc.c:120:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNSPEC [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/fad-glifc.c:83:33: style: Variable 'ifend' can be declared as pointer to const [constVariablePointer] 2.18.0 libpcap-1.10.5/gencode.c:1713:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLT_HIGH_MATCHING_MAX [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/gencode.c:2146:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLT_NULL [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/gencode.c:2816:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLT_IEEE802_11_RADIO [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/gencode.c:3028:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLT_PPI [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/gencode.c:3379:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/gencode.c:437:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/gencode.c:457:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/gencode.c:5264:22: style: Variable 'sin' can be declared as pointer to const [constVariablePointer] 2.18.0 libpcap-1.10.5/gencode.c:5320:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/gencode.c:5376:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_TCP [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/gencode.c:5738:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_TCP [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/gencode.c:5807:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_TCP [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/gencode.c:5931:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_TCP [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/gencode.c:6028:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_TCP [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/gencode.c:6053:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROTO_UNDEF [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/gencode.c:6679:22: style: Variable 'in4' can be declared as pointer to const [constVariablePointer] 2.18.0 libpcap-1.10.5/gencode.c:6690:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PF_UNSPEC [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/gencode.c:6791:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROTO_UNDEF [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/gencode.c:6801:10: warning: If memory allocation fails, then there is a possible null pointer dereference: cpy [nullPointerOutOfMemory] libpcap-1.10.5/gencode.c:6800:15: note: Assuming allocation function fails libpcap-1.10.5/gencode.c:6800:15: note: Assignment 'cpy=malloc(string_size+1)', assigned value is 0 libpcap-1.10.5/gencode.c:6801:10: note: Null pointer dereference 2.18.0 libpcap-1.10.5/gencode.c:6802:3: warning: If memory allocation fails, then there is a possible null pointer dereference: cpy [nullPointerOutOfMemory] libpcap-1.10.5/gencode.c:6800:15: note: Assuming allocation function fails libpcap-1.10.5/gencode.c:6800:15: note: Assignment 'cpy=malloc(string_size+1)', assigned value is 0 libpcap-1.10.5/gencode.c:6802:3: note: Null pointer dereference 2.18.0 libpcap-1.10.5/gencode.c:6939:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROTO_UNDEF [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/gencode.c:6951:22: style: Variable 'sin4' can be declared as pointer to const [constVariablePointer] 2.18.0 libpcap-1.10.5/gencode.c:7128:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_TCP [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/gencode.c:7267:4: warning: Shifting 32-bit value by 32 bits is undefined behaviour. See condition at line 7264. [shiftTooManyBits] libpcap-1.10.5/gencode.c:7264:11: note: Assuming that condition 'nlen<0' is not redundant libpcap-1.10.5/gencode.c:7267:4: note: Shift 2.18.0 libpcap-1.10.5/gencode.c:7274:5: warning: Shifting 32-bit value by 32 bits is undefined behaviour. See condition at line 7271. [shiftTooManyBits] libpcap-1.10.5/gencode.c:7271:12: note: Assuming that condition 'mlen<0' is not redundant libpcap-1.10.5/gencode.c:7274:5: note: Shift 2.18.0 libpcap-1.10.5/gencode.c:732:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/gencode.c:7363:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_UDP [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/gencode.c:7559:50: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] 2.18.0 libpcap-1.10.5/gencode.c:7569:50: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] 2.18.0 libpcap-1.10.5/gencode.c:7625:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLT_PRISM_HEADER [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/gencode.c:8270:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_NETMASK_UNKNOWN [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/gencode.c:8594:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dir [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/gencode.c:8701:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLT_PFLOG [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/gencode.c:8730:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLT_PFLOG [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/gencode.c:8759:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLT_PFLOG [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/gencode.c:8782:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLT_PFLOG [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/gencode.c:8805:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLT_PFLOG [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/gencode.c:8828:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLT_PFLOG [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/gencode.c:883:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERROR [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/gencode.c:9418:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLT_PPP [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/gencode.c:9440:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_UDP [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/gencode.c:9601:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLT_EN10MB [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/gencode.c:9916:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLT_EN10MB [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/gencode.c:9960:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLT_MTP2 [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/nametoaddr.c:181:12: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] 2.18.0 libpcap-1.10.5/nametoaddr.c:204:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PF_UNSPEC [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/nametoaddr.c:309:7: portability: Non reentrant function 'getnetbyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getnetbyname_r'. [prohibitedgetnetbynameCalled] 2.18.0 libpcap-1.10.5/nametoaddr.c:328:22: style: Variable 'in4' can be declared as pointer to const [constVariablePointer] 2.18.0 libpcap-1.10.5/nametoaddr.c:340:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PF_UNSPEC [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/nametoaddr.c:499:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROTO_UNDEF [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/nametoaddr.c:558:6: portability: Non reentrant function 'getprotobyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getprotobyname_r'. [prohibitedgetprotobynameCalled] 2.18.0 libpcap-1.10.5/nametoaddr.c:563:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROTO_UNDEF [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/nametoaddr.c:613:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROTO_UNDEF [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/nametoaddr.c:637:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROTO_UNDEF [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/nametoaddr.c:690:6: warning: %d in format string (no. 1) requires 'int *' but the argument type is 'unsigned int *'. [invalidScanfArgType_int] 2.18.0 libpcap-1.10.5/nametoaddr.c:690:6: warning: %d in format string (no. 2) requires 'int *' but the argument type is 'unsigned int *'. [invalidScanfArgType_int] 2.18.0 libpcap-1.10.5/nametoaddr.c:729:4: error: Memory is allocated but not initialized: ep [uninitdata] 2.18.0 libpcap-1.10.5/nametoaddr.c:746:33: style: Variable 'ep' can be declared as pointer to const [constVariablePointer] 2.18.0 libpcap-1.10.5/nametoaddr.c:751:6: style: Condition '!init' is always true [knownConditionTrueFalse] libpcap-1.10.5/nametoaddr.c:749:33: note: Assignment 'init=0', assigned value is 0 libpcap-1.10.5/nametoaddr.c:751:6: note: Condition '!init' is always true 2.18.0 libpcap-1.10.5/nametoaddr.c:752:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ETHERS_FILE [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/nametoaddr.c:816:52: style: Parameter 'res' can be declared as pointer to const [constParameterPointer] 2.18.0 libpcap-1.10.5/optimize.c:1595:28: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] 2.18.0 libpcap-1.10.5/optimize.c:1595:45: style: Parameter 'succ' can be declared as pointer to const [constParameterPointer] 2.18.0 libpcap-1.10.5/optimize.c:2149:52: style: Parameter 'root' can be declared as pointer to const [constParameterPointer] 2.18.0 libpcap-1.10.5/optimize.c:2349:13: style: Return value 'x==0' is always false [knownConditionTrueFalse] 2.18.0 libpcap-1.10.5/optimize.c:2434:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/optimize.c:2630:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE_MAX [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/optimize.c:2914:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/optimize.c:2941:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/optimize.c:2959:60: style: Parameter 'fp' can be declared as pointer to const [constParameterPointer] 2.18.0 libpcap-1.10.5/optimize.c:2982:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/optimize.c:455:23: style: Parameter 'opt_state' can be declared as pointer to const [constParameterPointer] 2.18.0 libpcap-1.10.5/optimize.c:504:52: style: Parameter 'root' can be declared as pointer to const [constParameterPointer] 2.18.0 libpcap-1.10.5/optimize.c:537:22: style: Parameter 's' can be declared as pointer to const [constParameterPointer] 2.18.0 libpcap-1.10.5/optimize.c:683:22: style: Parameter 'opt_state' can be declared as pointer to const [constParameterPointer] 2.18.0 libpcap-1.10.5/optimize.c:683:47: style: Parameter 'root' can be declared as pointer to const [constParameterPointer] 2.18.0 libpcap-1.10.5/pcap-airpcap.c:1021:46: style: Variable 'airpcap_device' can be declared as pointer to const [constVariablePointer] 2.18.0 libpcap-1.10.5/pcap-airpcap.c:1022:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AIRPCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-airpcap.c:254:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bpf_insn [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-airpcap.c:310:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AIRPCAP_LT_802_11_PLUS_RADIO [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-airpcap.c:336:29: style: Parameter 'p' can be declared as pointer to const. However it seems that 'airpcap_getnonblock' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libpcap-1.10.5/pcap-airpcap.c:912:22: note: You might need to cast the function pointer here libpcap-1.10.5/pcap-airpcap.c:336:29: note: Parameter 'p' can be declared as pointer to const 2.18.0 libpcap-1.10.5/pcap-airpcap.c:338:23: style: Variable 'pa' can be declared as pointer to const [constVariablePointer] 2.18.0 libpcap-1.10.5/pcap-airpcap.c:381:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-airpcap.c:427:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-airpcap.c:453:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-airpcap.c:465:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MODE_CAPT [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-airpcap.c:480:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-airpcap.c:489:26: style: Parameter 'p' can be declared as pointer to const. However it seems that 'airpcap_getevent' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libpcap-1.10.5/pcap-airpcap.c:920:19: note: You might need to cast the function pointer here libpcap-1.10.5/pcap-airpcap.c:489:26: note: Parameter 'p' can be declared as pointer to const 2.18.0 libpcap-1.10.5/pcap-airpcap.c:491:23: style: Variable 'pa' can be declared as pointer to const [constVariablePointer] 2.18.0 libpcap-1.10.5/pcap-airpcap.c:500:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-airpcap.c:509:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-airpcap.c:517:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-airpcap.c:529:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-airpcap.c:555:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-airpcap.c:563:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-airpcap.c:569:36: style: Parameter 'p' can be declared as pointer to const. However it seems that 'airpcap_get_airpcap_handle' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libpcap-1.10.5/pcap-airpcap.c:927:29: note: You might need to cast the function pointer here libpcap-1.10.5/pcap-airpcap.c:569:36: note: Parameter 'p' can be declared as pointer to const 2.18.0 libpcap-1.10.5/pcap-airpcap.c:571:23: style: Variable 'pa' can be declared as pointer to const [constVariablePointer] 2.18.0 libpcap-1.10.5/pcap-airpcap.c:598:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERROR_BREAK [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-airpcap.c:710:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-airpcap.c:759:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AIRPCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-airpcap.c:940:31: style: Parameter 'p' can be declared as pointer to const. However it seems that 'airpcap_can_set_rfmon' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libpcap-1.10.5/pcap-airpcap.c:1011:24: note: You might need to cast the function pointer here libpcap-1.10.5/pcap-airpcap.c:940:31: note: Parameter 'p' can be declared as pointer to const 2.18.0 libpcap-1.10.5/pcap-airpcap.c:946:45: style: Parameter 'ebuf' can be declared as pointer to const [constParameterPointer] 2.18.0 libpcap-1.10.5/pcap-bpf.c:1137:32: style: Parameter 'p' can be declared as pointer to const. However it seems that 'pcap_can_set_rfmon_bpf' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libpcap-1.10.5/pcap-bpf.c:451:24: note: You might need to cast the function pointer here libpcap-1.10.5/pcap-bpf.c:1137:32: note: Parameter 'p' can be declared as pointer to const 2.18.0 libpcap-1.10.5/pcap-bpf.c:1161:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BIOCGSTATS [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-bpf.c:1161:41: error: Uninitialized variable: s [uninitvar] 2.18.0 libpcap-1.10.5/pcap-bpf.c:1180:19: style: Variable 'pb' can be declared as pointer to const [constVariablePointer] 2.18.0 libpcap-1.10.5/pcap-bpf.c:1183:24: style: Variable 'ep' can be declared as pointer to const [constVariablePointer] 2.18.0 libpcap-1.10.5/pcap-bpf.c:1203:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERROR_BREAK [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-bpf.c:1494:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERROR [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-bpf.c:1856:29: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] 2.18.0 libpcap-1.10.5/pcap-bpf.c:1922:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BIOCVERSION [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-bpf.c:2795:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-bpf.c:3066:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_IF_LOOPBACK [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-bpf.c:3447:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BIOCSETF [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-bpf.c:3676:31: style: Parameter 'p' can be declared as pointer to const. However it seems that 'pcap_set_datalink_bpf' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libpcap-1.10.5/pcap-bpf.c:2772:23: note: You might need to cast the function pointer here libpcap-1.10.5/pcap-bpf.c:3676:31: note: Parameter 'p' can be declared as pointer to const 2.18.0 libpcap-1.10.5/pcap-bpf.c:3691:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_VERSION [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-bpf.c:501:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-bpf.c:753:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERROR_NO_SUCH_DEVICE [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-bpf.c:850:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERROR [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-bt-linux.c:199:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERROR [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-bt-linux.c:345:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERROR_BREAK [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-bt-linux.c:395:30: error: Invalid htonl() argument nr 1. A non-boolean value is required. [invalidFunctionArgBool] 2.18.0 libpcap-1.10.5/pcap-bt-linux.c:409:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-bt-linux.c:418:18: style: Variable 'handlep' can be declared as pointer to const [constVariablePointer] 2.18.0 libpcap-1.10.5/pcap-bt-linux.c:421:25: style: Variable 's' can be declared as pointer to const [constVariablePointer] 2.18.0 libpcap-1.10.5/pcap-bt-linux.c:426:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HCIGETDEVINFO [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-bt-linux.c:84:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-bt-monitor-linux.c:107:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable iov_base [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-bt-monitor-linux.c:166:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-bt-monitor-linux.c:185:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERROR [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-bt-monitor-linux.c:56:6: style: struct member 'pcap_bt_monitor::dummy' is never used. [unusedStructMember] 2.18.0 libpcap-1.10.5/pcap-bt-monitor-linux.c:83:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_IF_WIRELESS [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-common.c:1218:0: error: #error The LINKTYPE_ high matching range does not match the DLT_ matching range [preprocessorErrorDirective] 2.18.0 libpcap-1.10.5/pcap-common.c:1218:2: error: #error The LINKTYPE_ high matching range does not match the DLT_ matching range [preprocessorErrorDirective] 2.18.0 libpcap-1.10.5/pcap-dag.c:1077:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DAG_STREAM_MAX [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-dag.c:1125:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kNullAttributeUuid [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-dag.c:1151:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DAGNAME_BUFSIZE [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-dag.c:1155:8: style: Variable 'description' can be declared as pointer to const [constVariablePointer] 2.18.0 libpcap-1.10.5/pcap-dag.c:1261:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DAGF_NONBLOCK [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-dag.c:1271:19: style: Variable 'pd' can be declared as pointer to const [constVariablePointer] 2.18.0 libpcap-1.10.5/pcap-dag.c:1271:19: style: Variable 'pd' is assigned a value that is never used. [unreadVariable] 2.18.0 libpcap-1.10.5/pcap-dag.c:1279:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-dag.c:1394:8: style: Variable 'index' is assigned a value that is never used. [unreadVariable] 2.18.0 libpcap-1.10.5/pcap-dag.c:242:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-dag.c:341:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DAGF_NONBLOCK [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-dag.c:538:22: style: Condition 'sunatm->vpi==0' is always false [knownConditionTrueFalse] libpcap-1.10.5/pcap-dag.c:537:21: note: Assuming that condition 'sunatm->vpi==0' is not redundant libpcap-1.10.5/pcap-dag.c:538:22: note: Condition 'sunatm->vpi==0' is always false 2.18.0 libpcap-1.10.5/pcap-dag.c:726:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-dag.c:744:8: style: Variable 's' can be declared as pointer to const [constVariablePointer] 2.18.0 libpcap-1.10.5/pcap-dag.c:746:12: style: Variable 'daginf' can be declared as pointer to const [constVariablePointer] 2.18.0 libpcap-1.10.5/pcap-dag.c:755:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-dbus.c:109:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBUS_ERROR_INIT [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-dbus.c:126:20: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'dbus_stats' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libpcap-1.10.5/pcap-dbus.c:233:21: note: You might need to cast the function pointer here libpcap-1.10.5/pcap-dbus.c:126:20: note: Parameter 'handle' can be declared as pointer to const 2.18.0 libpcap-1.10.5/pcap-dbus.c:128:20: style: Variable 'handlep' can be declared as pointer to const [constVariablePointer] 2.18.0 libpcap-1.10.5/pcap-dbus.c:155:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-dbus.c:163:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-dbus.c:185:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBUS_ERROR_INIT [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-dbus.c:333:50: style:inconclusive: Function 'dbus_findalldevs' argument 2 names different: declaration 'errbuf' definition 'err_str'. [funcArgNamesDifferent] libpcap-1.10.5/pcap-dbus.h:2:54: note: Function 'dbus_findalldevs' argument 2 names different: declaration 'errbuf' definition 'err_str'. libpcap-1.10.5/pcap-dbus.c:333:50: note: Function 'dbus_findalldevs' argument 2 names different: declaration 'errbuf' definition 'err_str'. 2.18.0 libpcap-1.10.5/pcap-dbus.c:340:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_IF_CONNECTION_STATUS_NOT_APPLICABLE [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-dbus.c:69:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-dlpi.c:1008:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DL_PROMISCON_REQ [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-dlpi.c:1039:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-dlpi.c:1089:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_IF_LOOPBACK [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-dlpi.c:1182:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-dlpi.c:1468:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DL_BIND_REQ [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-dlpi.c:1485:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DL_BIND_ACK_SIZE [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-dlpi.c:1492:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DL_OK_ACK_SIZE [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-dlpi.c:1501:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DL_INFO_REQ [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-dlpi.c:1510:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DL_INFO_ACK_SIZE [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-dlpi.c:1936:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_VERSION [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-dlpi.c:224:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-dlpi.c:303:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-dlpi.c:420:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_DEV_PREFIX [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-dlpi.c:526:26: style: Variable 'infop' can be declared as pointer to const [constVariablePointer] 2.18.0 libpcap-1.10.5/pcap-dlpi.c:562:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERROR [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-dlpi.c:900:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-dlpi.c:936:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DL_ATTACH_REQ [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-dpdk.c:1000:24: style: Variable 'nb_ports' is assigned a value that is never used. [unreadVariable] 2.18.0 libpcap-1.10.5/pcap-dpdk.c:1009:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-dpdk.c:240:9: style: Variable 'msglen' is assigned a value that is never used. [unreadVariable] 2.18.0 libpcap-1.10.5/pcap-dpdk.c:271:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tv_sec [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-dpdk.c:278:18: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] libpcap-1.10.5/pcap-dpdk.c:401:37: note: Assuming allocation function fails libpcap-1.10.5/pcap-dpdk.c:401:21: note: Assignment 'large_buffer=(u_char*)malloc(caplen*sizeof(u_char))', assigned value is 0 libpcap-1.10.5/pcap-dpdk.c:402:36: note: Calling function 'dpdk_gather_data', 1st argument 'large_buffer' value is 0 libpcap-1.10.5/pcap-dpdk.c:278:18: note: Null pointer addition 2.18.0 libpcap-1.10.5/pcap-dpdk.c:319:12: style: Variable 'nb_rx' is assigned a value that is never used. [unreadVariable] 2.18.0 libpcap-1.10.5/pcap-dpdk.c:324:19: style: Variable 'pkt_len' is assigned a value that is never used. [unreadVariable] 2.18.0 libpcap-1.10.5/pcap-dpdk.c:325:18: style: Variable 'caplen' is assigned a value that is never used. [unreadVariable] 2.18.0 libpcap-1.10.5/pcap-dpdk.c:327:7: style: Variable 'i' is assigned a value that is never used. [unreadVariable] 2.18.0 libpcap-1.10.5/pcap-dpdk.c:328:26: style: Variable 'gather_len' is assigned a value that is never used. [unreadVariable] 2.18.0 libpcap-1.10.5/pcap-dpdk.c:357:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERROR_BREAK [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-dpdk.c:397:17: style: Variable 'gather_len' is assigned a value that is never used. [unreadVariable] 2.18.0 libpcap-1.10.5/pcap-dpdk.c:402:17: style: Variable 'gather_len' is assigned a value that is never used. [unreadVariable] 2.18.0 libpcap-1.10.5/pcap-dpdk.c:430:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-dpdk.c:455:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-dpdk.c:461:36: style: Parameter 'p' can be declared as pointer to const. However it seems that 'pcap_dpdk_stats' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libpcap-1.10.5/pcap-dpdk.c:955:17: note: You might need to cast the function pointer here libpcap-1.10.5/pcap-dpdk.c:461:36: note: Parameter 'p' can be declared as pointer to const 2.18.0 libpcap-1.10.5/pcap-dpdk.c:474:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tv_sec [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-dpdk.c:493:20: style: Variable 'pd' can be declared as pointer to const [constVariablePointer] 2.18.0 libpcap-1.10.5/pcap-dpdk.c:500:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETH_LINK_UP [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-dpdk.c:502:43: style: Parameter 'addrp' can be declared as pointer to const [constParameterPointer] 2.18.0 libpcap-1.10.5/pcap-dpdk.c:599:8: style: Variable 'ptr_dpdk_cfg' can be declared as pointer to const [constVariablePointer] 2.18.0 libpcap-1.10.5/pcap-dpdk.c:619:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RTE_LOG_ERR [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-dpdk.c:756:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERROR [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-dpdk.c:757:19: style: Variable 'nb_ports' is assigned a value that is never used. [unreadVariable] 2.18.0 libpcap-1.10.5/pcap-dpdk.c:764:17: style: Variable 'is_port_up' is assigned a value that is never used. [unreadVariable] 2.18.0 libpcap-1.10.5/pcap-dpdk.c:997:59: style:inconclusive: Function 'pcap_dpdk_findalldevs' argument 2 names different: declaration 'errbuf' definition 'ebuf'. [funcArgNamesDifferent] libpcap-1.10.5/pcap-dpdk.h:28:59: note: Function 'pcap_dpdk_findalldevs' argument 2 names different: declaration 'errbuf' definition 'ebuf'. libpcap-1.10.5/pcap-dpdk.c:997:59: note: Function 'pcap_dpdk_findalldevs' argument 2 names different: declaration 'errbuf' definition 'ebuf'. 2.18.0 libpcap-1.10.5/pcap-haiku.c:141:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_DGRAM [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-haiku.c:155:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ifreq [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-haiku.c:169:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIOCGIFFLAGS [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-haiku.c:181:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IFF_PROMISC [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-haiku.c:216:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-haiku.c:228:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIOCGIFSTATS [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-haiku.c:243:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERROR [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-haiku.c:274:22: style: Variable 'sdl' can be declared as pointer to const [constVariablePointer] 2.18.0 libpcap-1.10.5/pcap-haiku.c:377:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IF_NAMESIZE [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-haiku.c:426:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-haiku.c:448:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERROR [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-haiku.c:503:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_VERSION [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-haiku.c:66:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERROR_BREAK [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-libdlpi.c:107:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLPI_RAW [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-libdlpi.c:273:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLPI_SUCCESS [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-libdlpi.c:322:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_IF_LOOPBACK [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-libdlpi.c:366:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-libdlpi.c:428:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLPI_SUCCESS [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-libdlpi.c:456:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLPI_SUCCESS [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-libdlpi.c:491:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-libdlpi.c:514:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_VERSION [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-libdlpi.c:78:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-linux.c:111:0: error: #error "Libpcap will only work if TPACKET_V2 is supported; you must build for a 2.6.27 or later kernel" [preprocessorErrorDirective] 2.18.0 libpcap-1.10.5/pcap-linux.c:111:2: error: #error "Libpcap will only work if TPACKET_V2 is supported; you must build for a 2.6.27 or later kernel" [preprocessorErrorDirective] 2.18.0 libpcap-1.10.5/pcap-netfilter-linux.c:105:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERROR_BREAK [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-netfilter-linux.c:315:31: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'netfilter_stats_linux' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libpcap-1.10.5/pcap-netfilter-linux.c:601:21: note: You might need to cast the function pointer here libpcap-1.10.5/pcap-netfilter-linux.c:315:31: note: Parameter 'handle' can be declared as pointer to const 2.18.0 libpcap-1.10.5/pcap-netfilter-linux.c:317:25: style: Variable 'handlep' can be declared as pointer to const [constVariablePointer] 2.18.0 libpcap-1.10.5/pcap-netfilter-linux.c:328:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-netfilter-linux.c:346:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nlmsghdr [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-netfilter-linux.c:430:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NFNL_SUBSYS_ULOG [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-netfilter-linux.c:442:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NFULA_CFG_CMD [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-netfilter-linux.c:458:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NFULA_CFG_MODE [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-netfilter-linux.c:474:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NFQA_VERDICT_HDR [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-netfilter-linux.c:483:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NFNL_SUBSYS_QUEUE [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-netfilter-linux.c:496:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NFQA_CFG_CMD [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-netfilter-linux.c:512:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NFQA_CFG_PARAMS [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-netfilter-linux.c:543:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-netfilter-linux.c:773:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-netfilter-linux.c:91:24: style: Variable 'ep' can be declared as pointer to const [constVariablePointer] 2.18.0 libpcap-1.10.5/pcap-netmap.c:117:28: style: Parameter 'p' can be declared as pointer to const. However it seems that 'pcap_netmap_inject' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libpcap-1.10.5/pcap-netmap.c:266:17: note: You might need to cast the function pointer here libpcap-1.10.5/pcap-netmap.c:117:28: note: Parameter 'p' can be declared as pointer to const 2.18.0 libpcap-1.10.5/pcap-netmap.c:127:27: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] 2.18.0 libpcap-1.10.5/pcap-netmap.c:130:18: style: Variable 'd' can be declared as pointer to const [constVariablePointer] 2.18.0 libpcap-1.10.5/pcap-netmap.c:141:2: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] 2.18.0 libpcap-1.10.5/pcap-netmap.c:210:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIOCGIFFLAGS [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-netmap.c:234:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERROR [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-netmap.c:300:41: style: Parameter 'devlistp' can be declared as pointer to const [constParameterPointer] 2.18.0 libpcap-1.10.5/pcap-netmap.c:300:61: style: Parameter 'err_str' can be declared as pointer to const [constParameterPointer] 2.18.0 libpcap-1.10.5/pcap-netmap.c:300:61: style:inconclusive: Function 'pcap_netmap_findalldevs' argument 2 names different: declaration 'errbuf' definition 'err_str'. [funcArgNamesDifferent] libpcap-1.10.5/pcap-netmap.h:2:61: note: Function 'pcap_netmap_findalldevs' argument 2 names different: declaration 'errbuf' definition 'err_str'. libpcap-1.10.5/pcap-netmap.c:300:61: note: Function 'pcap_netmap_findalldevs' argument 2 names different: declaration 'errbuf' definition 'err_str'. 2.18.0 libpcap-1.10.5/pcap-netmap.c:63:27: style: Parameter 'p' can be declared as pointer to const. However it seems that 'pcap_netmap_stats' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libpcap-1.10.5/pcap-netmap.c:272:16: note: You might need to cast the function pointer here libpcap-1.10.5/pcap-netmap.c:63:27: note: Parameter 'p' can be declared as pointer to const 2.18.0 libpcap-1.10.5/pcap-netmap.c:65:22: style: Variable 'pn' can be declared as pointer to const [constVariablePointer] 2.18.0 libpcap-1.10.5/pcap-netmap.c:93:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLIN [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-nit.c:104:29: style: Variable 'ep' can be declared as pointer to const [constVariablePointer] 2.18.0 libpcap-1.10.5/pcap-nit.c:105:27: style: Variable 'nh' can be declared as pointer to const [constVariablePointer] 2.18.0 libpcap-1.10.5/pcap-nit.c:112:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-nit.c:222:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NT_ALLTYPES [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-nit.c:271:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERROR_RFMON_NOTSUP [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-nit.c:393:49: style: Parameter 'flags' can be declared as pointer to const. However it seems that 'get_if_flags' is a callback function, if 'flags' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libpcap-1.10.5/pcap-nit.c:407:6: note: You might need to cast the function pointer here libpcap-1.10.5/pcap-nit.c:393:49: note: Parameter 'flags' can be declared as pointer to const 2.18.0 libpcap-1.10.5/pcap-nit.c:393:66: style: Parameter 'errbuf' can be declared as pointer to const. However it seems that 'get_if_flags' is a callback function, if 'errbuf' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libpcap-1.10.5/pcap-nit.c:407:6: note: You might need to cast the function pointer here libpcap-1.10.5/pcap-nit.c:393:66: note: Parameter 'errbuf' can be declared as pointer to const 2.18.0 libpcap-1.10.5/pcap-nit.c:416:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_VERSION [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-nit.c:75:24: style: Parameter 'p' can be declared as pointer to const. However it seems that 'pcap_stats_nit' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libpcap-1.10.5/pcap-nit.c:361:16: note: You might need to cast the function pointer here libpcap-1.10.5/pcap-nit.c:75:24: note: Parameter 'p' can be declared as pointer to const 2.18.0 libpcap-1.10.5/pcap-nit.c:77:19: style: Variable 'pn' can be declared as pointer to const [constVariablePointer] 2.18.0 libpcap-1.10.5/pcap-null.c:33:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-null.c:38:43: style: Parameter 'devlistp' can be declared as pointer to const [constParameterPointer] 2.18.0 libpcap-1.10.5/pcap-null.c:38:63: style: Parameter 'errbuf' can be declared as pointer to const [constParameterPointer] 2.18.0 libpcap-1.10.5/pcap-null.c:62:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_VERSION [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-pf.c:112:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-pf.c:239:23: style: Parameter 'p' can be declared as pointer to const. However it seems that 'pcap_stats_pf' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libpcap-1.10.5/pcap-pf.c:527:16: note: You might need to cast the function pointer here libpcap-1.10.5/pcap-pf.c:239:23: note: Parameter 'p' can be declared as pointer to const 2.18.0 libpcap-1.10.5/pcap-pf.c:241:18: style: Variable 'pf' can be declared as pointer to const [constVariablePointer] 2.18.0 libpcap-1.10.5/pcap-pf.c:325:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-pf.c:568:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_IF_LOOPBACK [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-pf.c:600:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BIOCVERSION [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-pf.c:600:42: error: Uninitialized variable: bv [uninitvar] 2.18.0 libpcap-1.10.5/pcap-pf.c:679:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_VERSION [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-rdmasniff.c:125:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-rdmasniff.c:194:10: style: Variable 'handle' can be declared as pointer to const [constVariablePointer] 2.18.0 libpcap-1.10.5/pcap-rdmasniff.c:214:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-rdmasniff.c:408:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-rdmasniff.c:445:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-rdmasniff.c:65:25: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'rdmasniff_stats' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libpcap-1.10.5/pcap-rdmasniff.c:322:21: note: You might need to cast the function pointer here libpcap-1.10.5/pcap-rdmasniff.c:65:25: note: Parameter 'handle' can be declared as pointer to const 2.18.0 libpcap-1.10.5/pcap-rdmasniff.c:67:25: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] 2.18.0 libpcap-1.10.5/pcap-rdmasniff.c:94:29: style: Parameter 'handle' can be declared as pointer to const [constParameterPointer] 2.18.0 libpcap-1.10.5/pcap-septel.c:173:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-septel.c:186:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLT_MTP2 [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-septel.c:251:33: style: Parameter 'p' can be declared as pointer to const. However it seems that 'septel_stats' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libpcap-1.10.5/pcap-septel.c:212:22: note: You might need to cast the function pointer here libpcap-1.10.5/pcap-septel.c:251:33: note: Parameter 'p' can be declared as pointer to const 2.18.0 libpcap-1.10.5/pcap-septel.c:252:23: style: Variable 'handlep' can be declared as pointer to const [constVariablePointer] 2.18.0 libpcap-1.10.5/pcap-septel.c:283:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-septel.c:290:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-septel.c:54:9: style: Variable 't' is assigned a value that is never used. [unreadVariable] 2.18.0 libpcap-1.10.5/pcap-sita.c:1079:9: error: There is an unknown macro here somewhere. Configuration is required. If PACKAGE_VERSION is a macro then please configure it. [unknownMacro] 2.18.0 libpcap-1.10.5/pcap-snf.c:121:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_TSTAMP_PRECISION_NANO [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-snf.c:132:24: warning: Either the condition '!p' is redundant or there is possible null pointer dereference: p. [nullPointerRedundantCheck] libpcap-1.10.5/pcap-snf.c:138:6: note: Assuming that condition '!p' is not redundant libpcap-1.10.5/pcap-snf.c:132:24: note: Null pointer dereference 2.18.0 libpcap-1.10.5/pcap-snf.c:134:6: style: Unused variable: i [unusedVariable] 2.18.0 libpcap-1.10.5/pcap-snf.c:134:9: style: Unused variable: flags [unusedVariable] 2.18.0 libpcap-1.10.5/pcap-snf.c:136:6: style: Unused variable: nonblock [unusedVariable] 2.18.0 libpcap-1.10.5/pcap-snf.c:174:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EBUSY [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-snf.c:203:15: style: The statement 'if (timeout!=0) timeout=0' is logically equivalent to 'timeout=0'. [duplicateConditionalAssign] libpcap-1.10.5/pcap-snf.c:204:12: note: Assignment 'timeout=0' libpcap-1.10.5/pcap-snf.c:203:15: note: Condition 'timeout!=0' is redundant 2.18.0 libpcap-1.10.5/pcap-snf.c:235:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-snf.c:250:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-snf.c:345:32: style: Variable 'ifa' can be declared as pointer to const [constVariablePointer] 2.18.0 libpcap-1.10.5/pcap-snf.c:348:6: style: Unused variable: ret [unusedVariable] 2.18.0 libpcap-1.10.5/pcap-snf.c:351:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SNF_VERSION_API [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-snf.c:515:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SNF_VERSION_API [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-snf.c:56:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-snf.c:81:25: style: Parameter 'p' can be declared as pointer to const. However it seems that 'snf_getnonblock' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libpcap-1.10.5/pcap-snf.c:327:22: note: You might need to cast the function pointer here libpcap-1.10.5/pcap-snf.c:81:25: note: Parameter 'p' can be declared as pointer to const 2.18.0 libpcap-1.10.5/pcap-snf.c:83:19: style: Variable 'ps' can be declared as pointer to const [constVariablePointer] 2.18.0 libpcap-1.10.5/pcap-snit.c:117:29: style: Variable 'ep' can be declared as pointer to const [constVariablePointer] 2.18.0 libpcap-1.10.5/pcap-snit.c:118:30: style: Variable 'hdrp' can be declared as pointer to const [constVariablePointer] 2.18.0 libpcap-1.10.5/pcap-snit.c:119:30: style: Variable 'ntp' can be declared as pointer to const [constVariablePointer] 2.18.0 libpcap-1.10.5/pcap-snit.c:120:29: style: Variable 'nlp' can be declared as pointer to const [constVariablePointer] 2.18.0 libpcap-1.10.5/pcap-snit.c:121:31: style: Variable 'ndp' can be declared as pointer to const [constVariablePointer] 2.18.0 libpcap-1.10.5/pcap-snit.c:128:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-snit.c:220:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sa [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-snit.c:246:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NIOCSCHUNK [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-snit.c:297:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERROR_RFMON_NOTSUP [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-snit.c:487:49: style: Parameter 'flags' can be declared as pointer to const. However it seems that 'get_if_flags' is a callback function, if 'flags' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libpcap-1.10.5/pcap-snit.c:501:6: note: You might need to cast the function pointer here libpcap-1.10.5/pcap-snit.c:487:49: note: Parameter 'flags' can be declared as pointer to const 2.18.0 libpcap-1.10.5/pcap-snit.c:487:66: style: Parameter 'errbuf' can be declared as pointer to const. However it seems that 'get_if_flags' is a callback function, if 'errbuf' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libpcap-1.10.5/pcap-snit.c:501:6: note: You might need to cast the function pointer here libpcap-1.10.5/pcap-snit.c:487:66: note: Parameter 'errbuf' can be declared as pointer to const 2.18.0 libpcap-1.10.5/pcap-snit.c:510:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_VERSION [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-snit.c:87:25: style: Parameter 'p' can be declared as pointer to const. However it seems that 'pcap_stats_snit' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libpcap-1.10.5/pcap-snit.c:455:16: note: You might need to cast the function pointer here libpcap-1.10.5/pcap-snit.c:87:25: note: Parameter 'p' can be declared as pointer to const 2.18.0 libpcap-1.10.5/pcap-snit.c:89:20: style: Variable 'psn' can be declared as pointer to const [constVariablePointer] 2.18.0 libpcap-1.10.5/pcap-snoop.c:167:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIOCRAWSTATS [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-snoop.c:209:15: style: Unused variable: ifr [unusedVariable] 2.18.0 libpcap-1.10.5/pcap-snoop.c:219:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_RAW [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-snoop.c:441:49: style: Parameter 'flags' can be declared as pointer to const. However it seems that 'get_if_flags' is a callback function, if 'flags' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libpcap-1.10.5/pcap-snoop.c:455:6: note: You might need to cast the function pointer here libpcap-1.10.5/pcap-snoop.c:441:49: note: Parameter 'flags' can be declared as pointer to const 2.18.0 libpcap-1.10.5/pcap-snoop.c:441:66: style: Parameter 'errbuf' can be declared as pointer to const. However it seems that 'get_if_flags' is a callback function, if 'errbuf' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libpcap-1.10.5/pcap-snoop.c:455:6: note: You might need to cast the function pointer here libpcap-1.10.5/pcap-snoop.c:441:66: note: Parameter 'errbuf' can be declared as pointer to const 2.18.0 libpcap-1.10.5/pcap-snoop.c:464:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_VERSION [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-snoop.c:88:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-usb-linux-common.h:69:65: style: Parameter 'phdr' can be declared as pointer to const [constParameterPointer] 2.18.0 libpcap-1.10.5/pcap-usb-linux.c:159:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_IF_CONNECTION_STATUS_NOT_APPLICABLE [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-usb-linux.c:184:8: style: Variable 'name' can be declared as pointer to const [constVariablePointer] 2.18.0 libpcap-1.10.5/pcap-usb-linux.c:480:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLT_USB_LINUX [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-usb-linux.c:621:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-usb-linux.c:640:25: style: Variable 'handlep' can be declared as pointer to const [constVariablePointer] 2.18.0 libpcap-1.10.5/pcap-usb-linux.c:683:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-usb-linux.c:813:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/pcap-util.c:192:21: style: Variable 'shdr' can be declared as pointer to const [constVariablePointer] 2.18.0 libpcap-1.10.5/pcap-util.c:217:22: style: Variable 'shdr' can be declared as pointer to const [constVariablePointer] 2.18.0 libpcap-1.10.5/pcap-util.c:397:15: style: Variable 'nfhdr' can be declared as pointer to const [constVariablePointer] 2.18.0 libpcap-1.10.5/pcap-util.c:450:55: style: Parameter 'hdr' can be declared as pointer to const [constParameterPointer] 2.18.0 libpcap-1.10.5/pcap-util.c:486:50: style: Parameter 'hdr' can be declared as pointer to const [constParameterPointer] 2.18.0 libpcap-1.10.5/pcap-util.c:513:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLT_USB_LINUX_MMAPPED [valueFlowBailoutIncompleteVar] head libpcap-1.10.5/pcap/funcattrs.h:262:0: error: failed to evaluate #if condition, undefined function-like macro invocation: __has_attribute( ... ) [preprocessorErrorDirective] head libpcap-1.10.5/pcap/funcattrs.h:262:2: error: failed to evaluate #if condition, undefined function-like macro invocation: __has_attribute( ... ) [preprocessorErrorDirective] 2.18.0 libpcap-1.10.5/rpcap-protocol.c:89:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/savefile.c:107:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/savefile.c:113:27: style: Parameter 'p' can be declared as pointer to const. However it seems that 'sf_cant_set_rfmon' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libpcap-1.10.5/savefile.c:562:24: note: You might need to cast the function pointer here libpcap-1.10.5/savefile.c:113:27: note: Parameter 'p' can be declared as pointer to const 2.18.0 libpcap-1.10.5/savefile.c:125:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/savefile.c:232:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/savefile.c:251:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/savefile.c:354:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/savefile.c:404:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_TSTAMP_PRECISION_MICRO [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/savefile.c:497:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/savefile.c:617:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_TSTAMP_PRECISION_MICRO [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/savefile.c:629:19: style: Variable 'fcode' can be declared as pointer to const [constVariablePointer] 2.18.0 libpcap-1.10.5/savefile.c:87:24: style: Parameter 'p' can be declared as pointer to const. However it seems that 'sf_getnonblock' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libpcap-1.10.5/savefile.c:568:22: note: You might need to cast the function pointer here libpcap-1.10.5/savefile.c:87:24: note: Parameter 'p' can be declared as pointer to const 2.18.0 libpcap-1.10.5/sf-pcap.c:1015:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/sf-pcap.c:1256:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/sf-pcap.c:263:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/sf-pcap.c:504:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/sf-pcap.c:518:63: style:inconclusive: Function 'pcap_next_packet' argument 3 names different: declaration 'datap' definition 'data'. [funcArgNamesDifferent] libpcap-1.10.5/sf-pcap.c:177:74: note: Function 'pcap_next_packet' argument 3 names different: declaration 'datap' definition 'data'. libpcap-1.10.5/sf-pcap.c:518:63: note: Function 'pcap_next_packet' argument 3 names different: declaration 'datap' definition 'data'. 2.18.0 libpcap-1.10.5/sf-pcap.c:520:18: style: Variable 'ps' can be declared as pointer to const [constVariablePointer] 2.18.0 libpcap-1.10.5/sf-pcap.c:541:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/sf-pcap.c:796:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_TSTAMP_PRECISION_NANO [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/sf-pcap.c:892:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/sf-pcap.c:913:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/sf-pcap.c:995:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/sf-pcapng.c:1105:32: style: Variable 'epbp' can be declared as pointer to const [constVariablePointer] 2.18.0 libpcap-1.10.5/sf-pcapng.c:1106:30: style: Variable 'spbp' can be declared as pointer to const [constVariablePointer] 2.18.0 libpcap-1.10.5/sf-pcapng.c:1107:23: style: Variable 'pbp' can be declared as pointer to const [constVariablePointer] 2.18.0 libpcap-1.10.5/sf-pcapng.c:116:11: style: struct member 'interface_description_block::reserved' is never used. [unusedStructMember] 2.18.0 libpcap-1.10.5/sf-pcapng.c:1251:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/sf-pcapng.c:169:11: style: struct member 'packet_block::drops_count' is never used. [unusedStructMember] 2.18.0 libpcap-1.10.5/sf-pcapng.c:269:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/sf-pcapng.c:281:21: style: Variable 'ps' can be declared as pointer to const [constVariablePointer] 2.18.0 libpcap-1.10.5/sf-pcapng.c:305:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/sf-pcapng.c:398:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/sf-pcapng.c:414:36: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] 2.18.0 libpcap-1.10.5/sf-pcapng.c:439:27: style: Parameter 'opthdr' can be declared as pointer to const [constParameterPointer] 2.18.0 libpcap-1.10.5/sf-pcapng.c:464:8: style: Variable 'optvalue' can be declared as pointer to const [constVariablePointer] 2.18.0 libpcap-1.10.5/sf-pcapng.c:499:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/sf-pcapng.c:591:62: style: Parameter 'idbp' can be declared as pointer to const [constParameterPointer] 2.18.0 libpcap-1.10.5/sf-pcapng.c:649:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/sf-pcapng.c:865:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/sf-pcapng.c:92:11: style: struct member 'section_header_block::section_length' is never used. [unusedStructMember] 2.18.0 libpcap-1.10.5/sockutils.c:1079:47: style:inconclusive: Function 'sock_initaddress' argument 1 names different: declaration 'address' definition 'host'. [funcArgNamesDifferent] libpcap-1.10.5/sockutils.h:141:47: note: Function 'sock_initaddress' argument 1 names different: declaration 'address' definition 'host'. libpcap-1.10.5/sockutils.c:1079:47: note: Function 'sock_initaddress' argument 1 names different: declaration 'address' definition 'host'. 2.18.0 libpcap-1.10.5/sockutils.c:1080:22: style: Parameter 'hints' can be declared as pointer to const [constParameterPointer] 2.18.0 libpcap-1.10.5/sockutils.c:1160:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PF_INET [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/sockutils.c:1221:4: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] 2.18.0 libpcap-1.10.5/sockutils.c:1275:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/sockutils.c:1416:9: style:inconclusive: Function 'sock_recv' argument 5 names different: declaration 'receiveall' definition 'flags'. [funcArgNamesDifferent] libpcap-1.10.5/sockutils.h:144:9: note: Function 'sock_recv' argument 5 names different: declaration 'receiveall' definition 'flags'. libpcap-1.10.5/sockutils.c:1416:9: note: Function 'sock_recv' argument 5 names different: declaration 'receiveall' definition 'flags'. 2.18.0 libpcap-1.10.5/sockutils.c:1431:4: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] 2.18.0 libpcap-1.10.5/sockutils.c:1439:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_PEEK [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/sockutils.c:1441:7: style: Redundant initialization for 'bufp'. The initialized value is overwritten before it is read. [redundantInitialization] libpcap-1.10.5/sockutils.c:1419:13: note: bufp is initialized libpcap-1.10.5/sockutils.c:1441:7: note: bufp is overwritten 2.18.0 libpcap-1.10.5/sockutils.c:149:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/sockutils.c:1539:4: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] 2.18.0 libpcap-1.10.5/sockutils.c:1613:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/sockutils.c:1739:9: style: Variable 'token' can be declared as pointer to const [constVariablePointer] 2.18.0 libpcap-1.10.5/sockutils.c:1769:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PF_UNSPEC [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/sockutils.c:1865:43: style: Parameter 'first' can be declared as pointer to const [constParameterPointer] 2.18.0 libpcap-1.10.5/sockutils.c:1865:75: style: Parameter 'second' can be declared as pointer to const [constParameterPointer] 2.18.0 libpcap-1.10.5/sockutils.c:1869:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/sockutils.c:1936:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_storage [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/sockutils.c:2009:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_storage [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/sockutils.c:2101:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PF_INET [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/sockutils.c:343:21: style: Parameter 'errbuf' can be declared as pointer to const [constParameterPointer] 2.18.0 libpcap-1.10.5/sockutils.c:378:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PF_INET [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/sockutils.c:380:23: style: Variable 'saddr4' can be declared as pointer to const [constVariablePointer] 2.18.0 libpcap-1.10.5/sockutils.c:583:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_STREAM [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/sockutils.c:878:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHUT_WR [valueFlowBailoutIncompleteVar] 2.18.0 libpcap-1.10.5/sockutils.c:909:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] head libpcap-1.10.5/varattrs.h:45:0: error: failed to evaluate #if condition, undefined function-like macro invocation: __has_attribute( ... ) [preprocessorErrorDirective] head libpcap-1.10.5/varattrs.h:45:2: error: failed to evaluate #if condition, undefined function-like macro invocation: __has_attribute( ... ) [preprocessorErrorDirective] DONE