2025-11-07 06:13 ftp://ftp.de.debian.org/debian/pool/main/n/nmap/nmap_7.98+dfsg.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --library=openssl --library=zlib --library=lua --library=bsd --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j4 platform: Linux-6.12.48+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: 2c5b872 (2025-11-06 13:42:16 +0200) count: 3900 3861 elapsed-time: 20.5 22.9 head-timing-info: old-timing-info: head results: nmap-7.98/MACLookup.cc:187:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/MACLookup.cc:218:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/NmapOps.h:85:7: style:inconclusive: Technically the member function 'NmapOps::af' can be const. [functionConst] nmap-7.98/NmapOps.h:98:25: style:inconclusive: Technically the member function 'NmapOps::getStartTime' can be const. [functionConst] nmap-7.98/NmapOps.h:127:8: style:inconclusive: Technically the member function 'NmapOps::packetTrace' can be const. [functionConst] nmap-7.98/NmapOps.h:136:8: style:inconclusive: Technically the member function 'NmapOps::openOnly' can be const. [functionConst] nmap-7.98/NmapOps.h:168:7: style:inconclusive: Technically the member function 'NmapOps::maxOSTries' can be const. [functionConst] nmap-7.98/NmapOps.h:175:7: style:inconclusive: Technically the member function 'NmapOps::maxRttTimeout' can be const. [functionConst] nmap-7.98/NmapOps.h:176:7: style:inconclusive: Technically the member function 'NmapOps::minRttTimeout' can be const. [functionConst] nmap-7.98/NmapOps.h:177:7: style:inconclusive: Technically the member function 'NmapOps::initialRttTimeout' can be const. [functionConst] nmap-7.98/NmapOps.h:182:16: style:inconclusive: Technically the member function 'NmapOps::getMaxRetransmissions' can be const. [functionConst] nmap-7.98/NmapOps.h:185:7: style:inconclusive: Technically the member function 'NmapOps::minHostGroupSz' can be const. [functionConst] nmap-7.98/NmapOps.h:186:7: style:inconclusive: Technically the member function 'NmapOps::maxHostGroupSz' can be const. [functionConst] nmap-7.98/NmapOps.h:189:16: style:inconclusive: Technically the member function 'NmapOps::maxTCPScanDelay' can be const. [functionConst] nmap-7.98/NmapOps.h:190:16: style:inconclusive: Technically the member function 'NmapOps::maxUDPScanDelay' can be const. [functionConst] nmap-7.98/NmapOps.h:191:16: style:inconclusive: Technically the member function 'NmapOps::maxSCTPScanDelay' can be const. [functionConst] nmap-7.98/NmapOps.h:209:13: style:inconclusive: Technically the member function 'NmapOps::spoofMACAddress' can be const. [functionConst] nmap-7.98/MACLookup.cc:191:15: warning: Either the condition '!prefix' is redundant or there is possible null pointer dereference: prefix. [nullPointerRedundantCheck] nmap-7.98/MACLookup.cc:187:7: note: Assuming that condition '!prefix' is not redundant nmap-7.98/MACLookup.cc:191:15: note: Null pointer dereference nmap-7.98/MACLookup.cc:191:40: warning: Either the condition '!prefix' is redundant or there is possible null pointer dereference: prefix. [nullPointerRedundantCheck] nmap-7.98/MACLookup.cc:187:7: note: Assuming that condition '!prefix' is not redundant nmap-7.98/MACLookup.cc:191:40: note: Null pointer dereference nmap-7.98/MACLookup.cc:191:65: warning: Either the condition '!prefix' is redundant or there is possible null pointer dereference: prefix. [nullPointerRedundantCheck] nmap-7.98/MACLookup.cc:187:7: note: Assuming that condition '!prefix' is not redundant nmap-7.98/MACLookup.cc:191:65: note: Null pointer dereference nmap-7.98/MACLookup.cc:191:90: warning: Either the condition '!prefix' is redundant or there is possible null pointer dereference: prefix. [nullPointerRedundantCheck] nmap-7.98/MACLookup.cc:187:7: note: Assuming that condition '!prefix' is not redundant nmap-7.98/MACLookup.cc:191:90: note: Null pointer dereference nmap-7.98/MACLookup.cc:191:109: warning: Either the condition '!prefix' is redundant or there is possible null pointer dereference: prefix. [nullPointerRedundantCheck] nmap-7.98/MACLookup.cc:187:7: note: Assuming that condition '!prefix' is not redundant nmap-7.98/MACLookup.cc:191:109: note: Null pointer dereference nmap-7.98/output.h:210:43: performance: Function parameter 's' should be passed by const reference. [passedByValue] nmap-7.98/MACLookup.cc:222:51: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/libnetutil/PacketElement.h:253:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] nmap-7.98/libnetutil/PacketElement.h:257:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] nmap-7.98/FingerPrintResults.cc:70:21: warning: Member variable 'FingerPrintResults::matches' is not initialized in the constructor. [uninitMemberVar] nmap-7.98/FingerPrintResults.cc:70:21: warning: Member variable 'FingerPrintResults::OSR' is not initialized in the constructor. [uninitMemberVar] nmap-7.98/FPEngine.h:171:8: style:inconclusive: Technically the member function 'FPNetworkControl::l2_frames' can be const. [functionConst] nmap-7.98/FingerPrintResults.cc:288:26: style:inconclusive: Technically the member function 'FingerPrintResults::classAlreadyExistsInResults' can be const. [functionConst] nmap-7.98/FingerPrintResults.h:142:8: note: Technically the member function 'FingerPrintResults::classAlreadyExistsInResults' can be const. nmap-7.98/FingerPrintResults.cc:288:26: note: Technically the member function 'FingerPrintResults::classAlreadyExistsInResults' can be const. nmap-7.98/osscan.h:202:7: warning: Struct 'FingerTest' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] nmap-7.98/osscan.h:204:71: warning: Value of pointer 'results', which points to allocated memory, is copied in copy constructor instead of allocating new memory. [copyCtorPointerCopying] nmap-7.98/FingerPrintResults.cc:104:8: warning: Class 'FingerPrintResultsIPv4' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] nmap-7.98/FingerPrintResults.cc:104:8: warning: Class 'FingerPrintResultsIPv4' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] nmap-7.98/FPEngine.h:217:8: warning: The class 'FPEngine6' defines member function with name 'reset' also defined in its parent class 'FPEngine'. [duplInheritedMember] nmap-7.98/FPEngine.h:197:8: note: Parent function 'FPEngine::reset' nmap-7.98/FPEngine.h:217:8: note: Derived function 'FPEngine6::reset' nmap-7.98/osscan.h:134:3: style: Struct 'Attr' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] nmap-7.98/charpool.h:85:5: style: Class 'CharPool' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] nmap-7.98/osscan.h:105:3: style: Struct 'ShortStr < 5 >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] nmap-7.98/libnetutil/ARPHeader.h:173:10: style: The destructor '~ARPHeader' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/libnetutil/PacketElement.h:116:14: note: Virtual destructor in base class nmap-7.98/libnetutil/ARPHeader.h:173:10: note: Destructor in derived class nmap-7.98/libnetutil/ARPHeader.h:175:13: style: The function 'getBufferPointer' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/libnetutil/PacketElement.h:122:18: note: Virtual function in base class nmap-7.98/libnetutil/ARPHeader.h:175:13: note: Function in derived class nmap-7.98/libnetutil/ARPHeader.h:177:13: style: The function 'protocol_id' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/libnetutil/PacketElement.h:266:17: note: Virtual function in base class nmap-7.98/libnetutil/ARPHeader.h:177:13: note: Function in derived class nmap-7.98/libnetutil/ARPHeader.h:179:13: style: The function 'print' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/libnetutil/PacketElement.h:246:17: note: Virtual function in base class nmap-7.98/libnetutil/ARPHeader.h:179:13: note: Function in derived class nmap-7.98/libnetutil/EthernetHeader.h:115:10: style: The destructor '~EthernetHeader' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/libnetutil/PacketElement.h:116:14: note: Virtual destructor in base class nmap-7.98/libnetutil/EthernetHeader.h:115:10: note: Destructor in derived class nmap-7.98/libnetutil/EthernetHeader.h:117:13: style: The function 'getBufferPointer' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/libnetutil/PacketElement.h:122:18: note: Virtual function in base class nmap-7.98/libnetutil/EthernetHeader.h:117:13: note: Function in derived class nmap-7.98/libnetutil/EthernetHeader.h:119:13: style: The function 'protocol_id' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/libnetutil/PacketElement.h:266:17: note: Virtual function in base class nmap-7.98/libnetutil/EthernetHeader.h:119:13: note: Function in derived class nmap-7.98/libnetutil/EthernetHeader.h:121:13: style: The function 'print' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/libnetutil/PacketElement.h:246:17: note: Virtual function in base class nmap-7.98/libnetutil/EthernetHeader.h:121:13: note: Function in derived class nmap-7.98/libnetutil/ICMPv4Header.h:439:10: style: The destructor '~ICMPv4Header' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/libnetutil/PacketElement.h:116:14: note: Virtual destructor in base class nmap-7.98/libnetutil/ICMPv4Header.h:439:10: note: Destructor in derived class nmap-7.98/libnetutil/ICMPv4Header.h:441:13: style: The function 'getBufferPointer' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/libnetutil/PacketElement.h:122:18: note: Virtual function in base class nmap-7.98/libnetutil/ICMPv4Header.h:441:13: note: Function in derived class nmap-7.98/libnetutil/ICMPv4Header.h:443:13: style: The function 'protocol_id' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/libnetutil/PacketElement.h:266:17: note: Virtual function in base class nmap-7.98/libnetutil/ICMPv4Header.h:443:13: note: Function in derived class nmap-7.98/libnetutil/ICMPv4Header.h:445:13: style: The function 'print' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/libnetutil/PacketElement.h:246:17: note: Virtual function in base class nmap-7.98/libnetutil/ICMPv4Header.h:445:13: note: Function in derived class nmap-7.98/libnetutil/ICMPv4Header.h:448:13: style: The function 'setType' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/libnetutil/ICMPHeader.h:75:17: note: Virtual function in base class nmap-7.98/libnetutil/ICMPv4Header.h:448:13: note: Function in derived class nmap-7.98/libnetutil/ICMPv4Header.h:449:12: style: The function 'getType' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/libnetutil/ICMPHeader.h:73:16: note: Virtual function in base class nmap-7.98/libnetutil/ICMPv4Header.h:449:12: note: Function in derived class nmap-7.98/libnetutil/ICMPv4Header.h:454:13: style: The function 'setCode' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/libnetutil/ICMPHeader.h:79:17: note: Virtual function in base class nmap-7.98/libnetutil/ICMPv4Header.h:454:13: note: Function in derived class nmap-7.98/libnetutil/ICMPv4Header.h:455:12: style: The function 'getCode' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/libnetutil/ICMPHeader.h:77:16: note: Virtual function in base class nmap-7.98/libnetutil/ICMPv4Header.h:455:12: note: Function in derived class nmap-7.98/libnetutil/ICMPv4Header.h:526:14: style: The function 'isError' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/libnetutil/ICMPHeader.h:81:18: note: Virtual function in base class nmap-7.98/libnetutil/ICMPv4Header.h:526:14: note: Function in derived class nmap-7.98/libnetutil/ICMPv6Header.h:565:10: style: The destructor '~ICMPv6Header' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/libnetutil/PacketElement.h:116:14: note: Virtual destructor in base class nmap-7.98/libnetutil/ICMPv6Header.h:565:10: note: Destructor in derived class nmap-7.98/libnetutil/ICMPv6Header.h:567:13: style: The function 'getBufferPointer' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/libnetutil/PacketElement.h:122:18: note: Virtual function in base class nmap-7.98/libnetutil/ICMPv6Header.h:567:13: note: Function in derived class nmap-7.98/libnetutil/ICMPv6Header.h:569:13: style: The function 'protocol_id' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/libnetutil/PacketElement.h:266:17: note: Virtual function in base class nmap-7.98/libnetutil/ICMPv6Header.h:569:13: note: Function in derived class nmap-7.98/libnetutil/ICMPv6Header.h:571:13: style: The function 'print' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/libnetutil/PacketElement.h:246:17: note: Virtual function in base class nmap-7.98/libnetutil/ICMPv6Header.h:571:13: note: Function in derived class nmap-7.98/libnetutil/ICMPv6Header.h:574:13: style: The function 'setType' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/libnetutil/ICMPHeader.h:75:17: note: Virtual function in base class nmap-7.98/libnetutil/ICMPv6Header.h:574:13: note: Function in derived class nmap-7.98/libnetutil/ICMPv6Header.h:575:12: style: The function 'getType' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/libnetutil/ICMPHeader.h:73:16: note: Virtual function in base class nmap-7.98/libnetutil/ICMPv6Header.h:575:12: note: Function in derived class nmap-7.98/libnetutil/ICMPv6Header.h:580:13: style: The function 'setCode' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/libnetutil/ICMPHeader.h:79:17: note: Virtual function in base class nmap-7.98/libnetutil/ICMPv6Header.h:580:13: note: Function in derived class nmap-7.98/libnetutil/ICMPv6Header.h:581:12: style: The function 'getCode' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/libnetutil/ICMPHeader.h:77:16: note: Virtual function in base class nmap-7.98/libnetutil/ICMPv6Header.h:581:12: note: Function in derived class nmap-7.98/libnetutil/ICMPv6Header.h:665:14: style: The function 'isError' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/libnetutil/ICMPHeader.h:81:18: note: Virtual function in base class nmap-7.98/libnetutil/ICMPv6Header.h:665:14: note: Function in derived class nmap-7.98/libnetutil/ICMPv6Option.h:198:10: style: The destructor '~ICMPv6Option' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/libnetutil/PacketElement.h:116:14: note: Virtual destructor in base class nmap-7.98/libnetutil/ICMPv6Option.h:198:10: note: Destructor in derived class nmap-7.98/libnetutil/ICMPv6Option.h:200:13: style: The function 'getBufferPointer' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/libnetutil/PacketElement.h:122:18: note: Virtual function in base class nmap-7.98/libnetutil/ICMPv6Option.h:200:13: note: Function in derived class nmap-7.98/libnetutil/ICMPv6Option.h:202:13: style: The function 'protocol_id' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/libnetutil/PacketElement.h:266:17: note: Virtual function in base class nmap-7.98/libnetutil/ICMPv6Option.h:202:13: note: Function in derived class nmap-7.98/libnetutil/ICMPv6RRBody.h:194:10: style: The destructor '~ICMPv6RRBody' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/libnetutil/PacketElement.h:116:14: note: Virtual destructor in base class nmap-7.98/libnetutil/ICMPv6RRBody.h:194:10: note: Destructor in derived class nmap-7.98/libnetutil/ICMPv6RRBody.h:196:13: style: The function 'getBufferPointer' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/libnetutil/PacketElement.h:122:18: note: Virtual function in base class nmap-7.98/libnetutil/ICMPv6RRBody.h:196:13: note: Function in derived class nmap-7.98/libnetutil/IPv4Header.h:131:10: style: The destructor '~IPv4Header' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/libnetutil/PacketElement.h:116:14: note: Virtual destructor in base class nmap-7.98/libnetutil/IPv4Header.h:131:10: note: Destructor in derived class nmap-7.98/libnetutil/IPv4Header.h:133:13: style: The function 'getBufferPointer' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/libnetutil/PacketElement.h:122:18: note: Virtual function in base class nmap-7.98/libnetutil/IPv4Header.h:133:13: note: Function in derived class nmap-7.98/libnetutil/IPv4Header.h:135:13: style: The function 'protocol_id' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/libnetutil/PacketElement.h:266:17: note: Virtual function in base class nmap-7.98/libnetutil/IPv4Header.h:135:13: note: Function in derived class nmap-7.98/libnetutil/IPv4Header.h:137:13: style: The function 'print' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/libnetutil/PacketElement.h:246:17: note: Virtual function in base class nmap-7.98/libnetutil/IPv4Header.h:137:13: note: Function in derived class nmap-7.98/libnetutil/IPv4Header.h:187:13: style: The function 'setNextHeader' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/libnetutil/NetworkLayerElement.h:84:17: note: Virtual function in base class nmap-7.98/libnetutil/IPv4Header.h:187:13: note: Function in derived class nmap-7.98/libnetutil/IPv4Header.h:188:12: style: The function 'getNextHeader' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/libnetutil/NetworkLayerElement.h:88:16: note: Virtual function in base class nmap-7.98/libnetutil/IPv4Header.h:188:12: note: Function in derived class nmap-7.98/libnetutil/IPv4Header.h:199:19: style: The function 'getDestinationAddress' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/libnetutil/NetworkLayerElement.h:80:23: note: Virtual function in base class nmap-7.98/libnetutil/IPv4Header.h:199:19: note: Function in derived class nmap-7.98/libnetutil/IPv4Header.h:206:19: style: The function 'getSourceAddress' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/libnetutil/NetworkLayerElement.h:76:23: note: Virtual function in base class nmap-7.98/libnetutil/IPv4Header.h:206:19: note: Function in derived class nmap-7.98/libnetutil/IPv4Header.h:209:13: style: The function 'getAddressLength' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/libnetutil/NetworkLayerElement.h:72:17: note: Virtual function in base class nmap-7.98/libnetutil/IPv4Header.h:209:13: note: Function in derived class nmap-7.98/libnetutil/IPv6Header.h:123:10: style: The destructor '~IPv6Header' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/libnetutil/PacketElement.h:116:14: note: Virtual destructor in base class nmap-7.98/libnetutil/IPv6Header.h:123:10: note: Destructor in derived class nmap-7.98/libnetutil/IPv6Header.h:125:13: style: The function 'getBufferPointer' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/libnetutil/PacketElement.h:122:18: note: Virtual function in base class nmap-7.98/libnetutil/IPv6Header.h:125:13: note: Function in derived class nmap-7.98/libnetutil/IPv6Header.h:127:13: style: The function 'protocol_id' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/libnetutil/PacketElement.h:266:17: note: Virtual function in base class nmap-7.98/libnetutil/IPv6Header.h:127:13: note: Function in derived class nmap-7.98/libnetutil/IPv6Header.h:129:13: style: The function 'print' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/libnetutil/PacketElement.h:246:17: note: Virtual function in base class nmap-7.98/libnetutil/IPv6Header.h:129:13: note: Function in derived class nmap-7.98/libnetutil/IPv6Header.h:150:13: style: The function 'setNextHeader' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/libnetutil/NetworkLayerElement.h:84:17: note: Virtual function in base class nmap-7.98/libnetutil/IPv6Header.h:150:13: note: Function in derived class nmap-7.98/libnetutil/IPv6Header.h:152:12: style: The function 'getNextHeader' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/libnetutil/NetworkLayerElement.h:88:16: note: Virtual function in base class nmap-7.98/libnetutil/IPv6Header.h:152:12: note: Function in derived class nmap-7.98/libnetutil/IPv6Header.h:161:19: style: The function 'getSourceAddress' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/libnetutil/NetworkLayerElement.h:76:23: note: Virtual function in base class nmap-7.98/libnetutil/IPv6Header.h:161:19: note: Function in derived class nmap-7.98/libnetutil/IPv6Header.h:167:19: style: The function 'getDestinationAddress' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/libnetutil/NetworkLayerElement.h:80:23: note: Virtual function in base class nmap-7.98/libnetutil/IPv6Header.h:167:19: note: Function in derived class nmap-7.98/libnetutil/IPv6Header.h:170:13: style: The function 'getAddressLength' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/libnetutil/NetworkLayerElement.h:72:17: note: Virtual function in base class nmap-7.98/libnetutil/IPv6Header.h:170:13: note: Function in derived class nmap-7.98/libnetutil/RawData.h:77:10: style: The destructor '~RawData' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/libnetutil/PacketElement.h:116:14: note: Virtual destructor in base class nmap-7.98/libnetutil/RawData.h:77:10: note: Destructor in derived class nmap-7.98/libnetutil/RawData.h:79:13: style: The function 'getBufferPointer' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/libnetutil/PacketElement.h:122:18: note: Virtual function in base class nmap-7.98/libnetutil/RawData.h:79:13: note: Function in derived class nmap-7.98/libnetutil/RawData.h:81:13: style: The function 'protocol_id' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/libnetutil/PacketElement.h:266:17: note: Virtual function in base class nmap-7.98/libnetutil/RawData.h:81:13: note: Function in derived class nmap-7.98/libnetutil/RawData.h:83:13: style: The function 'print' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/libnetutil/PacketElement.h:246:17: note: Virtual function in base class nmap-7.98/libnetutil/RawData.h:83:13: note: Function in derived class nmap-7.98/libnetutil/TCPHeader.h:182:10: style: The destructor '~TCPHeader' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/libnetutil/PacketElement.h:116:14: note: Virtual destructor in base class nmap-7.98/libnetutil/TCPHeader.h:182:10: note: Destructor in derived class nmap-7.98/libnetutil/TCPHeader.h:184:13: style: The function 'getBufferPointer' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/libnetutil/PacketElement.h:122:18: note: Virtual function in base class nmap-7.98/libnetutil/TCPHeader.h:184:13: note: Function in derived class nmap-7.98/libnetutil/TCPHeader.h:186:13: style: The function 'protocol_id' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/libnetutil/PacketElement.h:266:17: note: Virtual function in base class nmap-7.98/libnetutil/TCPHeader.h:186:13: note: Function in derived class nmap-7.98/libnetutil/TCPHeader.h:188:13: style: The function 'print' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/libnetutil/PacketElement.h:246:17: note: Virtual function in base class nmap-7.98/libnetutil/TCPHeader.h:188:13: note: Function in derived class nmap-7.98/libnetutil/TCPHeader.h:190:13: style: The function 'setSourcePort' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/libnetutil/TransportLayerElement.h:77:17: note: Virtual function in base class nmap-7.98/libnetutil/TCPHeader.h:190:13: note: Function in derived class nmap-7.98/libnetutil/TCPHeader.h:191:13: style: The function 'getSourcePort' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/libnetutil/TransportLayerElement.h:74:17: note: Virtual function in base class nmap-7.98/libnetutil/TCPHeader.h:191:13: note: Function in derived class nmap-7.98/libnetutil/TCPHeader.h:193:13: style: The function 'setDestinationPort' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/libnetutil/TransportLayerElement.h:83:17: note: Virtual function in base class nmap-7.98/libnetutil/TCPHeader.h:193:13: note: Function in derived class nmap-7.98/libnetutil/TCPHeader.h:194:13: style: The function 'getDestinationPort' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/libnetutil/TransportLayerElement.h:80:17: note: Virtual function in base class nmap-7.98/libnetutil/TCPHeader.h:194:13: note: Function in derived class nmap-7.98/libnetutil/TCPHeader.h:246:13: style: The function 'setSum' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/libnetutil/TransportLayerElement.h:86:17: note: Virtual function in base class nmap-7.98/libnetutil/TCPHeader.h:246:13: note: Function in derived class nmap-7.98/libnetutil/UDPHeader.h:100:10: style: The destructor '~UDPHeader' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/libnetutil/PacketElement.h:116:14: note: Virtual destructor in base class nmap-7.98/libnetutil/UDPHeader.h:100:10: note: Destructor in derived class nmap-7.98/libnetutil/UDPHeader.h:102:13: style: The function 'getBufferPointer' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/libnetutil/PacketElement.h:122:18: note: Virtual function in base class nmap-7.98/libnetutil/UDPHeader.h:102:13: note: Function in derived class nmap-7.98/libnetutil/UDPHeader.h:104:13: style: The function 'protocol_id' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/libnetutil/PacketElement.h:266:17: note: Virtual function in base class nmap-7.98/libnetutil/UDPHeader.h:104:13: note: Function in derived class nmap-7.98/libnetutil/UDPHeader.h:106:13: style: The function 'print' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/libnetutil/PacketElement.h:246:17: note: Virtual function in base class nmap-7.98/libnetutil/UDPHeader.h:106:13: note: Function in derived class nmap-7.98/libnetutil/UDPHeader.h:108:13: style: The function 'setSourcePort' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/libnetutil/TransportLayerElement.h:77:17: note: Virtual function in base class nmap-7.98/libnetutil/UDPHeader.h:108:13: note: Function in derived class nmap-7.98/libnetutil/UDPHeader.h:109:13: style: The function 'getSourcePort' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/libnetutil/TransportLayerElement.h:74:17: note: Virtual function in base class nmap-7.98/libnetutil/UDPHeader.h:109:13: note: Function in derived class nmap-7.98/libnetutil/UDPHeader.h:111:13: style: The function 'setDestinationPort' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/libnetutil/TransportLayerElement.h:83:17: note: Virtual function in base class nmap-7.98/libnetutil/UDPHeader.h:111:13: note: Function in derived class nmap-7.98/libnetutil/UDPHeader.h:112:13: style: The function 'getDestinationPort' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/libnetutil/TransportLayerElement.h:80:17: note: Virtual function in base class nmap-7.98/libnetutil/UDPHeader.h:112:13: note: Function in derived class nmap-7.98/libnetutil/UDPHeader.h:119:13: style: The function 'setSum' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/libnetutil/TransportLayerElement.h:86:17: note: Virtual function in base class nmap-7.98/libnetutil/UDPHeader.h:119:13: note: Function in derived class nmap-7.98/libnetutil/HopByHopHeader.h:106:10: style: The destructor '~HopByHopHeader' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/libnetutil/PacketElement.h:116:14: note: Virtual destructor in base class nmap-7.98/libnetutil/HopByHopHeader.h:106:10: note: Destructor in derived class nmap-7.98/libnetutil/HopByHopHeader.h:108:13: style: The function 'getBufferPointer' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/libnetutil/PacketElement.h:122:18: note: Virtual function in base class nmap-7.98/libnetutil/HopByHopHeader.h:108:13: note: Function in derived class nmap-7.98/libnetutil/HopByHopHeader.h:110:13: style: The function 'protocol_id' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/libnetutil/PacketElement.h:266:17: note: Virtual function in base class nmap-7.98/libnetutil/HopByHopHeader.h:110:13: note: Function in derived class nmap-7.98/libnetutil/HopByHopHeader.h:112:13: style: The function 'print' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/libnetutil/PacketElement.h:246:17: note: Virtual function in base class nmap-7.98/libnetutil/HopByHopHeader.h:112:13: note: Function in derived class nmap-7.98/libnetutil/DestOptsHeader.h:81:10: style: The destructor '~DestOptsHeader' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/libnetutil/HopByHopHeader.h:106:10: note: Virtual destructor in base class nmap-7.98/libnetutil/DestOptsHeader.h:81:10: note: Destructor in derived class nmap-7.98/libnetutil/DestOptsHeader.h:82:13: style: The function 'print' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/libnetutil/HopByHopHeader.h:112:13: note: Virtual function in base class nmap-7.98/libnetutil/DestOptsHeader.h:82:13: note: Function in derived class nmap-7.98/libnetutil/DestOptsHeader.h:83:13: style: The function 'protocol_id' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/libnetutil/HopByHopHeader.h:110:13: note: Virtual function in base class nmap-7.98/libnetutil/DestOptsHeader.h:83:13: note: Function in derived class nmap-7.98/libnetutil/FragmentHeader.h:90:10: style: The destructor '~FragmentHeader' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/libnetutil/PacketElement.h:116:14: note: Virtual destructor in base class nmap-7.98/libnetutil/FragmentHeader.h:90:10: note: Destructor in derived class nmap-7.98/libnetutil/FragmentHeader.h:92:13: style: The function 'getBufferPointer' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/libnetutil/PacketElement.h:122:18: note: Virtual function in base class nmap-7.98/libnetutil/FragmentHeader.h:92:13: note: Function in derived class nmap-7.98/libnetutil/FragmentHeader.h:94:13: style: The function 'protocol_id' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/libnetutil/PacketElement.h:266:17: note: Virtual function in base class nmap-7.98/libnetutil/FragmentHeader.h:94:13: note: Function in derived class nmap-7.98/libnetutil/FragmentHeader.h:96:13: style: The function 'print' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/libnetutil/PacketElement.h:246:17: note: Virtual function in base class nmap-7.98/libnetutil/FragmentHeader.h:96:13: note: Function in derived class nmap-7.98/libnetutil/RoutingHeader.h:155:10: style: The destructor '~RoutingHeader' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/libnetutil/PacketElement.h:116:14: note: Virtual destructor in base class nmap-7.98/libnetutil/RoutingHeader.h:155:10: note: Destructor in derived class nmap-7.98/libnetutil/RoutingHeader.h:157:13: style: The function 'getBufferPointer' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/libnetutil/PacketElement.h:122:18: note: Virtual function in base class nmap-7.98/libnetutil/RoutingHeader.h:157:13: note: Function in derived class nmap-7.98/libnetutil/RoutingHeader.h:159:13: style: The function 'protocol_id' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/libnetutil/PacketElement.h:266:17: note: Virtual function in base class nmap-7.98/libnetutil/RoutingHeader.h:159:13: note: Function in derived class nmap-7.98/libnetutil/RoutingHeader.h:161:13: style: The function 'print' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/libnetutil/PacketElement.h:246:17: note: Virtual function in base class nmap-7.98/libnetutil/RoutingHeader.h:161:13: note: Function in derived class nmap-7.98/FPEngine.h:216:4: style: The destructor '~FPEngine6' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/FPEngine.h:196:12: note: Virtual destructor in base class nmap-7.98/FPEngine.h:216:4: note: Destructor in derived class nmap-7.98/FPEngine.h:218:7: style: The function 'os_scan' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/FPEngine.h:198:15: note: Virtual function in base class nmap-7.98/FPEngine.h:218:7: note: Function in derived class nmap-7.98/FPEngine.h:383:7: style: The function 'build_probe_list' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/FPEngine.h:357:15: note: Virtual function in base class nmap-7.98/FPEngine.h:383:7: note: Function in derived class nmap-7.98/FPEngine.h:388:4: style: The destructor '~FPHost6' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/FPEngine.h:363:12: note: Virtual destructor in base class nmap-7.98/FPEngine.h:388:4: note: Destructor in derived class nmap-7.98/FPEngine.h:392:8: style: The function 'done' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/FPEngine.h:364:16: note: Virtual function in base class nmap-7.98/FPEngine.h:392:8: note: Function in derived class nmap-7.98/FPEngine.h:393:7: style: The function 'schedule' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/FPEngine.h:365:15: note: Virtual function in base class nmap-7.98/FPEngine.h:393:7: note: Function in derived class nmap-7.98/FPEngine.h:394:7: style: The function 'callback' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/FPEngine.h:366:15: note: Virtual function in base class nmap-7.98/FPEngine.h:394:7: note: Function in derived class nmap-7.98/FingerPrintResults.h:153:12: style: The destructor '~FingerPrintResultsIPv4' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/FingerPrintResults.h:87:12: note: Virtual destructor in base class nmap-7.98/FingerPrintResults.h:153:12: note: Destructor in derived class nmap-7.98/FingerPrintResults.h:154:15: style: The function 'merge_fpr' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/FingerPrintResults.h:135:23: note: Virtual function in base class nmap-7.98/FingerPrintResults.h:154:15: note: Function in derived class nmap-7.98/FingerPrintResults.h:165:12: style: The destructor '~FingerPrintResultsIPv6' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/FingerPrintResults.h:87:12: note: Virtual destructor in base class nmap-7.98/FingerPrintResults.h:165:12: note: Destructor in derived class nmap-7.98/FingerPrintResults.h:166:15: style: The function 'OmitSubmissionFP' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/FingerPrintResults.h:133:23: note: Virtual function in base class nmap-7.98/FingerPrintResults.h:166:15: note: Function in derived class nmap-7.98/FingerPrintResults.h:167:15: style: The function 'merge_fpr' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/FingerPrintResults.h:135:23: note: Virtual function in base class nmap-7.98/FingerPrintResults.h:167:15: note: Function in derived class nmap-7.98/libnetutil/PacketElement.h:152:19: style: C-style pointer casting [cstyleCast] nmap-7.98/libnetutil/PacketElement.h:157:22: style: C-style pointer casting [cstyleCast] nmap-7.98/FingerPrintResults.cc:90:9: style: C-style pointer casting [cstyleCast] nmap-7.98/libnetutil/PacketElement.h:143:12: style: The scope of the variable 'otherslen' can be reduced. [variableScope] nmap-7.98/FingerPrintResults.cc:206:15: style: The scope of the variable 'reason' can be reduced. [variableScope] nmap-7.98/osscan.h:158:32: performance: Function parameter 'testname' should be passed by const reference. [passedByValue] nmap-7.98/osscan.h:159:33: performance: Function parameter 'testname' should be passed by const reference. [passedByValue] nmap-7.98/FingerPrintResults.cc:288:80: style: Parameter 'OSC' can be declared as pointer to const [constParameterPointer] nmap-7.98/libnetutil/PacketElement.h:140:11: style: Variable 'ourbuff' can be declared as pointer to const [constVariablePointer] nmap-7.98/libnetutil/PacketElement.h:165:11: style: Variable 'ourbuff' can be declared as pointer to const [constVariablePointer] nmap-7.98/libnetutil/PacketElement.h:143:21: style: Variable 'otherslen' is assigned a value that is never used. [unreadVariable] nmap-7.98/FingerPrintResults.cc:244:10: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/NmapOps.cc:149:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] nmap-7.98/NmapOps.cc:165:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNSPEC [valueFlowBailoutIncompleteVar] nmap-7.98/NmapOps.cc:207:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] nmap-7.98/NmapOps.cc:219:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] nmap-7.98/NmapOps.cc:430:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] nmap-7.98/NmapOps.cc:543:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/NmapOps.cc:549:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/NmapOps.cc:557:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/NmapOps.cc:565:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/NmapOps.cc:574:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/NmapOps.cc:607:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] nmap-7.98/NmapOutputTable.cc:168:80: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/NmapOutputTable.cc:99:8: warning: Class 'NmapOutputTable' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] nmap-7.98/NmapOutputTable.cc:99:8: warning: Class 'NmapOutputTable' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] nmap-7.98/NmapOutputTable.cc:78:11: style: C-style pointer casting [cstyleCast] nmap-7.98/NmapOutputTable.cc:79:15: style: C-style pointer casting [cstyleCast] nmap-7.98/NmapOutputTable.cc:80:16: style: C-style pointer casting [cstyleCast] nmap-7.98/NmapOutputTable.cc:140:17: style: C-style pointer casting [cstyleCast] nmap-7.98/NmapOutputTable.cc:144:17: style: C-style pointer casting [cstyleCast] nmap-7.98/NmapOutputTable.cc:213:16: style: C-style pointer casting [cstyleCast] nmap-7.98/NmapOutputTable.cc:227:20: style: C-style pointer casting [cstyleCast] nmap-7.98/NmapOutputTable.cc:238:22: style: C-style pointer casting [cstyleCast] nmap-7.98/NmapOutputTable.cc:107:31: style: The scope of the variable 'cell' can be reduced. [variableScope] nmap-7.98/NmapOutputTable.cc:158:31: style: The scope of the variable 'cell' can be reduced. [variableScope] nmap-7.98/NmapOutputTable.cc:181:30: style: The scope of the variable 'cell' can be reduced. [variableScope] nmap-7.98/NmapOutputTable.cc:209:7: style: The scope of the variable 'validthisrow' can be reduced. [variableScope] nmap-7.98/NmapOutputTable.cc:181:30: style: Variable 'cell' can be declared as pointer to const [constVariablePointer] nmap-7.98/NmapOutputTable.cc:208:31: style: Variable 'cell' can be declared as pointer to const [constVariablePointer] nmap-7.98/NmapOps.cc:75:10: warning: Member variable 'NmapOps::traceroute' is not initialized in the constructor. [uninitMemberVar] nmap-7.98/NmapOps.cc:75:10: warning: Member variable 'NmapOps::scriptargsfile' is not initialized in the constructor. [uninitMemberVar] nmap-7.98/NmapOps.cc:347:15: style:inconclusive: Technically the member function 'NmapOps::TCPScan' can be const. [functionConst] nmap-7.98/NmapOps.h:105:8: note: Technically the member function 'NmapOps::TCPScan' can be const. nmap-7.98/NmapOps.cc:347:15: note: Technically the member function 'NmapOps::TCPScan' can be const. nmap-7.98/NmapOps.cc:351:15: style:inconclusive: Technically the member function 'NmapOps::UDPScan' can be const. [functionConst] nmap-7.98/NmapOps.h:106:8: note: Technically the member function 'NmapOps::UDPScan' can be const. nmap-7.98/NmapOps.cc:351:15: note: Technically the member function 'NmapOps::UDPScan' can be const. nmap-7.98/NmapOps.cc:343:15: style:inconclusive: Technically the member function 'NmapOps::SCTPScan' can be const. [functionConst] nmap-7.98/NmapOps.h:107:8: note: Technically the member function 'NmapOps::SCTPScan' can be const. nmap-7.98/NmapOps.cc:343:15: note: Technically the member function 'NmapOps::SCTPScan' can be const. nmap-7.98/NmapOps.cc:355:15: style:inconclusive: Technically the member function 'NmapOps::RawScan' can be const. [functionConst] nmap-7.98/NmapOps.h:114:8: note: Technically the member function 'NmapOps::RawScan' can be const. nmap-7.98/NmapOps.cc:355:15: note: Technically the member function 'NmapOps::RawScan' can be const. nmap-7.98/NmapOps.cc:88:12: warning: Class 'NmapOps' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] nmap-7.98/NmapOps.cc:88:12: warning: Class 'NmapOps' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] nmap-7.98/NmapOps.cc:370:21: style: The scope of the variable 'privreq' can be reduced. [variableScope] nmap-7.98/NmapOps.cc:153:21: style: Checking if unsigned expression 'sourcesocklen' is less than zero. [unsignedLessThanZero] nmap-7.98/NmapOps.cc:588:10: style: Checking if unsigned expression 'sz' is less than zero. [unsignedLessThanZero] nmap-7.98/NmapOps.cc:173:58: style: Parameter 'ss' can be declared as pointer to const [constParameterPointer] nmap-7.98/NmapOps.cc:623:38: style: Parameter 'mac_data' can be declared as pointer to const [constParameterPointer] nmap-7.98/Target.h:212:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable interface_type [valueFlowBailoutIncompleteVar] nmap-7.98/FPEngine.cc:97:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nsock_pool [valueFlowBailoutIncompleteVar] nmap-7.98/FPEngine.cc:128:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSOCK_PENDING_SILENT [valueFlowBailoutIncompleteVar] nmap-7.98/FPEngine.cc:389:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSE_STATUS_SUCCESS [valueFlowBailoutIncompleteVar] nmap-7.98/FPEngine.cc:476:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_storage [valueFlowBailoutIncompleteVar] nmap-7.98/FPEngine.cc:860:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] nmap-7.98/FPEngine.cc:963:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] nmap-7.98/FPEngine.cc:1031:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] nmap-7.98/FPEngine.cc:1307:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_TCP [valueFlowBailoutIncompleteVar] nmap-7.98/FPEngine.cc:1985:120: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tv_sec [valueFlowBailoutIncompleteVar] nmap-7.98/FPEngine.cc:2356:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] nmap-7.98/FPEngine.cc:2426:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timeval [valueFlowBailoutIncompleteVar] nmap-7.98/FPEngine.cc:2501:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/FPEngine.cc:2559:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timeval [valueFlowBailoutIncompleteVar] nmap-7.98/Target.cc:162:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] nmap-7.98/Target.cc:182:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] nmap-7.98/Target.cc:249:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] nmap-7.98/Target.cc:257:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] nmap-7.98/Target.cc:296:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] nmap-7.98/Target.cc:305:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] nmap-7.98/TargetGroup.cc:234:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nmap-7.98/TargetGroup.cc:288:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] nmap-7.98/TargetGroup.cc:363:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] nmap-7.98/TargetGroup.cc:411:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] nmap-7.98/TargetGroup.cc:548:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] nmap-7.98/TargetGroup.cc:562:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] nmap-7.98/TargetGroup.cc:578:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] nmap-7.98/TargetGroup.cc:603:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] nmap-7.98/TargetGroup.cc:760:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] nmap-7.98/Target.h:212:35: debug: CheckClass::isMemberVar found used member variable 'interface_type' with varid 0 [varid0] nmap-7.98/timing.h:166:5: style: Class 'RateMeter' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] nmap-7.98/timing.h:198:5: style: Class 'PacketRateMeter' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] nmap-7.98/timing.h:218:3: style: Class 'ScanProgressMeter' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] nmap-7.98/osscan2.h:232:3: style: Class 'HostOsScanStats' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] nmap-7.98/osscan2.h:348:3: style: Class 'HostOsScan' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] nmap-7.98/osscan2.h:455:3: style: Class 'OsScanInfo' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] nmap-7.98/Target.cc:321:13: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] nmap-7.98/Target.cc:320:26: note: Assuming allocation function fails nmap-7.98/Target.cc:320:18: note: Assignment 'p=hostname=strdup(name)', assigned value is 0 nmap-7.98/Target.cc:321:13: note: Null pointer dereference nmap-7.98/Target.cc:163:17: style: C-style pointer casting [cstyleCast] nmap-7.98/Target.cc:183:17: style: C-style pointer casting [cstyleCast] nmap-7.98/Target.cc:364:31: style: C-style pointer casting [cstyleCast] nmap-7.98/Target.cc:157:29: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/Target.cc:177:29: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/Target.cc:248:29: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/Target.cc:256:31: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/Target.cc:295:29: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/Target.cc:304:31: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/Target.cc:207:21: style: Checking if unsigned expression 'targetsocklen' is less than zero. [unsignedLessThanZero] nmap-7.98/Target.cc:265:21: style: Checking if unsigned expression 'sourcesocklen' is less than zero. [unsignedLessThanZero] nmap-7.98/Target.cc:372:22: style: Checking if unsigned expression 'nexthopsocklen' is less than zero. [unsignedLessThanZero] nmap-7.98/Target.cc:157:23: style: Variable 'sin' can be declared as pointer to const [constVariablePointer] nmap-7.98/Target.cc:177:23: style: Variable 'sin' can be declared as pointer to const [constVariablePointer] nmap-7.98/Target.cc:127:34: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/Target.cc:148:38: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/charpool.cc:94:15: style:inconclusive: Technically the member function 'StrTable::get' can be const. [functionConst] nmap-7.98/charpool.cc:109:13: style: C-style pointer casting [cstyleCast] nmap-7.98/charpool.cc:135:9: style: C-style pointer casting [cstyleCast] nmap-7.98/charpool.cc:114:70: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/TargetGroup.cc:161:1: style: The class 'NetBlockIPv6Netmask' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor] nmap-7.98/nmap_dns.h:174:12: style: The function 'clone' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/nmap_dns.h:165:20: note: Virtual function in base class nmap-7.98/nmap_dns.h:174:12: note: Function in derived class nmap-7.98/nmap_dns.h:175:4: style: The destructor '~A_Record' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/nmap_dns.h:166:12: note: Virtual destructor in base class nmap-7.98/nmap_dns.h:175:4: note: Destructor in derived class nmap-7.98/nmap_dns.h:176:10: style: The function 'parseFromBuffer' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/nmap_dns.h:167:18: note: Virtual function in base class nmap-7.98/nmap_dns.h:176:10: note: Function in derived class nmap-7.98/nmap_dns.h:183:12: style: The function 'clone' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/nmap_dns.h:165:20: note: Virtual function in base class nmap-7.98/nmap_dns.h:183:12: note: Function in derived class nmap-7.98/nmap_dns.h:184:4: style: The destructor '~PTR_Record' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/nmap_dns.h:166:12: note: Virtual destructor in base class nmap-7.98/nmap_dns.h:184:4: note: Destructor in derived class nmap-7.98/nmap_dns.h:185:10: style: The function 'parseFromBuffer' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/nmap_dns.h:167:18: note: Virtual function in base class nmap-7.98/nmap_dns.h:185:10: note: Function in derived class nmap-7.98/nmap_dns.h:195:12: style: The function 'clone' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/nmap_dns.h:165:20: note: Virtual function in base class nmap-7.98/nmap_dns.h:195:12: note: Function in derived class nmap-7.98/nmap_dns.h:196:4: style: The destructor '~CNAME_Record' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/nmap_dns.h:166:12: note: Virtual destructor in base class nmap-7.98/nmap_dns.h:196:4: note: Destructor in derived class nmap-7.98/nmap_dns.h:197:10: style: The function 'parseFromBuffer' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/nmap_dns.h:167:18: note: Virtual function in base class nmap-7.98/nmap_dns.h:197:10: note: Function in derived class nmap-7.98/TargetGroup.cc:129:8: style: The function 'reject_last_host' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/TargetGroup.cc:119:16: note: Virtual function in base class nmap-7.98/TargetGroup.cc:129:8: note: Function in derived class nmap-7.98/TargetGroup.cc:136:8: style: The function 'next' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/TargetGroup.cc:120:16: note: Virtual function in base class nmap-7.98/TargetGroup.cc:136:8: note: Function in derived class nmap-7.98/TargetGroup.cc:137:8: style: The function 'apply_netmask' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/TargetGroup.cc:121:16: note: Virtual function in base class nmap-7.98/TargetGroup.cc:137:8: note: Function in derived class nmap-7.98/TargetGroup.cc:138:15: style: The function 'str' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/TargetGroup.cc:122:23: note: Virtual function in base class nmap-7.98/TargetGroup.cc:138:15: note: Function in derived class nmap-7.98/TargetGroup.cc:152:8: style: The function 'next' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/TargetGroup.cc:120:16: note: Virtual function in base class nmap-7.98/TargetGroup.cc:152:8: note: Function in derived class nmap-7.98/TargetGroup.cc:153:8: style: The function 'apply_netmask' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/TargetGroup.cc:121:16: note: Virtual function in base class nmap-7.98/TargetGroup.cc:153:8: note: Function in derived class nmap-7.98/TargetGroup.cc:154:15: style: The function 'str' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/TargetGroup.cc:122:23: note: Virtual function in base class nmap-7.98/TargetGroup.cc:154:15: note: Function in derived class nmap-7.98/TargetGroup.cc:165:8: style: The function 'next' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/TargetGroup.cc:120:16: note: Virtual function in base class nmap-7.98/TargetGroup.cc:165:8: note: Function in derived class nmap-7.98/TargetGroup.cc:166:8: style: The function 'apply_netmask' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/TargetGroup.cc:121:16: note: Virtual function in base class nmap-7.98/TargetGroup.cc:166:8: note: Function in derived class nmap-7.98/TargetGroup.cc:167:15: style: The function 'str' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/TargetGroup.cc:122:23: note: Virtual function in base class nmap-7.98/TargetGroup.cc:167:15: note: Function in derived class nmap-7.98/TargetGroup.cc:183:13: style: The function 'resolve' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/TargetGroup.cc:118:21: note: Virtual function in base class nmap-7.98/TargetGroup.cc:183:13: note: Function in derived class nmap-7.98/TargetGroup.cc:185:8: style: The function 'next' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/TargetGroup.cc:120:16: note: Virtual function in base class nmap-7.98/TargetGroup.cc:185:8: note: Function in derived class nmap-7.98/TargetGroup.cc:186:8: style: The function 'apply_netmask' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/TargetGroup.cc:121:16: note: Virtual function in base class nmap-7.98/TargetGroup.cc:186:8: note: Function in derived class nmap-7.98/TargetGroup.cc:187:15: style: The function 'str' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/TargetGroup.cc:122:23: note: Virtual function in base class nmap-7.98/TargetGroup.cc:187:15: note: Function in derived class nmap-7.98/nmap_dns.h:175:4: style: The destructor '~A_Record' overrides a destructor in a base class but is identical to the overridden function [uselessOverride] nmap-7.98/nmap_dns.h:166:12: note: Virtual destructor in base class nmap-7.98/nmap_dns.h:175:4: note: Destructor in derived class nmap-7.98/nmap_dns.h:184:4: style: The destructor '~PTR_Record' overrides a destructor in a base class but is identical to the overridden function [uselessOverride] nmap-7.98/nmap_dns.h:166:12: note: Virtual destructor in base class nmap-7.98/nmap_dns.h:184:4: note: Destructor in derived class nmap-7.98/nmap_dns.h:196:4: style: The destructor '~CNAME_Record' overrides a destructor in a base class but is identical to the overridden function [uselessOverride] nmap-7.98/nmap_dns.h:166:12: note: Virtual destructor in base class nmap-7.98/nmap_dns.h:196:4: note: Destructor in derived class nmap-7.98/TargetGroup.cc:854:24: style: C-style pointer casting [cstyleCast] nmap-7.98/TargetGroup.cc:307:29: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/TargetGroup.cc:377:27: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/TargetGroup.cc:410:9: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/TargetGroup.cc:433:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/TargetGroup.cc:594:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/TargetGroup.cc:602:10: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/TargetGroup.cc:712:26: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/TargetGroup.cc:764:31: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/TargetGroup.cc:770:29: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/TargetGroup.cc:503:19: style: The scope of the variable 'j' can be reduced. [variableScope] nmap-7.98/TargetGroup.cc:904:13: style: Variable 'nb' can be declared as pointer to const [constVariablePointer] nmap-7.98/TargetGroup.cc:922:13: style: Variable 'nb' can be declared as pointer to const [constVariablePointer] nmap-7.98/TargetGroup.cc:813:30: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/TargetGroup.cc:852:30: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/libdnet-stripped/src/addr-util.c:88:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETH_ADDR_LEN [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/addr-util.c:103:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETH_ADDR_LEN [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/addr-util.c:114:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETH_ADDR_LEN [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/addr-util.c:136:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IP_ADDR_LEN [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/addr-util.c:151:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IP_ADDR_LEN [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/addr-util.c:163:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IP_ADDR_LEN [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/addr-util.c:191:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IP6_ADDR_LEN [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/addr-util.c:241:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IP6_ADDR_LEN [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/addr-util.c:130:10: style: Variable 'data' can be declared as pointer to const [constVariablePointer] nmap-7.98/libdnet-stripped/src/addr-util.c:180:12: style: Variable 'ip6_data' can be declared as pointer to const [constVariablePointer] nmap-7.98/libdnet-stripped/src/addr-util.c:122:33: warning: Uninitialized variable: ep [uninitvar] nmap-7.98/libdnet-stripped/src/addr-util.c:114:16: note: Assuming condition is false nmap-7.98/libdnet-stripped/src/addr-util.c:122:33: note: Uninitialized variable: ep nmap-7.98/libdnet-stripped/src/addr-util.c:171:32: warning: Uninitialized variable: ep [uninitvar] nmap-7.98/libdnet-stripped/src/addr-util.c:163:16: note: Assuming condition is false nmap-7.98/libdnet-stripped/src/addr-util.c:171:32: note: Uninitialized variable: ep nmap-7.98/libdnet-stripped/src/addr.c:90:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ADDR_TYPE_IP [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/addr.c:128:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ADDR_TYPE_IP [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/addr.c:151:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IP_ADDR_BITS [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/addr.c:186:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/addr.c:228:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/addr.c:265:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNSPEC [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/addr.c:323:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ADDR_TYPE_ETH [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/addr.c:372:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IP_ADDR_BITS [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/addr.c:417:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IP_ADDR_LEN [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/addr.c:441:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IP_ADDR_LEN [valueFlowBailoutIncompleteVar] nmap-7.98/FPEngine.cc:96:19: warning: Member variable 'FPNetworkControl::first_pcap_scheduled' is not initialized in the constructor. [uninitMemberVar] nmap-7.98/idle_scan.cc:155:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IP_PROTO_FRAGMENT [valueFlowBailoutIncompleteVar] nmap-7.98/idle_scan.cc:216:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] nmap-7.98/idle_scan.cc:359:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IP6_MTU_MIN [valueFlowBailoutIncompleteVar] nmap-7.98/idle_scan.cc:521:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] nmap-7.98/idle_scan.cc:911:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/idle_scan.cc:1002:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/idle_scan.cc:1162:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/idle_scan.cc:1203:87: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/idle_scan.cc:1342:74: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/FPEngine.cc:605:23: performance:inconclusive: Technically the member function 'FPEngine::bpf_filter' can be static (but you may consider moving to unnamed namespace). [functionStatic] nmap-7.98/FPEngine.h:199:15: note: Technically the member function 'FPEngine::bpf_filter' can be static (but you may consider moving to unnamed namespace). nmap-7.98/FPEngine.cc:605:23: note: Technically the member function 'FPEngine::bpf_filter' can be static (but you may consider moving to unnamed namespace). nmap-7.98/FPEngine.cc:2706:14: style:inconclusive: Technically the member function 'FPProbe::changeSourceAddress' can be const. [functionConst] nmap-7.98/FPEngine.h:295:7: note: Technically the member function 'FPProbe::changeSourceAddress' can be const. nmap-7.98/FPEngine.cc:2706:14: note: Technically the member function 'FPProbe::changeSourceAddress' can be const. nmap-7.98/FPEngine.cc:1278:40: style:inconclusive: Technically the member function 'FPHost::getTargetAddress' can be const. [functionConst] nmap-7.98/FPEngine.h:367:34: note: Technically the member function 'FPHost::getTargetAddress' can be const. nmap-7.98/FPEngine.cc:1278:40: note: Technically the member function 'FPHost::getTargetAddress' can be const. nmap-7.98/FPEngine.cc:2386:28: style:inconclusive: Technically the member function 'FPHost6::getResponse' can be const. [functionConst] nmap-7.98/FPEngine.h:396:21: note: Technically the member function 'FPHost6::getResponse' can be const. nmap-7.98/FPEngine.cc:2386:28: note: Technically the member function 'FPHost6::getResponse' can be const. nmap-7.98/FPEngine.cc:2732:8: warning: Struct 'FPResponse' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] nmap-7.98/FPEngine.cc:2732:8: warning: Struct 'FPResponse' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] nmap-7.98/libdnet-stripped/src/addr.c:390:10: style: Variable 'p' can be declared as pointer to const [constVariablePointer] nmap-7.98/libdnet-stripped/src/addr.c:471:10: style: Variable 'p' can be declared as pointer to const [constVariablePointer] nmap-7.98/FPEngine.cc:1072:7: warning: %u in format string (no. 3) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] nmap-7.98/libdnet-stripped/src/arp-bsd.c:71:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RTM_VERSION [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/arp-bsd.c:117:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ADDR_TYPE_IP [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/arp-bsd.c:182:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ADDR_TYPE_IP [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/arp-bsd.c:228:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ADDR_TYPE_IP [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/arp-bsd.c:309:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nmap-7.98/FPEngine.cc:351:35: style: C-style pointer casting [cstyleCast] nmap-7.98/FPEngine.cc:369:84: style: C-style pointer casting [cstyleCast] nmap-7.98/FPEngine.cc:381:26: style: C-style pointer casting [cstyleCast] nmap-7.98/FPEngine.cc:384:22: style: C-style pointer casting [cstyleCast] nmap-7.98/FPEngine.cc:980:8: style: C-style pointer casting [cstyleCast] nmap-7.98/FPEngine.cc:981:8: style: C-style pointer casting [cstyleCast] nmap-7.98/FPEngine.cc:2462:14: style: C-style pointer casting [cstyleCast] nmap-7.98/FPEngine.cc:2723:15: style: C-style pointer casting [cstyleCast] nmap-7.98/FPEngine.cc:404:49: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/FPEngine.cc:423:49: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/FPEngine.cc:474:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/FPEngine.cc:475:35: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/FPEngine.cc:702:10: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/FPEngine.cc:709:10: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/FPEngine.cc:716:10: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/FPEngine.cc:910:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/FPEngine.cc:914:19: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/FPEngine.cc:1213:26: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/FPEngine.cc:1214:14: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/FPEngine.cc:1505:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/FPEngine.cc:1534:17: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/FPEngine.cc:1556:19: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/FPEngine.cc:1625:19: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/FPEngine.cc:1704:20: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/FPEngine.cc:1705:7: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/FPEngine.cc:1736:9: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/FPEngine.cc:1738:9: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/FPEngine.cc:1747:18: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/FPEngine.cc:1771:9: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/FPEngine.cc:1773:9: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/FPEngine.cc:1810:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/FPEngine.cc:1812:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/FPEngine.cc:1842:9: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/FPEngine.cc:1844:9: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/FPEngine.cc:1852:18: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/FPEngine.cc:1868:20: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/FPEngine.cc:1869:7: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/FPEngine.cc:1895:20: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/FPEngine.cc:1896:7: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/FPEngine.cc:1841:11: style: Variable 'payload' is reassigned a value before the old one has been used. [redundantAssignment] nmap-7.98/FPEngine.cc:1770:11: note: payload is assigned nmap-7.98/FPEngine.cc:1841:11: note: payload is overwritten nmap-7.98/FPEngine.cc:385:7: style: The scope of the variable 'buf' can be reduced. [variableScope] nmap-7.98/FPEngine.cc:387:7: style: The scope of the variable 'result' can be reduced. [variableScope] nmap-7.98/FPEngine.cc:608:8: style: The scope of the variable 'dst_hosts' can be reduced. [variableScope] nmap-7.98/FPEngine.cc:609:7: style: The scope of the variable 'filterlen' can be reduced. [variableScope] nmap-7.98/FPEngine.cc:611:16: style: The scope of the variable 'targetno' can be reduced. [variableScope] nmap-7.98/FPEngine.cc:2087:28: style: Checking if unsigned expression 'this->timed_probes' is less than zero. [unsignedLessThanZero] nmap-7.98/FPEngine.cc:329:68: style:inconclusive: Function 'setup_sniffer' argument 2 names different: declaration 'bfp_filter' definition 'bpf_filter'. [funcArgNamesDifferent] nmap-7.98/FPEngine.h:163:52: note: Function 'setup_sniffer' argument 2 names different: declaration 'bfp_filter' definition 'bpf_filter'. nmap-7.98/FPEngine.cc:329:68: note: Function 'setup_sniffer' argument 2 names different: declaration 'bfp_filter' definition 'bpf_filter'. nmap-7.98/libdnet-stripped/src/arp-bsd.c:180:19: style: Variable 'sa' can be declared as pointer to const [constVariablePointer] nmap-7.98/libdnet-stripped/src/arp-bsd.c:307:17: style: Parameter 'arp' can be declared as pointer to const [constParameterPointer] nmap-7.98/libdnet-stripped/src/arp-bsd.c:307:50: style: Parameter 'arg' can be declared as pointer to const [constParameterPointer] nmap-7.98/FPEngine.cc:605:57: style: Parameter 'Targets' can be declared as reference to const [constParameterReference] nmap-7.98/FPEngine.cc:316:49: style: Parameter 'oldcaller' can be declared as pointer to const [constParameterPointer] nmap-7.98/FPEngine.cc:1299:9: style: Variable 'tport' can be declared as pointer to const [constVariablePointer] nmap-7.98/FPEngine.cc:2499:20: style: Variable 'ethsd' can be declared as pointer to const [constVariablePointer] nmap-7.98/FPEngine.cc:2706:51: style: Parameter 'addr' can be declared as pointer to const [constParameterPointer] nmap-7.98/libdnet-stripped/src/arp-ioctl.c:117:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNSPEC [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/arp-ioctl.c:175:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIOCDARP [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/arp-ioctl.c:197:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIOCGARP [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/arp-ioctl.c:471:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/arp-ioctl.c:469:17: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] nmap-7.98/libdnet-stripped/src/arp-ioctl.c:469:48: style: Parameter 'arg' can be declared as pointer to const [constParameterPointer] nmap-7.98/libdnet-stripped/src/arp-none.c:22:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/arp-none.c:29:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/arp-none.c:36:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/arp-none.c:43:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/arp-none.c:50:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/arp-none.c:27:16: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] nmap-7.98/libdnet-stripped/src/arp-none.c:34:19: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] nmap-7.98/libdnet-stripped/src/arp-none.c:41:16: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] nmap-7.98/libdnet-stripped/src/arp-none.c:41:37: style: Parameter 'entry' can be declared as pointer to const [constParameterPointer] nmap-7.98/libdnet-stripped/src/arp-none.c:48:17: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] nmap-7.98/libdnet-stripped/src/arp-none.c:48:48: style: Parameter 'arg' can be declared as pointer to const [constParameterPointer] nmap-7.98/libdnet-stripped/src/arp-none.c:55:18: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] nmap-7.98/libdnet-stripped/src/arp-win32.c:27:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable arp_t [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/arp-win32.c:37:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IP_ADDR_ANY [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/arp-win32.c:59:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IP_ADDR_ANY [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/arp-win32.c:89:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/arp-win32.c:104:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNSPEC [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/blob.c:282:41: debug: Function::addArguments found argument 'bmalloc' with varid 0. [varid0] nmap-7.98/libdnet-stripped/src/blob.c:286:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bmalloc [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/err.c:56:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/err.c:75:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/err.c:93:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/err.c:106:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/eth-bsd.c:54:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/eth-bsd.c:150:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/eth-bsd.c:176:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/eth-bsd.c:66:4: error: Resource leak: e.fd [resourceLeak] nmap-7.98/libdnet-stripped/src/eth-bsd.c:84:17: style: Parameter 'e' can be declared as pointer to const [constParameterPointer] nmap-7.98/libdnet-stripped/src/eth-bsd.c:148:16: style: Parameter 'e' can be declared as pointer to const [constParameterPointer] nmap-7.98/libdnet-stripped/src/eth-bsd.c:148:31: style: Parameter 'ea' can be declared as pointer to const [constParameterPointer] nmap-7.98/libdnet-stripped/src/eth-bsd.c:174:16: style: Parameter 'e' can be declared as pointer to const [constParameterPointer] nmap-7.98/libdnet-stripped/src/blob.c:231:20: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] nmap-7.98/libdnet-stripped/src/blob.c:243:21: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] nmap-7.98/libdnet-stripped/src/blob.c:255:29: style: Parameter 'style' can be declared as pointer to const [constParameterPointer] nmap-7.98/libdnet-stripped/src/blob.c:267:21: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] nmap-7.98/libdnet-stripped/src/blob.c:267:30: style: Parameter 'style' can be declared as pointer to const [constParameterPointer] nmap-7.98/libdnet-stripped/src/blob.c:267:52: style: Parameter 'dst' can be declared as pointer to const [constParameterPointer] nmap-7.98/libdnet-stripped/src/blob.c:434:20: style: Parameter 'b' can be declared as pointer to const. However it seems that 'print_hexl' is a callback function, if 'b' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nmap-7.98/libdnet-stripped/src/blob.c:61:12: note: You might need to cast the function pointer here nmap-7.98/libdnet-stripped/src/blob.c:434:20: note: Parameter 'b' can be declared as pointer to const nmap-7.98/libdnet-stripped/src/blob.c:437:10: style: Variable 'p' can be declared as pointer to const [constVariablePointer] nmap-7.98/libdnet-stripped/src/eth-dlpi.c:156:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/eth-dlpi.c:225:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DL_UNITDATA_REQ [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/eth-dlpi.c:277:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DL_PHYS_ADDR_REQ [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/eth-dlpi.c:296:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DL_SET_PHYS_ADDR_REQ [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/eth-linux.c:50:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETH_P_ALL [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/eth-linux.c:96:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIOCGIFHWADDR [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/eth-linux.c:111:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ADDR_TYPE_ETH [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/eth-linux.c:72:18: style: Variable 'eth' can be declared as pointer to const [constVariablePointer] nmap-7.98/libdnet-stripped/src/eth-linux.c:46:6: style: Unused variable: n [unusedVariable] nmap-7.98/libdnet-stripped/src/eth-ndd.c:42:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_NDD [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/eth-ndd.c:84:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KINFO_NDD [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/eth-ndd.c:115:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/eth-ndd.c:61:17: style: Parameter 'e' can be declared as pointer to const [constParameterPointer] nmap-7.98/libdnet-stripped/src/eth-ndd.c:78:16: style: Parameter 'e' can be declared as pointer to const [constParameterPointer] nmap-7.98/libdnet-stripped/src/eth-ndd.c:82:8: style: Variable 'end' can be declared as pointer to const [constVariablePointer] nmap-7.98/libdnet-stripped/src/eth-ndd.c:113:16: style: Parameter 'e' can be declared as pointer to const [constParameterPointer] nmap-7.98/libdnet-stripped/src/eth-ndd.c:97:26: portability: '(void*)nddp' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] nmap-7.98/libdnet-stripped/src/eth-dlpi.c:215:18: style: Variable 'eth' can be declared as pointer to const [constVariablePointer] nmap-7.98/libdnet-stripped/src/eth-dlpi.c:271:16: style: Parameter 'e' can be declared as pointer to const [constParameterPointer] nmap-7.98/libdnet-stripped/src/eth-dlpi.c:290:16: style: Parameter 'e' can be declared as pointer to const [constParameterPointer] nmap-7.98/libdnet-stripped/src/eth-none.c:22:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/eth-none.c:29:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/eth-none.c:42:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/eth-none.c:49:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/eth-none.c:27:17: style: Parameter 'e' can be declared as pointer to const [constParameterPointer] nmap-7.98/libdnet-stripped/src/eth-none.c:34:18: style: Parameter 'e' can be declared as pointer to const [constParameterPointer] nmap-7.98/libdnet-stripped/src/eth-none.c:40:16: style: Parameter 'e' can be declared as pointer to const [constParameterPointer] nmap-7.98/libdnet-stripped/src/eth-none.c:40:31: style: Parameter 'ea' can be declared as pointer to const [constParameterPointer] nmap-7.98/libdnet-stripped/src/eth-none.c:47:16: style: Parameter 'e' can be declared as pointer to const [constParameterPointer] nmap-7.98/idle_scan.cc:545:5: warning:inconclusive: The buffer 'name' may not be null-terminated after the call to strncpy(). [terminateStrncpy] nmap-7.98/idle_scan.cc:1358:5: warning:inconclusive: The buffer 'lastproxy' may not be null-terminated after the call to strncpy(). [terminateStrncpy] nmap-7.98/libdnet-stripped/src/eth-pfilt.c:41:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/eth-pfilt.c:54:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIOCRPHYSADDR [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/eth-pfilt.c:66:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETH_ADDR_LEN [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/eth-snoop.c:44:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_RAW [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/eth-snoop.c:64:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIOCGIFADDR [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/eth-snoop.c:84:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ADDR_TYPE_ETH [valueFlowBailoutIncompleteVar] nmap-7.98/idle_scan.cc:459:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] nmap-7.98/idle_scan.cc:646:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] nmap-7.98/idle_scan.cc:847:9: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] nmap-7.98/idle_scan.cc:874:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] nmap-7.98/idle_scan.cc:1014:45: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] nmap-7.98/idle_scan.cc:1077:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] nmap-7.98/libdnet-stripped/src/eth-pfilt.c:71:17: style: Parameter 'e' can be declared as pointer to const [constParameterPointer] nmap-7.98/libdnet-stripped/src/eth-pfilt.c:37:6: style: Unused variable: fd [unusedVariable] nmap-7.98/libdnet-stripped/src/eth-snoop.c:95:17: style: Parameter 'e' can be declared as pointer to const [constParameterPointer] nmap-7.98/libdnet-stripped/src/fw-none.c:24:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/fw-none.c:31:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/fw-none.c:38:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/fw-none.c:45:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/eth-win32.c:54:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ADAPTER_NAME_LENGTH [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/eth-win32.c:85:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETH_HDR_LEN [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/eth-win32.c:127:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OID_802_3_CURRENT_ADDRESS [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/eth-win32.c:144:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OID_802_3_CURRENT_ADDRESS [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/fw-none.c:29:14: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] nmap-7.98/libdnet-stripped/src/fw-none.c:36:17: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] nmap-7.98/libdnet-stripped/src/fw-none.c:43:15: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] nmap-7.98/libdnet-stripped/src/fw-none.c:43:45: style: Parameter 'arg' can be declared as pointer to const [constParameterPointer] nmap-7.98/libdnet-stripped/src/fw-none.c:50:16: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] nmap-7.98/idle_scan.cc:1277:63: style: Condition 'retrycount==0' is always false [knownConditionTrueFalse] nmap-7.98/idle_scan.cc:1277:44: note: Assuming that condition 'flatcount1==1' is not redundant nmap-7.98/idle_scan.cc:1273:20: note: flatcount1 is assigned 'retrycount' here. nmap-7.98/idle_scan.cc:1277:63: note: Condition 'retrycount==0' is always false nmap-7.98/idle_scan.cc:1302:64: style: Condition 'retrycount==0' is always false [knownConditionTrueFalse] nmap-7.98/idle_scan.cc:1302:45: note: Assuming that condition 'flatcount2==1' is not redundant nmap-7.98/idle_scan.cc:1298:20: note: flatcount2 is assigned 'retrycount' here. nmap-7.98/idle_scan.cc:1302:64: note: Condition 'retrycount==0' is always false nmap-7.98/libdnet-stripped/src/intf-win32.c:79:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INTF_TYPE_OTHER [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/intf-win32.c:156:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cnt [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/intf-win32.c:239:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DWORD [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/intf-win32.c:269:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IF_TYPE_SOFTWARE_LOOPBACK [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/intf-win32.c:309:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAA_FLAG_SKIP_ANYCAST [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/intf-win32.c:344:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable idx [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/intf-win32.c:372:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable intf_t [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/intf-win32.c:416:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ADDR_TYPE_IP [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/intf-win32.c:447:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/intf-win32.c:490:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/intf-win32.c:523:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_IF_TYPE [valueFlowBailoutIncompleteVar] nmap-7.98/idle_scan.cc:266:21: style: C-style pointer casting [cstyleCast] nmap-7.98/idle_scan.cc:413:22: style: C-style pointer casting [cstyleCast] nmap-7.98/idle_scan.cc:627:7: style: C-style pointer casting [cstyleCast] nmap-7.98/idle_scan.cc:628:7: style: C-style pointer casting [cstyleCast] nmap-7.98/idle_scan.cc:760:21: style: C-style pointer casting [cstyleCast] nmap-7.98/idle_scan.cc:147:7: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/idle_scan.cc:165:17: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/idle_scan.cc:223:19: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/idle_scan.cc:231:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/idle_scan.cc:251:12: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/idle_scan.cc:258:41: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/idle_scan.cc:263:19: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/idle_scan.cc:286:29: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/idle_scan.cc:401:10: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/idle_scan.cc:416:16: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/idle_scan.cc:416:44: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/idle_scan.cc:428:4: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/idle_scan.cc:453:4: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/idle_scan.cc:661:20: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/idle_scan.cc:669:40: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/idle_scan.cc:685:12: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/idle_scan.cc:713:39: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/idle_scan.cc:741:17: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/idle_scan.cc:855:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/idle_scan.cc:863:42: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/idle_scan.cc:1026:20: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/idle_scan.cc:1033:37: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libdnet-stripped/src/intf.c:124:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INTF_FLAG_UP [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/intf.c:141:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IFF_UP [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/intf.c:245:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIOCSIFFLAGS [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/intf.c:283:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable addr_type [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/intf.c:308:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/intf.c:420:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INTF_FLAG_LOOPBACK [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/intf.c:515:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIOCGIFFLAGS [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/intf.c:714:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/intf.c:825:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIOCGIFCONF [valueFlowBailoutIncompleteVar] nmap-7.98/idle_scan.cc:185:7: style: The scope of the variable 'to_usec' can be reduced. [variableScope] nmap-7.98/libdnet-stripped/src/intf.c:834:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ADDR_TYPE_IP [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/intf.c:847:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IFNAMSIZ [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/intf.c:898:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/intf.c:912:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ADDR_TYPE_IP6 [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/intf.c:1073:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] nmap-7.98/idle_scan.cc:492:7: style: The scope of the variable 'distance' can be reduced. [variableScope] nmap-7.98/idle_scan.cc:907:14: style: The scope of the variable 'notidlewarning' can be reduced. [variableScope] nmap-7.98/idle_scan.cc:981:7: style: The scope of the variable 'sleeptime' can be reduced. [variableScope] nmap-7.98/idle_scan.cc:1198:7: style: The scope of the variable 'retrycount' can be reduced. [variableScope] nmap-7.98/idle_scan.cc:1198:24: style: The scope of the variable 'retry2' can be reduced. [variableScope] nmap-7.98/idle_scan.cc:1329:7: style: The scope of the variable 'groupsz' can be reduced. [variableScope] nmap-7.98/idle_scan.cc:1331:7: style: The scope of the variable 'portsleft' can be reduced. [variableScope] nmap-7.98/libdnet-stripped/src/intf-win32.c:163:2: warning: %lu in format string (no. 2) requires 'unsigned long' but the argument type is 'signed int'. [invalidPrintfArgType_uint] nmap-7.98/libdnet-stripped/src/intf-win32.c:140:35: style: Parameter 'intf' can be declared as pointer to const [constParameterPointer] nmap-7.98/idle_scan.cc:1325:22: style:inconclusive: Function 'idle_scan' argument 4 names different: declaration 'proxy' definition 'proxyName'. [funcArgNamesDifferent] nmap-7.98/idle_scan.h:79:22: note: Function 'idle_scan' argument 4 names different: declaration 'proxy' definition 'proxyName'. nmap-7.98/idle_scan.cc:1325:22: note: Function 'idle_scan' argument 4 names different: declaration 'proxy' definition 'proxyName'. nmap-7.98/libdnet-stripped/src/intf-win32.c:140:63: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] nmap-7.98/libdnet-stripped/src/intf-win32.c:143:20: style: Variable 'lap' can be declared as pointer to const [constVariablePointer] nmap-7.98/libdnet-stripped/src/intf-win32.c:191:22: style: Variable 'prefix' can be declared as pointer to const [constVariablePointer] nmap-7.98/libdnet-stripped/src/intf-win32.c:334:31: style: Parameter 'intf' can be declared as pointer to const [constParameterPointer] nmap-7.98/libdnet-stripped/src/intf-win32.c:337:8: style: Variable 'p' can be declared as pointer to const [constVariablePointer] nmap-7.98/libdnet-stripped/src/intf-win32.c:355:40: style: Parameter 'intf' can be declared as pointer to const [constParameterPointer] nmap-7.98/libdnet-stripped/src/intf-win32.c:601:52: style: Parameter 'pcapdev' can be declared as pointer to const [constParameterPointer] nmap-7.98/libdnet-stripped/src/intf-win32.c:244:68: error: Uninitialized variable: value [uninitvar] nmap-7.98/idle_scan.cc:142:33: style: Variable 'frag_header' can be declared as pointer to const [constVariablePointer] nmap-7.98/idle_scan.cc:354:77: style: Parameter 'target' can be declared as pointer to const [constParameterPointer] nmap-7.98/idle_scan.cc:357:14: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] nmap-7.98/libdnet-stripped/src/ip-cooked.c:39:12: error: syntax error [syntaxError] nmap-7.98/libdnet-stripped/src/ip-util.c:54:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IP_PROTO_TCP [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/ip-util.c:112:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IP_HDR_LEN [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/ip-util.c:24:24: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] nmap-7.98/libdnet-stripped/src/ip-util.c:171:12: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] nmap-7.98/idle_scan.cc:1198:18: style: Variable 'retrycount' is assigned a value that is never used. [unreadVariable] nmap-7.98/idle_scan.cc:1198:31: style: Variable 'retry2' is assigned a value that is never used. [unreadVariable] nmap-7.98/libdnet-stripped/src/ip-win32.c:36:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_SOCKET [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/ip-win32.c:59:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCKET_ERROR [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/ip-win32.c:70:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_SOCKET [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/ip-win32.c:54:17: style: Variable 'hdr' can be declared as pointer to const [constVariablePointer] nmap-7.98/libdnet-stripped/src/intf.c:318:39: style: Condition '_intf_delete_aliases(intf,orig)<0' is always false [knownConditionTrueFalse] nmap-7.98/libdnet-stripped/src/intf.c:318:26: note: Calling function '_intf_delete_aliases' returns 0 nmap-7.98/libdnet-stripped/src/intf.c:318:39: note: Condition '_intf_delete_aliases(intf,orig)<0' is always false nmap-7.98/libdnet-stripped/src/intf.c:322:37: style: Condition '_intf_delete_addrs(intf,orig)<0' is always false [knownConditionTrueFalse] nmap-7.98/libdnet-stripped/src/intf.c:322:24: note: Calling function '_intf_delete_addrs' returns 0 nmap-7.98/libdnet-stripped/src/intf.c:322:37: note: Condition '_intf_delete_addrs(intf,orig)<0' is always false nmap-7.98/libdnet-stripped/src/intf.c:286:3: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] nmap-7.98/libdnet-stripped/src/ip.c:79:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/intf.c:526:2: style: Statements following 'return' will never be executed. [unreachableCode] nmap-7.98/libdnet-stripped/src/intf.c:191:28: style: Parameter 'intf' can be declared as pointer to const [constParameterPointer] nmap-7.98/libdnet-stripped/src/intf.c:191:53: style: Parameter 'entry' can be declared as pointer to const [constParameterPointer] nmap-7.98/libdnet-stripped/src/intf.c:218:55: style: Parameter 'entry' can be declared as pointer to const [constParameterPointer] nmap-7.98/libdnet-stripped/src/intf.c:708:22: style: Variable 'lifr' can be declared as pointer to const [constVariablePointer] nmap-7.98/libdnet-stripped/src/intf.c:710:20: style: Variable 'lap' can be declared as pointer to const [constVariablePointer] nmap-7.98/libdnet-stripped/src/intf.c:893:67: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] nmap-7.98/libdnet-stripped/src/intf.c:1072:22: style: Variable 'lifr' can be declared as pointer to const [constVariablePointer] nmap-7.98/libdnet-stripped/src/intf.c:1072:29: style: Variable 'pifr' can be declared as pointer to const [constVariablePointer] nmap-7.98/libdnet-stripped/src/ip.c:68:15: style: Parameter 'i' can be declared as pointer to const [constParameterPointer] nmap-7.98/libdnet-stripped/src/ip.c:70:17: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] nmap-7.98/libdnet-stripped/src/ip.c:33:6: style: Unused variable: n [unusedVariable] nmap-7.98/libdnet-stripped/src/ip.c:34:12: style: Unused variable: len [unusedVariable] nmap-7.98/libdnet-stripped/src/intf.c:237:12: error: Uninitialized variable: ifr [uninitvar] nmap-7.98/libdnet-stripped/src/intf.c:82:8: style: struct member 'dnet_ifaliasreq::ifra_name' is never used. [unusedStructMember] nmap-7.98/libdnet-stripped/src/intf.c:93:7: style: struct member 'dnet_ifaliasreq::ifra_cookie' is never used. [unusedStructMember] nmap-7.98/libdnet-stripped/src/ip6.c:33:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IP6_HDR_LEN [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/ip6.c:89:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IP_PROTO_TCP [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/ndisc-none.c:23:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/ndisc-none.c:30:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/ndisc-none.c:37:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/ndisc-none.c:44:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/ndisc-none.c:51:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/ndisc-none.c:28:20: style: Parameter 'n' can be declared as pointer to const [constParameterPointer] nmap-7.98/libdnet-stripped/src/ndisc-none.c:35:23: style: Parameter 'n' can be declared as pointer to const [constParameterPointer] nmap-7.98/libdnet-stripped/src/ndisc-none.c:42:20: style: Parameter 'n' can be declared as pointer to const [constParameterPointer] nmap-7.98/libdnet-stripped/src/ndisc-none.c:42:43: style: Parameter 'entry' can be declared as pointer to const [constParameterPointer] nmap-7.98/libdnet-stripped/src/ndisc-none.c:49:21: style: Parameter 'n' can be declared as pointer to const [constParameterPointer] nmap-7.98/libdnet-stripped/src/ndisc-none.c:49:54: style: Parameter 'arg' can be declared as pointer to const [constParameterPointer] nmap-7.98/libdnet-stripped/src/ndisc-none.c:56:22: style: Parameter 'n' can be declared as pointer to const [constParameterPointer] nmap-7.98/libdnet-stripped/src/ip6.c:27:22: style: Variable 'ext' can be declared as pointer to const [constVariablePointer] nmap-7.98/libdnet-stripped/src/ndisc-linux.c:51:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_NETLINK [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/ndisc-linux.c:86:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/ndisc-linux.c:162:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NLM_F_EXCL [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/ndisc-linux.c:168:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RTM_DELNEIGH [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/ndisc-linux.c:175:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/ndisc-linux.c:183:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/rand.c:96:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/route-bsd.c:102:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/route-bsd.c:241:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RTM_GET [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/route-bsd.c:685:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/rand.c:59:38: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] nmap-7.98/libdnet-stripped/src/route-hpux.c:54:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RTF_UP [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/route-hpux.c:78:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RTF_UP [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/route-hpux.c:102:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IP_ADDR_ANY [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/route-hpux.c:138:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/ndisc-linux.c:147:20: style: Variable 'err' can be declared as pointer to const [constVariablePointer] nmap-7.98/libdnet-stripped/src/ndisc-linux.c:172:20: style: Parameter 'n' can be declared as pointer to const [constParameterPointer] nmap-7.98/libdnet-stripped/src/ndisc-linux.c:172:43: style: Parameter 'entry' can be declared as pointer to const [constParameterPointer] nmap-7.98/libdnet-stripped/src/ndisc-linux.c:180:21: style: Parameter 'n' can be declared as pointer to const [constParameterPointer] nmap-7.98/libdnet-stripped/src/ndisc-linux.c:180:54: style: Parameter 'arg' can be declared as pointer to const [constParameterPointer] nmap-7.98/libdnet-stripped/src/route-none.c:22:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/route-none.c:29:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/route-none.c:36:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/route-none.c:43:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/route-none.c:50:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/route-none.c:27:20: style: Parameter 'r' can be declared as pointer to const [constParameterPointer] nmap-7.98/libdnet-stripped/src/route-none.c:34:23: style: Parameter 'r' can be declared as pointer to const [constParameterPointer] nmap-7.98/libdnet-stripped/src/route-none.c:41:20: style: Parameter 'r' can be declared as pointer to const [constParameterPointer] nmap-7.98/libdnet-stripped/src/route-none.c:41:43: style: Parameter 'entry' can be declared as pointer to const [constParameterPointer] nmap-7.98/libdnet-stripped/src/route-none.c:48:21: style: Parameter 'r' can be declared as pointer to const [constParameterPointer] nmap-7.98/libdnet-stripped/src/route-none.c:48:54: style: Parameter 'arg' can be declared as pointer to const [constParameterPointer] nmap-7.98/libdnet-stripped/src/route-none.c:55:22: style: Parameter 'r' can be declared as pointer to const [constParameterPointer] nmap-7.98/libdnet-stripped/src/route-bsd.c:683:21: style: Parameter 'r' can be declared as pointer to const [constParameterPointer] nmap-7.98/libdnet-stripped/src/route-bsd.c:683:54: style: Parameter 'arg' can be declared as pointer to const [constParameterPointer] nmap-7.98/libdnet-stripped/src/route-win32.c:192:50: debug: Function::addArguments found argument 'GetIpForwardTable2' with varid 0. [varid0] nmap-7.98/libdnet-stripped/src/route-win32.c:33:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable route_t [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/route-win32.c:50:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NO_ERROR [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/route-win32.c:76:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ADDR_TYPE_IP [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/route-win32.c:103:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ADDR_TYPE_IP [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/route-win32.c:148:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/route-win32.c:200:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNSPEC [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/route-win32.c:251:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GetIpForwardTable2 [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/route-linux.c:67:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_NETLINK [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/route-linux.c:82:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RTF_UP [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/route-linux.c:105:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RTF_UP [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/route-linux.c:134:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RTF_UP [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/route-linux.c:166:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RTF_UP [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/route-linux.c:188:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RTF_UP [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/route-linux.c:222:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/route-linux.c:319:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/tun-linux.c:44:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/tun-linux.c:82:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETH_TYPE_IP [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/tun-linux.c:98:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable iov_base [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/tun-bsd.c:39:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ADDR_TYPE_IP [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/tun-linux.c:36:23: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] nmap-7.98/libdnet-stripped/src/tun-linux.c:36:41: style: Parameter 'dst' can be declared as pointer to const [constParameterPointer] nmap-7.98/libdnet-stripped/src/tun-linux.c:73:19: style: Parameter 'tun' can be declared as pointer to const [constParameterPointer] nmap-7.98/libdnet-stripped/src/tun-linux.c:79:17: style: Parameter 'tun' can be declared as pointer to const [constParameterPointer] nmap-7.98/libdnet-stripped/src/tun-linux.c:93:17: style: Parameter 'tun' can be declared as pointer to const [constParameterPointer] nmap-7.98/libdnet-stripped/src/tun-none.c:26:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/tun-none.c:33:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/tun-none.c:40:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/tun-none.c:47:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/tun-none.c:54:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/tun-none.c:24:23: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] nmap-7.98/libdnet-stripped/src/tun-none.c:24:41: style: Parameter 'dst' can be declared as pointer to const [constParameterPointer] nmap-7.98/libdnet-stripped/src/tun-none.c:31:17: style: Parameter 'tun' can be declared as pointer to const [constParameterPointer] nmap-7.98/libdnet-stripped/src/tun-none.c:38:19: style: Parameter 'tun' can be declared as pointer to const [constParameterPointer] nmap-7.98/libdnet-stripped/src/tun-none.c:45:17: style: Parameter 'tun' can be declared as pointer to const [constParameterPointer] nmap-7.98/libdnet-stripped/src/tun-none.c:52:17: style: Parameter 'tun' can be declared as pointer to const [constParameterPointer] nmap-7.98/libdnet-stripped/src/tun-none.c:52:28: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] nmap-7.98/libdnet-stripped/src/tun-none.c:59:18: style: Parameter 'tun' can be declared as pointer to const [constParameterPointer] nmap-7.98/libdnet-stripped/src/tun-solaris.c:51:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] nmap-7.98/libdnet-stripped/src/tun-bsd.c:32:23: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] nmap-7.98/libdnet-stripped/src/tun-bsd.c:32:41: style: Parameter 'dst' can be declared as pointer to const [constParameterPointer] nmap-7.98/libdnet-stripped/src/tun-bsd.c:93:19: style: Parameter 'tun' can be declared as pointer to const [constParameterPointer] nmap-7.98/libdnet-stripped/src/tun-bsd.c:99:17: style: Parameter 'tun' can be declared as pointer to const [constParameterPointer] nmap-7.98/libdnet-stripped/src/tun-bsd.c:117:17: style: Parameter 'tun' can be declared as pointer to const [constParameterPointer] nmap-7.98/libdnet-stripped/src/tun-solaris.c:84:17: style: Parameter 'tun' can be declared as pointer to const [constParameterPointer] nmap-7.98/libdnet-stripped/src/tun-solaris.c:90:19: style: Parameter 'tun' can be declared as pointer to const [constParameterPointer] nmap-7.98/libnetutil/ARPHeader.cc:128:16: style:inconclusive: Technically the member function 'ARPHeader::validate' can be const. [functionConst] nmap-7.98/libnetutil/ARPHeader.h:178:13: note: Technically the member function 'ARPHeader::validate' can be const. nmap-7.98/libnetutil/ARPHeader.cc:128:16: note: Technically the member function 'ARPHeader::validate' can be const. nmap-7.98/libnetutil/ARPHeader.cc:214:15: style:inconclusive: Technically the member function 'ARPHeader::getHwAddrLen' can be const. [functionConst] nmap-7.98/libnetutil/ARPHeader.h:194:12: note: Technically the member function 'ARPHeader::getHwAddrLen' can be const. nmap-7.98/libnetutil/ARPHeader.cc:214:15: note: Technically the member function 'ARPHeader::getHwAddrLen' can be const. nmap-7.98/libnetutil/ARPHeader.cc:236:15: style:inconclusive: Technically the member function 'ARPHeader::getProtoAddrLen' can be const. [functionConst] nmap-7.98/libnetutil/ARPHeader.h:199:12: note: Technically the member function 'ARPHeader::getProtoAddrLen' can be const. nmap-7.98/libnetutil/ARPHeader.cc:236:15: note: Technically the member function 'ARPHeader::getProtoAddrLen' can be const. nmap-7.98/libnetutil/ARPHeader.cc:280:16: style:inconclusive: Technically the member function 'ARPHeader::getSenderIP' can be const. [functionConst] nmap-7.98/libnetutil/ARPHeader.h:211:13: note: Technically the member function 'ARPHeader::getSenderIP' can be const. nmap-7.98/libnetutil/ARPHeader.cc:280:16: note: Technically the member function 'ARPHeader::getSenderIP' can be const. nmap-7.98/libnetutil/ARPHeader.cc:311:16: style:inconclusive: Technically the member function 'ARPHeader::getTargetIP' can be const. [functionConst] nmap-7.98/libnetutil/ARPHeader.h:219:13: note: Technically the member function 'ARPHeader::getTargetIP' can be const. nmap-7.98/libnetutil/ARPHeader.cc:311:16: note: Technically the member function 'ARPHeader::getTargetIP' can be const. nmap-7.98/libnetutil/ARPHeader.cc:92:10: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/ARPHeader.cc:281:12: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/ARPHeader.cc:312:12: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/ARPHeader.cc:155:36: style:inconclusive: Function 'setHardwareType' argument 1 names different: declaration 't' definition 'val'. [funcArgNamesDifferent] nmap-7.98/libnetutil/ARPHeader.h:182:33: note: Function 'setHardwareType' argument 1 names different: declaration 't' definition 'val'. nmap-7.98/libnetutil/ARPHeader.cc:155:36: note: Function 'setHardwareType' argument 1 names different: declaration 't' definition 'val'. nmap-7.98/libnetutil/ARPHeader.cc:177:36: style:inconclusive: Function 'setProtocolType' argument 1 names different: declaration 't' definition 'val'. [funcArgNamesDifferent] nmap-7.98/libnetutil/ARPHeader.h:187:33: note: Function 'setProtocolType' argument 1 names different: declaration 't' definition 'val'. nmap-7.98/libnetutil/ARPHeader.cc:177:36: note: Function 'setProtocolType' argument 1 names different: declaration 't' definition 'val'. nmap-7.98/libnetutil/ARPHeader.cc:199:32: style:inconclusive: Function 'setHwAddrLen' argument 1 names different: declaration 'v' definition 'val'. [funcArgNamesDifferent] nmap-7.98/libnetutil/ARPHeader.h:192:29: note: Function 'setHwAddrLen' argument 1 names different: declaration 'v' definition 'val'. nmap-7.98/libnetutil/ARPHeader.cc:199:32: note: Function 'setHwAddrLen' argument 1 names different: declaration 'v' definition 'val'. nmap-7.98/libnetutil/ARPHeader.cc:221:35: style:inconclusive: Function 'setProtoAddrLen' argument 1 names different: declaration 'v' definition 'val'. [funcArgNamesDifferent] nmap-7.98/libnetutil/ARPHeader.h:197:32: note: Function 'setProtoAddrLen' argument 1 names different: declaration 'v' definition 'val'. nmap-7.98/libnetutil/ARPHeader.cc:221:35: note: Function 'setProtoAddrLen' argument 1 names different: declaration 'v' definition 'val'. nmap-7.98/libnetutil/ARPHeader.cc:243:30: style:inconclusive: Function 'setOpCode' argument 1 names different: declaration 'c' definition 'val'. [funcArgNamesDifferent] nmap-7.98/libnetutil/ARPHeader.h:202:27: note: Function 'setOpCode' argument 1 names different: declaration 'c' definition 'val'. nmap-7.98/libnetutil/ARPHeader.cc:243:30: note: Function 'setOpCode' argument 1 names different: declaration 'c' definition 'val'. nmap-7.98/libnetutil/ARPHeader.cc:257:40: style:inconclusive: Function 'setSenderMAC' argument 1 names different: declaration 'm' definition 'val'. [funcArgNamesDifferent] nmap-7.98/libnetutil/ARPHeader.h:206:36: note: Function 'setSenderMAC' argument 1 names different: declaration 'm' definition 'val'. nmap-7.98/libnetutil/ARPHeader.cc:257:40: note: Function 'setSenderMAC' argument 1 names different: declaration 'm' definition 'val'. nmap-7.98/libnetutil/ARPHeader.cc:273:43: style:inconclusive: Function 'setSenderIP' argument 1 names different: declaration 'i' definition 'val'. [funcArgNamesDifferent] nmap-7.98/libnetutil/ARPHeader.h:210:40: note: Function 'setSenderIP' argument 1 names different: declaration 'i' definition 'val'. nmap-7.98/libnetutil/ARPHeader.cc:273:43: note: Function 'setSenderIP' argument 1 names different: declaration 'i' definition 'val'. nmap-7.98/libnetutil/ARPHeader.cc:288:34: style:inconclusive: Function 'setTargetMAC' argument 1 names different: declaration 'm' definition 'val'. [funcArgNamesDifferent] nmap-7.98/libnetutil/ARPHeader.h:214:30: note: Function 'setTargetMAC' argument 1 names different: declaration 'm' definition 'val'. nmap-7.98/libnetutil/ARPHeader.cc:288:34: note: Function 'setTargetMAC' argument 1 names different: declaration 'm' definition 'val'. nmap-7.98/libnetutil/ARPHeader.cc:304:43: style:inconclusive: Function 'setTargetIP' argument 1 names different: declaration 'i' definition 'val'. [funcArgNamesDifferent] nmap-7.98/libnetutil/ARPHeader.h:218:40: note: Function 'setTargetIP' argument 1 names different: declaration 'i' definition 'val'. nmap-7.98/libnetutil/ARPHeader.cc:304:43: note: Function 'setTargetIP' argument 1 names different: declaration 'i' definition 'val'. nmap-7.98/libnetutil/ARPHeader.cc:281:8: style: Variable 'p' can be declared as pointer to const [constVariablePointer] nmap-7.98/libnetutil/ARPHeader.cc:288:34: style: Parameter 'val' can be declared as pointer to const [constParameterPointer] nmap-7.98/libnetutil/ARPHeader.cc:312:8: style: Variable 'p' can be declared as pointer to const [constVariablePointer] nmap-7.98/libnetutil/EthernetHeader.cc:129:21: style:inconclusive: Technically the member function 'EthernetHeader::validate' can be const. [functionConst] nmap-7.98/libnetutil/EthernetHeader.h:120:13: note: Technically the member function 'EthernetHeader::validate' can be const. nmap-7.98/libnetutil/EthernetHeader.cc:129:21: note: Technically the member function 'EthernetHeader::validate' can be const. nmap-7.98/libnetutil/FragmentHeader.cc:130:21: style:inconclusive: Technically the member function 'FragmentHeader::validate' can be const. [functionConst] nmap-7.98/libnetutil/FragmentHeader.h:95:13: note: Technically the member function 'FragmentHeader::validate' can be const. nmap-7.98/libnetutil/FragmentHeader.cc:130:21: note: Technically the member function 'FragmentHeader::validate' can be const. nmap-7.98/libnetutil/FragmentHeader.cc:168:20: style:inconclusive: Technically the member function 'FragmentHeader::getNextHeader' can be const. [functionConst] nmap-7.98/libnetutil/FragmentHeader.h:100:12: note: Technically the member function 'FragmentHeader::getNextHeader' can be const. nmap-7.98/libnetutil/FragmentHeader.cc:168:20: note: Technically the member function 'FragmentHeader::getNextHeader' can be const. nmap-7.98/libnetutil/FragmentHeader.cc:198:22: style:inconclusive: Technically the member function 'FragmentHeader::getM' can be const. [functionConst] nmap-7.98/libnetutil/FragmentHeader.h:106:14: note: Technically the member function 'FragmentHeader::getM' can be const. nmap-7.98/libnetutil/FragmentHeader.cc:198:22: note: Technically the member function 'FragmentHeader::getM' can be const. nmap-7.98/libnetutil/EthernetHeader.cc:89:10: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/FragmentHeader.cc:91:10: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/EthernetHeader.cc:195:35: style: Parameter 'm' can be declared as pointer to const [constParameterPointer] nmap-7.98/libnetutil/HopByHopHeader.cc:340:20: style:inconclusive: Technically the member function 'HopByHopHeader::getNextHeader' can be const. [functionConst] nmap-7.98/libnetutil/HopByHopHeader.h:116:12: note: Technically the member function 'HopByHopHeader::getNextHeader' can be const. nmap-7.98/libnetutil/HopByHopHeader.cc:340:20: note: Technically the member function 'HopByHopHeader::getNextHeader' can be const. nmap-7.98/libnetutil/HopByHopHeader.cc:80:15: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/HopByHopHeader.cc:82:35: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/HopByHopHeader.cc:93:10: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/HopByHopHeader.cc:146:16: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/HopByHopHeader.cc:161:16: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/HopByHopHeader.cc:145:34: style: Variable 'curr_opt' can be declared as pointer to const [constVariablePointer] nmap-7.98/libnetutil/HopByHopHeader.cc:369:6: style: Variable 'zeroes' can be declared as const array [constVariable] nmap-7.98/libnetutil/ICMPv4Header.cc:188:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] nmap-7.98/libnetutil/ICMPv4Header.cc:145:19: style:inconclusive: Technically the member function 'ICMPv4Header::validate' can be const. [functionConst] nmap-7.98/libnetutil/ICMPv4Header.h:444:13: note: Technically the member function 'ICMPv4Header::validate' can be const. nmap-7.98/libnetutil/ICMPv4Header.cc:145:19: note: Technically the member function 'ICMPv4Header::validate' can be const. nmap-7.98/libnetutil/ICMPv4Header.cc:282:20: performance:inconclusive: Technically the member function 'ICMPv4Header::validateType' can be static (but you may consider moving to unnamed namespace). [functionStatic] nmap-7.98/libnetutil/ICMPv4Header.h:451:14: note: Technically the member function 'ICMPv4Header::validateType' can be static (but you may consider moving to unnamed namespace). nmap-7.98/libnetutil/ICMPv4Header.cc:282:20: note: Technically the member function 'ICMPv4Header::validateType' can be static (but you may consider moving to unnamed namespace). nmap-7.98/libnetutil/ICMPv4Header.cc:336:20: performance:inconclusive: Technically the member function 'ICMPv4Header::validateCode' can be static (but you may consider moving to unnamed namespace). [functionStatic] nmap-7.98/libnetutil/ICMPv4Header.h:457:14: note: Technically the member function 'ICMPv4Header::validateCode' can be static (but you may consider moving to unnamed namespace). nmap-7.98/libnetutil/ICMPv4Header.cc:336:20: note: Technically the member function 'ICMPv4Header::validateCode' can be static (but you may consider moving to unnamed namespace). nmap-7.98/libnetutil/ICMPv4Header.cc:978:19: performance:inconclusive: Technically the member function 'ICMPv4Header::getICMPHeaderLengthFromType' can be static (but you may consider moving to unnamed namespace). [functionStatic] nmap-7.98/libnetutil/ICMPv4Header.h:524:13: note: Technically the member function 'ICMPv4Header::getICMPHeaderLengthFromType' can be static (but you may consider moving to unnamed namespace). nmap-7.98/libnetutil/ICMPv4Header.cc:978:19: note: Technically the member function 'ICMPv4Header::getICMPHeaderLengthFromType' can be static (but you may consider moving to unnamed namespace). nmap-7.98/libnetutil/ICMPv4Header.cc:1050:27: performance:inconclusive: Technically the member function 'ICMPv4Header::type2string' can be static (but you may consider moving to unnamed namespace). [functionStatic] nmap-7.98/libnetutil/ICMPv4Header.h:525:21: note: Technically the member function 'ICMPv4Header::type2string' can be static (but you may consider moving to unnamed namespace). nmap-7.98/libnetutil/ICMPv4Header.cc:1050:27: note: Technically the member function 'ICMPv4Header::type2string' can be static (but you may consider moving to unnamed namespace). nmap-7.98/libnetutil/ICMPv4Header.cc:470:14: style: C-style pointer casting [cstyleCast] nmap-7.98/libnetutil/ICMPv4Header.cc:525:14: style: C-style pointer casting [cstyleCast] nmap-7.98/libnetutil/ICMPv4Header.cc:81:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/ICMPv4Header.cc:82:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/ICMPv4Header.cc:83:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/ICMPv4Header.cc:84:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/ICMPv4Header.cc:85:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/ICMPv4Header.cc:86:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/ICMPv4Header.cc:87:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/ICMPv4Header.cc:88:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/ICMPv4Header.cc:89:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/ICMPv4Header.cc:90:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/ICMPv4Header.cc:91:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/ICMPv4Header.cc:92:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/ICMPv4Header.cc:93:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/ICMPv4Header.cc:94:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/ICMPv4Header.cc:95:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/ICMPv4Header.cc:108:10: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/ICMPv4Header.cc:440:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/ICMPv4Header.cc:678:10: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/ICMPv4Header.cc:321:30: style:inconclusive: Function 'setCode' argument 1 names different: declaration 'c' definition 'val'. [funcArgNamesDifferent] nmap-7.98/libnetutil/ICMPv4Header.h:454:24: note: Function 'setCode' argument 1 names different: declaration 'c' definition 'val'. nmap-7.98/libnetutil/ICMPv4Header.cc:321:30: note: Function 'setCode' argument 1 names different: declaration 'c' definition 'val'. nmap-7.98/libnetutil/ICMPv4Header.cc:845:45: style:inconclusive: Function 'setOriginateTimestamp' argument 1 names different: declaration 't' definition 'val'. [funcArgNamesDifferent] nmap-7.98/libnetutil/ICMPv4Header.h:496:39: note: Function 'setOriginateTimestamp' argument 1 names different: declaration 't' definition 'val'. nmap-7.98/libnetutil/ICMPv4Header.cc:845:45: note: Function 'setOriginateTimestamp' argument 1 names different: declaration 't' definition 'val'. nmap-7.98/libnetutil/ICMPv4Header.cc:859:43: style:inconclusive: Function 'setReceiveTimestamp' argument 1 names different: declaration 't' definition 'val'. [funcArgNamesDifferent] nmap-7.98/libnetutil/ICMPv4Header.h:498:37: note: Function 'setReceiveTimestamp' argument 1 names different: declaration 't' definition 'val'. nmap-7.98/libnetutil/ICMPv4Header.cc:859:43: note: Function 'setReceiveTimestamp' argument 1 names different: declaration 't' definition 'val'. nmap-7.98/libnetutil/ICMPv4Header.cc:873:44: style:inconclusive: Function 'setTransmitTimestamp' argument 1 names different: declaration 't' definition 'val'. [funcArgNamesDifferent] nmap-7.98/libnetutil/ICMPv4Header.h:500:38: note: Function 'setTransmitTimestamp' argument 1 names different: declaration 't' definition 'val'. nmap-7.98/libnetutil/ICMPv4Header.cc:873:44: note: Function 'setTransmitTimestamp' argument 1 names different: declaration 't' definition 'val'. nmap-7.98/libnetutil/ICMPv4Header.cc:887:49: style:inconclusive: Function 'setAddressMask' argument 1 names different: declaration 'mask' definition 'ipaddr'. [funcArgNamesDifferent] nmap-7.98/libnetutil/ICMPv4Header.h:504:43: note: Function 'setAddressMask' argument 1 names different: declaration 'mask' definition 'ipaddr'. nmap-7.98/libnetutil/ICMPv4Header.cc:887:49: note: Function 'setAddressMask' argument 1 names different: declaration 'mask' definition 'ipaddr'. nmap-7.98/libnetutil/ICMPv4Header.cc:470:7: style: Variable 'auxpnt' can be declared as pointer to const [constVariablePointer] nmap-7.98/libnetutil/ICMPv6Header.cc:794:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in6_addr [valueFlowBailoutIncompleteVar] nmap-7.98/libnetutil/ICMPv6Header.cc:829:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in6_addr [valueFlowBailoutIncompleteVar] nmap-7.98/libnetutil/ICMPv6Header.cc:1091:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in6_addr [valueFlowBailoutIncompleteVar] nmap-7.98/libnetutil/ICMPv6Header.cc:144:19: style:inconclusive: Technically the member function 'ICMPv6Header::validate' can be const. [functionConst] nmap-7.98/libnetutil/ICMPv6Header.h:570:13: note: Technically the member function 'ICMPv6Header::validate' can be const. nmap-7.98/libnetutil/ICMPv6Header.cc:144:19: note: Technically the member function 'ICMPv6Header::validate' can be const. nmap-7.98/libnetutil/ICMPv6Header.cc:261:20: performance:inconclusive: Technically the member function 'ICMPv6Header::validateType' can be static (but you may consider moving to unnamed namespace). [functionStatic] nmap-7.98/libnetutil/ICMPv6Header.h:577:14: note: Technically the member function 'ICMPv6Header::validateType' can be static (but you may consider moving to unnamed namespace). nmap-7.98/libnetutil/ICMPv6Header.cc:261:20: note: Technically the member function 'ICMPv6Header::validateType' can be static (but you may consider moving to unnamed namespace). nmap-7.98/libnetutil/ICMPv6Header.cc:307:20: performance:inconclusive: Technically the member function 'ICMPv6Header::validateCode' can be static (but you may consider moving to unnamed namespace). [functionStatic] nmap-7.98/libnetutil/ICMPv6Header.h:583:14: note: Technically the member function 'ICMPv6Header::validateCode' can be static (but you may consider moving to unnamed namespace). nmap-7.98/libnetutil/ICMPv6Header.cc:307:20: note: Technically the member function 'ICMPv6Header::validateCode' can be static (but you may consider moving to unnamed namespace). nmap-7.98/libnetutil/ICMPv6Header.cc:1115:19: performance:inconclusive: Technically the member function 'ICMPv6Header::getHeaderLengthFromType' can be static (but you may consider moving to unnamed namespace). [functionStatic] nmap-7.98/libnetutil/ICMPv6Header.h:664:13: note: Technically the member function 'ICMPv6Header::getHeaderLengthFromType' can be static (but you may consider moving to unnamed namespace). nmap-7.98/libnetutil/ICMPv6Header.cc:1115:19: note: Technically the member function 'ICMPv6Header::getHeaderLengthFromType' can be static (but you may consider moving to unnamed namespace). nmap-7.98/libnetutil/ICMPv6Header.cc:1202:27: performance:inconclusive: Technically the member function 'ICMPv6Header::type2string' can be static (but you may consider moving to unnamed namespace). [functionStatic] nmap-7.98/libnetutil/ICMPv6Header.h:666:21: note: Technically the member function 'ICMPv6Header::type2string' can be static (but you may consider moving to unnamed namespace). nmap-7.98/libnetutil/ICMPv6Header.cc:1202:27: note: Technically the member function 'ICMPv6Header::type2string' can be static (but you may consider moving to unnamed namespace). nmap-7.98/libnetutil/ICMPv6Header.cc:396:22: style: C-style pointer casting [cstyleCast] nmap-7.98/libnetutil/ICMPv6Header.cc:431:14: style: C-style pointer casting [cstyleCast] nmap-7.98/libnetutil/ICMPv6Header.cc:487:14: style: C-style pointer casting [cstyleCast] nmap-7.98/libnetutil/ICMPv6Header.cc:83:10: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/ICMPv6Header.cc:84:10: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/ICMPv6Header.cc:85:10: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/ICMPv6Header.cc:86:10: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/ICMPv6Header.cc:87:10: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/ICMPv6Header.cc:88:10: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/ICMPv6Header.cc:89:10: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/ICMPv6Header.cc:90:10: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/ICMPv6Header.cc:91:10: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/ICMPv6Header.cc:92:10: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/ICMPv6Header.cc:93:10: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/ICMPv6Header.cc:94:10: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/ICMPv6Header.cc:95:10: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/ICMPv6Header.cc:106:10: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/ICMPv6Header.cc:391:31: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/ICMPv6Option.cc:125:18: style:inconclusive: Technically the member function 'ICMPv6Option::getType' can be const. [functionConst] nmap-7.98/libnetutil/ICMPv6Option.h:205:12: note: Technically the member function 'ICMPv6Option::getType' can be const. nmap-7.98/libnetutil/ICMPv6Option.cc:125:18: note: Technically the member function 'ICMPv6Option::getType' can be const. nmap-7.98/libnetutil/ICMPv6Option.cc:130:20: performance:inconclusive: Technically the member function 'ICMPv6Option::validateType' can be static (but you may consider moving to unnamed namespace). [functionStatic] nmap-7.98/libnetutil/ICMPv6Option.h:206:14: note: Technically the member function 'ICMPv6Option::validateType' can be static (but you may consider moving to unnamed namespace). nmap-7.98/libnetutil/ICMPv6Option.cc:130:20: note: Technically the member function 'ICMPv6Option::validateType' can be static (but you may consider moving to unnamed namespace). nmap-7.98/libnetutil/ICMPv6Option.cc:154:18: style:inconclusive: Technically the member function 'ICMPv6Option::getLength' can be const. [functionConst] nmap-7.98/libnetutil/ICMPv6Option.h:209:12: note: Technically the member function 'ICMPv6Option::getLength' can be const. nmap-7.98/libnetutil/ICMPv6Option.cc:154:18: note: Technically the member function 'ICMPv6Option::getLength' can be const. nmap-7.98/libnetutil/ICMPv6Option.cc:198:18: style:inconclusive: Technically the member function 'ICMPv6Option::getPrefixLength' can be const. [functionConst] nmap-7.98/libnetutil/ICMPv6Option.h:215:12: note: Technically the member function 'ICMPv6Option::getPrefixLength' can be const. nmap-7.98/libnetutil/ICMPv6Option.cc:198:18: note: Technically the member function 'ICMPv6Option::getPrefixLength' can be const. nmap-7.98/libnetutil/ICMPv6Option.cc:214:18: style:inconclusive: Technically the member function 'ICMPv6Option::getFlags' can be const. [functionConst] nmap-7.98/libnetutil/ICMPv6Option.h:218:12: note: Technically the member function 'ICMPv6Option::getFlags' can be const. nmap-7.98/libnetutil/ICMPv6Option.cc:214:18: note: Technically the member function 'ICMPv6Option::getFlags' can be const. nmap-7.98/libnetutil/ICMPv6Option.cc:299:19: performance:inconclusive: Technically the member function 'ICMPv6Option::getHeaderLengthFromType' can be static (but you may consider moving to unnamed namespace). [functionStatic] nmap-7.98/libnetutil/ICMPv6Option.h:232:13: note: Technically the member function 'ICMPv6Option::getHeaderLengthFromType' can be static (but you may consider moving to unnamed namespace). nmap-7.98/libnetutil/ICMPv6Option.cc:299:19: note: Technically the member function 'ICMPv6Option::getHeaderLengthFromType' can be static (but you may consider moving to unnamed namespace). nmap-7.98/libnetutil/ICMPv6Header.cc:292:30: style:inconclusive: Function 'setCode' argument 1 names different: declaration 'c' definition 'val'. [funcArgNamesDifferent] nmap-7.98/libnetutil/ICMPv6Header.h:580:24: note: Function 'setCode' argument 1 names different: declaration 'c' definition 'val'. nmap-7.98/libnetutil/ICMPv6Header.cc:292:30: note: Function 'setCode' argument 1 names different: declaration 'c' definition 'val'. nmap-7.98/libnetutil/ICMPv6Header.cc:646:34: style:inconclusive: Function 'setPointer' argument 1 names different: declaration 'val' definition 'pnt'. [funcArgNamesDifferent] nmap-7.98/libnetutil/ICMPv6Header.h:603:28: note: Function 'setPointer' argument 1 names different: declaration 'val' definition 'pnt'. nmap-7.98/libnetutil/ICMPv6Header.cc:646:34: note: Function 'setPointer' argument 1 names different: declaration 'val' definition 'pnt'. nmap-7.98/libnetutil/ICMPv6Header.cc:391:25: style: Variable 'v6hdr' can be declared as pointer to const [constVariablePointer] nmap-7.98/libnetutil/ICMPv6Header.cc:431:7: style: Variable 'auxpnt' can be declared as pointer to const [constVariablePointer] nmap-7.98/libnetutil/ICMPv6Option.cc:79:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/ICMPv6Option.cc:80:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/ICMPv6Option.cc:81:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/ICMPv6Option.cc:82:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/ICMPv6Option.cc:89:10: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/ICMPv6Option.cc:159:38: style: Parameter 'val' can be declared as pointer to const [constParameterPointer] nmap-7.98/libnetutil/ICMPv6Option.cc:254:33: style: Parameter 'val' can be declared as pointer to const [constParameterPointer] nmap-7.98/libnetutil/ICMPv6RRBody.cc:80:10: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/ICMPv6RRBody.cc:81:10: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/ICMPv6RRBody.cc:82:10: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/ICMPv6RRBody.cc:89:10: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/IPv4Header.cc:165:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] nmap-7.98/libnetutil/IPv6Header.cc:153:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] nmap-7.98/libnetutil/IPv4Header.cc:470:15: style: C-style pointer casting [cstyleCast] nmap-7.98/libnetutil/IPv4Header.cc:101:10: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/IPv4Header.cc:320:35: style:inconclusive: Function 'setFragOffset' argument 1 names different: declaration 'f' definition 'i'. [funcArgNamesDifferent] nmap-7.98/libnetutil/IPv4Header.h:164:31: note: Function 'setFragOffset' argument 1 names different: declaration 'f' definition 'i'. nmap-7.98/libnetutil/IPv4Header.cc:320:35: note: Function 'setFragOffset' argument 1 names different: declaration 'f' definition 'i'. nmap-7.98/libnetutil/IPv4Header.cc:601:29: style: Parameter 'opts_buff' can be declared as pointer to const [constParameterPointer] nmap-7.98/libnetutil/IPv4Header.cc:628:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] nmap-7.98/libnetutil/IPv6Header.cc:134:17: style:inconclusive: Technically the member function 'IPv6Header::validate' can be const. [functionConst] nmap-7.98/libnetutil/IPv6Header.h:128:13: note: Technically the member function 'IPv6Header::validate' can be const. nmap-7.98/libnetutil/IPv6Header.cc:134:17: note: Technically the member function 'IPv6Header::validate' can be const. nmap-7.98/libnetutil/IPv6Header.cc:323:11: style: C-style pointer casting [cstyleCast] nmap-7.98/libnetutil/IPv6Header.cc:348:11: style: C-style pointer casting [cstyleCast] nmap-7.98/libnetutil/IPv6Header.cc:98:10: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/IPv6Header.cc:323:7: style: Variable 'pnt' can be declared as pointer to const [constVariablePointer] nmap-7.98/libnetutil/IPv6Header.cc:437:38: style: Parameter 'val' can be declared as pointer to const [constParameterPointer] nmap-7.98/libnetutil/IPv6Header.cc:469:43: style: Parameter 'val' can be declared as pointer to const [constParameterPointer] nmap-7.98/libnetutil/RawData.cc:158:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u8 [valueFlowBailoutIncompleteVar] nmap-7.98/libnetutil/RawData.cc:124:14: style:inconclusive: Technically the member function 'RawData::validate' can be const. [functionConst] nmap-7.98/libnetutil/RawData.h:82:13: note: Technically the member function 'RawData::validate' can be const. nmap-7.98/libnetutil/RawData.cc:124:14: note: Technically the member function 'RawData::validate' can be const. nmap-7.98/libnetutil/RawData.cc:158:19: style: C-style pointer casting [cstyleCast] nmap-7.98/libnetutil/RawData.cc:170:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/RoutingHeader.cc:188:20: style:inconclusive: Technically the member function 'RoutingHeader::validate' can be const. [functionConst] nmap-7.98/libnetutil/RoutingHeader.h:160:13: note: Technically the member function 'RoutingHeader::validate' can be const. nmap-7.98/libnetutil/RoutingHeader.cc:188:20: note: Technically the member function 'RoutingHeader::validate' can be const. nmap-7.98/libnetutil/RoutingHeader.cc:273:19: style:inconclusive: Technically the member function 'RoutingHeader::getNextHeader' can be const. [functionConst] nmap-7.98/libnetutil/RoutingHeader.h:165:12: note: Technically the member function 'RoutingHeader::getNextHeader' can be const. nmap-7.98/libnetutil/RoutingHeader.cc:273:19: note: Technically the member function 'RoutingHeader::getNextHeader' can be const. nmap-7.98/libnetutil/RoutingHeader.cc:286:19: style:inconclusive: Technically the member function 'RoutingHeader::getRoutingType' can be const. [functionConst] nmap-7.98/libnetutil/RoutingHeader.h:168:12: note: Technically the member function 'RoutingHeader::getRoutingType' can be const. nmap-7.98/libnetutil/RoutingHeader.cc:286:19: note: Technically the member function 'RoutingHeader::getRoutingType' can be const. nmap-7.98/libnetutil/RoutingHeader.cc:299:19: style:inconclusive: Technically the member function 'RoutingHeader::getSegmentsLeft' can be const. [functionConst] nmap-7.98/libnetutil/RoutingHeader.h:171:12: note: Technically the member function 'RoutingHeader::getSegmentsLeft' can be const. nmap-7.98/libnetutil/RoutingHeader.cc:299:19: note: Technically the member function 'RoutingHeader::getSegmentsLeft' can be const. nmap-7.98/libnetutil/RoutingHeader.cc:81:19: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/RoutingHeader.cc:92:10: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/PacketParser.cc:125:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/libnetutil/PacketParser.cc:626:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] nmap-7.98/libnetutil/PacketParser.cc:992:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/libnetutil/TCPHeader.cc:725:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_TCP [valueFlowBailoutIncompleteVar] nmap-7.98/libnetutil/TCPHeader.cc:462:3: style: Non-boolean value returned from function returning bool [returnNonBoolInBooleanFunction] nmap-7.98/libnetutil/TCPHeader.cc:471:3: style: Non-boolean value returned from function returning bool [returnNonBoolInBooleanFunction] nmap-7.98/libnetutil/TCPHeader.cc:486:3: style: Non-boolean value returned from function returning bool [returnNonBoolInBooleanFunction] nmap-7.98/libnetutil/TCPHeader.cc:495:3: style: Non-boolean value returned from function returning bool [returnNonBoolInBooleanFunction] nmap-7.98/libnetutil/TCPHeader.cc:511:3: style: Non-boolean value returned from function returning bool [returnNonBoolInBooleanFunction] nmap-7.98/libnetutil/TCPHeader.cc:520:3: style: Non-boolean value returned from function returning bool [returnNonBoolInBooleanFunction] nmap-7.98/libnetutil/TCPHeader.cc:535:3: style: Non-boolean value returned from function returning bool [returnNonBoolInBooleanFunction] nmap-7.98/libnetutil/TCPHeader.cc:544:3: style: Non-boolean value returned from function returning bool [returnNonBoolInBooleanFunction] nmap-7.98/libnetutil/TCPHeader.cc:559:3: style: Non-boolean value returned from function returning bool [returnNonBoolInBooleanFunction] nmap-7.98/libnetutil/TCPHeader.cc:568:3: style: Non-boolean value returned from function returning bool [returnNonBoolInBooleanFunction] nmap-7.98/libnetutil/TCPHeader.cc:583:3: style: Non-boolean value returned from function returning bool [returnNonBoolInBooleanFunction] nmap-7.98/libnetutil/TCPHeader.cc:592:3: style: Non-boolean value returned from function returning bool [returnNonBoolInBooleanFunction] nmap-7.98/libnetutil/TCPHeader.cc:607:3: style: Non-boolean value returned from function returning bool [returnNonBoolInBooleanFunction] nmap-7.98/libnetutil/TCPHeader.cc:616:3: style: Non-boolean value returned from function returning bool [returnNonBoolInBooleanFunction] nmap-7.98/libnetutil/TCPHeader.cc:631:3: style: Non-boolean value returned from function returning bool [returnNonBoolInBooleanFunction] nmap-7.98/libnetutil/TCPHeader.cc:640:3: style: Non-boolean value returned from function returning bool [returnNonBoolInBooleanFunction] nmap-7.98/libnetutil/TCPHeader.cc:203:17: performance:inconclusive: Technically the member function 'TCPHeader::__tcppacketoptinfo' can be static (but you may consider moving to unnamed namespace). [functionStatic] nmap-7.98/libnetutil/TCPHeader.h:177:14: note: Technically the member function 'TCPHeader::__tcppacketoptinfo' can be static (but you may consider moving to unnamed namespace). nmap-7.98/libnetutil/TCPHeader.cc:203:17: note: Technically the member function 'TCPHeader::__tcppacketoptinfo' can be static (but you may consider moving to unnamed namespace). nmap-7.98/libnetutil/TCPHeader.cc:101:10: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/TCPHeader.cc:450:20: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/TCPHeader.cc:450:29: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/TCPHeader.cc:725:72: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/TCPHeader.cc:828:16: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/TCPHeader.cc:838:16: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/TCPHeader.cc:847:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/TCPHeader.cc:157:8: style: The scope of the variable 'optinfo' can be reduced. [variableScope] nmap-7.98/libnetutil/TCPHeader.cc:208:7: style: The scope of the variable 'opcode' can be reduced. [variableScope] nmap-7.98/libnetutil/TCPHeader.cc:704:38: style:inconclusive: Function 'setSum' argument 1 names different: declaration 'source' definition 'src'. [funcArgNamesDifferent] nmap-7.98/libnetutil/TCPHeader.h:247:35: note: Function 'setSum' argument 1 names different: declaration 'source' definition 'src'. nmap-7.98/libnetutil/TCPHeader.cc:704:38: note: Function 'setSum' argument 1 names different: declaration 'source' definition 'src'. nmap-7.98/libnetutil/TCPHeader.cc:704:58: style:inconclusive: Function 'setSum' argument 2 names different: declaration 'destination' definition 'dst'. [funcArgNamesDifferent] nmap-7.98/libnetutil/TCPHeader.h:247:58: note: Function 'setSum' argument 2 names different: declaration 'destination' definition 'dst'. nmap-7.98/libnetutil/TCPHeader.cc:704:58: note: Function 'setSum' argument 2 names different: declaration 'destination' definition 'dst'. nmap-7.98/libnetutil/TCPHeader.cc:827:20: style: Variable 'curr_opt' can be declared as pointer to const [constVariablePointer] nmap-7.98/libnetutil/TCPHeader.cc:211:17: style: Variable 'i' is assigned a value that is never used. [unreadVariable] nmap-7.98/libnetutil/TransportLayerElement.cc:107:22: style: C-style pointer casting [cstyleCast] nmap-7.98/libnetutil/TransportLayerElement.cc:117:22: style: C-style pointer casting [cstyleCast] nmap-7.98/libnetutil/TransportLayerElement.cc:103:31: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/TransportLayerElement.cc:113:31: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/TransportLayerElement.cc:103:25: style: Variable 'v6hdr' can be declared as pointer to const [constVariablePointer] nmap-7.98/libnetutil/TransportLayerElement.cc:113:25: style: Variable 'v4hdr' can be declared as pointer to const [constVariablePointer] nmap-7.98/libdnet-stripped/src/route-linux.c:328:8: warning: %X in format string (no. 4) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] nmap-7.98/libdnet-stripped/src/route-linux.c:359:8: warning: %x in format string (no. 20) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] nmap-7.98/libdnet-stripped/src/route-linux.c:359:8: warning: %x in format string (no. 21) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] nmap-7.98/libdnet-stripped/src/route-linux.c:372:4: warning: %d in format string (no. 9) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] nmap-7.98/libdnet-stripped/src/route-linux.c:208:20: style: Parameter 'r' can be declared as pointer to const [constParameterPointer] nmap-7.98/libdnet-stripped/src/route-linux.c:296:10: style: Variable 'p' can be declared as pointer to const [constVariablePointer] nmap-7.98/libnetutil/UDPHeader.cc:212:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_UDP [valueFlowBailoutIncompleteVar] nmap-7.98/libnetutil/UDPHeader.cc:132:16: style:inconclusive: Technically the member function 'UDPHeader::validate' can be const. [functionConst] nmap-7.98/libnetutil/UDPHeader.h:105:13: note: Technically the member function 'UDPHeader::validate' can be const. nmap-7.98/libnetutil/UDPHeader.cc:132:16: note: Technically the member function 'UDPHeader::validate' can be const. nmap-7.98/libnetutil/UDPHeader.cc:96:10: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/UDPHeader.cc:212:71: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/UDPHeader.cc:195:38: style:inconclusive: Function 'setSum' argument 1 names different: declaration 'source' definition 'src'. [funcArgNamesDifferent] nmap-7.98/libnetutil/UDPHeader.h:118:35: note: Function 'setSum' argument 1 names different: declaration 'source' definition 'src'. nmap-7.98/libnetutil/UDPHeader.cc:195:38: note: Function 'setSum' argument 1 names different: declaration 'source' definition 'src'. nmap-7.98/libnetutil/UDPHeader.cc:195:58: style:inconclusive: Function 'setSum' argument 2 names different: declaration 'destination' definition 'dst'. [funcArgNamesDifferent] nmap-7.98/libnetutil/UDPHeader.h:118:58: note: Function 'setSum' argument 2 names different: declaration 'destination' definition 'dst'. nmap-7.98/libnetutil/UDPHeader.cc:195:58: note: Function 'setSum' argument 2 names different: declaration 'destination' definition 'dst'. nmap-7.98/lpeg.c:3260:64: debug: Function::addArguments found argument 'catf' with varid 0. [varid0] nmap-7.98/lpeg.c:471:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable siz [valueFlowBailoutIncompleteVar] nmap-7.98/lpeg.c:546:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable siz [valueFlowBailoutIncompleteVar] nmap-7.98/lpeg.c:590:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable siz [valueFlowBailoutIncompleteVar] nmap-7.98/lpeg.c:615:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_MULTRET [valueFlowBailoutIncompleteVar] nmap-7.98/lpeg.c:676:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_MULTRET [valueFlowBailoutIncompleteVar] nmap-7.98/lpeg.c:717:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable siz [valueFlowBailoutIncompleteVar] nmap-7.98/lpeg.c:790:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s [valueFlowBailoutIncompleteVar] nmap-7.98/lpeg.c:846:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable idx [valueFlowBailoutIncompleteVar] nmap-7.98/lpeg.c:2354:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tag [valueFlowBailoutIncompleteVar] nmap-7.98/lpeg.c:2421:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tag [valueFlowBailoutIncompleteVar] nmap-7.98/lpeg.c:2706:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tag [valueFlowBailoutIncompleteVar] nmap-7.98/lpeg.c:2790:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tag [valueFlowBailoutIncompleteVar] nmap-7.98/lpeg.c:2846:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TFUNCTION [valueFlowBailoutIncompleteVar] nmap-7.98/lpeg.c:2908:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TFUNCTION [valueFlowBailoutIncompleteVar] nmap-7.98/lpeg.c:2973:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_MINSTACK [valueFlowBailoutIncompleteVar] nmap-7.98/lpeg.c:3115:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key [valueFlowBailoutIncompleteVar] nmap-7.98/lpeg.c:3232:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] nmap-7.98/lpeg.c:3275:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TTABLE [valueFlowBailoutIncompleteVar] nmap-7.98/lpeg.c:3337:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] nmap-7.98/lpeg.c:3408:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] nmap-7.98/lpeg.c:3517:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s [valueFlowBailoutIncompleteVar] nmap-7.98/libnetutil/netutil.cc:159:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] nmap-7.98/libnetutil/netutil.cc:178:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] nmap-7.98/libnetutil/netutil.cc:277:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] nmap-7.98/libnetutil/netutil.cc:370:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_DGRAM [valueFlowBailoutIncompleteVar] nmap-7.98/libnetutil/netutil.cc:409:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AI_NUMERICHOST [valueFlowBailoutIncompleteVar] nmap-7.98/libnetutil/netutil.cc:436:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] nmap-7.98/libnetutil/netutil.cc:526:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_storage [valueFlowBailoutIncompleteVar] nmap-7.98/libnetutil/netutil.cc:643:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] nmap-7.98/libnetutil/netutil.cc:733:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICMP_TIMEXCEED [valueFlowBailoutIncompleteVar] nmap-7.98/libnetutil/netutil.cc:748:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICMPV6_TIMEXCEED [valueFlowBailoutIncompleteVar] nmap-7.98/libnetutil/netutil.cc:942:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nmap-7.98/libnetutil/netutil.cc:1022:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLT_EN10MB [valueFlowBailoutIncompleteVar] nmap-7.98/libnetutil/netutil.cc:1058:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/libnetutil/netutil.cc:1418:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NI_MAXHOST [valueFlowBailoutIncompleteVar] nmap-7.98/libnetutil/netutil.cc:1472:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ss_family [valueFlowBailoutIncompleteVar] nmap-7.98/libnetutil/netutil.cc:1544:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/libnetutil/netutil.cc:1616:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ss_family [valueFlowBailoutIncompleteVar] nmap-7.98/libnetutil/netutil.cc:1641:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ss_family [valueFlowBailoutIncompleteVar] nmap-7.98/libnetutil/netutil.cc:1652:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] nmap-7.98/libnetutil/netutil.cc:1673:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IP6_ADDR_LEN [valueFlowBailoutIncompleteVar] nmap-7.98/libnetutil/netutil.cc:1706:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] nmap-7.98/libnetutil/netutil.cc:1811:114: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ss_family [valueFlowBailoutIncompleteVar] nmap-7.98/libnetutil/netutil.cc:1831:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/libnetutil/netutil.cc:1896:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] nmap-7.98/libnetutil/netutil.cc:2197:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] nmap-7.98/libnetutil/netutil.cc:2339:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET6_ADDRSTRLEN [valueFlowBailoutIncompleteVar] nmap-7.98/libnetutil/netutil.cc:3363:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_DGRAM [valueFlowBailoutIncompleteVar] nmap-7.98/libnetutil/netutil.cc:3435:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/libnetutil/netutil.cc:3596:97: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_storage [valueFlowBailoutIncompleteVar] nmap-7.98/libnetutil/netutil.cc:3643:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] nmap-7.98/libnetutil/netutil.cc:3731:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_in [valueFlowBailoutIncompleteVar] nmap-7.98/libnetutil/netutil.cc:3751:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] nmap-7.98/libnetutil/netutil.cc:3790:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IP_MF [valueFlowBailoutIncompleteVar] nmap-7.98/libnetutil/netutil.cc:3884:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPV6_HOPOPTS [valueFlowBailoutIncompleteVar] nmap-7.98/libnetutil/netutil.cc:3910:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_IPV6 [valueFlowBailoutIncompleteVar] nmap-7.98/libnetutil/netutil.cc:3995:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nmap-7.98/libnetutil/netutil.cc:4032:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] nmap-7.98/libnetutil/netutil.cc:4134:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] nmap-7.98/libnetutil/netutil.cc:4224:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/libnetutil/netutil.cc:4243:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETH_HDR_LEN [valueFlowBailoutIncompleteVar] nmap-7.98/libnetutil/netutil.cc:4334:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/libnetutil/netutil.cc:4456:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLT_EN10MB [valueFlowBailoutIncompleteVar] nmap-7.98/libnetutil/netutil.cc:4496:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARP_HDR_LEN [valueFlowBailoutIncompleteVar] nmap-7.98/libnetutil/netutil.cc:4507:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IP6_HDR_LEN [valueFlowBailoutIncompleteVar] nmap-7.98/libnetutil/netutil.cc:4539:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IP6_HDR_LEN [valueFlowBailoutIncompleteVar] nmap-7.98/libnetutil/netutil.cc:4582:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETH_HDR_LEN [valueFlowBailoutIncompleteVar] nmap-7.98/libnetutil/netutil.cc:4702:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETH_HDR_LEN [valueFlowBailoutIncompleteVar] nmap-7.98/libnetutil/netutil.cc:4804:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] nmap-7.98/libnetutil/netutil.cc:4828:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optind [valueFlowBailoutIncompleteVar] nmap-7.98/libnetutil/PacketParser.cc:80:20: performance:inconclusive: Technically the member function 'PacketParser::reset' can be static (but you may consider moving to unnamed namespace). [functionStatic] nmap-7.98/libnetutil/PacketParser.h:117:10: note: Technically the member function 'PacketParser::reset' can be static (but you may consider moving to unnamed namespace). nmap-7.98/libnetutil/PacketParser.cc:80:20: note: Technically the member function 'PacketParser::reset' can be static (but you may consider moving to unnamed namespace). nmap-7.98/libnetutil/PacketParser.cc:716:75: style: Condition '(packetheaders=PacketParser::parse_packet(pkt,pktlen,eth_included))==NULL' is always false [knownConditionTrueFalse] nmap-7.98/libnetutil/PacketParser.cc:908:13: style: C-style pointer casting [cstyleCast] nmap-7.98/libnetutil/PacketParser.cc:924:14: style: C-style pointer casting [cstyleCast] nmap-7.98/libnetutil/PacketParser.cc:1012:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/PacketParser.cc:1013:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/PacketParser.cc:1045:32: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/PacketParser.cc:1046:32: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/PacketParser.cc:1103:10: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/PacketParser.cc:1104:36: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/PacketParser.cc:1129:30: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/PacketParser.cc:1134:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/PacketParser.cc:1147:12: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/PacketParser.cc:1149:12: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/PacketParser.cc:1155:36: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/PacketParser.cc:1156:37: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/PacketParser.cc:1269:36: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/PacketParser.cc:1270:37: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/PacketParser.cc:1368:36: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/PacketParser.cc:1369:36: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/PacketParser.cc:1524:36: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/PacketParser.cc:1525:36: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/PacketParser.cc:1668:14: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/PacketParser.cc:1668:73: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/PacketParser.cc:1671:14: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/PacketParser.cc:1671:73: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/PacketParser.cc:1681:16: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/PacketParser.cc:1685:38: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/PacketParser.cc:1709:44: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/PacketParser.cc:1714:27: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/PacketParser.cc:1721:46: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/PacketParser.cc:1723:51: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/PacketParser.cc:649:25: style: Checking if unsigned expression 'pktlen' is less than zero. [unsignedLessThanZero] nmap-7.98/libnetutil/PacketParser.cc:897:18: style: Variable 'orig_pkt' can be declared as pointer to const [constVariablePointer] nmap-7.98/libnetutil/PacketParser.cc:898:18: style: Variable 'new_pkt' can be declared as pointer to const [constVariablePointer] nmap-7.98/libnetutil/PacketParser.cc:1045:24: style: Variable 'rcvd_ip' can be declared as pointer to const [constVariablePointer] nmap-7.98/libnetutil/PacketParser.cc:1046:24: style: Variable 'sent_ip' can be declared as pointer to const [constVariablePointer] nmap-7.98/libnetutil/PacketParser.cc:1104:28: style: Variable 'iperror' can be declared as pointer to const [constVariablePointer] nmap-7.98/libnetutil/PacketParser.cc:1155:25: style: Variable 'sent_icmp6' can be declared as pointer to const [constVariablePointer] nmap-7.98/libnetutil/PacketParser.cc:1156:25: style: Variable 'inner_icmp6' can be declared as pointer to const [constVariablePointer] nmap-7.98/libnetutil/PacketParser.cc:1269:25: style: Variable 'sent_icmp4' can be declared as pointer to const [constVariablePointer] nmap-7.98/libnetutil/PacketParser.cc:1270:25: style: Variable 'inner_icmp4' can be declared as pointer to const [constVariablePointer] nmap-7.98/libnetutil/PacketParser.cc:1368:25: style: Variable 'sent_icmp6' can be declared as pointer to const [constVariablePointer] nmap-7.98/libnetutil/PacketParser.cc:1369:25: style: Variable 'rcvd_icmp6' can be declared as pointer to const [constVariablePointer] nmap-7.98/libnetutil/PacketParser.cc:1524:25: style: Variable 'sent_icmp4' can be declared as pointer to const [constVariablePointer] nmap-7.98/libnetutil/PacketParser.cc:1525:25: style: Variable 'rcvd_icmp4' can be declared as pointer to const [constVariablePointer] nmap-7.98/libnetutil/PacketParser.cc:1685:30: style: Variable 'iperror' can be declared as pointer to const [constVariablePointer] nmap-7.98/libnetutil/PacketParser.cc:1709:32: style: Variable 'layer4error' can be declared as pointer to const [constVariablePointer] nmap-7.98/lpeg.c:3504:40: warning: Assert statement calls a function which may have desired side effects: 'lua_gettop'. [assertWithSideEffect] nmap-7.98/lpeg.c:3164:3: style: Statements following noreturn function 'luaL_error()' will never be executed. [unreachableCode] nmap-7.98/lpeg.c:3172:3: style: Statements following noreturn function 'luaL_error()' will never be executed. [unreachableCode] nmap-7.98/main.cc:116:7: style: The scope of the variable 'ret' can be reduced. [variableScope] nmap-7.98/main.cc:117:7: style: The scope of the variable 'i' can be reduced. [variableScope] nmap-7.98/lpeg.c:470:12: style: Variable 'co' can be declared as pointer to const [constVariablePointer] nmap-7.98/lpeg.c:647:40: style: Parameter 'last' can be declared as pointer to const [constParameterPointer] nmap-7.98/lpeg.c:1481:56: style: Parameter 'cs' can be declared as pointer to const [constParameterPointer] nmap-7.98/lpeg.c:1710:54: style: Parameter 'positions' can be declared as pointer to const [constParameterPointer] nmap-7.98/lpeg.c:2167:60: style: Parameter 'g' can be declared as pointer to const [constParameterPointer] nmap-7.98/lpeg.c:2276:12: style: Variable 'p' can be declared as pointer to const [constVariablePointer] nmap-7.98/lpeg.c:2315:43: style: Parameter 'sib' can be declared as pointer to const [constParameterPointer] nmap-7.98/lpeg.c:2558:10: style: Variable 'tree1' can be declared as pointer to const [constVariablePointer] nmap-7.98/lpeg.c:2573:10: style: Variable 'tree1' can be declared as pointer to const [constVariablePointer] nmap-7.98/lpeg.c:2574:10: style: Variable 'tree2' can be declared as pointer to const [constVariablePointer] nmap-7.98/lpeg.c:2599:10: style: Variable 'tree1' can be declared as pointer to const [constVariablePointer] nmap-7.98/lpeg.c:2600:10: style: Variable 'tree2' can be declared as pointer to const [constVariablePointer] nmap-7.98/lpeg.c:2992:12: style: Variable 'rn' can be declared as pointer to const [constVariablePointer] nmap-7.98/lpeg.c:3028:44: style: Parameter 'passed' can be declared as pointer to const [constParameterPointer] nmap-7.98/lpeg.c:3389:51: style: Parameter 'cap' can be declared as pointer to const [constParameterPointer] nmap-7.98/lpeg.c:3404:10: style: Variable 'stack' can be declared as pointer to const [constVariablePointer] nmap-7.98/lpeg.c:3487:33: style: Parameter 'op' can be declared as pointer to const [constParameterPointer] nmap-7.98/lpeg.c:2287:22: warning: Expression 'len-1' can have a negative value. That is converted to an unsigned value and used in an unsigned calculation. [signConversionCond] nmap-7.98/lpeg.c:2373:11: note: Assuming that condition 'n>0' is not redundant nmap-7.98/lpeg.c:2377:27: note: Calling function 'newtree', 2nd argument '2*n' value is 0 nmap-7.98/lpeg.c:2287:22: note: Negative value is converted to an unsigned value nmap-7.98/nbase/nbase.h:337:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FD_SETSIZE [valueFlowBailoutIncompleteVar] nmap-7.98/nbase/nbase.h:341:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FD_SETSIZE [valueFlowBailoutIncompleteVar] nmap-7.98/nbase/nbase.h:353:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FD_SETSIZE [valueFlowBailoutIncompleteVar] nmap-7.98/nbase/getaddrinfo.c:128:86: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_in [valueFlowBailoutIncompleteVar] nmap-7.98/nbase/getaddrinfo.c:170:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] nmap-7.98/nbase/getaddrinfo.c:175:8: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] nmap-7.98/nbase/getaddrinfo.c:150:19: style: Variable 'he' can be declared as pointer to const [constVariablePointer] nmap-7.98/nbase/nbase.h:336:52: style: Parameter 'fds' can be declared as pointer to const [constParameterPointer] nmap-7.98/nbase/getnameinfo.c:88:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] nmap-7.98/lpeg.c:2623:5: style: Variable '((unsigned char*)(t+1))[i]' is assigned a value that is never used. [unreadVariable] nmap-7.98/nbase/getnameinfo.c:101:12: style: Obsolescent function 'gethostbyaddr' called. It is recommended to use 'getnameinfo' instead. [prohibitedgethostbyaddrCalled] nmap-7.98/lpeg.c:2700:5: style: Variable '((unsigned char*)(t+1))[i]' is assigned a value that is never used. [unreadVariable] nmap-7.98/nbase/getnameinfo.c:85:23: style: Variable 'sin' can be declared as pointer to const [constVariablePointer] nmap-7.98/nbase/inet_ntop.c:87:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nmap-7.98/nbase/inet_ntop.c:114:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nmap-7.98/nbase/getopt.c:88:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nmap-7.98/nbase/getopt.c:242:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nmap-7.98/nbase/inet_pton.c:95:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nmap-7.98/nbase/inet_pton.c:147:17: error: Uninitialized variable: tmp [uninitvar] nmap-7.98/nbase/inet_pton.c:144:16: note: Assuming condition is false nmap-7.98/nbase/inet_pton.c:147:17: note: Uninitialized variable: tmp nmap-7.98/nbase/nbase_addrset.c:385:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] nmap-7.98/nbase/nbase_addrset.c:410:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] nmap-7.98/nbase/nbase_addrset.c:544:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_TCP [valueFlowBailoutIncompleteVar] nmap-7.98/nbase/nbase_addrset.c:620:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nmap-7.98/nbase/nbase_addrset.c:739:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] nmap-7.98/nbase/nbase_addrset.c:789:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nmap-7.98/nbase/nbase_addrset.c:902:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] nmap-7.98/nbase/nbase_addrset.c:927:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] nmap-7.98/nbase/nbase_addrset.c:920:26: style: Variable 'elem' can be declared as pointer to const [constVariablePointer] nmap-7.98/nbase/nbase_addrset.c:218:17: warning: Shifting signed 32-bit value by 31 bits is undefined behaviour. See condition at line 213. [shiftTooManyBitsSigned] nmap-7.98/nbase/nbase_addrset.c:213:13: note: Assuming that condition 'r+1>=32' is not redundant nmap-7.98/nbase/nbase_addrset.c:218:17: note: Shift nmap-7.98/nbase/nbase_addrset.c:350:67: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] nmap-7.98/nbase/getopt.c:163:44: style: Redundant initialization for 'colon_mode'. The initialized value is overwritten before it is read. [redundantInitialization] nmap-7.98/nbase/getopt.c:160:25: note: colon_mode is initialized nmap-7.98/nbase/getopt.c:163:44: note: colon_mode is overwritten nmap-7.98/nbase/getopt.c:247:19: style: Variable 'charind' is assigned a value that is never used. [unreadVariable] nmap-7.98/nbase/nbase_memalloc.c:77:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] nmap-7.98/nbase/nbase_rnd.c:156:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] nmap-7.98/nbase/nbase_misc.c:137:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] nmap-7.98/nbase/nbase_misc.c:177:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] nmap-7.98/nbase/nbase_misc.c:237:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] nmap-7.98/nbase/nbase_misc.c:256:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] nmap-7.98/nbase/nbase_misc.c:815:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] nmap-7.98/nbase/nbase_misc.c:830:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET_ADDRSTRLEN [valueFlowBailoutIncompleteVar] nmap-7.98/nbase/nbase_rnd.c:90:48: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] nmap-7.98/nbase/nbase_misc.c:797:12: style: Condition 'path==NULL' is always true [knownConditionTrueFalse] nmap-7.98/nbase/nbase_misc.c:784:10: note: Assignment 'path=NULL', assigned value is 0 nmap-7.98/nbase/nbase_misc.c:797:12: note: Condition 'path==NULL' is always true nmap-7.98/nbase/nbase_misc.c:619:15: style: The comparison 'asc_init == 0' is always true. [knownConditionTrueFalse] nmap-7.98/nbase/nbase_misc.c:606:16: note: 'asc_init' is assigned value '0' here. nmap-7.98/nbase/nbase_misc.c:619:15: note: The comparison 'asc_init == 0' is always true. nmap-7.98/nbase/nbase_misc.c:355:28: style:inconclusive: Function 'fselect' argument 2 names different: declaration 'rmaster' definition 'rset'. [funcArgNamesDifferent] nmap-7.98/nbase/nbase.h:493:28: note: Function 'fselect' argument 2 names different: declaration 'rmaster' definition 'rset'. nmap-7.98/nbase/nbase_misc.c:355:28: note: Function 'fselect' argument 2 names different: declaration 'rmaster' definition 'rset'. nmap-7.98/nbase/nbase_misc.c:355:42: style:inconclusive: Function 'fselect' argument 3 names different: declaration 'wmaster' definition 'wset'. [funcArgNamesDifferent] nmap-7.98/nbase/nbase.h:493:45: note: Function 'fselect' argument 3 names different: declaration 'wmaster' definition 'wset'. nmap-7.98/nbase/nbase_misc.c:355:42: note: Function 'fselect' argument 3 names different: declaration 'wmaster' definition 'wset'. nmap-7.98/nbase/nbase_misc.c:355:56: style:inconclusive: Function 'fselect' argument 4 names different: declaration 'emaster' definition 'eset'. [funcArgNamesDifferent] nmap-7.98/nbase/nbase.h:493:62: note: Function 'fselect' argument 4 names different: declaration 'emaster' definition 'eset'. nmap-7.98/nbase/nbase_misc.c:355:56: note: Function 'fselect' argument 4 names different: declaration 'emaster' definition 'eset'. nmap-7.98/nbase/nbase_misc.c:138:25: style: Variable 'sin_a' can be declared as pointer to const [constVariablePointer] nmap-7.98/nbase/nbase_misc.c:139:25: style: Variable 'sin_b' can be declared as pointer to const [constVariablePointer] nmap-7.98/nbase/nbase_misc.c:147:26: style: Variable 'sin6_a' can be declared as pointer to const [constVariablePointer] nmap-7.98/nbase/nbase_misc.c:148:26: style: Variable 'sin6_b' can be declared as pointer to const [constVariablePointer] nmap-7.98/nbase/nbase_misc.c:492:32: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] nmap-7.98/nbase/nbase_misc.c:521:43: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] nmap-7.98/nbase/nbase_misc.c:570:52: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] nmap-7.98/nbase/nbase_misc.c:607:15: style: Variable 'hex' is assigned a value that is never used. [unreadVariable] nmap-7.98/nbase/nbase_misc.c:607:22: style: Variable 'asc' is assigned a value that is never used. [unreadVariable] nmap-7.98/nbase/nbase_misc.c:620:15: style: Variable 'asc_init' is assigned a value that is never used. [unreadVariable] nmap-7.98/nbase/nbase_time.c:174:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nmap-7.98/nbase/nbase_time.c:183:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nmap-7.98/nbase/nbase_time.c:192:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nmap-7.98/nbase/nbase_time.c:170:20: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] nmap-7.98/nbase/nbase_time.c:179:20: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] nmap-7.98/nbase/nbase_time.c:170:14: style: Variable 'tmp' can be declared as pointer to const [constVariablePointer] nmap-7.98/nbase/nbase_time.c:179:14: style: Variable 'tmp' can be declared as pointer to const [constVariablePointer] nmap-7.98/nbase/nbase_time.c:188:9: style: Variable 'tmp' can be declared as pointer to const [constVariablePointer] nmap-7.98/nbase/nbase_str.c:75:22: style: Variable 'foundto' can be declared as pointer to const [constVariablePointer] nmap-7.98/nbase/nbase_winunix.c:109:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] nmap-7.98/nbase/nbase_winunix.c:156:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _O_BINARY [valueFlowBailoutIncompleteVar] nmap-7.98/nbase/nbase_winunix.c:171:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_SOCKET [valueFlowBailoutIncompleteVar] nmap-7.98/nbase/nbase_winunix.c:167:26: style: Variable 'socksize' is assigned a value that is never used. [unreadVariable] nmap-7.98/nbase/test/test-escape_windows_command_arg.c:45:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CP_UTF8 [valueFlowBailoutIncompleteVar] nmap-7.98/nbase/test/test-escape_windows_command_arg.c:66:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CP_UTF8 [valueFlowBailoutIncompleteVar] nmap-7.98/nbase/test/test-escape_windows_command_arg.c:201:5: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] nmap-7.98/nbase/test/test-escape_windows_command_arg.c:201:5: warning: %ld in format string (no. 2) requires 'long' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] nmap-7.98/nbase/test/test-escape_windows_command_arg.c:109:19: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] nmap-7.98/nbase/test/test-escape_windows_command_arg.c:152:20: note: Assuming allocation function fails nmap-7.98/nbase/test/test-escape_windows_command_arg.c:152:20: note: Assignment 'result=strdup("")', assigned value is 0 nmap-7.98/nbase/test/test-escape_windows_command_arg.c:153:21: note: Calling function 'append', 1st argument 'result' value is 0 nmap-7.98/nbase/test/test-escape_windows_command_arg.c:109:19: note: Null pointer dereference nmap-7.98/ncat/base64.c:67:11: style: Variable 'b64alpha' can be declared as pointer to const [constVariablePointer] nmap-7.98/ncat/ncat_config.h:70:0: error: #error "No config.h, and not WIN32" [preprocessorErrorDirective] nmap-7.98/ncat/ncat_config.h:70:2: error: #error "No config.h, and not WIN32" [preprocessorErrorDirective] nmap-7.98/libnetutil/netutil.cc:3107:16: style: Condition 'hdrstr==NULL' is always false [knownConditionTrueFalse] nmap-7.98/libnetutil/netutil.cc:4363:9: style: Condition '!pcap_selectable_fd_one_to_one()' is always false [knownConditionTrueFalse] nmap-7.98/libnetutil/netutil.cc:4363:39: note: Calling function 'pcap_selectable_fd_one_to_one' returns 1 nmap-7.98/libnetutil/netutil.cc:4363:9: note: Condition '!pcap_selectable_fd_one_to_one()' is always false nmap-7.98/libnetutil/netutil.cc:4380:21: style: Condition 'pcap_status==0' is always true [knownConditionTrueFalse] nmap-7.98/libnetutil/netutil.cc:4359:23: note: Assignment 'pcap_status=0', assigned value is 0 nmap-7.98/libnetutil/netutil.cc:4375:21: note: Assuming condition is false nmap-7.98/libnetutil/netutil.cc:4380:21: note: Condition 'pcap_status==0' is always true nmap-7.98/libnetutil/netutil.cc:514:13: style: C-style pointer casting [cstyleCast] nmap-7.98/libnetutil/netutil.cc:635:8: style: C-style pointer casting [cstyleCast] nmap-7.98/libnetutil/netutil.cc:989:22: style: C-style pointer casting [cstyleCast] nmap-7.98/libnetutil/netutil.cc:1382:26: style: C-style pointer casting [cstyleCast] nmap-7.98/libnetutil/netutil.cc:1383:26: style: C-style pointer casting [cstyleCast] nmap-7.98/libnetutil/netutil.cc:1448:43: style: C-style pointer casting [cstyleCast] nmap-7.98/libnetutil/netutil.cc:1460:22: style: C-style pointer casting [cstyleCast] nmap-7.98/libnetutil/netutil.cc:1540:17: style: C-style pointer casting [cstyleCast] nmap-7.98/libnetutil/netutil.cc:1798:43: style: C-style pointer casting [cstyleCast] nmap-7.98/libnetutil/netutil.cc:1803:20: style: C-style pointer casting [cstyleCast] nmap-7.98/libnetutil/netutil.cc:1823:17: style: C-style pointer casting [cstyleCast] nmap-7.98/libnetutil/netutil.cc:2348:10: style: C-style pointer casting [cstyleCast] nmap-7.98/libnetutil/netutil.cc:2366:24: style: C-style pointer casting [cstyleCast] nmap-7.98/libnetutil/netutil.cc:2368:21: style: C-style pointer casting [cstyleCast] nmap-7.98/libnetutil/netutil.cc:2420:22: style: C-style pointer casting [cstyleCast] nmap-7.98/libnetutil/netutil.cc:2422:22: style: C-style pointer casting [cstyleCast] nmap-7.98/libnetutil/netutil.cc:3590:27: style: C-style pointer casting [cstyleCast] nmap-7.98/libnetutil/netutil.cc:3655:19: style: C-style pointer casting [cstyleCast] nmap-7.98/libnetutil/netutil.cc:3661:19: style: C-style pointer casting [cstyleCast] nmap-7.98/libnetutil/netutil.cc:3780:17: style: C-style pointer casting [cstyleCast] nmap-7.98/libnetutil/netutil.cc:3867:28: style: C-style pointer casting [cstyleCast] nmap-7.98/libnetutil/netutil.cc:3949:18: style: C-style pointer casting [cstyleCast] nmap-7.98/libnetutil/netutil.cc:4011:18: style: C-style pointer casting [cstyleCast] nmap-7.98/libnetutil/netutil.cc:4510:18: style: C-style pointer casting [cstyleCast] nmap-7.98/libnetutil/netutil.cc:4539:8: style: C-style pointer casting [cstyleCast] nmap-7.98/libnetutil/netutil.cc:476:37: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/netutil.cc:612:7: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/netutil.cc:641:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/netutil.cc:646:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/netutil.cc:656:33: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/netutil.cc:661:12: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/netutil.cc:666:12: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/netutil.cc:710:10: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/netutil.cc:741:10: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/netutil.cc:756:10: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/netutil.cc:1119:52: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/netutil.cc:1424:20: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/netutil.cc:1467:42: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/netutil.cc:1480:67: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/netutil.cc:1655:10: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/netutil.cc:1656:10: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/netutil.cc:1662:10: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/netutil.cc:1663:10: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/netutil.cc:1680:12: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/netutil.cc:1681:12: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/netutil.cc:1682:10: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/netutil.cc:1689:12: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/netutil.cc:1690:12: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/netutil.cc:1691:10: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/netutil.cc:1709:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/netutil.cc:1714:12: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/netutil.cc:1807:32: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/netutil.cc:1809:31: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/netutil.cc:1897:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/netutil.cc:1905:12: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/netutil.cc:2197:26: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/netutil.cc:2236:28: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/netutil.cc:2242:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/netutil.cc:2259:13: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/netutil.cc:2362:10: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/netutil.cc:2365:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/netutil.cc:2367:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/netutil.cc:2386:43: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/netutil.cc:2394:43: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/netutil.cc:2409:43: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/netutil.cc:2416:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/netutil.cc:2419:12: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/netutil.cc:2421:12: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/netutil.cc:2450:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/netutil.cc:2489:13: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/netutil.cc:2489:32: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/netutil.cc:2520:28: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/netutil.cc:2664:28: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/netutil.cc:2701:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/netutil.cc:2724:12: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/netutil.cc:2810:12: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/netutil.cc:2811:15: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/netutil.cc:2823:15: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/netutil.cc:2850:39: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/netutil.cc:2851:39: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/netutil.cc:2852:41: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/netutil.cc:2957:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/netutil.cc:2974:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/netutil.cc:3006:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/netutil.cc:3014:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/netutil.cc:3038:20: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/netutil.cc:3093:16: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/netutil.cc:3369:31: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/netutil.cc:3373:33: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/netutil.cc:3380:20: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/netutil.cc:3384:35: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/netutil.cc:3392:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/netutil.cc:3447:41: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/netutil.cc:3596:51: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/netutil.cc:3670:10: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/netutil.cc:3674:10: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/netutil.cc:3697:19: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/netutil.cc:3710:33: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/netutil.cc:3714:33: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/netutil.cc:3730:16: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/netutil.cc:3765:19: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/netutil.cc:3782:8: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/netutil.cc:3959:9: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/netutil.cc:4457:20: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/netutil.cc:4459:20: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/netutil.cc:4460:15: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/netutil.cc:4461:15: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/netutil.cc:4496:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/netutil.cc:4540:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/netutil.cc:4554:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/netutil.cc:4599:17: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/netutil.cc:4600:14: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/netutil.cc:4646:29: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/netutil.cc:4662:46: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/netutil.cc:4703:41: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/netutil.cc:4704:38: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/netutil.cc:4743:30: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/libnetutil/netutil.cc:2063:3: style: Same expression in both branches of ternary operator. [duplicateExpressionTernary] nmap-7.98/libnetutil/netutil.cc:2066:3: style: Same expression in both branches of ternary operator. [duplicateExpressionTernary] nmap-7.98/libnetutil/netutil.cc:2067:3: style: Same expression in both branches of ternary operator. [duplicateExpressionTernary] nmap-7.98/libnetutil/netutil.cc:2072:3: style: Same expression in both branches of ternary operator. [duplicateExpressionTernary] nmap-7.98/libnetutil/netutil.cc:558:3: style:inconclusive: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] nmap-7.98/libnetutil/netutil.cc:3066:9: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] nmap-7.98/libnetutil/netutil.cc:1256:7: style: The scope of the variable 'opcode' can be reduced. [variableScope] nmap-7.98/libnetutil/netutil.cc:3768:7: style: The scope of the variable 'fdatalen' can be reduced. [variableScope] nmap-7.98/libnetutil/netutil.cc:4327:14: style: The scope of the variable 'warning' can be reduced. [variableScope] nmap-7.98/libnetutil/netutil.cc:4585:7: style: The scope of the variable 'listenrounds' can be reduced. [variableScope] nmap-7.98/libnetutil/netutil.cc:4586:7: style: The scope of the variable 'rc' can be reduced. [variableScope] nmap-7.98/libnetutil/netutil.cc:4707:7: style: The scope of the variable 'listenrounds' can be reduced. [variableScope] nmap-7.98/libnetutil/netutil.cc:4708:7: style: The scope of the variable 'rc' can be reduced. [variableScope] nmap-7.98/libnetutil/netutil.cc:4825:15: style: The scope of the variable 'host_spec' can be reduced. [variableScope] nmap-7.98/libnetutil/netutil.cc:4826:10: style: The scope of the variable 'n' can be reduced. [variableScope] nmap-7.98/libnetutil/netutil.cc:2144:14: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] nmap-7.98/libnetutil/netutil.cc:2166:19: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] nmap-7.98/libnetutil/netutil.cc:2170:19: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] nmap-7.98/libnetutil/netutil.cc:2252:21: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] nmap-7.98/libnetutil/netutil.cc:2280:14: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] nmap-7.98/libnetutil/netutil.cc:2288:17: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] nmap-7.98/libnetutil/netutil.cc:2295:19: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] nmap-7.98/libnetutil/netutil.cc:4824:71: style:inconclusive: Function 'grab_next_host_spec' argument 3 names different: declaration 'fakeargv' definition 'argv'. [funcArgNamesDifferent] nmap-7.98/libnetutil/netutil.h:564:71: note: Function 'grab_next_host_spec' argument 3 names different: declaration 'fakeargv' definition 'argv'. nmap-7.98/libnetutil/netutil.cc:4824:71: note: Function 'grab_next_host_spec' argument 3 names different: declaration 'fakeargv' definition 'argv'. nmap-7.98/nbase/snprintf.c:100:27: style: Parameter 'state' can be declared as pointer to const. However it seems that 'sn_reserve' is a callback function, if 'state' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nmap-7.98/nbase/snprintf.c:637:23: note: You might need to cast the function pointer here nmap-7.98/nbase/snprintf.c:100:27: note: Parameter 'state' can be declared as pointer to const nmap-7.98/libnetutil/netutil.cc:218:7: style: Variable 'dataend' can be declared as pointer to const [constVariablePointer] nmap-7.98/libnetutil/netutil.cc:361:9: style: Variable 'servname' can be declared as pointer to const [constVariablePointer] nmap-7.98/libnetutil/netutil.cc:837:34: style: Parameter 'opts' can be declared as pointer to const [constParameterPointer] nmap-7.98/libnetutil/netutil.cc:1382:21: style: Variable 'r1' can be declared as pointer to const [constVariablePointer] nmap-7.98/libnetutil/netutil.cc:1383:21: style: Variable 'r2' can be declared as pointer to const [constVariablePointer] nmap-7.98/libnetutil/netutil.cc:1606:26: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] nmap-7.98/libnetutil/netutil.cc:1660:26: style: Variable 'sa' can be declared as pointer to const [constVariablePointer] nmap-7.98/libnetutil/netutil.cc:1660:31: style: Variable 'sb' can be declared as pointer to const [constVariablePointer] nmap-7.98/libnetutil/netutil.cc:1678:31: style: Variable 'sn' can be declared as pointer to const [constVariablePointer] nmap-7.98/libnetutil/netutil.cc:1686:32: style: Variable 'sn' can be declared as pointer to const [constVariablePointer] nmap-7.98/libnetutil/netutil.cc:1740:30: style: Variable 'routeaddr' can be declared as pointer to const [constVariablePointer] nmap-7.98/libnetutil/netutil.cc:1894:24: style: Variable 'sin6' can be declared as pointer to const [constVariablePointer] nmap-7.98/libnetutil/netutil.cc:2251:9: style: Variable 'sh' can be declared as pointer to const [constVariablePointer] nmap-7.98/libnetutil/netutil.cc:2331:19: style: Variable 'udp' can be declared as pointer to const [constVariablePointer] nmap-7.98/libnetutil/netutil.cc:2332:20: style: Variable 'sctp' can be declared as pointer to const [constVariablePointer] nmap-7.98/libnetutil/netutil.cc:2767:8: style: Variable 'icmpredir' can be declared as pointer to const [constVariablePointer] nmap-7.98/libnetutil/netutil.cc:2793:8: style: Variable 'icmptstamp' can be declared as pointer to const [constVariablePointer] nmap-7.98/libnetutil/netutil.cc:2801:8: style: Variable 'icmpmask' can be declared as pointer to const [constVariablePointer] nmap-7.98/libnetutil/netutil.cc:3384:28: style: Variable 'sin6' can be declared as pointer to const [constVariablePointer] nmap-7.98/libnetutil/netutil.cc:3425:26: style: Variable 'iface' can be declared as pointer to const [constVariablePointer] nmap-7.98/libnetutil/netutil.cc:3474:28: style: Variable 'loopback' can be declared as pointer to const [constVariablePointer] nmap-7.98/libnetutil/netutil.cc:3698:19: style: Variable 'tcp' can be declared as pointer to const [constVariablePointer] nmap-7.98/libnetutil/netutil.cc:3699:19: style: Variable 'udp' can be declared as pointer to const [constVariablePointer] nmap-7.98/libnetutil/netutil.cc:3935:19: style: Variable 'hdr' can be declared as pointer to const [constVariablePointer] nmap-7.98/libnetutil/netutil.cc:4505:22: style: Variable 'icmp6_header' can be declared as pointer to const [constVariablePointer] nmap-7.98/libnetutil/netutil.cc:4578:7: style: Variable 'timeouts' can be declared as const array [constVariable] nmap-7.98/libnetutil/netutil.cc:4698:7: style: Variable 'timeouts' can be declared as const array [constVariable] nmap-7.98/ncat/test/addrset.c:46:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_TCP [valueFlowBailoutIncompleteVar] nmap-7.98/ncat/test/addrset.c:67:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable af [valueFlowBailoutIncompleteVar] nmap-7.98/ncat/test/addrset.c:78:28: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] nmap-7.98/ncat/test/addrset.c:74:19: style: Variable 'hostname' can be declared as pointer to const [constVariablePointer] nmap-7.98/libnetutil/netutil.cc:1259:17: style: Variable 'i' is assigned a value that is never used. [unreadVariable] nmap-7.98/libnetutil/netutil.cc:3586:17: style: Variable 'sleeptime' is assigned a value that is never used. [unreadVariable] nmap-7.98/libnetutil/netutil.cc:3768:16: style: Variable 'fdatalen' is assigned a value that is never used. [unreadVariable] nmap-7.98/libnetutil/netutil.cc:4854:13: style: Variable 'maxfds' is assigned a value that is never used. [unreadVariable] nmap-7.98/libnetutil/netutil.cc:4855:11: style: Variable 'flag' is assigned a value that is never used. [unreadVariable] nmap-7.98/libnetutil/netutil.cc:4854:7: style: Variable 'maxfds' is assigned a value that is never used. [unreadVariable] nmap-7.98/libnetutil/netutil.cc:4855:7: style: Variable 'flag' is assigned a value that is never used. [unreadVariable] nmap-7.98/libnetutil/netutil.cc:4896:11: style: Variable 'flag' is assigned a value that is never used. [unreadVariable] nmap-7.98/libnetutil/netutil.cc:4896:7: style: Variable 'flag' is assigned a value that is never used. [unreadVariable] nmap-7.98/ncat/test/test-wildcard.c:113:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSL_ERROR_WANT_WRITE [valueFlowBailoutIncompleteVar] nmap-7.98/ncat/test/test-wildcard.c:227:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nmap-7.98/ncat/test/test-wildcard.c:238:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GENERAL_NAME [valueFlowBailoutIncompleteVar] nmap-7.98/ncat/test/test-wildcard.c:312:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSA_F4 [valueFlowBailoutIncompleteVar] nmap-7.98/ncat/test/test-wildcard.c:581:12: error: Array 'scratch[10]' accessed at index 10, which is out of bounds. [arrayIndexOutOfBounds] nmap-7.98/ncat/test/test-wildcard.c:578:5: note: After for loop, i has value 10 nmap-7.98/ncat/test/test-wildcard.c:581:12: note: Array index out of bounds nmap-7.98/ncat/test/test-wildcard.c:46:22: style: Return value 'name->len==-1' is always false [knownConditionTrueFalse] nmap-7.98/ncat/test/test-wildcard.c:185:24: style: Condition '!is_sentinel(name)' is always true [knownConditionTrueFalse] nmap-7.98/ncat/test/test-wildcard.c:185:36: note: Calling function 'is_sentinel' returns 0 nmap-7.98/ncat/test/test-wildcard.c:185:24: note: Condition '!is_sentinel(name)' is always true nmap-7.98/ncat/test/test-wildcard.c:243:40: style: Condition 'is_sentinel(dNSNames)' is always false [knownConditionTrueFalse] nmap-7.98/ncat/test/test-wildcard.c:243:40: note: Calling function 'is_sentinel' returns 0 nmap-7.98/ncat/test/test-wildcard.c:243:40: note: Condition 'is_sentinel(dNSNames)' is always false nmap-7.98/ncat/test/test-wildcard.c:256:27: style: Condition '!is_sentinel(name)' is always true [knownConditionTrueFalse] nmap-7.98/ncat/test/test-wildcard.c:256:39: note: Calling function 'is_sentinel' returns 0 nmap-7.98/ncat/test/test-wildcard.c:256:27: note: Condition '!is_sentinel(name)' is always true nmap-7.98/ncat/test/test-wildcard.c:350:34: style: Condition '!is_sentinel(name)' is always true [knownConditionTrueFalse] nmap-7.98/ncat/test/test-wildcard.c:350:46: note: Calling function 'is_sentinel' returns 0 nmap-7.98/ncat/test/test-wildcard.c:350:34: note: Condition '!is_sentinel(name)' is always true nmap-7.98/ncat/test/test-wildcard.c:428:21: style: Condition '!is_sentinel(p)' is always true [knownConditionTrueFalse] nmap-7.98/ncat/test/test-wildcard.c:428:33: note: Calling function 'is_sentinel' returns 0 nmap-7.98/ncat/test/test-wildcard.c:428:21: note: Condition '!is_sentinel(p)' is always true nmap-7.98/ncat/test/test-wildcard.c:446:18: style: Return value 'a==NULL' is always false [knownConditionTrueFalse] nmap-7.98/ncat/test/test-wildcard.c:447:12: style: Condition '!is_sentinel(a)' is always true [knownConditionTrueFalse] nmap-7.98/ncat/test/test-wildcard.c:447:24: note: Calling function 'is_sentinel' returns 0 nmap-7.98/ncat/test/test-wildcard.c:447:12: note: Condition '!is_sentinel(a)' is always true nmap-7.98/ncat/test/test-wildcard.c:447:31: style: Condition '!is_sentinel(b)' is always true [knownConditionTrueFalse] nmap-7.98/ncat/test/test-wildcard.c:447:43: note: Calling function 'is_sentinel' returns 0 nmap-7.98/ncat/test/test-wildcard.c:447:31: note: Condition '!is_sentinel(b)' is always true nmap-7.98/ncat/test/test-wildcard.c:454:23: style: Return value 'is_sentinel(a)' is always false [knownConditionTrueFalse] nmap-7.98/ncat/test/test-wildcard.c:454:23: note: Calling function 'is_sentinel' returns 0 nmap-7.98/ncat/test/test-wildcard.c:454:23: note: Return value 'is_sentinel(a)' is always false nmap-7.98/ncat/test/test-wildcard.c:454:41: style: Return value 'is_sentinel(b)' is always false [knownConditionTrueFalse] nmap-7.98/ncat/test/test-wildcard.c:454:41: note: Calling function 'is_sentinel' returns 0 nmap-7.98/ncat/test/test-wildcard.c:454:41: note: Return value 'is_sentinel(b)' is always false nmap-7.98/ncat/test/test-wildcard.c:556:17: style: Condition '!is_sentinel(&a[j])' is always true [knownConditionTrueFalse] nmap-7.98/ncat/test/test-wildcard.c:556:29: note: Calling function 'is_sentinel' returns 0 nmap-7.98/ncat/test/test-wildcard.c:556:17: note: Condition '!is_sentinel(&a[j])' is always true nmap-7.98/ncat/test/test-wildcard.c:578:32: style: Condition '!is_sentinel(&patterns[i])' is always true [knownConditionTrueFalse] nmap-7.98/ncat/test/test-wildcard.c:578:44: note: Calling function 'is_sentinel' returns 0 nmap-7.98/ncat/test/test-wildcard.c:578:32: note: Condition '!is_sentinel(&patterns[i])' is always true nmap-7.98/ncat/test/test-wildcard.c:238:28: warning:inconclusive: Found suspicious operator '*', result is not used. [constStatement] nmap-7.98/nmap_error.cc:166:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nmap-7.98/nmap_error.cc:228:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nmap-7.98/nmap_error.cc:153:25: style:inconclusive: Function 'pfatal' argument 1 names different: declaration 'err' definition 'fmt'. [funcArgNamesDifferent] nmap-7.98/nmap_error.h:95:34: note: Function 'pfatal' argument 1 names different: declaration 'err' definition 'fmt'. nmap-7.98/nmap_error.cc:153:25: note: Function 'pfatal' argument 1 names different: declaration 'err' definition 'fmt'. nmap-7.98/nmap_error.cc:217:28: style:inconclusive: Function 'gh_perror' argument 1 names different: declaration 'err' definition 'fmt'. [funcArgNamesDifferent] nmap-7.98/nmap_error.h:97:28: note: Function 'gh_perror' argument 1 names different: declaration 'err' definition 'fmt'. nmap-7.98/nmap_error.cc:217:28: note: Function 'gh_perror' argument 1 names different: declaration 'err' definition 'fmt'. nmap-7.98/nmap_dns.cc:332:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hash_mask [valueFlowBailoutIncompleteVar] nmap-7.98/nmap_dns.cc:436:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timeval [valueFlowBailoutIncompleteVar] nmap-7.98/nmap_dns.cc:457:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSOCK_PENDING_SILENT [valueFlowBailoutIncompleteVar] nmap-7.98/nmap_dns.cc:514:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSE_TYPE_WRITE [valueFlowBailoutIncompleteVar] nmap-7.98/nmap_dns.cc:583:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timeval [valueFlowBailoutIncompleteVar] nmap-7.98/nmap_dns.cc:602:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timeval [valueFlowBailoutIncompleteVar] nmap-7.98/nmap_dns.cc:714:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] nmap-7.98/nmap_dns.cc:778:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNSPEC [valueFlowBailoutIncompleteVar] nmap-7.98/nmap_dns.cc:826:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSE_TYPE_READ [valueFlowBailoutIncompleteVar] nmap-7.98/nmap_dns.cc:983:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSE_TYPE_CONNECT [valueFlowBailoutIncompleteVar] nmap-7.98/nmap_dns.cc:1034:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PF_UNSPEC [valueFlowBailoutIncompleteVar] nmap-7.98/nmap_dns.cc:1052:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] nmap-7.98/nmap_dns.cc:1185:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] nmap-7.98/nmap_dns.cc:1292:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] nmap-7.98/nmap_dns.cc:1403:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/nmap_dns.cc:1640:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPV4_PTR_DOMAIN [valueFlowBailoutIncompleteVar] nmap-7.98/nmap_dns.cc:1706:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] nmap-7.98/nmap_dns.cc:1885:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COMPRESSED_NAME [valueFlowBailoutIncompleteVar] nmap-7.98/nmap_dns.cc:1953:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] nmap-7.98/nmap_dns.cc:2084:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_storage [valueFlowBailoutIncompleteVar] nmap-7.98/nmap_ftp.cc:128:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/nmap_ftp.cc:241:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/nmap_ftp.cc:179:12: warning: Either the condition 'res<0' is redundant or the array 'recvbuf[2048]' is accessed at index -1, which is out of bounds. [negativeIndex] nmap-7.98/nmap_ftp.cc:174:11: note: Assuming that condition 'res<0' is not redundant nmap-7.98/nmap_ftp.cc:179:12: note: Negative array index nmap-7.98/nmap_ftp.cc:136:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nmap_ftp.cc:209:19: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nmap_ftp.cc:235:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nmap_ftp.cc:236:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nmap_ftp.cc:305:21: style: Variable 'res' is assigned a value that is never used. [unreadVariable] nmap-7.98/nmap_tty.cc:163:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCSANOW [valueFlowBailoutIncompleteVar] nmap-7.98/nmap_tty.cc:175:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCIFLUSH [valueFlowBailoutIncompleteVar] nmap-7.98/nmap_tty.cc:192:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_DFL [valueFlowBailoutIncompleteVar] nmap-7.98/nmap_tty.cc:226:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] nmap-7.98/scan_engine.h:195:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mypspec [valueFlowBailoutIncompleteVar] nmap-7.98/scan_engine.h:633:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sourceSockAddr [valueFlowBailoutIncompleteVar] nmap-7.98/service_scan.h:219:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_TCP [valueFlowBailoutIncompleteVar] nmap-7.98/nmap.cc:177:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TH_PUSH [valueFlowBailoutIncompleteVar] nmap-7.98/nmap.cc:378:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PF_INET [valueFlowBailoutIncompleteVar] nmap-7.98/nmap.cc:467:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNSPEC [valueFlowBailoutIncompleteVar] nmap-7.98/nmap.cc:526:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable no_argument [valueFlowBailoutIncompleteVar] nmap-7.98/nmap.cc:1443:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNSPEC [valueFlowBailoutIncompleteVar] nmap-7.98/nmap.cc:1947:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] nmap-7.98/nmap.cc:2391:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] nmap-7.98/nmap.cc:2727:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NMAPDATADIR [valueFlowBailoutIncompleteVar] nmap-7.98/nmap.cc:2797:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_RELEASE [valueFlowBailoutIncompleteVar] nmap-7.98/nmap_tty.cc:200:9: style: Statements following noreturn function 'raise()' will never be executed. [unreachableCode] nmap-7.98/nmap_tty.cc:133:16: style: The scope of the variable 'numChars' can be reduced. [variableScope] nmap-7.98/nping/ArgParser.cc:108:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable no_argument [valueFlowBailoutIncompleteVar] nmap-7.98/nmap_dns.cc:1031:19: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] nmap-7.98/nmap_dns.cc:1031:71: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] nmap-7.98/nmap_dns.cc:332:18: debug: CheckClass::isMemberVar found used member variable 'hash_mask' with varid 0 [varid0] nmap-7.98/nmap_dns.cc:258:14: warning: Struct 'request' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] nmap-7.98/nmap_dns.cc:258:14: warning: Struct 'request' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] nmap-7.98/nmap_dns.cc:302:5: warning: Class 'HostCache' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] nmap-7.98/nmap_dns.cc:302:5: warning: Class 'HostCache' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] nmap-7.98/nmap_dns.cc:317:21: style: C-style pointer casting [cstyleCast] nmap-7.98/nmap_dns.cc:326:22: style: C-style pointer casting [cstyleCast] nmap-7.98/nmap_dns.cc:515:18: style: C-style pointer casting [cstyleCast] nmap-7.98/nmap_dns.cc:769:29: style: C-style pointer casting [cstyleCast] nmap-7.98/nmap_dns.cc:823:21: style: C-style pointer casting [cstyleCast] nmap-7.98/nmap_dns.cc:832:59: style: C-style pointer casting [cstyleCast] nmap-7.98/nmap_dns.cc:849:9: style: C-style pointer casting [cstyleCast] nmap-7.98/nmap_dns.cc:982:21: style: C-style pointer casting [cstyleCast] nmap-7.98/nmap_dns.cc:993:51: style: C-style pointer casting [cstyleCast] nmap-7.98/nmap_dns.cc:1297:21: style: C-style pointer casting [cstyleCast] nmap-7.98/nmap_dns.cc:1322:29: style: C-style pointer casting [cstyleCast] nmap-7.98/nmap_dns.cc:1637:26: style: C-style pointer casting [cstyleCast] nmap-7.98/nmap_dns.cc:1678:13: style: C-style pointer casting [cstyleCast] nmap-7.98/nmap_dns.cc:1946:34: style: C-style pointer casting [cstyleCast] nmap-7.98/nmap_dns.cc:1947:35: style: C-style pointer casting [cstyleCast] nmap-7.98/nmap_dns.cc:317:30: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nmap_dns.cc:325:43: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nmap_dns.cc:1033:30: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nmap_dns.cc:1070:78: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nmap_dns.cc:1623:39: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nmap_dns.cc:1636:30: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nmap_dns.cc:1646:39: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nmap_dns.cc:1676:31: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nmap_dns.cc:1711:32: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nmap_dns.cc:1147:20: style: The scope of the variable 'tp' can be reduced. [variableScope] nmap-7.98/nmap_dns.cc:1341:7: style: The scope of the variable 'timeout' can be reduced. [variableScope] nmap-7.98/nmap_dns.cc:1342:7: style: The scope of the variable 'i' can be reduced. [variableScope] nmap-7.98/nmap_dns.cc:1364:12: style: Local variable 'i' shadows outer variable [shadowVariable] nmap-7.98/nmap_dns.cc:1342:7: note: Shadowed declaration nmap-7.98/nmap_dns.cc:1364:12: note: Shadow variable nmap-7.98/nmap_dns.cc:561:17: style: Variable 'reqt' can be declared as reference to const [constVariableReference] nmap-7.98/nmap_dns.cc:722:47: style: Parameter 'reqinfo' can be declared as reference to const [constParameterReference] nmap-7.98/nmap_dns.cc:764:82: style: Parameter 'reqinfo' can be declared as reference to const [constParameterReference] nmap-7.98/nmap_dns.cc:1604:18: style: Variable 'name' can be declared as reference to const [constVariableReference] nmap-7.98/nmap_dns.cc:326:15: style: Variable 'ipv6' can be declared as pointer to const [constVariablePointer] nmap-7.98/nmap_dns.cc:1007:0: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] nmap-7.98/nmap_dns.cc:283:21: style: Variable 'he.cache_hits' is assigned a value that is never used. [unreadVariable] nmap-7.98/nmap_dns.cc:597:33: style: Unused variable: infoI [unusedVariable] nmap-7.98/nmap_dns.cc:1762:21: style: Variable 'tmp' is assigned a value that is never used. [unreadVariable] nmap-7.98/nmap_dns.cc:1878:14: style: Variable 'tmp' is assigned a value that is never used. [unreadVariable] nmap-7.98/nmap_dns.cc:1973:15: style: Variable 'tmp' is assigned a value that is never used. [unreadVariable] nmap-7.98/nmap_dns.cc:455:56: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/nmap_dns.cc:472:52: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/nmap_dns.cc:607:52: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/nmap_dns.cc:648:11: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/nmap_dns.cc:878:86: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/nmap_dns.cc:1005:52: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/nmap_dns.cc:1058:56: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/nmap_dns.cc:1497:73: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/nmap_dns.cc:1622:52: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/nping/Crypto.cc:119:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/nping/Crypto.cc:159:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/nping/Crypto.cc:224:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/nping/Crypto.cc:240:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/nping/Crypto.cc:95:14: performance:inconclusive: Technically the member function 'Crypto::reset' can be static (but you may consider moving to unnamed namespace). [functionStatic] nmap-7.98/nping/Crypto.h:78:14: note: Technically the member function 'Crypto::reset' can be static (but you may consider moving to unnamed namespace). nmap-7.98/nping/Crypto.cc:95:14: note: Technically the member function 'Crypto::reset' can be static (but you may consider moving to unnamed namespace). nmap-7.98/nping/common_modified.h:98:8: style:inconclusive: Technically the member function 'TargetGroup::get_targets_type' can be const. [functionConst] nmap-7.98/nping/common_modified.h:100:7: style:inconclusive: Technically the member function 'TargetGroup::get_mask' can be const. [functionConst] nmap-7.98/nping/common_modified.h:102:7: style:inconclusive: Technically the member function 'TargetGroup::get_namedhost' can be const. [functionConst] nmap-7.98/nping/Crypto.cc:225:31: style: Checking if unsigned expression 'bufflen' is less than zero. [unsignedLessThanZero] nmap-7.98/nping/EchoClient.cc:86:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_in [valueFlowBailoutIncompleteVar] nmap-7.98/nping/EchoClient.cc:106:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/nping/EchoClient.cc:157:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/nping/EchoClient.cc:216:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/nping/EchoClient.cc:262:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/nping/EchoClient.cc:282:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/nping/EchoClient.cc:297:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/nping/EchoClient.cc:353:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/nping/EchoClient.cc:405:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/nping/EchoClient.cc:478:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/nping/EchoClient.cc:545:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/nping/EchoClient.cc:621:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/nping/EchoClient.cc:629:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/nping/EchoClient.cc:658:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/nping/EchoClient.cc:783:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/nping/EchoClient.cc:867:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/nping/EchoClient.cc:944:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/nping/EchoClient.cc:964:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/nping/EchoClient.cc:984:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/nping/EchoClient.cc:1007:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/nping/EchoClient.cc:1017:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/nping/EchoClient.cc:1028:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/nping/EchoClient.cc:1044:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/nping/EchoClient.cc:1059:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/nping/EchoClient.cc:1074:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/nping/EchoClient.cc:1090:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/nmap.cc:2649:8: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] nmap-7.98/nmap.cc:453:3: warning: Member variable 'delayed_options::machinefilename' is not initialized in the constructor. [uninitMemberVar] nmap-7.98/nmap.cc:453:3: warning: Member variable 'delayed_options::kiddiefilename' is not initialized in the constructor. [uninitMemberVar] nmap-7.98/nmap.cc:453:3: warning: Member variable 'delayed_options::normalfilename' is not initialized in the constructor. [uninitMemberVar] nmap-7.98/nmap.cc:453:3: warning: Member variable 'delayed_options::xmlfilename' is not initialized in the constructor. [uninitMemberVar] nmap-7.98/nmap.cc:453:3: warning: Member variable 'delayed_options::exclude_spec' is not initialized in the constructor. [uninitMemberVar] nmap-7.98/nmap.cc:453:3: warning: Member variable 'delayed_options::exclude_file' is not initialized in the constructor. [uninitMemberVar] nmap-7.98/nmap.cc:453:3: warning: Member variable 'delayed_options::spoofSource' is not initialized in the constructor. [uninitMemberVar] nmap-7.98/nmap.cc:453:3: warning: Member variable 'delayed_options::decoy_arguments' is not initialized in the constructor. [uninitMemberVar] nmap-7.98/nmap.cc:453:3: warning: Member variable 'delayed_options::spoofmac' is not initialized in the constructor. [uninitMemberVar] nmap-7.98/scan_engine.h:195:13: debug: CheckClass::isMemberVar found used member variable 'mypspec' with varid 0 [varid0] nmap-7.98/scan_engine.h:633:67: debug: CheckClass::isMemberVar found used member variable 'sourceSockAddr' with varid 0 [varid0] nmap-7.98/scan_engine.h:524:8: warning: The struct 'ultra_scan_performance_vars' defines member function with name 'init' also defined in its parent struct 'scan_performance_vars'. [duplInheritedMember] nmap-7.98/timing.h:131:8: note: Parent function 'scan_performance_vars::init' nmap-7.98/scan_engine.h:524:8: note: Derived function 'ultra_scan_performance_vars::init' nmap-7.98/scan_engine.h:271:3: style: Class 'GroupScanStats' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] nmap-7.98/nping/EchoClient.cc:620:17: style: Unused private function: 'EchoClient::parse_error' [unusedPrivateFunction] nmap-7.98/nping/EchoClient.h:102:13: note: Unused private function: 'EchoClient::parse_error' nmap-7.98/nping/EchoClient.cc:620:17: note: Unused private function: 'EchoClient::parse_error' nmap-7.98/nping/EchoClient.cc:620:17: performance:inconclusive: Technically the member function 'EchoClient::parse_error' can be static (but you may consider moving to unnamed namespace). [functionStatic] nmap-7.98/nping/EchoClient.h:102:13: note: Technically the member function 'EchoClient::parse_error' can be static (but you may consider moving to unnamed namespace). nmap-7.98/nping/EchoClient.cc:620:17: note: Technically the member function 'EchoClient::parse_error' can be static (but you may consider moving to unnamed namespace). nmap-7.98/nping/EchoHeader.h:257:10: style: The destructor '~EchoHeader' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/libnetutil/PacketElement.h:116:14: note: Virtual destructor in base class nmap-7.98/nping/EchoHeader.h:257:10: note: Destructor in derived class nmap-7.98/nping/EchoHeader.h:259:13: style: The function 'getBufferPointer' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/libnetutil/PacketElement.h:122:18: note: Virtual function in base class nmap-7.98/nping/EchoHeader.h:259:13: note: Function in derived class nmap-7.98/nping/EchoHeader.h:261:13: style: The function 'protocol_id' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/libnetutil/PacketElement.h:266:17: note: Virtual function in base class nmap-7.98/nping/EchoHeader.h:261:13: note: Function in derived class nmap-7.98/nping/EchoClient.cc:304:23: style: C-style pointer casting [cstyleCast] nmap-7.98/nping/EchoClient.cc:680:40: style: C-style pointer casting [cstyleCast] nmap-7.98/nping/EchoClient.cc:683:38: style: C-style pointer casting [cstyleCast] nmap-7.98/nping/EchoClient.cc:687:36: style: C-style pointer casting [cstyleCast] nmap-7.98/nping/EchoClient.cc:690:37: style: C-style pointer casting [cstyleCast] nmap-7.98/nping/EchoClient.cc:702:44: style: C-style pointer casting [cstyleCast] nmap-7.98/nping/EchoClient.cc:706:50: style: C-style pointer casting [cstyleCast] nmap-7.98/nping/EchoClient.cc:710:42: style: C-style pointer casting [cstyleCast] nmap-7.98/nping/EchoClient.cc:713:42: style: C-style pointer casting [cstyleCast] nmap-7.98/nping/EchoClient.cc:716:44: style: C-style pointer casting [cstyleCast] nmap-7.98/nping/EchoClient.cc:719:42: style: C-style pointer casting [cstyleCast] nmap-7.98/nping/EchoClient.cc:729:44: style: C-style pointer casting [cstyleCast] nmap-7.98/nping/EchoClient.cc:733:48: style: C-style pointer casting [cstyleCast] nmap-7.98/nping/EchoClient.cc:737:42: style: C-style pointer casting [cstyleCast] nmap-7.98/nping/EchoClient.cc:744:44: style: C-style pointer casting [cstyleCast] nmap-7.98/nping/EchoClient.cc:746:44: style: C-style pointer casting [cstyleCast] nmap-7.98/nping/EchoClient.cc:758:39: style: C-style pointer casting [cstyleCast] nmap-7.98/nping/EchoClient.cc:760:38: style: C-style pointer casting [cstyleCast] nmap-7.98/nping/EchoClient.cc:800:17: style: C-style pointer casting [cstyleCast] nmap-7.98/nping/EchoClient.cc:883:17: style: C-style pointer casting [cstyleCast] nmap-7.98/nping/EchoClient.cc:948:15: style: C-style pointer casting [cstyleCast] nmap-7.98/nping/EchoClient.cc:968:15: style: C-style pointer casting [cstyleCast] nmap-7.98/nping/EchoClient.cc:988:15: style: C-style pointer casting [cstyleCast] nmap-7.98/nping/EchoClient.cc:161:26: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/EchoClient.cc:162:27: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/EchoClient.cc:186:28: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/EchoClient.cc:203:28: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/EchoClient.cc:243:83: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/EchoClient.cc:270:83: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/EchoClient.cc:337:16: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/EchoClient.cc:763:42: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/EchoClient.cc:868:13: style: Local variable 'nsi' shadows outer variable [shadowVariable] nmap-7.98/nping/EchoClient.h:82:19: note: Shadowed declaration nmap-7.98/nping/EchoClient.cc:868:13: note: Shadow variable nmap-7.98/nping/EchoClient.cc:161:23: style: Variable 's4' can be declared as pointer to const [constVariablePointer] nmap-7.98/nping/EchoClient.cc:162:24: style: Variable 's6' can be declared as pointer to const [constVariablePointer] nmap-7.98/nping/EchoClient.cc:352:37: style: Parameter 'pkt' can be declared as pointer to const [constParameterPointer] nmap-7.98/nping/EchoClient.cc:404:36: style: Parameter 'pkt' can be declared as pointer to const [constParameterPointer] nmap-7.98/nping/EchoClient.cc:477:33: style: Parameter 'pkt' can be declared as pointer to const [constParameterPointer] nmap-7.98/nmap.cc:352:5: style: C-style pointer casting [cstyleCast] nmap-7.98/nmap.cc:367:24: style: C-style pointer casting [cstyleCast] nmap-7.98/nmap.cc:837:31: style: C-style pointer casting [cstyleCast] nmap-7.98/nmap.cc:861:29: style: C-style pointer casting [cstyleCast] nmap-7.98/nmap.cc:978:28: style: C-style pointer casting [cstyleCast] nmap-7.98/nmap.cc:1594:14: style: C-style pointer casting [cstyleCast] nmap-7.98/nmap.cc:2105:55: style: C-style pointer casting [cstyleCast] nmap-7.98/nmap.cc:607:6: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nmap.cc:885:60: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nmap.cc:886:39: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nmap.cc:1361:81: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nmap.cc:1524:35: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nmap.cc:1787:14: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nmap.cc:1951:27: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nmap.cc:1437:7: style: The scope of the variable 'i' can be reduced. [variableScope] nmap-7.98/nmap.cc:1640:10: style: The scope of the variable 'tmphex' can be reduced. [variableScope] nmap-7.98/nmap.cc:1854:16: style: The scope of the variable 'ideal_scan_group_sz' can be reduced. [variableScope] nmap-7.98/nmap.cc:2393:25: style: The scope of the variable 'lastipstr' can be reduced. [variableScope] nmap-7.98/nmap.cc:2680:8: style: The scope of the variable 'dot_buffer' can be reduced. [variableScope] nmap-7.98/nmap.cc:2681:14: style: The scope of the variable 'warningcount' can be reduced. [variableScope] nmap-7.98/nmap.cc:1554:70: style: Checking if unsigned expression 'strftime(tbuf,sizeof(tbuf),"%Y-%m-%d %H:%M %z",&local_time)' is less than zero. [unsignedLessThanZero] nmap-7.98/nmap.cc:1050:21: style: Local variable 'p' shadows outer variable [shadowVariable] nmap-7.98/nmap.cc:512:9: note: Shadowed declaration nmap-7.98/nmap.cc:1050:21: note: Shadow variable nmap-7.98/nmap.cc:1423:21: style: Local variable 'p' shadows outer variable [shadowVariable] nmap-7.98/nmap.cc:512:9: note: Shadowed declaration nmap-7.98/nmap.cc:1423:21: note: Shadow variable nmap-7.98/nmap.cc:1770:13: style: Local variable 'i' shadows outer variable [shadowVariable] nmap-7.98/nmap.cc:1437:7: note: Shadowed declaration nmap-7.98/nmap.cc:1770:13: note: Shadow variable nmap-7.98/nmap.cc:1783:29: style: Local variable 'ss' shadows outer variable [shadowVariable] nmap-7.98/nmap.cc:1439:27: note: Shadowed declaration nmap-7.98/nmap.cc:1783:29: note: Shadow variable nmap-7.98/nmap.cc:1796:27: style: Local variable 'ss' shadows outer variable [shadowVariable] nmap-7.98/nmap.cc:1439:27: note: Shadowed declaration nmap-7.98/nmap.cc:1796:27: note: Shadow variable nmap-7.98/nmap.cc:1797:16: style: Local variable 'sslen' shadows outer variable [shadowVariable] nmap-7.98/nmap.cc:1440:10: note: Shadowed declaration nmap-7.98/nmap.cc:1797:16: note: Shadow variable nmap-7.98/nmap.cc:1912:21: style: Local variable 'i' shadows outer variable [shadowVariable] nmap-7.98/nmap.cc:1844:7: note: Shadowed declaration nmap-7.98/nmap.cc:1912:21: note: Shadow variable nmap-7.98/nmap.cc:1914:29: style: Local variable 'ss' shadows outer variable [shadowVariable] nmap-7.98/nmap.cc:1861:27: note: Shadowed declaration nmap-7.98/nmap.cc:1914:29: note: Shadow variable nmap-7.98/nmap.cc:1916:12: style: Local variable 'sslen' shadows outer variable [shadowVariable] nmap-7.98/nmap.cc:1862:10: note: Shadowed declaration nmap-7.98/nmap.cc:1916:12: note: Shadow variable nmap-7.98/nmap.cc:161:34: style: Parameter 'arg' can be declared as pointer to const [constParameterPointer] nmap-7.98/nmap.cc:343:57: style: Parameter 'port_list1' can be declared as pointer to const [constParameterPointer] nmap-7.98/nmap.cc:344:57: style: Parameter 'port_list2' can be declared as pointer to const [constParameterPointer] nmap-7.98/nmap.cc:831:15: style: Variable 'tempbuff' can be declared as pointer to const [constVariablePointer] nmap-7.98/nping/EchoHeader.cc:446:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in_addr [valueFlowBailoutIncompleteVar] nmap-7.98/nping/EchoHeader.cc:467:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in6_addr [valueFlowBailoutIncompleteVar] nmap-7.98/nping/EchoHeader.cc:487:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in_addr [valueFlowBailoutIncompleteVar] nmap-7.98/nping/EchoHeader.cc:505:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in6_addr [valueFlowBailoutIncompleteVar] nmap-7.98/nping/EchoHeader.cc:924:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/nping/EchoHeader.cc:948:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/nmap.cc:1854:36: style: Variable 'ideal_scan_group_sz' is assigned a value that is never used. [unreadVariable] nmap-7.98/nmap.cc:2095:43: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/nmap.cc:2353:43: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/nping/EchoHeader.cc:625:17: performance:inconclusive: Technically the member function 'EchoHeader::getFieldLength' can be static (but you may consider moving to unnamed namespace). [functionStatic] nmap-7.98/nping/EchoHeader.h:252:13: note: Technically the member function 'EchoHeader::getFieldLength' can be static (but you may consider moving to unnamed namespace). nmap-7.98/nping/EchoHeader.cc:625:17: note: Technically the member function 'EchoHeader::getFieldLength' can be static (but you may consider moving to unnamed namespace). nmap-7.98/nping/EchoHeader.cc:141:16: style:inconclusive: Technically the member function 'EchoHeader::getVersion' can be const. [functionConst] nmap-7.98/nping/EchoHeader.h:264:12: note: Technically the member function 'EchoHeader::getVersion' can be const. nmap-7.98/nping/EchoHeader.cc:141:16: note: Technically the member function 'EchoHeader::getVersion' can be const. nmap-7.98/nping/EchoHeader.cc:155:16: style:inconclusive: Technically the member function 'EchoHeader::getMessageType' can be const. [functionConst] nmap-7.98/nping/EchoHeader.h:267:12: note: Technically the member function 'EchoHeader::getMessageType' can be const. nmap-7.98/nping/EchoHeader.cc:155:16: note: Technically the member function 'EchoHeader::getMessageType' can be const. nmap-7.98/nping/EchoHeader.cc:257:17: style:inconclusive: Technically the member function 'EchoHeader::getReserved' can be const. [functionConst] nmap-7.98/nping/EchoHeader.h:281:13: note: Technically the member function 'EchoHeader::getReserved' can be const. nmap-7.98/nping/EchoHeader.cc:257:17: note: Technically the member function 'EchoHeader::getReserved' can be const. nmap-7.98/nping/EchoHeader.cc:84:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/EchoHeader.cc:85:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/EchoHeader.cc:86:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/EchoHeader.cc:87:20: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/EchoHeader.cc:88:20: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/EchoHeader.cc:89:19: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/EchoHeader.cc:90:20: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/EchoHeader.cc:91:16: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/EchoHeader.cc:93:18: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/EchoHeader.cc:106:10: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/EchoHeader.cc:264:12: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/EchoHeader.cc:713:16: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/EchoHeader.cc:833:19: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/EchoHeader.cc:847:13: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/EchoHeader.cc:859:10: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/EchoHeader.cc:881:15: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/EchoHeader.cc:892:15: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/EchoHeader.cc:896:15: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/EchoHeader.cc:900:15: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/EchoHeader.cc:904:15: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/EchoHeader.cc:935:48: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/EchoHeader.cc:962:48: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/EchoHeader.cc:869:45: style:inconclusive: Function 'getCiphertextBounds' argument 1 names different: declaration 'len' definition 'final_len'. [funcArgNamesDifferent] nmap-7.98/nping/EchoHeader.h:326:41: note: Function 'getCiphertextBounds' argument 1 names different: declaration 'len' definition 'final_len'. nmap-7.98/nping/EchoHeader.cc:869:45: note: Function 'getCiphertextBounds' argument 1 names different: declaration 'len' definition 'final_len'. nmap-7.98/nping/EchoHeader.cc:682:44: style: Parameter 'val' can be declared as pointer to const [constParameterPointer] nmap-7.98/nping/NEPContext.cc:94:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_storage [valueFlowBailoutIncompleteVar] nmap-7.98/nping/NEPContext.cc:240:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u32 [valueFlowBailoutIncompleteVar] nmap-7.98/nping/NEPContext.cc:245:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u32 [valueFlowBailoutIncompleteVar] nmap-7.98/nping/NEPContext.cc:100:24: style:inconclusive: Technically the member function 'NEPContext::getIdentifier' can be const. [functionConst] nmap-7.98/nping/NEPContext.h:149:20: note: Technically the member function 'NEPContext::getIdentifier' can be const. nmap-7.98/nping/NEPContext.cc:100:24: note: Technically the member function 'NEPContext::getIdentifier' can be const. nmap-7.98/nping/NEPContext.cc:111:37: style:inconclusive: Technically the member function 'NEPContext::getAddress' can be const. [functionConst] nmap-7.98/nping/NEPContext.h:152:33: note: Technically the member function 'NEPContext::getAddress' can be const. nmap-7.98/nping/NEPContext.cc:111:37: note: Technically the member function 'NEPContext::getAddress' can be const. nmap-7.98/nping/NEPContext.cc:121:23: style:inconclusive: Technically the member function 'NEPContext::getNsockIOD' can be const. [functionConst] nmap-7.98/nping/NEPContext.h:155:19: note: Technically the member function 'NEPContext::getNsockIOD' can be const. nmap-7.98/nping/NEPContext.cc:121:23: note: Technically the member function 'NEPContext::getNsockIOD' can be const. nmap-7.98/nping/NEPContext.cc:142:17: style:inconclusive: Technically the member function 'NEPContext::getState' can be const. [functionConst] nmap-7.98/nping/NEPContext.h:158:13: note: Technically the member function 'NEPContext::getState' can be const. nmap-7.98/nping/NEPContext.cc:142:17: note: Technically the member function 'NEPContext::getState' can be const. nmap-7.98/nping/NEPContext.cc:132:18: style:inconclusive: Technically the member function 'NEPContext::ready' can be const. [functionConst] nmap-7.98/nping/NEPContext.h:160:14: note: Technically the member function 'NEPContext::ready' can be const. nmap-7.98/nping/NEPContext.cc:132:18: note: Technically the member function 'NEPContext::ready' can be const. nmap-7.98/nping/NEPContext.cc:197:17: style:inconclusive: Technically the member function 'NEPContext::getLastServerSequence' can be const. [functionConst] nmap-7.98/nping/NEPContext.h:171:13: note: Technically the member function 'NEPContext::getLastServerSequence' can be const. nmap-7.98/nping/NEPContext.cc:197:17: note: Technically the member function 'NEPContext::getLastServerSequence' can be const. nmap-7.98/nping/NEPContext.cc:221:17: style:inconclusive: Technically the member function 'NEPContext::getLastClientSequence' can be const. [functionConst] nmap-7.98/nping/NEPContext.h:174:13: note: Technically the member function 'NEPContext::getLastClientSequence' can be const. nmap-7.98/nping/NEPContext.cc:221:17: note: Technically the member function 'NEPContext::getLastClientSequence' can be const. nmap-7.98/nping/NEPContext.cc:240:32: style: C-style pointer casting [cstyleCast] nmap-7.98/nping/NEPContext.cc:245:32: style: C-style pointer casting [cstyleCast] nmap-7.98/nping/NEPContext.cc:136:30: style:inconclusive: Function 'setState' argument 1 names different: declaration 'state' definition 'st'. [funcArgNamesDifferent] nmap-7.98/nping/NEPContext.h:157:26: note: Function 'setState' argument 1 names different: declaration 'state' definition 'st'. nmap-7.98/nping/NEPContext.cc:136:30: note: Function 'setState' argument 1 names different: declaration 'state' definition 'st'. nmap-7.98/nping/NEPContext.cc:147:41: style: Parameter 'block' can be declared as pointer to const [constParameterPointer] nmap-7.98/nping/NEPContext.cc:169:41: style: Parameter 'block' can be declared as pointer to const [constParameterPointer] nmap-7.98/nping/NEPContext.cc:255:9: style: Variable 'passphrase' can be declared as pointer to const [constVariablePointer] nmap-7.98/nping/NEPContext.cc:302:34: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] nmap-7.98/nping/NEPContext.cc:337:34: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] nmap-7.98/nping/NEPContext.cc:382:37: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] nmap-7.98/nping/NEPContext.cc:417:37: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] nmap-7.98/nping/NEPContext.cc:469:36: style: Parameter 'buff' can be declared as pointer to const [constParameterPointer] nmap-7.98/nping/NEPContext.cc:482:36: style: Parameter 'buff' can be declared as pointer to const [constParameterPointer] nmap-7.98/nping/NEPContext.cc:505:58: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] nmap-7.98/nping/NEPContext.cc:535:11: style: Variable 'spec' can be declared as pointer to const [constVariablePointer] nmap-7.98/nping/EchoServer.cc:93:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/nping/EchoServer.cc:103:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/nping/EchoServer.cc:119:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/nping/EchoServer.cc:148:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/nping/EchoServer.cc:170:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/nping/EchoServer.cc:181:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/nping/EchoServer.cc:308:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/nping/EchoServer.cc:541:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/nping/EchoServer.cc:806:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/nping/EchoServer.cc:864:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/nping/EchoServer.cc:877:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/nping/EchoServer.cc:898:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/nping/EchoServer.cc:943:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/nping/EchoServer.cc:953:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/nping/EchoServer.cc:1008:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/nping/EchoServer.cc:1015:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/nping/EchoServer.cc:1047:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/nping/EchoServer.cc:1128:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/nping/EchoServer.cc:1237:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/nping/EchoServer.cc:1255:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/nping/EchoServer.cc:1290:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/nping/EchoServer.cc:1314:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/nping/EchoServer.cc:1369:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/nping/EchoServer.cc:1489:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/nping/EchoServer.cc:1499:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/nping/EchoServer.cc:1509:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/nping/EchoServer.cc:1519:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/nping/EchoServer.cc:1529:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/nping/EchoServer.cc:1539:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/nping/EchoServer.cc:1549:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/nping/EchoServer.cc:1559:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/nping/NpingOps.cc:182:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in_addr [valueFlowBailoutIncompleteVar] nmap-7.98/nping/NpingOps.cc:876:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] nmap-7.98/nping/NpingOps.cc:1381:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_storage [valueFlowBailoutIncompleteVar] nmap-7.98/nping/NpingOps.cc:2347:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_storage [valueFlowBailoutIncompleteVar] nmap-7.98/nping/NpingOps.cc:2757:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] nmap-7.98/nping/NpingOps.cc:2886:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u16 [valueFlowBailoutIncompleteVar] nmap-7.98/nping/NpingOps.cc:1541:24: warning: Either the condition 'flag>7' is redundant or the array 'this->tcpflags[8]' is accessed at index 8, which is out of bounds. [arrayIndexOutOfBoundsCond] nmap-7.98/nping/NpingOps.cc:1539:31: note: Assuming that condition 'flag>7' is not redundant nmap-7.98/nping/NpingOps.cc:1541:24: note: Array index out of bounds nmap-7.98/nping/NpingOps.cc:1541:24: warning: Either the condition 'flag<0' is redundant or the array 'this->tcpflags[8]' is accessed at index -1, which is out of bounds. [negativeIndex] nmap-7.98/nping/NpingOps.cc:1539:12: note: Assuming that condition 'flag<0' is not redundant nmap-7.98/nping/NpingOps.cc:1541:24: note: Negative array index nmap-7.98/nping/NpingOps.cc:81:11: warning: Member variable 'NpingOps::send_eth_set' is not initialized in the constructor. [uninitMemberVar] nmap-7.98/nping/NpingOps.cc:81:11: warning: Member variable 'NpingOps::rf' is not initialized in the constructor. [uninitMemberVar] nmap-7.98/nping/NpingOps.cc:81:11: warning: Member variable 'NpingOps::rf_set' is not initialized in the constructor. [uninitMemberVar] nmap-7.98/nping/NpingOps.cc:81:11: warning: Member variable 'NpingOps::echo_payload_set' is not initialized in the constructor. [uninitMemberVar] nmap-7.98/nping/NpingOps.cc:101:5: performance: Variable 'pcount' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] nmap-7.98/nping/NpingOps.cc:355:15: style:inconclusive: Technically the member function 'NpingOps::getMode' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:300:9: note: Technically the member function 'NpingOps::getMode' can be const. nmap-7.98/nping/NpingOps.cc:355:15: note: Technically the member function 'NpingOps::getMode' can be const. nmap-7.98/nping/NpingOps.cc:372:18: performance:inconclusive: Technically the member function 'NpingOps::mode2Ascii' can be static (but you may consider moving to unnamed namespace). [functionStatic] nmap-7.98/nping/NpingOps.h:301:11: note: Technically the member function 'NpingOps::mode2Ascii' can be static (but you may consider moving to unnamed namespace). nmap-7.98/nping/NpingOps.cc:372:18: note: Technically the member function 'NpingOps::mode2Ascii' can be static (but you may consider moving to unnamed namespace). nmap-7.98/nping/NpingOps.cc:361:16: style:inconclusive: Technically the member function 'NpingOps::issetMode' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:302:10: note: Technically the member function 'NpingOps::issetMode' can be const. nmap-7.98/nping/NpingOps.cc:361:16: note: Technically the member function 'NpingOps::issetMode' can be const. nmap-7.98/nping/NpingOps.cc:409:16: style:inconclusive: Technically the member function 'NpingOps::getTraceroute' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:304:10: note: Technically the member function 'NpingOps::getTraceroute' can be const. nmap-7.98/nping/NpingOps.cc:409:16: note: Technically the member function 'NpingOps::getTraceroute' can be const. nmap-7.98/nping/NpingOps.cc:435:16: style:inconclusive: Technically the member function 'NpingOps::issetTraceroute' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:307:10: note: Technically the member function 'NpingOps::issetTraceroute' can be const. nmap-7.98/nping/NpingOps.cc:435:16: note: Technically the member function 'NpingOps::issetTraceroute' can be const. nmap-7.98/nping/NpingOps.cc:482:15: style:inconclusive: Technically the member function 'NpingOps::getVerbosity' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:311:9: note: Technically the member function 'NpingOps::getVerbosity' can be const. nmap-7.98/nping/NpingOps.cc:482:15: note: Technically the member function 'NpingOps::getVerbosity' can be const. nmap-7.98/nping/NpingOps.cc:489:16: style:inconclusive: Technically the member function 'NpingOps::issetVerbosity' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:314:10: note: Technically the member function 'NpingOps::issetVerbosity' can be const. nmap-7.98/nping/NpingOps.cc:489:16: note: Technically the member function 'NpingOps::issetVerbosity' can be const. nmap-7.98/nping/NpingOps.cc:538:15: style:inconclusive: Technically the member function 'NpingOps::getDebugging' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:317:9: note: Technically the member function 'NpingOps::getDebugging' can be const. nmap-7.98/nping/NpingOps.cc:538:15: note: Technically the member function 'NpingOps::getDebugging' can be const. nmap-7.98/nping/NpingOps.cc:558:16: style:inconclusive: Technically the member function 'NpingOps::issetDebugging' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:319:10: note: Technically the member function 'NpingOps::issetDebugging' can be const. nmap-7.98/nping/NpingOps.cc:558:16: note: Technically the member function 'NpingOps::issetDebugging' can be const. nmap-7.98/nping/NpingOps.cc:573:16: style:inconclusive: Technically the member function 'NpingOps::showSentPackets' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:322:10: note: Technically the member function 'NpingOps::showSentPackets' can be const. nmap-7.98/nping/NpingOps.cc:573:16: note: Technically the member function 'NpingOps::showSentPackets' can be const. nmap-7.98/nping/NpingOps.cc:579:16: style:inconclusive: Technically the member function 'NpingOps::issetShowSentPackets' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:323:10: note: Technically the member function 'NpingOps::issetShowSentPackets' can be const. nmap-7.98/nping/NpingOps.cc:579:16: note: Technically the member function 'NpingOps::issetShowSentPackets' can be const. nmap-7.98/nping/NpingOps.cc:690:16: style:inconclusive: Technically the member function 'NpingOps::getDelay' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:331:10: note: Technically the member function 'NpingOps::getDelay' can be const. nmap-7.98/nping/NpingOps.cc:690:16: note: Technically the member function 'NpingOps::getDelay' can be const. nmap-7.98/nping/NpingOps.cc:696:16: style:inconclusive: Technically the member function 'NpingOps::issetDelay' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:332:10: note: Technically the member function 'NpingOps::issetDelay' can be const. nmap-7.98/nping/NpingOps.cc:696:16: note: Technically the member function 'NpingOps::issetDelay' can be const. nmap-7.98/nping/NpingOps.cc:605:15: style:inconclusive: Technically the member function 'NpingOps::getPacketCount' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:335:9: note: Technically the member function 'NpingOps::getPacketCount' can be const. nmap-7.98/nping/NpingOps.cc:605:15: note: Technically the member function 'NpingOps::getPacketCount' can be const. nmap-7.98/nping/NpingOps.cc:611:16: style:inconclusive: Technically the member function 'NpingOps::issetPacketCount' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:336:10: note: Technically the member function 'NpingOps::issetPacketCount' can be const. nmap-7.98/nping/NpingOps.cc:611:16: note: Technically the member function 'NpingOps::issetPacketCount' can be const. nmap-7.98/nping/NpingOps.cc:637:15: style:inconclusive: Technically the member function 'NpingOps::getSendPreference' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:339:9: note: Technically the member function 'NpingOps::getSendPreference' can be const. nmap-7.98/nping/NpingOps.cc:637:15: note: Technically the member function 'NpingOps::getSendPreference' can be const. nmap-7.98/nping/NpingOps.cc:643:16: style:inconclusive: Technically the member function 'NpingOps::issetSendPreference' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:340:10: note: Technically the member function 'NpingOps::issetSendPreference' can be const. nmap-7.98/nping/NpingOps.cc:643:16: note: Technically the member function 'NpingOps::issetSendPreference' can be const. nmap-7.98/nping/NpingOps.cc:649:16: style:inconclusive: Technically the member function 'NpingOps::sendPreferenceEthernet' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:341:10: note: Technically the member function 'NpingOps::sendPreferenceEthernet' can be const. nmap-7.98/nping/NpingOps.cc:649:16: note: Technically the member function 'NpingOps::sendPreferenceEthernet' can be const. nmap-7.98/nping/NpingOps.cc:655:16: style:inconclusive: Technically the member function 'NpingOps::sendPreferenceIP' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:342:10: note: Technically the member function 'NpingOps::sendPreferenceIP' can be const. nmap-7.98/nping/NpingOps.cc:655:16: note: Technically the member function 'NpingOps::sendPreferenceIP' can be const. nmap-7.98/nping/NpingOps.cc:670:16: style:inconclusive: Technically the member function 'NpingOps::sendEth' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:345:10: note: Technically the member function 'NpingOps::sendEth' can be const. nmap-7.98/nping/NpingOps.cc:670:16: note: Technically the member function 'NpingOps::sendEth' can be const. nmap-7.98/nping/NpingOps.cc:721:16: style:inconclusive: Technically the member function 'NpingOps::issetDevice' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:350:10: note: Technically the member function 'NpingOps::issetDevice' can be const. nmap-7.98/nping/NpingOps.cc:721:16: note: Technically the member function 'NpingOps::issetDevice' can be const. nmap-7.98/nping/NpingOps.cc:728:16: style:inconclusive: Technically the member function 'NpingOps::spoofSource' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:353:10: note: Technically the member function 'NpingOps::spoofSource' can be const. nmap-7.98/nping/NpingOps.cc:728:16: note: Technically the member function 'NpingOps::spoofSource' can be const. nmap-7.98/nping/NpingOps.cc:733:16: style:inconclusive: Technically the member function 'NpingOps::getSpoofSource' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:354:10: note: Technically the member function 'NpingOps::getSpoofSource' can be const. nmap-7.98/nping/NpingOps.cc:733:16: note: Technically the member function 'NpingOps::getSpoofSource' can be const. nmap-7.98/nping/NpingOps.cc:746:16: style:inconclusive: Technically the member function 'NpingOps::issetSpoofSource' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:355:10: note: Technically the member function 'NpingOps::issetSpoofSource' can be const. nmap-7.98/nping/NpingOps.cc:746:16: note: Technically the member function 'NpingOps::issetSpoofSource' can be const. nmap-7.98/nping/NpingOps.cc:767:16: style:inconclusive: Technically the member function 'NpingOps::issetBPFFilterSpec' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:359:10: note: Technically the member function 'NpingOps::issetBPFFilterSpec' can be const. nmap-7.98/nping/NpingOps.cc:767:16: note: Technically the member function 'NpingOps::issetBPFFilterSpec' can be const. nmap-7.98/nping/NpingOps.cc:781:15: style:inconclusive: Technically the member function 'NpingOps::getCurrentRound' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:362:9: note: Technically the member function 'NpingOps::getCurrentRound' can be const. nmap-7.98/nping/NpingOps.cc:781:15: note: Technically the member function 'NpingOps::getCurrentRound' can be const. nmap-7.98/nping/NpingOps.cc:786:16: style:inconclusive: Technically the member function 'NpingOps::havePcap' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:365:10: note: Technically the member function 'NpingOps::havePcap' can be const. nmap-7.98/nping/NpingOps.cc:786:16: note: Technically the member function 'NpingOps::havePcap' can be const. nmap-7.98/nping/NpingOps.cc:807:16: style:inconclusive: Technically the member function 'NpingOps::disablePacketCapture' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:369:10: note: Technically the member function 'NpingOps::disablePacketCapture' can be const. nmap-7.98/nping/NpingOps.cc:807:16: note: Technically the member function 'NpingOps::disablePacketCapture' can be const. nmap-7.98/nping/NpingOps.cc:813:16: style:inconclusive: Technically the member function 'NpingOps::issetDisablePacketCapture' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:370:10: note: Technically the member function 'NpingOps::issetDisablePacketCapture' can be const. nmap-7.98/nping/NpingOps.cc:813:16: note: Technically the member function 'NpingOps::issetDisablePacketCapture' can be const. nmap-7.98/nping/NpingOps.cc:833:15: style:inconclusive: Technically the member function 'NpingOps::getIPVersion' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:373:9: note: Technically the member function 'NpingOps::getIPVersion' can be const. nmap-7.98/nping/NpingOps.cc:833:15: note: Technically the member function 'NpingOps::getIPVersion' can be const. nmap-7.98/nping/NpingOps.cc:839:16: style:inconclusive: Technically the member function 'NpingOps::issetIPVersion' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:374:10: note: Technically the member function 'NpingOps::issetIPVersion' can be const. nmap-7.98/nping/NpingOps.cc:839:16: note: Technically the member function 'NpingOps::issetIPVersion' can be const. nmap-7.98/nping/NpingOps.cc:905:16: style:inconclusive: Technically the member function 'NpingOps::isRoot' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:383:10: note: Technically the member function 'NpingOps::isRoot' can be const. nmap-7.98/nping/NpingOps.cc:905:16: note: Technically the member function 'NpingOps::isRoot' can be const. nmap-7.98/nping/NpingOps.cc:930:15: style:inconclusive: Technically the member function 'NpingOps::getPayloadType' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:387:9: note: Technically the member function 'NpingOps::getPayloadType' can be const. nmap-7.98/nping/NpingOps.cc:930:15: note: Technically the member function 'NpingOps::getPayloadType' can be const. nmap-7.98/nping/NpingOps.cc:936:16: style:inconclusive: Technically the member function 'NpingOps::issetPayloadType' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:388:10: note: Technically the member function 'NpingOps::issetPayloadType' can be const. nmap-7.98/nping/NpingOps.cc:936:16: note: Technically the member function 'NpingOps::issetPayloadType' can be const. nmap-7.98/nping/NpingOps.cc:965:16: style:inconclusive: Technically the member function 'NpingOps::issetPayloadBuffer' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:391:10: note: Technically the member function 'NpingOps::issetPayloadBuffer' can be const. nmap-7.98/nping/NpingOps.cc:965:16: note: Technically the member function 'NpingOps::issetPayloadBuffer' can be const. nmap-7.98/nping/NpingOps.cc:971:15: style:inconclusive: Technically the member function 'NpingOps::getPayloadLen' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:392:9: note: Technically the member function 'NpingOps::getPayloadLen' can be const. nmap-7.98/nping/NpingOps.cc:971:15: note: Technically the member function 'NpingOps::getPayloadLen' can be const. nmap-7.98/nping/NpingOps.cc:977:16: style:inconclusive: Technically the member function 'NpingOps::issetPayloadLen' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:393:10: note: Technically the member function 'NpingOps::issetPayloadLen' can be const. nmap-7.98/nping/NpingOps.cc:977:16: note: Technically the member function 'NpingOps::issetPayloadLen' can be const. nmap-7.98/nping/NpingOps.cc:1033:15: style:inconclusive: Technically the member function 'NpingOps::getRole' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:400:9: note: Technically the member function 'NpingOps::getRole' can be const. nmap-7.98/nping/NpingOps.cc:1033:15: note: Technically the member function 'NpingOps::getRole' can be const. nmap-7.98/nping/NpingOps.cc:1039:16: style:inconclusive: Technically the member function 'NpingOps::issetRole' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:401:10: note: Technically the member function 'NpingOps::issetRole' can be const. nmap-7.98/nping/NpingOps.cc:1039:16: note: Technically the member function 'NpingOps::issetRole' can be const. nmap-7.98/nping/NpingOps.cc:1241:16: style:inconclusive: Technically the member function 'NpingOps::getBadsumIP' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:406:10: note: Technically the member function 'NpingOps::getBadsumIP' can be const. nmap-7.98/nping/NpingOps.cc:1241:16: note: Technically the member function 'NpingOps::getBadsumIP' can be const. nmap-7.98/nping/NpingOps.cc:1247:16: style:inconclusive: Technically the member function 'NpingOps::issetBadsumIP' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:407:10: note: Technically the member function 'NpingOps::issetBadsumIP' can be const. nmap-7.98/nping/NpingOps.cc:1247:16: note: Technically the member function 'NpingOps::issetBadsumIP' can be const. nmap-7.98/nping/NpingOps.cc:1068:14: style:inconclusive: Technically the member function 'NpingOps::getTTL' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:410:8: note: Technically the member function 'NpingOps::getTTL' can be const. nmap-7.98/nping/NpingOps.cc:1068:14: note: Technically the member function 'NpingOps::getTTL' can be const. nmap-7.98/nping/NpingOps.cc:1080:16: style:inconclusive: Technically the member function 'NpingOps::issetTTL' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:411:10: note: Technically the member function 'NpingOps::issetTTL' can be const. nmap-7.98/nping/NpingOps.cc:1080:16: note: Technically the member function 'NpingOps::issetTTL' can be const. nmap-7.98/nping/NpingOps.cc:1101:14: style:inconclusive: Technically the member function 'NpingOps::getTOS' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:414:8: note: Technically the member function 'NpingOps::getTOS' can be const. nmap-7.98/nping/NpingOps.cc:1101:14: note: Technically the member function 'NpingOps::getTOS' can be const. nmap-7.98/nping/NpingOps.cc:1107:16: style:inconclusive: Technically the member function 'NpingOps::issetTOS' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:415:10: note: Technically the member function 'NpingOps::issetTOS' can be const. nmap-7.98/nping/NpingOps.cc:1107:16: note: Technically the member function 'NpingOps::issetTOS' can be const. nmap-7.98/nping/NpingOps.cc:1122:15: style:inconclusive: Technically the member function 'NpingOps::getIdentification' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:418:9: note: Technically the member function 'NpingOps::getIdentification' can be const. nmap-7.98/nping/NpingOps.cc:1122:15: note: Technically the member function 'NpingOps::getIdentification' can be const. nmap-7.98/nping/NpingOps.cc:1128:16: style:inconclusive: Technically the member function 'NpingOps::issetIdentification' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:419:10: note: Technically the member function 'NpingOps::issetIdentification' can be const. nmap-7.98/nping/NpingOps.cc:1128:16: note: Technically the member function 'NpingOps::issetIdentification' can be const. nmap-7.98/nping/NpingOps.cc:1141:16: style:inconclusive: Technically the member function 'NpingOps::getMF' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:422:10: note: Technically the member function 'NpingOps::getMF' can be const. nmap-7.98/nping/NpingOps.cc:1141:16: note: Technically the member function 'NpingOps::getMF' can be const. nmap-7.98/nping/NpingOps.cc:1175:16: style:inconclusive: Technically the member function 'NpingOps::issetMF' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:423:10: note: Technically the member function 'NpingOps::issetMF' can be const. nmap-7.98/nping/NpingOps.cc:1175:16: note: Technically the member function 'NpingOps::issetMF' can be const. nmap-7.98/nping/NpingOps.cc:1155:16: style:inconclusive: Technically the member function 'NpingOps::getDF' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:426:10: note: Technically the member function 'NpingOps::getDF' can be const. nmap-7.98/nping/NpingOps.cc:1155:16: note: Technically the member function 'NpingOps::getDF' can be const. nmap-7.98/nping/NpingOps.cc:1181:16: style:inconclusive: Technically the member function 'NpingOps::issetDF' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:427:10: note: Technically the member function 'NpingOps::issetDF' can be const. nmap-7.98/nping/NpingOps.cc:1181:16: note: Technically the member function 'NpingOps::issetDF' can be const. nmap-7.98/nping/NpingOps.cc:1169:16: style:inconclusive: Technically the member function 'NpingOps::getRF' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:430:10: note: Technically the member function 'NpingOps::getRF' can be const. nmap-7.98/nping/NpingOps.cc:1169:16: note: Technically the member function 'NpingOps::getRF' can be const. nmap-7.98/nping/NpingOps.cc:1187:16: style:inconclusive: Technically the member function 'NpingOps::issetRF' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:431:10: note: Technically the member function 'NpingOps::issetRF' can be const. nmap-7.98/nping/NpingOps.cc:1187:16: note: Technically the member function 'NpingOps::issetRF' can be const. nmap-7.98/nping/NpingOps.cc:1260:26: style:inconclusive: Technically the member function 'NpingOps::getIPv4SourceAddress' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:433:20: note: Technically the member function 'NpingOps::getIPv4SourceAddress' can be const. nmap-7.98/nping/NpingOps.cc:1260:26: note: Technically the member function 'NpingOps::getIPv4SourceAddress' can be const. nmap-7.98/nping/NpingOps.cc:1266:16: style:inconclusive: Technically the member function 'NpingOps::issetIPv4SourceAddress' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:435:10: note: Technically the member function 'NpingOps::issetIPv4SourceAddress' can be const. nmap-7.98/nping/NpingOps.cc:1266:16: note: Technically the member function 'NpingOps::issetIPv4SourceAddress' can be const. nmap-7.98/nping/NpingOps.cc:1287:16: style:inconclusive: Technically the member function 'NpingOps::issetIPOptions' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:439:10: note: Technically the member function 'NpingOps::issetIPOptions' can be const. nmap-7.98/nping/NpingOps.cc:1287:16: note: Technically the member function 'NpingOps::issetIPOptions' can be const. nmap-7.98/nping/NpingOps.cc:1207:15: style:inconclusive: Technically the member function 'NpingOps::getMTU' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:442:9: note: Technically the member function 'NpingOps::getMTU' can be const. nmap-7.98/nping/NpingOps.cc:1207:15: note: Technically the member function 'NpingOps::getMTU' can be const. nmap-7.98/nping/NpingOps.cc:1213:16: style:inconclusive: Technically the member function 'NpingOps::issetMTU' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:443:10: note: Technically the member function 'NpingOps::issetMTU' can be const. nmap-7.98/nping/NpingOps.cc:1213:16: note: Technically the member function 'NpingOps::issetMTU' can be const. nmap-7.98/nping/NpingOps.cc:1305:14: style:inconclusive: Technically the member function 'NpingOps::getTrafficClass' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:447:8: note: Technically the member function 'NpingOps::getTrafficClass' can be const. nmap-7.98/nping/NpingOps.cc:1305:14: note: Technically the member function 'NpingOps::getTrafficClass' can be const. nmap-7.98/nping/NpingOps.cc:1311:16: style:inconclusive: Technically the member function 'NpingOps::issetTrafficClass' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:448:10: note: Technically the member function 'NpingOps::issetTrafficClass' can be const. nmap-7.98/nping/NpingOps.cc:1311:16: note: Technically the member function 'NpingOps::issetTrafficClass' can be const. nmap-7.98/nping/NpingOps.cc:1326:15: style:inconclusive: Technically the member function 'NpingOps::getFlowLabel' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:451:9: note: Technically the member function 'NpingOps::getFlowLabel' can be const. nmap-7.98/nping/NpingOps.cc:1326:15: note: Technically the member function 'NpingOps::getFlowLabel' can be const. nmap-7.98/nping/NpingOps.cc:1332:16: style:inconclusive: Technically the member function 'NpingOps::issetFlowLabel' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:452:10: note: Technically the member function 'NpingOps::issetFlowLabel' can be const. nmap-7.98/nping/NpingOps.cc:1332:16: note: Technically the member function 'NpingOps::issetFlowLabel' can be const. nmap-7.98/nping/NpingOps.cc:1354:27: style:inconclusive: Technically the member function 'NpingOps::getIPv6SourceAddress' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:460:21: note: Technically the member function 'NpingOps::getIPv6SourceAddress' can be const. nmap-7.98/nping/NpingOps.cc:1354:27: note: Technically the member function 'NpingOps::getIPv6SourceAddress' can be const. nmap-7.98/nping/NpingOps.cc:1360:16: style:inconclusive: Technically the member function 'NpingOps::issetIPv6SourceAddress' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:461:10: note: Technically the member function 'NpingOps::issetIPv6SourceAddress' can be const. nmap-7.98/nping/NpingOps.cc:1360:16: note: Technically the member function 'NpingOps::issetIPv6SourceAddress' can be const. nmap-7.98/nping/NpingOps.cc:1437:16: style:inconclusive: Technically the member function 'NpingOps::issetTargetPorts' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:469:10: note: Technically the member function 'NpingOps::issetTargetPorts' can be const. nmap-7.98/nping/NpingOps.cc:1437:16: note: Technically the member function 'NpingOps::issetTargetPorts' can be const. nmap-7.98/nping/NpingOps.cc:1442:16: style:inconclusive: Technically the member function 'NpingOps::scan_mode_uses_target_ports' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:470:10: note: Technically the member function 'NpingOps::scan_mode_uses_target_ports' can be const. nmap-7.98/nping/NpingOps.cc:1442:16: note: Technically the member function 'NpingOps::scan_mode_uses_target_ports' can be const. nmap-7.98/nping/NpingOps.cc:1457:15: style:inconclusive: Technically the member function 'NpingOps::getSourcePort' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:475:9: note: Technically the member function 'NpingOps::getSourcePort' can be const. nmap-7.98/nping/NpingOps.cc:1457:15: note: Technically the member function 'NpingOps::getSourcePort' can be const. nmap-7.98/nping/NpingOps.cc:1463:16: style:inconclusive: Technically the member function 'NpingOps::issetSourcePort' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:476:10: note: Technically the member function 'NpingOps::issetSourcePort' can be const. nmap-7.98/nping/NpingOps.cc:1463:16: note: Technically the member function 'NpingOps::issetSourcePort' can be const. nmap-7.98/nping/NpingOps.cc:1618:16: style:inconclusive: Technically the member function 'NpingOps::getBadsum' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:480:10: note: Technically the member function 'NpingOps::getBadsum' can be const. nmap-7.98/nping/NpingOps.cc:1618:16: note: Technically the member function 'NpingOps::getBadsum' can be const. nmap-7.98/nping/NpingOps.cc:1624:16: style:inconclusive: Technically the member function 'NpingOps::issetBadsum' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:481:10: note: Technically the member function 'NpingOps::issetBadsum' can be const. nmap-7.98/nping/NpingOps.cc:1624:16: note: Technically the member function 'NpingOps::issetBadsum' can be const. nmap-7.98/nping/NpingOps.cc:1538:15: style:inconclusive: Technically the member function 'NpingOps::getFlagTCP' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:486:9: note: Technically the member function 'NpingOps::getFlagTCP' can be const. nmap-7.98/nping/NpingOps.cc:1538:15: note: Technically the member function 'NpingOps::getFlagTCP' can be const. nmap-7.98/nping/NpingOps.cc:1568:16: style:inconclusive: Technically the member function 'NpingOps::issetTCPFlags' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:488:10: note: Technically the member function 'NpingOps::issetTCPFlags' can be const. nmap-7.98/nping/NpingOps.cc:1568:16: note: Technically the member function 'NpingOps::issetTCPFlags' can be const. nmap-7.98/nping/NpingOps.cc:1479:15: style:inconclusive: Technically the member function 'NpingOps::getTCPSequence' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:491:9: note: Technically the member function 'NpingOps::getTCPSequence' can be const. nmap-7.98/nping/NpingOps.cc:1479:15: note: Technically the member function 'NpingOps::getTCPSequence' can be const. nmap-7.98/nping/NpingOps.cc:1485:16: style:inconclusive: Technically the member function 'NpingOps::issetTCPSequence' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:492:10: note: Technically the member function 'NpingOps::issetTCPSequence' can be const. nmap-7.98/nping/NpingOps.cc:1485:16: note: Technically the member function 'NpingOps::issetTCPSequence' can be const. nmap-7.98/nping/NpingOps.cc:1501:15: style:inconclusive: Technically the member function 'NpingOps::getTCPAck' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:495:9: note: Technically the member function 'NpingOps::getTCPAck' can be const. nmap-7.98/nping/NpingOps.cc:1501:15: note: Technically the member function 'NpingOps::getTCPAck' can be const. nmap-7.98/nping/NpingOps.cc:1507:16: style:inconclusive: Technically the member function 'NpingOps::issetTCPAck' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:496:10: note: Technically the member function 'NpingOps::issetTCPAck' can be const. nmap-7.98/nping/NpingOps.cc:1507:16: note: Technically the member function 'NpingOps::issetTCPAck' can be const. nmap-7.98/nping/NpingOps.cc:1584:15: style:inconclusive: Technically the member function 'NpingOps::getTCPWindow' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:499:9: note: Technically the member function 'NpingOps::getTCPWindow' can be const. nmap-7.98/nping/NpingOps.cc:1584:15: note: Technically the member function 'NpingOps::getTCPWindow' can be const. nmap-7.98/nping/NpingOps.cc:1590:16: style:inconclusive: Technically the member function 'NpingOps::issetTCPWindow' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:500:10: note: Technically the member function 'NpingOps::issetTCPWindow' can be const. nmap-7.98/nping/NpingOps.cc:1590:16: note: Technically the member function 'NpingOps::issetTCPWindow' can be const. nmap-7.98/nping/NpingOps.cc:1643:14: style:inconclusive: Technically the member function 'NpingOps::getICMPType' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:504:8: note: Technically the member function 'NpingOps::getICMPType' can be const. nmap-7.98/nping/NpingOps.cc:1643:14: note: Technically the member function 'NpingOps::getICMPType' can be const. nmap-7.98/nping/NpingOps.cc:1649:16: style:inconclusive: Technically the member function 'NpingOps::issetICMPType' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:505:10: note: Technically the member function 'NpingOps::issetICMPType' can be const. nmap-7.98/nping/NpingOps.cc:1649:16: note: Technically the member function 'NpingOps::issetICMPType' can be const. nmap-7.98/nping/NpingOps.cc:1664:14: style:inconclusive: Technically the member function 'NpingOps::getICMPCode' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:508:8: note: Technically the member function 'NpingOps::getICMPCode' can be const. nmap-7.98/nping/NpingOps.cc:1664:14: note: Technically the member function 'NpingOps::getICMPCode' can be const. nmap-7.98/nping/NpingOps.cc:1670:16: style:inconclusive: Technically the member function 'NpingOps::issetICMPCode' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:509:10: note: Technically the member function 'NpingOps::issetICMPCode' can be const. nmap-7.98/nping/NpingOps.cc:1670:16: note: Technically the member function 'NpingOps::issetICMPCode' can be const. nmap-7.98/nping/NpingOps.cc:1698:16: style:inconclusive: Technically the member function 'NpingOps::getBadsumICMP' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:513:10: note: Technically the member function 'NpingOps::getBadsumICMP' can be const. nmap-7.98/nping/NpingOps.cc:1698:16: note: Technically the member function 'NpingOps::getBadsumICMP' can be const. nmap-7.98/nping/NpingOps.cc:1704:16: style:inconclusive: Technically the member function 'NpingOps::issetBadsumICMP' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:514:10: note: Technically the member function 'NpingOps::issetBadsumICMP' can be const. nmap-7.98/nping/NpingOps.cc:1704:16: note: Technically the member function 'NpingOps::issetBadsumICMP' can be const. nmap-7.98/nping/NpingOps.cc:1719:26: style:inconclusive: Technically the member function 'NpingOps::getICMPRedirectAddress' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:517:20: note: Technically the member function 'NpingOps::getICMPRedirectAddress' can be const. nmap-7.98/nping/NpingOps.cc:1719:26: note: Technically the member function 'NpingOps::getICMPRedirectAddress' can be const. nmap-7.98/nping/NpingOps.cc:1725:16: style:inconclusive: Technically the member function 'NpingOps::issetICMPRedirectAddress' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:518:10: note: Technically the member function 'NpingOps::issetICMPRedirectAddress' can be const. nmap-7.98/nping/NpingOps.cc:1725:16: note: Technically the member function 'NpingOps::issetICMPRedirectAddress' can be const. nmap-7.98/nping/NpingOps.cc:1740:14: style:inconclusive: Technically the member function 'NpingOps::getICMPParamProblemPointer' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:521:8: note: Technically the member function 'NpingOps::getICMPParamProblemPointer' can be const. nmap-7.98/nping/NpingOps.cc:1740:14: note: Technically the member function 'NpingOps::getICMPParamProblemPointer' can be const. nmap-7.98/nping/NpingOps.cc:1746:16: style:inconclusive: Technically the member function 'NpingOps::issetICMPParamProblemPointer' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:522:10: note: Technically the member function 'NpingOps::issetICMPParamProblemPointer' can be const. nmap-7.98/nping/NpingOps.cc:1746:16: note: Technically the member function 'NpingOps::issetICMPParamProblemPointer' can be const. nmap-7.98/nping/NpingOps.cc:1761:15: style:inconclusive: Technically the member function 'NpingOps::getICMPRouterAdvLifetime' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:525:9: note: Technically the member function 'NpingOps::getICMPRouterAdvLifetime' can be const. nmap-7.98/nping/NpingOps.cc:1761:15: note: Technically the member function 'NpingOps::getICMPRouterAdvLifetime' can be const. nmap-7.98/nping/NpingOps.cc:1767:16: style:inconclusive: Technically the member function 'NpingOps::issetICMPRouterAdvLifetime' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:526:10: note: Technically the member function 'NpingOps::issetICMPRouterAdvLifetime' can be const. nmap-7.98/nping/NpingOps.cc:1767:16: note: Technically the member function 'NpingOps::issetICMPRouterAdvLifetime' can be const. nmap-7.98/nping/NpingOps.cc:1781:15: style:inconclusive: Technically the member function 'NpingOps::getICMPIdentifier' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:529:9: note: Technically the member function 'NpingOps::getICMPIdentifier' can be const. nmap-7.98/nping/NpingOps.cc:1781:15: note: Technically the member function 'NpingOps::getICMPIdentifier' can be const. nmap-7.98/nping/NpingOps.cc:1787:16: style:inconclusive: Technically the member function 'NpingOps::issetICMPIdentifier' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:530:10: note: Technically the member function 'NpingOps::issetICMPIdentifier' can be const. nmap-7.98/nping/NpingOps.cc:1787:16: note: Technically the member function 'NpingOps::issetICMPIdentifier' can be const. nmap-7.98/nping/NpingOps.cc:1802:15: style:inconclusive: Technically the member function 'NpingOps::getICMPSequence' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:533:9: note: Technically the member function 'NpingOps::getICMPSequence' can be const. nmap-7.98/nping/NpingOps.cc:1802:15: note: Technically the member function 'NpingOps::getICMPSequence' can be const. nmap-7.98/nping/NpingOps.cc:1808:16: style:inconclusive: Technically the member function 'NpingOps::issetICMPSequence' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:534:10: note: Technically the member function 'NpingOps::issetICMPSequence' can be const. nmap-7.98/nping/NpingOps.cc:1808:16: note: Technically the member function 'NpingOps::issetICMPSequence' can be const. nmap-7.98/nping/NpingOps.cc:1823:15: style:inconclusive: Technically the member function 'NpingOps::getICMPOriginateTimestamp' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:537:9: note: Technically the member function 'NpingOps::getICMPOriginateTimestamp' can be const. nmap-7.98/nping/NpingOps.cc:1823:15: note: Technically the member function 'NpingOps::getICMPOriginateTimestamp' can be const. nmap-7.98/nping/NpingOps.cc:1829:16: style:inconclusive: Technically the member function 'NpingOps::issetICMPOriginateTimestamp' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:538:10: note: Technically the member function 'NpingOps::issetICMPOriginateTimestamp' can be const. nmap-7.98/nping/NpingOps.cc:1829:16: note: Technically the member function 'NpingOps::issetICMPOriginateTimestamp' can be const. nmap-7.98/nping/NpingOps.cc:1844:15: style:inconclusive: Technically the member function 'NpingOps::getICMPReceiveTimestamp' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:541:9: note: Technically the member function 'NpingOps::getICMPReceiveTimestamp' can be const. nmap-7.98/nping/NpingOps.cc:1844:15: note: Technically the member function 'NpingOps::getICMPReceiveTimestamp' can be const. nmap-7.98/nping/NpingOps.cc:1850:16: style:inconclusive: Technically the member function 'NpingOps::issetICMPReceiveTimestamp' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:542:10: note: Technically the member function 'NpingOps::issetICMPReceiveTimestamp' can be const. nmap-7.98/nping/NpingOps.cc:1850:16: note: Technically the member function 'NpingOps::issetICMPReceiveTimestamp' can be const. nmap-7.98/nping/NpingOps.cc:1865:15: style:inconclusive: Technically the member function 'NpingOps::getICMPTransmitTimestamp' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:545:9: note: Technically the member function 'NpingOps::getICMPTransmitTimestamp' can be const. nmap-7.98/nping/NpingOps.cc:1865:15: note: Technically the member function 'NpingOps::getICMPTransmitTimestamp' can be const. nmap-7.98/nping/NpingOps.cc:1871:16: style:inconclusive: Technically the member function 'NpingOps::issetICMPTransmitTimestamp' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:546:10: note: Technically the member function 'NpingOps::issetICMPTransmitTimestamp' can be const. nmap-7.98/nping/NpingOps.cc:1871:16: note: Technically the member function 'NpingOps::issetICMPTransmitTimestamp' can be const. nmap-7.98/nping/NpingOps.cc:1901:15: style:inconclusive: Technically the member function 'NpingOps::getICMPAdvertEntryCount' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:550:9: note: Technically the member function 'NpingOps::getICMPAdvertEntryCount' can be const. nmap-7.98/nping/NpingOps.cc:1901:15: note: Technically the member function 'NpingOps::getICMPAdvertEntryCount' can be const. nmap-7.98/nping/NpingOps.cc:1905:16: style:inconclusive: Technically the member function 'NpingOps::issetICMPAdvertEntry' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:551:10: note: Technically the member function 'NpingOps::issetICMPAdvertEntry' can be const. nmap-7.98/nping/NpingOps.cc:1905:16: note: Technically the member function 'NpingOps::issetICMPAdvertEntry' can be const. nmap-7.98/nping/NpingOps.cc:1930:16: style:inconclusive: Technically the member function 'NpingOps::issetSourceMAC' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:556:10: note: Technically the member function 'NpingOps::issetSourceMAC' can be const. nmap-7.98/nping/NpingOps.cc:1930:16: note: Technically the member function 'NpingOps::issetSourceMAC' can be const. nmap-7.98/nping/NpingOps.cc:1951:16: style:inconclusive: Technically the member function 'NpingOps::issetDestMAC' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:560:10: note: Technically the member function 'NpingOps::issetDestMAC' can be const. nmap-7.98/nping/NpingOps.cc:1951:16: note: Technically the member function 'NpingOps::issetDestMAC' can be const. nmap-7.98/nping/NpingOps.cc:1965:15: style:inconclusive: Technically the member function 'NpingOps::getEtherType' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:563:9: note: Technically the member function 'NpingOps::getEtherType' can be const. nmap-7.98/nping/NpingOps.cc:1965:15: note: Technically the member function 'NpingOps::getEtherType' can be const. nmap-7.98/nping/NpingOps.cc:1971:16: style:inconclusive: Technically the member function 'NpingOps::issetEtherType' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:564:10: note: Technically the member function 'NpingOps::issetEtherType' can be const. nmap-7.98/nping/NpingOps.cc:1971:16: note: Technically the member function 'NpingOps::issetEtherType' can be const. nmap-7.98/nping/NpingOps.cc:1990:15: style:inconclusive: Technically the member function 'NpingOps::getARPHardwareType' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:568:9: note: Technically the member function 'NpingOps::getARPHardwareType' can be const. nmap-7.98/nping/NpingOps.cc:1990:15: note: Technically the member function 'NpingOps::getARPHardwareType' can be const. nmap-7.98/nping/NpingOps.cc:1996:16: style:inconclusive: Technically the member function 'NpingOps::issetARPHardwareType' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:569:10: note: Technically the member function 'NpingOps::issetARPHardwareType' can be const. nmap-7.98/nping/NpingOps.cc:1996:16: note: Technically the member function 'NpingOps::issetARPHardwareType' can be const. nmap-7.98/nping/NpingOps.cc:2011:15: style:inconclusive: Technically the member function 'NpingOps::getARPProtocolType' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:572:9: note: Technically the member function 'NpingOps::getARPProtocolType' can be const. nmap-7.98/nping/NpingOps.cc:2011:15: note: Technically the member function 'NpingOps::getARPProtocolType' can be const. nmap-7.98/nping/NpingOps.cc:2017:16: style:inconclusive: Technically the member function 'NpingOps::issetARPProtocolType' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:573:10: note: Technically the member function 'NpingOps::issetARPProtocolType' can be const. nmap-7.98/nping/NpingOps.cc:2017:16: note: Technically the member function 'NpingOps::issetARPProtocolType' can be const. nmap-7.98/nping/NpingOps.cc:2032:14: style:inconclusive: Technically the member function 'NpingOps::getARPHwAddrLen' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:576:8: note: Technically the member function 'NpingOps::getARPHwAddrLen' can be const. nmap-7.98/nping/NpingOps.cc:2032:14: note: Technically the member function 'NpingOps::getARPHwAddrLen' can be const. nmap-7.98/nping/NpingOps.cc:2038:16: style:inconclusive: Technically the member function 'NpingOps::issetARPHwAddrLen' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:577:10: note: Technically the member function 'NpingOps::issetARPHwAddrLen' can be const. nmap-7.98/nping/NpingOps.cc:2038:16: note: Technically the member function 'NpingOps::issetARPHwAddrLen' can be const. nmap-7.98/nping/NpingOps.cc:2053:14: style:inconclusive: Technically the member function 'NpingOps::getARPProtoAddrLen' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:580:8: note: Technically the member function 'NpingOps::getARPProtoAddrLen' can be const. nmap-7.98/nping/NpingOps.cc:2053:14: note: Technically the member function 'NpingOps::getARPProtoAddrLen' can be const. nmap-7.98/nping/NpingOps.cc:2059:16: style:inconclusive: Technically the member function 'NpingOps::issetARPProtoAddrLen' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:581:10: note: Technically the member function 'NpingOps::issetARPProtoAddrLen' can be const. nmap-7.98/nping/NpingOps.cc:2059:16: note: Technically the member function 'NpingOps::issetARPProtoAddrLen' can be const. nmap-7.98/nping/NpingOps.cc:2074:15: style:inconclusive: Technically the member function 'NpingOps::getARPOpCode' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:584:9: note: Technically the member function 'NpingOps::getARPOpCode' can be const. nmap-7.98/nping/NpingOps.cc:2074:15: note: Technically the member function 'NpingOps::getARPOpCode' can be const. nmap-7.98/nping/NpingOps.cc:2080:16: style:inconclusive: Technically the member function 'NpingOps::issetARPOpCode' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:585:10: note: Technically the member function 'NpingOps::issetARPOpCode' can be const. nmap-7.98/nping/NpingOps.cc:2080:16: note: Technically the member function 'NpingOps::issetARPOpCode' can be const. nmap-7.98/nping/NpingOps.cc:2101:16: style:inconclusive: Technically the member function 'NpingOps::issetARPSenderHwAddr' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:589:10: note: Technically the member function 'NpingOps::issetARPSenderHwAddr' can be const. nmap-7.98/nping/NpingOps.cc:2101:16: note: Technically the member function 'NpingOps::issetARPSenderHwAddr' can be const. nmap-7.98/nping/NpingOps.cc:2122:16: style:inconclusive: Technically the member function 'NpingOps::issetARPTargetHwAddr' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:593:10: note: Technically the member function 'NpingOps::issetARPTargetHwAddr' can be const. nmap-7.98/nping/NpingOps.cc:2122:16: note: Technically the member function 'NpingOps::issetARPTargetHwAddr' can be const. nmap-7.98/nping/NpingOps.cc:2137:26: style:inconclusive: Technically the member function 'NpingOps::getARPSenderProtoAddr' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:596:20: note: Technically the member function 'NpingOps::getARPSenderProtoAddr' can be const. nmap-7.98/nping/NpingOps.cc:2137:26: note: Technically the member function 'NpingOps::getARPSenderProtoAddr' can be const. nmap-7.98/nping/NpingOps.cc:2143:16: style:inconclusive: Technically the member function 'NpingOps::issetARPSenderProtoAddr' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:597:10: note: Technically the member function 'NpingOps::issetARPSenderProtoAddr' can be const. nmap-7.98/nping/NpingOps.cc:2143:16: note: Technically the member function 'NpingOps::issetARPSenderProtoAddr' can be const. nmap-7.98/nping/NpingOps.cc:2158:26: style:inconclusive: Technically the member function 'NpingOps::getARPTargetProtoAddr' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:600:20: note: Technically the member function 'NpingOps::getARPTargetProtoAddr' can be const. nmap-7.98/nping/NpingOps.cc:2158:26: note: Technically the member function 'NpingOps::getARPTargetProtoAddr' can be const. nmap-7.98/nping/NpingOps.cc:2164:16: style:inconclusive: Technically the member function 'NpingOps::issetARPTargetProtoAddr' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:601:10: note: Technically the member function 'NpingOps::issetARPTargetProtoAddr' can be const. nmap-7.98/nping/NpingOps.cc:2164:16: note: Technically the member function 'NpingOps::issetARPTargetProtoAddr' can be const. nmap-7.98/nping/NpingOps.cc:2179:15: style:inconclusive: Technically the member function 'NpingOps::getEchoPort' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:605:9: note: Technically the member function 'NpingOps::getEchoPort' can be const. nmap-7.98/nping/NpingOps.cc:2179:15: note: Technically the member function 'NpingOps::getEchoPort' can be const. nmap-7.98/nping/NpingOps.cc:2185:16: style:inconclusive: Technically the member function 'NpingOps::issetEchoPort' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:606:10: note: Technically the member function 'NpingOps::issetEchoPort' can be const. nmap-7.98/nping/NpingOps.cc:2185:16: note: Technically the member function 'NpingOps::issetEchoPort' can be const. nmap-7.98/nping/NpingOps.cc:2202:16: style:inconclusive: Technically the member function 'NpingOps::issetEchoPassphrase' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:610:10: note: Technically the member function 'NpingOps::issetEchoPassphrase' can be const. nmap-7.98/nping/NpingOps.cc:2202:16: note: Technically the member function 'NpingOps::issetEchoPassphrase' can be const. nmap-7.98/nping/NpingOps.cc:3024:16: style:inconclusive: Technically the member function 'NpingOps::doCrypto' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:612:10: note: Technically the member function 'NpingOps::doCrypto' can be const. nmap-7.98/nping/NpingOps.cc:3024:16: note: Technically the member function 'NpingOps::doCrypto' can be const. nmap-7.98/nping/NpingOps.cc:3035:16: style:inconclusive: Technically the member function 'NpingOps::echoPayload' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:615:10: note: Technically the member function 'NpingOps::echoPayload' can be const. nmap-7.98/nping/NpingOps.cc:3035:16: note: Technically the member function 'NpingOps::echoPayload' can be const. nmap-7.98/nping/NpingOps.cc:2216:16: style:inconclusive: Technically the member function 'NpingOps::once' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:619:10: note: Technically the member function 'NpingOps::once' can be const. nmap-7.98/nping/NpingOps.cc:2216:16: note: Technically the member function 'NpingOps::once' can be const. nmap-7.98/nping/NpingOps.cc:2756:17: performance:inconclusive: Technically the member function 'NpingOps::select_network_iface' can be static (but you may consider moving to unnamed namespace). [functionStatic] nmap-7.98/nping/NpingOps.h:626:11: note: Technically the member function 'NpingOps::select_network_iface' can be static (but you may consider moving to unnamed namespace). nmap-7.98/nping/NpingOps.cc:2756:17: note: Technically the member function 'NpingOps::select_network_iface' can be static (but you may consider moving to unnamed namespace). nmap-7.98/nping/NpingOps.cc:2975:26: style:inconclusive: Technically the member function 'NpingOps::getLastPacketSentTime' can be const. [functionConst] nmap-7.98/nping/NpingOps.h:636:20: note: Technically the member function 'NpingOps::getLastPacketSentTime' can be const. nmap-7.98/nping/NpingOps.cc:2975:26: note: Technically the member function 'NpingOps::getLastPacketSentTime' can be const. nmap-7.98/nping/NpingOps.cc:323:10: warning: Class 'NpingOps' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] nmap-7.98/nping/NpingOps.cc:323:10: warning: Class 'NpingOps' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] nmap-7.98/nping/NpingOps.cc:1276:27: warning: Either the condition 'txt==NULL' is redundant or there is possible null pointer dereference: txt. [nullPointerRedundantCheck] nmap-7.98/nping/NpingOps.cc:1274:10: note: Assuming that condition 'txt==NULL' is not redundant nmap-7.98/nping/NpingOps.cc:1276:27: note: Null pointer dereference nmap-7.98/nping/NpingOps.cc:1341:42: warning: Either the condition 'val==NULL' is redundant or there is possible null pointer dereference: val. [nullPointerRedundantCheck] nmap-7.98/nping/NpingOps.cc:1339:9: note: Assuming that condition 'val==NULL' is not redundant nmap-7.98/nping/NpingOps.cc:1341:42: note: Null pointer dereference nmap-7.98/nping/NpingOps.cc:1895:4: warning: Either the condition 'addr==NULL' is redundant or there is possible null pointer dereference: addr. [nullPointerRedundantCheck] nmap-7.98/nping/NpingOps.cc:1893:11: note: Assuming that condition 'addr==NULL' is not redundant nmap-7.98/nping/NpingOps.cc:1895:4: note: Null pointer dereference nmap-7.98/nping/NpingOps.cc:1896:4: warning: Either the condition 'pref==NULL' is redundant or there is possible null pointer dereference: pref. [nullPointerRedundantCheck] nmap-7.98/nping/NpingOps.cc:1893:25: note: Assuming that condition 'pref==NULL' is not redundant nmap-7.98/nping/NpingOps.cc:1896:4: note: Null pointer dereference nmap-7.98/nping/NpingOps.cc:2886:25: style: C-style pointer casting [cstyleCast] nmap-7.98/nping/NpingOps.cc:2916:25: style: C-style pointer casting [cstyleCast] nmap-7.98/nping/NpingOps.cc:2945:25: style: C-style pointer casting [cstyleCast] nmap-7.98/nping/NpingOps.cc:2955:25: style: C-style pointer casting [cstyleCast] nmap-7.98/nping/NpingOps.cc:1379:28: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/NpingOps.cc:1380:29: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/NpingOps.cc:2343:28: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/NpingOps.cc:2344:29: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/NpingOps.cc:2340:10: style: The scope of the variable 'devbuff' can be reduced. [variableScope] nmap-7.98/nping/NpingOps.cc:2341:11: style: The scope of the variable 'dev' can be reduced. [variableScope] nmap-7.98/nping/NpingOps.cc:2346:10: style: The scope of the variable 'hostname' can be reduced. [variableScope] nmap-7.98/nping/NpingOps.cc:2762:10: style: The scope of the variable 'current_has_address' can be reduced. [variableScope] nmap-7.98/nping/NpingOps.cc:2766:10: style: The scope of the variable 'select_current' can be reduced. [variableScope] nmap-7.98/nping/NpingOps.cc:2773:10: style: The scope of the variable 'candidate_has_ipv6' can be reduced. [variableScope] nmap-7.98/nping/NpingOps.cc:2774:10: style: The scope of the variable 'candidate_has_ipv4' can be reduced. [variableScope] nmap-7.98/nping/NpingOps.cc:2775:10: style: The scope of the variable 'candidate_is_loopback' can be reduced. [variableScope] nmap-7.98/nping/NpingOps.cc:1093:25: style:inconclusive: Function 'setTOS' argument 1 names different: declaration 'tos' definition 'val'. [funcArgNamesDifferent] nmap-7.98/nping/NpingOps.h:413:19: note: Function 'setTOS' argument 1 names different: declaration 'tos' definition 'val'. nmap-7.98/nping/NpingOps.cc:1093:25: note: Function 'setTOS' argument 1 names different: declaration 'tos' definition 'val'. nmap-7.98/nping/NpingOps.cc:1114:37: style:inconclusive: Function 'setIdentification' argument 1 names different: declaration 'i' definition 'val'. [funcArgNamesDifferent] nmap-7.98/nping/NpingOps.h:417:31: note: Function 'setIdentification' argument 1 names different: declaration 'i' definition 'val'. nmap-7.98/nping/NpingOps.cc:1114:37: note: Function 'setIdentification' argument 1 names different: declaration 'i' definition 'val'. nmap-7.98/nping/NpingOps.cc:1635:30: style:inconclusive: Function 'setICMPType' argument 1 names different: declaration 'type' definition 'val'. [funcArgNamesDifferent] nmap-7.98/nping/NpingOps.h:503:24: note: Function 'setICMPType' argument 1 names different: declaration 'type' definition 'val'. nmap-7.98/nping/NpingOps.cc:1635:30: note: Function 'setICMPType' argument 1 names different: declaration 'type' definition 'val'. nmap-7.98/nping/NpingOps.cc:1273:34: style: Parameter 'txt' can be declared as pointer to const [constParameterPointer] nmap-7.98/nping/NpingOps.cc:1338:40: style: Parameter 'val' can be declared as pointer to const [constParameterPointer] nmap-7.98/nping/NpingOps.cc:1916:33: style: Parameter 'val' can be declared as pointer to const [constParameterPointer] nmap-7.98/nping/NpingOps.cc:1937:31: style: Parameter 'val' can be declared as pointer to const [constParameterPointer] nmap-7.98/nping/NpingOps.cc:2087:39: style: Parameter 'val' can be declared as pointer to const [constParameterPointer] nmap-7.98/nping/NpingOps.cc:2108:39: style: Parameter 'val' can be declared as pointer to const [constParameterPointer] nmap-7.98/nping/NpingOps.cc:2343:25: style: Variable 's4' can be declared as pointer to const [constVariablePointer] nmap-7.98/nping/NpingOps.cc:2793:26: style: Variable 'curraddr' can be declared as pointer to const [constVariablePointer] nmap-7.98/nping/NpingOps.cc:2762:29: style: Variable 'current_has_address' is assigned a value that is never used. [unreadVariable] nmap-7.98/nping/NpingOps.cc:2766:24: style: Variable 'select_current' is assigned a value that is never used. [unreadVariable] nmap-7.98/nping/NpingOps.cc:2773:28: style: Variable 'candidate_has_ipv6' is assigned a value that is never used. [unreadVariable] nmap-7.98/nping/NpingOps.cc:2774:28: style: Variable 'candidate_has_ipv4' is assigned a value that is never used. [unreadVariable] nmap-7.98/nping/NpingOps.cc:2775:31: style: Variable 'candidate_is_loopback' is assigned a value that is never used. [unreadVariable] nmap-7.98/nping/EchoServer.cc:147:23: style: Unused private function: 'EchoServer::getClientNsockIOD' [unusedPrivateFunction] nmap-7.98/nping/EchoServer.h:85:19: note: Unused private function: 'EchoServer::getClientNsockIOD' nmap-7.98/nping/EchoServer.cc:147:23: note: Unused private function: 'EchoServer::getClientNsockIOD' nmap-7.98/nping/EchoServer.cc:180:17: performance:inconclusive: Technically the member function 'EchoServer::nep_listen_socket' can be static (but you may consider moving to unnamed namespace). [functionStatic] nmap-7.98/nping/EchoServer.h:80:13: note: Technically the member function 'EchoServer::nep_listen_socket' can be static (but you may consider moving to unnamed namespace). nmap-7.98/nping/EchoServer.cc:180:17: note: Technically the member function 'EchoServer::nep_listen_socket' can be static (but you may consider moving to unnamed namespace). nmap-7.98/nping/EchoServer.cc:307:24: style:inconclusive: Technically the member function 'EchoServer::nep_match_headers' can be const. [functionConst] nmap-7.98/nping/EchoServer.h:88:20: note: Technically the member function 'EchoServer::nep_match_headers' can be const. nmap-7.98/nping/EchoServer.cc:307:24: note: Technically the member function 'EchoServer::nep_match_headers' can be const. nmap-7.98/nping/EchoServer.cc:1046:17: performance:inconclusive: Technically the member function 'EchoServer::parse_hs_client' can be static (but you may consider moving to unnamed namespace). [functionStatic] nmap-7.98/nping/EchoServer.h:89:13: note: Technically the member function 'EchoServer::parse_hs_client' can be static (but you may consider moving to unnamed namespace). nmap-7.98/nping/EchoServer.cc:1046:17: note: Technically the member function 'EchoServer::parse_hs_client' can be static (but you may consider moving to unnamed namespace). nmap-7.98/nping/EchoServer.cc:1127:17: performance:inconclusive: Technically the member function 'EchoServer::parse_packet_spec' can be static (but you may consider moving to unnamed namespace). [functionStatic] nmap-7.98/nping/EchoServer.h:90:13: note: Technically the member function 'EchoServer::parse_packet_spec' can be static (but you may consider moving to unnamed namespace). nmap-7.98/nping/EchoServer.cc:1127:17: note: Technically the member function 'EchoServer::parse_packet_spec' can be static (but you may consider moving to unnamed namespace). nmap-7.98/nping/EchoServer.cc:1236:17: performance:inconclusive: Technically the member function 'EchoServer::generate_hs_server' can be static (but you may consider moving to unnamed namespace). [functionStatic] nmap-7.98/nping/EchoServer.h:92:13: note: Technically the member function 'EchoServer::generate_hs_server' can be static (but you may consider moving to unnamed namespace). nmap-7.98/nping/EchoServer.cc:1236:17: note: Technically the member function 'EchoServer::generate_hs_server' can be static (but you may consider moving to unnamed namespace). nmap-7.98/nping/EchoServer.cc:1254:17: performance:inconclusive: Technically the member function 'EchoServer::generate_hs_final' can be static (but you may consider moving to unnamed namespace). [functionStatic] nmap-7.98/nping/EchoServer.h:93:13: note: Technically the member function 'EchoServer::generate_hs_final' can be static (but you may consider moving to unnamed namespace). nmap-7.98/nping/EchoServer.cc:1254:17: note: Technically the member function 'EchoServer::generate_hs_final' can be static (but you may consider moving to unnamed namespace). nmap-7.98/nping/EchoServer.cc:1289:17: performance:inconclusive: Technically the member function 'EchoServer::generate_ready' can be static (but you may consider moving to unnamed namespace). [functionStatic] nmap-7.98/nping/EchoServer.h:94:13: note: Technically the member function 'EchoServer::generate_ready' can be static (but you may consider moving to unnamed namespace). nmap-7.98/nping/EchoServer.cc:1289:17: note: Technically the member function 'EchoServer::generate_ready' can be static (but you may consider moving to unnamed namespace). nmap-7.98/nping/EchoServer.cc:1313:17: performance:inconclusive: Technically the member function 'EchoServer::generate_echo' can be static (but you may consider moving to unnamed namespace). [functionStatic] nmap-7.98/nping/EchoServer.h:95:13: note: Technically the member function 'EchoServer::generate_echo' can be static (but you may consider moving to unnamed namespace). nmap-7.98/nping/EchoServer.cc:1313:17: note: Technically the member function 'EchoServer::generate_echo' can be static (but you may consider moving to unnamed namespace). nmap-7.98/nping/EchoServer.cc:1476:17: performance:inconclusive: Technically the member function 'EchoServer::cleanup' can be static (but you may consider moving to unnamed namespace). [functionStatic] nmap-7.98/nping/EchoServer.h:103:13: note: Technically the member function 'EchoServer::cleanup' can be static (but you may consider moving to unnamed namespace). nmap-7.98/nping/EchoServer.cc:1476:17: note: Technically the member function 'EchoServer::cleanup' can be static (but you may consider moving to unnamed namespace). nmap-7.98/nping/EchoServer.cc:942:17: performance:inconclusive: Technically the member function 'EchoServer::nep_hs_final_handler' can be static (but you may consider moving to unnamed namespace). [functionStatic] nmap-7.98/nping/EchoServer.h:109:13: note: Technically the member function 'EchoServer::nep_hs_final_handler' can be static (but you may consider moving to unnamed namespace). nmap-7.98/nping/EchoServer.cc:942:17: note: Technically the member function 'EchoServer::nep_hs_final_handler' can be static (but you may consider moving to unnamed namespace). nmap-7.98/nping/EchoServer.cc:1007:17: performance:inconclusive: Technically the member function 'EchoServer::nep_ready_handler' can be static (but you may consider moving to unnamed namespace). [functionStatic] nmap-7.98/nping/EchoServer.h:111:13: note: Technically the member function 'EchoServer::nep_ready_handler' can be static (but you may consider moving to unnamed namespace). nmap-7.98/nping/EchoServer.cc:1007:17: note: Technically the member function 'EchoServer::nep_ready_handler' can be static (but you may consider moving to unnamed namespace). nmap-7.98/nping/EchoServer.cc:121:11: style: C-style pointer casting [cstyleCast] nmap-7.98/nping/EchoServer.cc:920:15: style: C-style pointer casting [cstyleCast] nmap-7.98/nping/EchoServer.cc:976:17: style: C-style pointer casting [cstyleCast] nmap-7.98/nping/EchoServer.cc:1341:21: style: C-style pointer casting [cstyleCast] nmap-7.98/nping/EchoServer.cc:1422:24: style: C-style pointer casting [cstyleCast] nmap-7.98/nping/EchoServer.cc:203:57: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/EchoServer.cc:215:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/EchoServer.cc:220:33: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/EchoServer.cc:240:57: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/EchoServer.cc:253:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/EchoServer.cc:258:33: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/EchoServer.cc:347:64: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/EchoServer.cc:355:60: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/EchoServer.cc:372:59: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/EchoServer.cc:388:60: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/EchoServer.cc:396:65: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/EchoServer.cc:404:53: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/EchoServer.cc:412:53: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/EchoServer.cc:428:56: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/EchoServer.cc:436:60: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/EchoServer.cc:460:60: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/EchoServer.cc:468:65: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/EchoServer.cc:476:61: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/EchoServer.cc:856:70: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/EchoServer.cc:937:65: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/EchoServer.cc:992:62: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/EchoServer.cc:1268:31: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/EchoServer.cc:1271:30: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/EchoServer.cc:1419:42: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/EchoServer.cc:1454:83: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/EchoServer.cc:314:11: style: The scope of the variable 'current_score' can be reduced. [variableScope] nmap-7.98/nping/EchoServer.cc:1017:14: style: The scope of the variable 'clnt' can be reduced. [variableScope] nmap-7.98/nping/EchoServer.cc:489:46: style: Local variable 'i' shadows outer variable [shadowVariable] nmap-7.98/nping/EchoServer.cc:309:18: note: Shadowed declaration nmap-7.98/nping/EchoServer.cc:489:46: note: Shadow variable nmap-7.98/nping/EchoServer.cc:120:15: style: Variable 'id' can be declared as pointer to const [constVariablePointer] nmap-7.98/nping/EchoServer.cc:310:9: style: Variable 'buff' can be declared as pointer to const [constVariablePointer] nmap-7.98/nping/EchoServer.cc:1046:37: style: Parameter 'pkt' can be declared as pointer to const [constParameterPointer] nmap-7.98/nping/EchoServer.cc:1127:39: style: Parameter 'pkt' can be declared as pointer to const [constParameterPointer] nmap-7.98/nping/EchoServer.cc:1566:59: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'empty_handler' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nmap-7.98/nping/EchoServer.cc:1463:29: note: You might need to cast the function pointer here nmap-7.98/nping/EchoServer.cc:1566:59: note: Parameter 'arg' can be declared as pointer to const nmap-7.98/nping/EchoServer.cc:309:24: style: Variable 'k' is assigned a value that is never used. [unreadVariable] nmap-7.98/nping/EchoServer.cc:314:24: style: Variable 'current_score' is assigned a value that is never used. [unreadVariable] nmap-7.98/nping/EchoServer.cc:1379:16: style: Variable 'client_sd' is assigned a value that is never used. [unreadVariable] nmap-7.98/nping/EchoServer.cc:135:65: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/nping/NpingTarget.cc:213:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] nmap-7.98/nping/NpingTarget.cc:234:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in6_addr [valueFlowBailoutIncompleteVar] nmap-7.98/nping/NpingTarget.cc:242:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] nmap-7.98/nping/NpingTarget.cc:316:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] nmap-7.98/nping/NpingTarget.cc:338:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] nmap-7.98/nping/NpingTarget.cc:350:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in6_addr [valueFlowBailoutIncompleteVar] nmap-7.98/nping/NpingTarget.cc:358:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] nmap-7.98/nping/NpingTarget.cc:577:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] nmap-7.98/nping/NpingTarget.cc:598:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] nmap-7.98/nping/NpingTarget.cc:622:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] nmap-7.98/nping/NpingTarget.cc:641:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] nmap-7.98/nping/NpingTarget.cc:760:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/nping/NpingTarget.cc:845:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] nmap-7.98/nping/NpingTarget.cc:894:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tv_sec [valueFlowBailoutIncompleteVar] nmap-7.98/nping/NpingTarget.cc:957:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tv_sec [valueFlowBailoutIncompleteVar] nmap-7.98/nping/NpingTarget.cc:298:19: style:inconclusive: Technically the member function 'NpingTarget::spoofingSourceAddress' can be const. [functionConst] nmap-7.98/nping/NpingTarget.h:151:10: note: Technically the member function 'NpingTarget::spoofingSourceAddress' can be const. nmap-7.98/nping/NpingTarget.cc:298:19: note: Technically the member function 'NpingTarget::spoofingSourceAddress' can be const. nmap-7.98/nping/NpingTarget.cc:382:18: style:inconclusive: Technically the member function 'NpingTarget::isDirectlyConnectedOrUnset' can be const. [functionConst] nmap-7.98/nping/NpingTarget.h:163:9: note: Technically the member function 'NpingTarget::isDirectlyConnectedOrUnset' can be const. nmap-7.98/nping/NpingTarget.cc:382:18: note: Technically the member function 'NpingTarget::isDirectlyConnectedOrUnset' can be const. nmap-7.98/nping/NpingTarget.cc:429:24: style:inconclusive: Technically the member function 'NpingTarget::getNextHopMACAddress' can be const. [functionConst] nmap-7.98/nping/NpingTarget.h:169:15: note: Technically the member function 'NpingTarget::getNextHopMACAddress' can be const. nmap-7.98/nping/NpingTarget.cc:429:24: note: Technically the member function 'NpingTarget::getNextHopMACAddress' can be const. nmap-7.98/nping/NpingTarget.cc:447:24: style:inconclusive: Technically the member function 'NpingTarget::getMACAddress' can be const. [functionConst] nmap-7.98/nping/NpingTarget.h:173:15: note: Technically the member function 'NpingTarget::getMACAddress' can be const. nmap-7.98/nping/NpingTarget.cc:447:24: note: Technically the member function 'NpingTarget::getMACAddress' can be const. nmap-7.98/nping/NpingTarget.cc:466:24: style:inconclusive: Technically the member function 'NpingTarget::getSrcMACAddress' can be const. [functionConst] nmap-7.98/nping/NpingTarget.h:179:15: note: Technically the member function 'NpingTarget::getSrcMACAddress' can be const. nmap-7.98/nping/NpingTarget.cc:466:24: note: Technically the member function 'NpingTarget::getSrcMACAddress' can be const. nmap-7.98/nping/NpingTarget.cc:484:27: style:inconclusive: Technically the member function 'NpingTarget::getDeviceName' can be const. [functionConst] nmap-7.98/nping/NpingTarget.h:183:17: note: Technically the member function 'NpingTarget::getDeviceName' can be const. nmap-7.98/nping/NpingTarget.cc:484:27: note: Technically the member function 'NpingTarget::getDeviceName' can be const. nmap-7.98/nping/NpingTarget.cc:490:27: style:inconclusive: Technically the member function 'NpingTarget::getDeviceFullName' can be const. [functionConst] nmap-7.98/nping/NpingTarget.h:184:17: note: Technically the member function 'NpingTarget::getDeviceFullName' can be const. nmap-7.98/nping/NpingTarget.cc:490:27: note: Technically the member function 'NpingTarget::getDeviceFullName' can be const. nmap-7.98/nping/NpingTarget.cc:501:22: style:inconclusive: Technically the member function 'NpingTarget::getDeviceType' can be const. [functionConst] nmap-7.98/nping/NpingTarget.h:186:13: note: Technically the member function 'NpingTarget::getDeviceType' can be const. nmap-7.98/nping/NpingTarget.cc:501:22: note: Technically the member function 'NpingTarget::getDeviceType' can be const. nmap-7.98/nping/NpingTarget.cc:533:26: style:inconclusive: Technically the member function 'NpingTarget::getResolvedHostName' can be const. [functionConst] nmap-7.98/nping/NpingTarget.h:189:17: note: Technically the member function 'NpingTarget::getResolvedHostName' can be const. nmap-7.98/nping/NpingTarget.cc:533:26: note: Technically the member function 'NpingTarget::getResolvedHostName' can be const. nmap-7.98/nping/NpingTarget.cc:554:26: style:inconclusive: Technically the member function 'NpingTarget::getSuppliedHostName' can be const. [functionConst] nmap-7.98/nping/NpingTarget.h:193:17: note: Technically the member function 'NpingTarget::getSuppliedHostName' can be const. nmap-7.98/nping/NpingTarget.cc:554:26: note: Technically the member function 'NpingTarget::getSuppliedHostName' can be const. nmap-7.98/nping/NpingTarget.cc:655:26: performance:inconclusive: Technically the member function 'NpingTarget::getMACStr' can be static (but you may consider moving to unnamed namespace). [functionStatic] nmap-7.98/nping/NpingTarget.h:205:17: note: Technically the member function 'NpingTarget::getMACStr' can be static (but you may consider moving to unnamed namespace). nmap-7.98/nping/NpingTarget.cc:655:26: note: Technically the member function 'NpingTarget::getMACStr' can be static (but you may consider moving to unnamed namespace). nmap-7.98/nping/NpingTarget.cc:720:18: style:inconclusive: Technically the member function 'NpingTarget::getICMPIdentifier' can be const. [functionConst] nmap-7.98/nping/NpingTarget.h:212:9: note: Technically the member function 'NpingTarget::getICMPIdentifier' can be const. nmap-7.98/nping/NpingTarget.cc:720:18: note: Technically the member function 'NpingTarget::getICMPIdentifier' can be const. nmap-7.98/nping/NpingTarget.cc:971:18: performance:inconclusive: Technically the member function 'NpingTarget::setProbeRecvARP' can be static (but you may consider moving to unnamed namespace). [functionStatic] nmap-7.98/nping/NpingTarget.h:253:5: note: Technically the member function 'NpingTarget::setProbeRecvARP' can be static (but you may consider moving to unnamed namespace). nmap-7.98/nping/NpingTarget.cc:971:18: note: Technically the member function 'NpingTarget::setProbeRecvARP' can be static (but you may consider moving to unnamed namespace). nmap-7.98/nping/NpingTarget.cc:1032:19: style:inconclusive: Technically the member function 'NpingTarget::printRTTs' can be const. [functionConst] nmap-7.98/nping/NpingTarget.h:257:6: note: Technically the member function 'NpingTarget::printRTTs' can be const. nmap-7.98/nping/NpingTarget.cc:1032:19: note: Technically the member function 'NpingTarget::printRTTs' can be const. nmap-7.98/nping/NpingTarget.cc:516:13: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] nmap-7.98/nping/NpingTarget.cc:515:26: note: Assuming allocation function fails nmap-7.98/nping/NpingTarget.cc:515:18: note: Assignment 'p=hostname=strdup(name)', assigned value is 0 nmap-7.98/nping/NpingTarget.cc:516:13: note: Null pointer dereference nmap-7.98/nping/NpingTarget.cc:578:28: style: C-style pointer casting [cstyleCast] nmap-7.98/nping/NpingTarget.cc:580:29: style: C-style pointer casting [cstyleCast] nmap-7.98/nping/NpingTarget.cc:599:28: style: C-style pointer casting [cstyleCast] nmap-7.98/nping/NpingTarget.cc:601:29: style: C-style pointer casting [cstyleCast] nmap-7.98/nping/NpingTarget.cc:623:28: style: C-style pointer casting [cstyleCast] nmap-7.98/nping/NpingTarget.cc:625:29: style: C-style pointer casting [cstyleCast] nmap-7.98/nping/NpingTarget.cc:642:28: style: C-style pointer casting [cstyleCast] nmap-7.98/nping/NpingTarget.cc:644:29: style: C-style pointer casting [cstyleCast] nmap-7.98/nping/NpingTarget.cc:706:17: style: C-style pointer casting [cstyleCast] nmap-7.98/nping/NpingTarget.cc:191:27: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/NpingTarget.cc:212:29: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/NpingTarget.cc:241:30: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/NpingTarget.cc:315:29: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/NpingTarget.cc:337:29: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/NpingTarget.cc:357:31: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/NpingTarget.cc:575:29: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/NpingTarget.cc:576:31: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/NpingTarget.cc:595:29: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/NpingTarget.cc:596:31: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/NpingTarget.cc:619:29: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/NpingTarget.cc:620:31: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/NpingTarget.cc:639:29: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/NpingTarget.cc:640:31: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/NpingTarget.cc:772:13: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/NpingTarget.cc:177:21: style: Checking if unsigned expression 'targetsocklen' is less than zero. [unsignedLessThanZero] nmap-7.98/nping/NpingTarget.cc:251:21: style: Checking if unsigned expression 'sourcesocklen' is less than zero. [unsignedLessThanZero] nmap-7.98/nping/NpingTarget.cc:287:25: style: Checking if unsigned expression 'spoofedsrcsocklen' is less than zero. [unsignedLessThanZero] nmap-7.98/nping/NpingTarget.cc:397:22: style: Checking if unsigned expression 'nexthopsocklen' is less than zero. [unsignedLessThanZero] nmap-7.98/nping/NpingTarget.cc:191:23: style: Variable 'tmp' can be declared as pointer to const [constVariablePointer] nmap-7.98/nping/NpingTarget.cc:265:61: style: Parameter 'ss' can be declared as pointer to const [constParameterPointer] nmap-7.98/nping/NpingTarget.cc:276:68: style: Parameter 'ss' can be declared as pointer to const [constParameterPointer] nmap-7.98/nping/NpingTarget.cc:410:55: style: Parameter 'next_hop' can be declared as pointer to const [constParameterPointer] nmap-7.98/nping/NpingTarget.cc:508:45: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] nmap-7.98/nping/NpingTarget.cc:539:44: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] nmap-7.98/nping/NpingTarget.cc:575:23: style: Variable 'sin' can be declared as pointer to const [constVariablePointer] nmap-7.98/nping/NpingTarget.cc:576:24: style: Variable 'sin6' can be declared as pointer to const [constVariablePointer] nmap-7.98/nping/NpingTarget.cc:595:23: style: Variable 'sin' can be declared as pointer to const [constVariablePointer] nmap-7.98/nping/NpingTarget.cc:596:24: style: Variable 'sin6' can be declared as pointer to const [constVariablePointer] nmap-7.98/nping/NpingTarget.cc:619:23: style: Variable 'sin' can be declared as pointer to const [constVariablePointer] nmap-7.98/nping/NpingTarget.cc:620:24: style: Variable 'sin6' can be declared as pointer to const [constVariablePointer] nmap-7.98/nping/NpingTarget.cc:639:23: style: Variable 'sin' can be declared as pointer to const [constVariablePointer] nmap-7.98/nping/NpingTarget.cc:640:24: style: Variable 'sin6' can be declared as pointer to const [constVariablePointer] nmap-7.98/nping/NpingTarget.cc:655:40: style: Parameter 'mac' can be declared as pointer to const [constParameterPointer] nmap-7.98/nping/NpingTargets.cc:105:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_storage [valueFlowBailoutIncompleteVar] nmap-7.98/nping/NpingTargets.cc:184:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] nmap-7.98/nping/NpingTargets.cc:220:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_storage [valueFlowBailoutIncompleteVar] nmap-7.98/nping/NpingTargets.cc:368:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] nmap-7.98/nping/NpingTarget.cc:887:25: style: Variable 'diff' is assigned a value that is never used. [unreadVariable] nmap-7.98/nping/NpingTargets.cc:74:15: warning: Member variable 'NpingTargets::lastwaslastingroup' is not initialized in the constructor. [uninitMemberVar] nmap-7.98/nping/NpingTargets.cc:74:15: warning: Member variable 'NpingTargets::currenths' is not initialized in the constructor. [uninitMemberVar] nmap-7.98/nping/NpingTargets.cc:199:33: style:inconclusive: Technically the member function 'NpingTargets::getTargetsFetched' can be const. [functionConst] nmap-7.98/nping/NpingTargets.h:100:23: note: Technically the member function 'NpingTargets::getTargetsFetched' can be const. nmap-7.98/nping/NpingTargets.cc:199:33: note: Technically the member function 'NpingTargets::getTargetsFetched' can be const. nmap-7.98/nping/NpingTargets.cc:204:19: style:inconclusive: Technically the member function 'NpingTargets::getTargetSpecCount' can be const. [functionConst] nmap-7.98/nping/NpingTargets.h:101:9: note: Technically the member function 'NpingTargets::getTargetSpecCount' can be const. nmap-7.98/nping/NpingTargets.cc:204:19: note: Technically the member function 'NpingTargets::getTargetSpecCount' can be const. nmap-7.98/nping/NpingTargets.cc:183:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/NpingTargets.cc:303:33: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/NpingTargets.cc:357:29: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/NpingTargets.cc:358:30: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/NpingTargets.cc:359:29: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/NpingTargets.cc:360:30: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/NpingTargets.cc:76:3: portability:inconclusive: Array 'skipspec' might be filled incompletely. Did you forget to multiply the size given to 'memset()' with 'sizeof(*skipspec)'? [incompleteArrayFill] nmap-7.98/nping/NpingTargets.cc:302:33: style: Local variable 'ss' shadows outer variable [shadowVariable] nmap-7.98/nping/NpingTargets.cc:215:27: note: Shadowed declaration nmap-7.98/nping/NpingTargets.cc:302:33: note: Shadow variable nmap-7.98/nping/NpingTargets.cc:357:23: style: Variable 's_ip4' can be declared as pointer to const [constVariablePointer] nmap-7.98/nping/NpingTargets.cc:358:24: style: Variable 's_ip6' can be declared as pointer to const [constVariablePointer] nmap-7.98/nping/NpingTargets.cc:359:23: style: Variable 't_ip4' can be declared as pointer to const [constVariablePointer] nmap-7.98/nping/NpingTargets.cc:360:24: style: Variable 't_ip6' can be declared as pointer to const [constVariablePointer] nmap-7.98/nping/NpingTargets.cc:217:14: style: Variable 'result' is assigned a value that is never used. [unreadVariable] nmap-7.98/nping/ProbeMode.cc:110:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSOCK_LOG_INFO [valueFlowBailoutIncompleteVar] nmap-7.98/nping/ProbeMode.cc:215:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSOCK_LOOP_ERROR [valueFlowBailoutIncompleteVar] nmap-7.98/nping/ProbeMode.cc:1267:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_storage [valueFlowBailoutIncompleteVar] nmap-7.98/nping/ProbeMode.cc:1483:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_ICMP [valueFlowBailoutIncompleteVar] nmap-7.98/nping/ProbeMode.cc:1584:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSE_STATUS_SUCCESS [valueFlowBailoutIncompleteVar] nmap-7.98/nping/ProbeMode.cc:1855:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_storage [valueFlowBailoutIncompleteVar] nmap-7.98/nping/ProbeMode.cc:2093:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_storage [valueFlowBailoutIncompleteVar] nmap-7.98/nping/ProbeMode.cc:2306:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/nping/ProbeMode.cc:2316:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/nping/ProbeMode.cc:2326:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/nping/ProbeMode.cc:2337:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/nping/common_modified.cc:206:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_in [valueFlowBailoutIncompleteVar] nmap-7.98/nping/common_modified.cc:351:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] nmap-7.98/nping/common_modified.cc:0:0: debug: ValueFlow maximum iterations exceeded [valueFlowMaxIterations] nmap-7.98/nping/common_modified.cc:407:23: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] nmap-7.98/nping/common_modified.cc:78:14: warning: Member variable 'TargetGroup::namedhost' is not initialized in the constructor. [uninitMemberVar] nmap-7.98/nping/common_modified.cc:373:34: style: C-style pointer casting [cstyleCast] nmap-7.98/nping/common_modified.cc:415:117: style: C-style pointer casting [cstyleCast] nmap-7.98/nping/common_modified.cc:109:12: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/common_modified.cc:192:29: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/common_modified.cc:193:31: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/common_modified.cc:487:12: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/common_modified.cc:191:7: style: The scope of the variable 'octet' can be reduced. [variableScope] nmap-7.98/nping/common_modified.cc:298:7: style: The scope of the variable 'octet' can be reduced. [variableScope] nmap-7.98/nping/common_modified.cc:338:7: style: The scope of the variable 'i' can be reduced. [variableScope] nmap-7.98/nping/common_modified.cc:338:11: style: The scope of the variable 'j' can be reduced. [variableScope] nmap-7.98/nping/common_modified.cc:338:15: style: The scope of the variable 'k' can be reduced. [variableScope] nmap-7.98/nping/common_modified.cc:339:7: style: The scope of the variable 'start' can be reduced. [variableScope] nmap-7.98/nping/common_modified.cc:339:14: style: The scope of the variable 'end' can be reduced. [variableScope] nmap-7.98/nping/common_modified.cc:365:12: style: The scope of the variable 'netmask_long' can be reduced. [variableScope] nmap-7.98/nping/common_modified.cc:193:24: style: Variable 'sin6' can be declared as pointer to const [constVariablePointer] nmap-7.98/nping/common_modified.cc:343:19: style: Variable 'target' can be declared as pointer to const [constVariablePointer] nmap-7.98/nping/ProbeMode.cc:131:23: style:inconclusive: Technically the member function 'ProbeMode::getNsockPool' can be const. [functionConst] nmap-7.98/nping/ProbeMode.h:109:20: note: Technically the member function 'ProbeMode::getNsockPool' can be const. nmap-7.98/nping/ProbeMode.cc:131:23: note: Technically the member function 'ProbeMode::getNsockPool' can be const. nmap-7.98/nping/common_modified.cc:193:29: style: Variable 'sin6' is assigned a value that is never used. [unreadVariable] nmap-7.98/nping/common_modified.cc:193:24: style: Variable 'sin6' is assigned a value that is never used. [unreadVariable] nmap-7.98/nping/common_modified.cc:338:8: style: Variable 'i' is assigned a value that is never used. [unreadVariable] nmap-7.98/nping/common_modified.cc:338:12: style: Variable 'j' is assigned a value that is never used. [unreadVariable] nmap-7.98/nping/common_modified.cc:338:16: style: Variable 'k' is assigned a value that is never used. [unreadVariable] nmap-7.98/nping/ProbeMode.cc:597:3: warning: Either the condition 'i==NULL' is redundant or there is possible null pointer dereference: i. [nullPointerRedundantCheck] nmap-7.98/nping/ProbeMode.cc:594:8: note: Assuming that condition 'i==NULL' is not redundant nmap-7.98/nping/ProbeMode.cc:597:3: note: Null pointer dereference nmap-7.98/nping/ProbeMode.cc:598:3: warning: Either the condition 'i==NULL' is redundant or there is possible null pointer dereference: i. [nullPointerRedundantCheck] nmap-7.98/nping/ProbeMode.cc:594:8: note: Assuming that condition 'i==NULL' is not redundant nmap-7.98/nping/ProbeMode.cc:598:3: note: Null pointer dereference nmap-7.98/nping/ProbeMode.cc:598:29: warning: Either the condition 'target==NULL' is redundant or there is possible null pointer dereference: target. [nullPointerRedundantCheck] nmap-7.98/nping/ProbeMode.cc:594:44: note: Assuming that condition 'target==NULL' is not redundant nmap-7.98/nping/ProbeMode.cc:598:29: note: Null pointer dereference nmap-7.98/nping/ProbeMode.cc:599:3: warning: Either the condition 'i==NULL' is redundant or there is possible null pointer dereference: i. [nullPointerRedundantCheck] nmap-7.98/nping/ProbeMode.cc:594:8: note: Assuming that condition 'i==NULL' is not redundant nmap-7.98/nping/ProbeMode.cc:599:3: note: Null pointer dereference nmap-7.98/nping/ProbeMode.cc:599:69: warning: Either the condition 'target==NULL' is redundant or there is possible null pointer dereference: target. [nullPointerRedundantCheck] nmap-7.98/nping/ProbeMode.cc:594:44: note: Assuming that condition 'target==NULL' is not redundant nmap-7.98/nping/ProbeMode.cc:599:69: note: Null pointer dereference nmap-7.98/nping/ProbeMode.cc:600:3: warning: Either the condition 'i==NULL' is redundant or there is possible null pointer dereference: i. [nullPointerRedundantCheck] nmap-7.98/nping/ProbeMode.cc:594:8: note: Assuming that condition 'i==NULL' is not redundant nmap-7.98/nping/ProbeMode.cc:600:3: note: Null pointer dereference nmap-7.98/nping/ProbeMode.cc:601:3: warning: Either the condition 'i==NULL' is redundant or there is possible null pointer dereference: i. [nullPointerRedundantCheck] nmap-7.98/nping/ProbeMode.cc:594:8: note: Assuming that condition 'i==NULL' is not redundant nmap-7.98/nping/ProbeMode.cc:601:3: note: Null pointer dereference nmap-7.98/nping/ProbeMode.cc:602:3: warning: Either the condition 'i==NULL' is redundant or there is possible null pointer dereference: i. [nullPointerRedundantCheck] nmap-7.98/nping/ProbeMode.cc:594:8: note: Assuming that condition 'i==NULL' is not redundant nmap-7.98/nping/ProbeMode.cc:602:3: note: Null pointer dereference nmap-7.98/nping/ProbeMode.cc:646:3: warning: Either the condition 'i==NULL' is redundant or there is possible null pointer dereference: i. [nullPointerRedundantCheck] nmap-7.98/nping/ProbeMode.cc:642:8: note: Assuming that condition 'i==NULL' is not redundant nmap-7.98/nping/ProbeMode.cc:646:3: note: Null pointer dereference nmap-7.98/nping/ProbeMode.cc:648:3: warning: Either the condition 'i==NULL' is redundant or there is possible null pointer dereference: i. [nullPointerRedundantCheck] nmap-7.98/nping/ProbeMode.cc:642:8: note: Assuming that condition 'i==NULL' is not redundant nmap-7.98/nping/ProbeMode.cc:648:3: note: Null pointer dereference nmap-7.98/nping/ProbeMode.cc:649:3: warning: Either the condition 'i==NULL' is redundant or there is possible null pointer dereference: i. [nullPointerRedundantCheck] nmap-7.98/nping/ProbeMode.cc:642:8: note: Assuming that condition 'i==NULL' is not redundant nmap-7.98/nping/ProbeMode.cc:649:3: note: Null pointer dereference nmap-7.98/nping/ProbeMode.cc:650:3: warning: Either the condition 'i==NULL' is redundant or there is possible null pointer dereference: i. [nullPointerRedundantCheck] nmap-7.98/nping/ProbeMode.cc:642:8: note: Assuming that condition 'i==NULL' is not redundant nmap-7.98/nping/ProbeMode.cc:650:3: note: Null pointer dereference nmap-7.98/nping/ProbeMode.cc:651:3: warning: Either the condition 'i==NULL' is redundant or there is possible null pointer dereference: i. [nullPointerRedundantCheck] nmap-7.98/nping/ProbeMode.cc:642:8: note: Assuming that condition 'i==NULL' is not redundant nmap-7.98/nping/ProbeMode.cc:651:3: note: Null pointer dereference nmap-7.98/nping/ProbeMode.cc:652:3: warning: Either the condition 'i==NULL' is redundant or there is possible null pointer dereference: i. [nullPointerRedundantCheck] nmap-7.98/nping/ProbeMode.cc:642:8: note: Assuming that condition 'i==NULL' is not redundant nmap-7.98/nping/ProbeMode.cc:652:3: note: Null pointer dereference nmap-7.98/nping/ProbeMode.cc:653:3: warning: Either the condition 'i==NULL' is redundant or there is possible null pointer dereference: i. [nullPointerRedundantCheck] nmap-7.98/nping/ProbeMode.cc:642:8: note: Assuming that condition 'i==NULL' is not redundant nmap-7.98/nping/ProbeMode.cc:653:3: note: Null pointer dereference nmap-7.98/nping/ProbeMode.cc:653:29: warning: Either the condition 'target==NULL' is redundant or there is possible null pointer dereference: target. [nullPointerRedundantCheck] nmap-7.98/nping/ProbeMode.cc:642:44: note: Assuming that condition 'target==NULL' is not redundant nmap-7.98/nping/ProbeMode.cc:653:29: note: Null pointer dereference nmap-7.98/nping/ProbeMode.cc:259:39: style: C-style pointer casting [cstyleCast] nmap-7.98/nping/ProbeMode.cc:1489:20: style: C-style pointer casting [cstyleCast] nmap-7.98/nping/ProbeMode.cc:1520:29: style: C-style pointer casting [cstyleCast] nmap-7.98/nping/ProbeMode.cc:1560:24: style: C-style pointer casting [cstyleCast] nmap-7.98/nping/ProbeMode.cc:1565:22: style: C-style pointer casting [cstyleCast] nmap-7.98/nping/ProbeMode.cc:1849:13: style: C-style pointer casting [cstyleCast] nmap-7.98/nping/ProbeMode.cc:1850:6: style: C-style pointer casting [cstyleCast] nmap-7.98/nping/ProbeMode.cc:1869:14: style: C-style pointer casting [cstyleCast] nmap-7.98/nping/ProbeMode.cc:1872:18: style: C-style pointer casting [cstyleCast] nmap-7.98/nping/ProbeMode.cc:2087:13: style: C-style pointer casting [cstyleCast] nmap-7.98/nping/ProbeMode.cc:2088:6: style: C-style pointer casting [cstyleCast] nmap-7.98/nping/ProbeMode.cc:2107:14: style: C-style pointer casting [cstyleCast] nmap-7.98/nping/ProbeMode.cc:2110:18: style: C-style pointer casting [cstyleCast] nmap-7.98/nping/ProbeMode.cc:527:26: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/ProbeMode.cc:537:26: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/ProbeMode.cc:705:60: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/ProbeMode.cc:707:62: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/ProbeMode.cc:1261:26: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/ProbeMode.cc:1262:26: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/ProbeMode.cc:1264:26: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/ProbeMode.cc:1265:26: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/ProbeMode.cc:1502:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/ProbeMode.cc:1502:50: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/ProbeMode.cc:1516:35: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/ProbeMode.cc:1520:14: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/ProbeMode.cc:1622:36: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/ProbeMode.cc:1637:26: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/ProbeMode.cc:1673:39: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/ProbeMode.cc:1674:46: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/ProbeMode.cc:1691:74: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/ProbeMode.cc:1694:52: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/ProbeMode.cc:1721:40: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/ProbeMode.cc:1851:6: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/ProbeMode.cc:1852:6: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/ProbeMode.cc:1853:8: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/ProbeMode.cc:1854:8: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/ProbeMode.cc:1891:42: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/ProbeMode.cc:1961:100: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/ProbeMode.cc:1998:68: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/ProbeMode.cc:2089:6: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/ProbeMode.cc:2090:6: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/ProbeMode.cc:2091:8: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/ProbeMode.cc:2092:8: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/ProbeMode.cc:2178:91: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/ProbeMode.cc:2179:92: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/ProbeMode.cc:2195:68: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/ProbeMode.cc:2238:68: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/ProbeMode.cc:2277:64: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/ProbeMode.cc:146:7: style: The scope of the variable 'rc' can be reduced. [variableScope] nmap-7.98/nping/ProbeMode.cc:157:9: style: The scope of the variable 'filterstring' can be reduced. [variableScope] nmap-7.98/nping/ProbeMode.cc:163:8: style: The scope of the variable 'pcapdev' can be reduced. [variableScope] nmap-7.98/nping/ProbeMode.cc:1485:35: style: The scope of the variable 'echo' can be reduced. [variableScope] nmap-7.98/nping/ProbeMode.cc:1572:9: style: The scope of the variable 'link_offset' can be reduced. [variableScope] nmap-7.98/nping/ProbeMode.cc:1578:7: style: The scope of the variable 'ip' can be reduced. [variableScope] nmap-7.98/nping/ProbeMode.cc:1839:9: style: The scope of the variable 'sslen' can be reduced. [variableScope] nmap-7.98/nping/ProbeMode.cc:2074:9: style: The scope of the variable 'sslen' can be reduced. [variableScope] nmap-7.98/nping/ProbeMode.cc:2080:16: style: The scope of the variable 'sentbytes' can be reduced. [variableScope] nmap-7.98/nping/ProbeMode.cc:1555:82: style:inconclusive: Function 'probe_nping_event_handler' argument 3 names different: declaration 'arg' definition 'mydata'. [funcArgNamesDifferent] nmap-7.98/nping/ProbeMode.h:120:86: note: Function 'probe_nping_event_handler' argument 3 names different: declaration 'arg' definition 'mydata'. nmap-7.98/nping/ProbeMode.cc:1555:82: note: Function 'probe_nping_event_handler' argument 3 names different: declaration 'arg' definition 'mydata'. nmap-7.98/nping/ProbeMode.cc:1823:87: style:inconclusive: Function 'probe_tcpconnect_event_handler' argument 3 names different: declaration 'arg' definition 'mydata'. [funcArgNamesDifferent] nmap-7.98/nping/ProbeMode.h:122:91: note: Function 'probe_tcpconnect_event_handler' argument 3 names different: declaration 'arg' definition 'mydata'. nmap-7.98/nping/ProbeMode.cc:1823:87: note: Function 'probe_tcpconnect_event_handler' argument 3 names different: declaration 'arg' definition 'mydata'. nmap-7.98/nping/ProbeMode.cc:2058:86: style:inconclusive: Function 'probe_udpunpriv_event_handler' argument 3 names different: declaration 'arg' definition 'mydata'. [funcArgNamesDifferent] nmap-7.98/nping/ProbeMode.h:123:90: note: Function 'probe_udpunpriv_event_handler' argument 3 names different: declaration 'arg' definition 'mydata'. nmap-7.98/nping/ProbeMode.cc:2058:86: note: Function 'probe_udpunpriv_event_handler' argument 3 names different: declaration 'arg' definition 'mydata'. nmap-7.98/nping/ProbeMode.cc:1264:23: style: Variable 'd4' can be declared as pointer to const [constVariablePointer] nmap-7.98/nping/ProbeMode.cc:1265:23: style: Variable 'd6' can be declared as pointer to const [constVariablePointer] nmap-7.98/nping/ProbeMode.cc:1485:35: style: Variable 'echo' can be declared as pointer to const [constVariablePointer] nmap-7.98/nping/ProbeMode.cc:1513:20: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] nmap-7.98/nping/ProbeMode.cc:1834:22: style: Variable 'peer4' can be declared as pointer to const [constVariablePointer] nmap-7.98/nping/ProbeMode.cc:1835:23: style: Variable 'peer6' can be declared as pointer to const [constVariablePointer] nmap-7.98/nping/ProbeMode.cc:2069:22: style: Variable 'peer4' can be declared as pointer to const [constVariablePointer] nmap-7.98/nping/ProbeMode.cc:2070:23: style: Variable 'peer6' can be declared as pointer to const [constVariablePointer] nmap-7.98/nping/ProbeMode.cc:2079:8: style: Variable 'readbuff' can be declared as pointer to const [constVariablePointer] nmap-7.98/nping/nping.cc:202:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u32 [valueFlowBailoutIncompleteVar] nmap-7.98/nping/nping.cc:232:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] nmap-7.98/nping/nping.cc:195:3: style:inconclusive: Statements following noreturn function 'exit()' will never be executed. [unreachableCode] nmap-7.98/nping/nping.cc:139:63: style: Checking if unsigned expression 'strftime(tbuf,sizeof(tbuf),"%Y-%m-%d %H:%M %Z",&tm)' is less than zero. [unsignedLessThanZero] nmap-7.98/nping/nping.cc:155:41: style: Checking if unsigned expression 'i=o.targets.getTargetsFetched()' is less than zero. [unsignedLessThanZero] nmap-7.98/nping/output.cc:85:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] nmap-7.98/nping/output.cc:123:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] nmap-7.98/nping/output.cc:165:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] nmap-7.98/nping/output.cc:206:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] nmap-7.98/nping/output.cc:222:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] nmap-7.98/nping/output.cc:238:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] nmap-7.98/nping/output.cc:81:12: style: The scope of the variable 'list' can be reduced. [variableScope] nmap-7.98/nping/output.cc:118:12: style: The scope of the variable 'list' can be reduced. [variableScope] nmap-7.98/nping/output.cc:160:12: style: The scope of the variable 'list' can be reduced. [variableScope] nmap-7.98/nping/stats.cc:139:18: performance:inconclusive: Technically the member function 'NpingTimer::timeval_set' can be static (but you may consider moving to unnamed namespace). [functionStatic] nmap-7.98/nping/stats.h:136:12: note: Technically the member function 'NpingTimer::timeval_set' can be static (but you may consider moving to unnamed namespace). nmap-7.98/nping/stats.cc:139:18: note: Technically the member function 'NpingTimer::timeval_set' can be static (but you may consider moving to unnamed namespace). nmap-7.98/nping/stats.cc:272:19: style:inconclusive: Technically the member function 'NpingStats::getSentPackets' can be const. [functionConst] nmap-7.98/nping/stats.h:184:11: note: Technically the member function 'NpingStats::getSentPackets' can be const. nmap-7.98/nping/stats.cc:272:19: note: Technically the member function 'NpingStats::getSentPackets' can be const. nmap-7.98/nping/stats.cc:277:19: style:inconclusive: Technically the member function 'NpingStats::getSentBytes' can be const. [functionConst] nmap-7.98/nping/stats.h:185:11: note: Technically the member function 'NpingStats::getSentBytes' can be const. nmap-7.98/nping/stats.cc:277:19: note: Technically the member function 'NpingStats::getSentBytes' can be const. nmap-7.98/nping/stats.cc:282:19: style:inconclusive: Technically the member function 'NpingStats::getRecvPackets' can be const. [functionConst] nmap-7.98/nping/stats.h:187:11: note: Technically the member function 'NpingStats::getRecvPackets' can be const. nmap-7.98/nping/stats.cc:282:19: note: Technically the member function 'NpingStats::getRecvPackets' can be const. nmap-7.98/nping/stats.cc:287:19: style:inconclusive: Technically the member function 'NpingStats::getRecvBytes' can be const. [functionConst] nmap-7.98/nping/stats.h:188:11: note: Technically the member function 'NpingStats::getRecvBytes' can be const. nmap-7.98/nping/stats.cc:287:19: note: Technically the member function 'NpingStats::getRecvBytes' can be const. nmap-7.98/nping/stats.cc:292:19: style:inconclusive: Technically the member function 'NpingStats::getEchoedPackets' can be const. [functionConst] nmap-7.98/nping/stats.h:190:11: note: Technically the member function 'NpingStats::getEchoedPackets' can be const. nmap-7.98/nping/stats.cc:292:19: note: Technically the member function 'NpingStats::getEchoedPackets' can be const. nmap-7.98/nping/stats.cc:297:19: style:inconclusive: Technically the member function 'NpingStats::getEchoedBytes' can be const. [functionConst] nmap-7.98/nping/stats.h:191:11: note: Technically the member function 'NpingStats::getEchoedBytes' can be const. nmap-7.98/nping/stats.cc:297:19: note: Technically the member function 'NpingStats::getEchoedBytes' can be const. nmap-7.98/nping/stats.cc:301:17: style:inconclusive: Technically the member function 'NpingStats::getEchoClientsServed' can be const. [functionConst] nmap-7.98/nping/stats.h:192:9: note: Technically the member function 'NpingStats::getEchoClientsServed' can be const. nmap-7.98/nping/stats.cc:301:17: note: Technically the member function 'NpingStats::getEchoClientsServed' can be const. nmap-7.98/nping/stats.cc:306:19: style:inconclusive: Technically the member function 'NpingStats::getLostPackets' can be const. [functionConst] nmap-7.98/nping/stats.h:194:11: note: Technically the member function 'NpingStats::getLostPackets' can be const. nmap-7.98/nping/stats.cc:306:19: note: Technically the member function 'NpingStats::getLostPackets' can be const. nmap-7.98/nping/stats.cc:333:19: style:inconclusive: Technically the member function 'NpingStats::getUnmatchedPackets' can be const. [functionConst] nmap-7.98/nping/stats.h:198:11: note: Technically the member function 'NpingStats::getUnmatchedPackets' can be const. nmap-7.98/nping/stats.cc:333:19: note: Technically the member function 'NpingStats::getUnmatchedPackets' can be const. nmap-7.98/nping/stats.cc:106:44: style: Parameter 'now' can be declared as pointer to const [constParameterPointer] nmap-7.98/nping/utils.cc:106:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nmap-7.98/nping/utils.cc:374:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nmap-7.98/nping/utils.cc:81:18: warning: Either the condition 'source==NULL' is redundant or there is possible null pointer dereference: source. [nullPointerRedundantCheck] nmap-7.98/nping/utils.cc:79:12: note: Assuming that condition 'source==NULL' is not redundant nmap-7.98/nping/utils.cc:81:18: note: Null pointer dereference nmap-7.98/nping/utils.cc:81:26: warning: Either the condition 'substring==NULL' is redundant or there is possible null pointer dereference: substring. [nullPointerRedundantCheck] nmap-7.98/nping/utils.cc:79:31: note: Assuming that condition 'substring==NULL' is not redundant nmap-7.98/nping/utils.cc:81:26: note: Null pointer dereference nmap-7.98/nping/utils.cc:93:19: warning: Either the condition 'source==NULL' is redundant or there is possible null pointer dereference: source. [nullPointerRedundantCheck] nmap-7.98/nping/utils.cc:91:12: note: Assuming that condition 'source==NULL' is not redundant nmap-7.98/nping/utils.cc:93:19: note: Null pointer dereference nmap-7.98/nping/utils.cc:393:35: style:inconclusive: Function 'parse_u8' argument 2 names different: declaration 'dstbuff' definition 'dst'. [funcArgNamesDifferent] nmap-7.98/nping/utils.h:90:35: note: Function 'parse_u8' argument 2 names different: declaration 'dstbuff' definition 'dst'. nmap-7.98/nping/utils.cc:393:35: note: Function 'parse_u8' argument 2 names different: declaration 'dstbuff' definition 'dst'. nmap-7.98/nping/utils.cc:407:37: style:inconclusive: Function 'parse_u16' argument 2 names different: declaration 'dstbuff' definition 'dst'. [funcArgNamesDifferent] nmap-7.98/nping/utils.h:91:37: note: Function 'parse_u16' argument 2 names different: declaration 'dstbuff' definition 'dst'. nmap-7.98/nping/utils.cc:407:37: note: Function 'parse_u16' argument 2 names different: declaration 'dstbuff' definition 'dst'. nmap-7.98/nping/utils.cc:421:37: style:inconclusive: Function 'parse_u32' argument 2 names different: declaration 'dstbuff' definition 'dst'. [funcArgNamesDifferent] nmap-7.98/nping/utils.h:92:37: note: Function 'parse_u32' argument 2 names different: declaration 'dstbuff' definition 'dst'. nmap-7.98/nping/utils.cc:421:37: note: Function 'parse_u32' argument 2 names different: declaration 'dstbuff' definition 'dst'. nmap-7.98/nping/utils.cc:304:15: style: Local variable 'i' shadows outer variable [shadowVariable] nmap-7.98/nping/utils.cc:291:16: note: Shadowed declaration nmap-7.98/nping/utils.cc:304:15: note: Shadow variable nmap-7.98/nping/utils.cc:145:9: style: Variable 'start' can be declared as pointer to const [constVariablePointer] nmap-7.98/nping/utils.cc:288:23: style: Parameter 'cp' can be declared as pointer to const [constParameterPointer] nmap-7.98/nping/utils_net.cc:76:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PF_INET [valueFlowBailoutIncompleteVar] nmap-7.98/nping/utils_net.cc:86:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] nmap-7.98/nping/utils_net.cc:126:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] nmap-7.98/nping/utils_net.cc:144:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] nmap-7.98/nping/utils_net.cc:161:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] nmap-7.98/nping/utils_net.cc:171:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] nmap-7.98/nping/utils_net.cc:183:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] nmap-7.98/nping/utils_net.cc:226:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] nmap-7.98/nping/utils_net.cc:263:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] nmap-7.98/nping/utils_net.cc:453:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u16 [valueFlowBailoutIncompleteVar] nmap-7.98/nping/utils_net.cc:478:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_in [valueFlowBailoutIncompleteVar] nmap-7.98/nping/utils_net.cc:502:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_in [valueFlowBailoutIncompleteVar] nmap-7.98/nping/utils_net.cc:775:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] nmap-7.98/nping/utils_net.cc:914:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] nmap-7.98/nping/utils_net.cc:1029:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] nmap-7.98/nping/utils_net.cc:1117:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_in6 [valueFlowBailoutIncompleteVar] nmap-7.98/nping/utils_net.cc:1193:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/nping/utils_net.cc:1208:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_storage [valueFlowBailoutIncompleteVar] nmap-7.98/nping/utils_net.cc:1240:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_UDP [valueFlowBailoutIncompleteVar] nmap-7.98/nping/utils_net.cc:1270:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_TCP [valueFlowBailoutIncompleteVar] nmap-7.98/nping/utils_net.cc:1399:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_TCP [valueFlowBailoutIncompleteVar] nmap-7.98/nping/utils_net.cc:1593:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] nmap-7.98/nping/utils_net.cc:1809:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s6_addr [valueFlowBailoutIncompleteVar] nmap-7.98/nping/utils_net.cc:1899:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] nmap-7.98/nping/winfix.cc:115:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_MANAGER_CONNECT [valueFlowBailoutIncompleteVar] nmap-7.98/nping/winfix.cc:163:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WINAPI [valueFlowBailoutIncompleteVar] nmap-7.98/nping/winfix.cc:187:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WINAPI [valueFlowBailoutIncompleteVar] nmap-7.98/nping/winfix.cc:188:7: style: The scope of the variable 'sysdir_name' can be reduced. [variableScope] nmap-7.98/nping/winfix.cc:189:6: style: The scope of the variable 'len' can be reduced. [variableScope] nmap-7.98/nse_db.cc:22:38: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nse_debug.cc:13:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TTABLE [valueFlowBailoutIncompleteVar] nmap-7.98/nse_debug.cc:88:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] nmap-7.98/nse_debug.cc:13:10: warning: Assert statement calls a function which may have desired side effects: 'lua_type'. [assertWithSideEffect] nmap-7.98/nse_debug.cc:98:10: warning: Assert statement calls a function which may have desired side effects: 'lua_gettop'. [assertWithSideEffect] nmap-7.98/nse_debug.cc:27:36: style:inconclusive: Function 'value_dump' argument 2 names different: declaration 'i' definition 'idx'. [funcArgNamesDifferent] nmap-7.98/nse_debug.h:4:35: note: Function 'value_dump' argument 2 names different: declaration 'i' definition 'idx'. nmap-7.98/nse_debug.cc:27:36: note: Function 'value_dump' argument 2 names different: declaration 'i' definition 'idx'. nmap-7.98/nse_dnet.cc:63:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET6_ADDRSTRLEN [valueFlowBailoutIncompleteVar] nmap-7.98/nse_dnet.cc:298:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNSPEC [valueFlowBailoutIncompleteVar] nmap-7.98/nping/ArgParser.cc:1132:17: performance:inconclusive: Technically the member function 'ArgParser::printVersion' can be static (but you may consider moving to unnamed namespace). [functionStatic] nmap-7.98/nping/ArgParser.h:74:10: note: Technically the member function 'ArgParser::printVersion' can be static (but you may consider moving to unnamed namespace). nmap-7.98/nping/ArgParser.cc:1132:17: note: Technically the member function 'ArgParser::printVersion' can be static (but you may consider moving to unnamed namespace). nmap-7.98/nping/ArgParser.cc:1140:17: performance:inconclusive: Technically the member function 'ArgParser::printUsage' can be static (but you may consider moving to unnamed namespace). [functionStatic] nmap-7.98/nping/ArgParser.h:75:10: note: Technically the member function 'ArgParser::printUsage' can be static (but you may consider moving to unnamed namespace). nmap-7.98/nping/ArgParser.cc:1140:17: note: Technically the member function 'ArgParser::printUsage' can be static (but you may consider moving to unnamed namespace). nmap-7.98/nping/ArgParser.cc:1266:16: performance:inconclusive: Technically the member function 'ArgParser::parseAdvertEntry' can be static (but you may consider moving to unnamed namespace). [functionStatic] nmap-7.98/nping/ArgParser.h:76:9: note: Technically the member function 'ArgParser::parseAdvertEntry' can be static (but you may consider moving to unnamed namespace). nmap-7.98/nping/ArgParser.cc:1266:16: note: Technically the member function 'ArgParser::parseAdvertEntry' can be static (but you may consider moving to unnamed namespace). nmap-7.98/nping/ArgParser.cc:1330:16: performance:inconclusive: Technically the member function 'ArgParser::atoICMPType' can be static (but you may consider moving to unnamed namespace). [functionStatic] nmap-7.98/nping/ArgParser.h:77:9: note: Technically the member function 'ArgParser::atoICMPType' can be static (but you may consider moving to unnamed namespace). nmap-7.98/nping/ArgParser.cc:1330:16: note: Technically the member function 'ArgParser::atoICMPType' can be static (but you may consider moving to unnamed namespace). nmap-7.98/nping/ArgParser.cc:1438:16: performance:inconclusive: Technically the member function 'ArgParser::atoICMPCode' can be static (but you may consider moving to unnamed namespace). [functionStatic] nmap-7.98/nping/ArgParser.h:78:9: note: Technically the member function 'ArgParser::atoICMPCode' can be static (but you may consider moving to unnamed namespace). nmap-7.98/nping/ArgParser.cc:1438:16: note: Technically the member function 'ArgParser::atoICMPCode' can be static (but you may consider moving to unnamed namespace). nmap-7.98/nping/ArgParser.cc:1641:16: performance:inconclusive: Technically the member function 'ArgParser::atoARPOpCode' can be static (but you may consider moving to unnamed namespace). [functionStatic] nmap-7.98/nping/ArgParser.h:79:9: note: Technically the member function 'ArgParser::atoARPOpCode' can be static (but you may consider moving to unnamed namespace). nmap-7.98/nping/ArgParser.cc:1641:16: note: Technically the member function 'ArgParser::atoARPOpCode' can be static (but you may consider moving to unnamed namespace). nmap-7.98/nping/ArgParser.cc:1701:16: performance:inconclusive: Technically the member function 'ArgParser::atoEtherType' can be static (but you may consider moving to unnamed namespace). [functionStatic] nmap-7.98/nping/ArgParser.h:80:9: note: Technically the member function 'ArgParser::atoEtherType' can be static (but you may consider moving to unnamed namespace). nmap-7.98/nping/ArgParser.cc:1701:16: note: Technically the member function 'ArgParser::atoEtherType' can be static (but you may consider moving to unnamed namespace). nmap-7.98/nping/ArgParser.cc:1781:16: performance:inconclusive: Technically the member function 'ArgParser::parseICMPTimestamp' can be static (but you may consider moving to unnamed namespace). [functionStatic] nmap-7.98/nping/ArgParser.h:81:9: note: Technically the member function 'ArgParser::parseICMPTimestamp' can be static (but you may consider moving to unnamed namespace). nmap-7.98/nping/ArgParser.cc:1781:16: note: Technically the member function 'ArgParser::parseICMPTimestamp' can be static (but you may consider moving to unnamed namespace). nmap-7.98/nse_dnet.cc:36:11: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_dnet.cc:126:25: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_dnet.cc:141:11: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_dnet.cc:150:9: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_dnet.cc:163:27: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_dnet.cc:180:27: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_dnet.cc:204:27: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_dnet.cc:223:27: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_dnet.cc:246:27: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_dnet.cc:259:27: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_dnet.cc:271:27: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_dnet.cc:80:26: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nse_dnet.cc:83:27: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nse_dnet.cc:93:26: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nse_dnet.cc:100:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nse_dnet.cc:304:51: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nse_dnet.cc:354:51: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nse_dnet.cc:362:42: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nse_dnet.cc:259:19: style: Variable 'udata' can be declared as pointer to const [constVariablePointer] nmap-7.98/nse_dnet.cc:308:30: style: Variable 'nexthop' can be declared as pointer to const [constVariablePointer] nmap-7.98/nping/ArgParser.cc:1616:13: style: Condition '!strcasecmp(opt,"!auth")' is always false [knownConditionTrueFalse] nmap-7.98/nping/ArgParser.cc:787:24: style: C-style pointer casting [cstyleCast] nmap-7.98/nping/ArgParser.cc:808:22: style: C-style pointer casting [cstyleCast] nmap-7.98/nping/ArgParser.cc:825:21: style: C-style pointer casting [cstyleCast] nmap-7.98/nping/ArgParser.cc:1122:55: style: C-style pointer casting [cstyleCast] nmap-7.98/nping/ArgParser.cc:1123:27: style: C-style pointer casting [cstyleCast] nmap-7.98/nping/ArgParser.cc:822:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/ArgParser.cc:823:26: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/ArgParser.cc:828:28: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/ArgParser.cc:958:42: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nse_fs.cc:78:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nmap-7.98/nse_fs.cc:121:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] nmap-7.98/nse_fs.cc:145:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nmap-7.98/nse_fs.cc:236:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nmap-7.98/nping/ArgParser.cc:103:9: style: Variable 'script_kiddie' can be declared as pointer to const [constVariablePointer] nmap-7.98/nping/ArgParser.cc:105:17: style: Variable 'long_options' can be declared as const array [constVariable] nmap-7.98/nping/ArgParser.cc:782:13: style: Variable 'tempbuff' can be declared as pointer to const [constVariablePointer] nmap-7.98/nping/ArgParser.cc:958:34: style: Variable 'source6' can be declared as pointer to const [constVariablePointer] nmap-7.98/nping/ArgParser.cc:1267:9: style: Variable 'aux' can be declared as pointer to const [constVariablePointer] nmap-7.98/nping/ArgParser.cc:1330:34: style: Parameter 'opt' can be declared as pointer to const [constParameterPointer] nmap-7.98/nse_fs.cc:161:17: style: C-style pointer casting [cstyleCast] nmap-7.98/nping/ArgParser.cc:1438:34: style: Parameter 'opt' can be declared as pointer to const [constParameterPointer] nmap-7.98/nse_fs.cc:202:17: style: C-style pointer casting [cstyleCast] nmap-7.98/nping/ArgParser.cc:1641:35: style: Parameter 'opt' can be declared as pointer to const [constParameterPointer] nmap-7.98/nse_fs.cc:223:7: style: C-style pointer casting [cstyleCast] nmap-7.98/nping/ArgParser.cc:1701:35: style: Parameter 'opt' can be declared as pointer to const [constParameterPointer] nmap-7.98/nse_fs.cc:159:18: style: Variable 'entry' can be declared as pointer to const [constVariablePointer] nmap-7.98/nping/ArgParser.cc:1783:10: style: Variable 'diff' is assigned a value that is never used. [unreadVariable] nmap-7.98/nse_libssh2.cc:178:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nmap-7.98/nse_libssh2.cc:230:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nmap-7.98/nse_libssh2.cc:275:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_OK [valueFlowBailoutIncompleteVar] nmap-7.98/nse_libssh2.cc:306:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBSSH2_ERROR_EAGAIN [valueFlowBailoutIncompleteVar] nmap-7.98/nse_libssh2.cc:387:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFD [valueFlowBailoutIncompleteVar] nmap-7.98/nse_libssh2.cc:465:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBSSH2_ERROR_NONE [valueFlowBailoutIncompleteVar] nmap-7.98/nse_libssh2.cc:504:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBSSH2_ERROR_NONE [valueFlowBailoutIncompleteVar] nmap-7.98/nse_libssh2.cc:532:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBSSH2_ERROR_EAGAIN [valueFlowBailoutIncompleteVar] nmap-7.98/nse_libssh2.cc:553:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBSSH2_ERROR_EAGAIN [valueFlowBailoutIncompleteVar] nmap-7.98/nse_libssh2.cc:604:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBSSH2_ERROR_PUBLICKEY_PROTOCOL [valueFlowBailoutIncompleteVar] nmap-7.98/nse_libssh2.cc:613:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBSSH2_ERROR_EAGAIN [valueFlowBailoutIncompleteVar] nmap-7.98/nse_libssh2.cc:654:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBSSH2_ERROR_EAGAIN [valueFlowBailoutIncompleteVar] nmap-7.98/nse_libssh2.cc:683:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] nmap-7.98/nse_libssh2.cc:726:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBSSH2_ERROR_EAGAIN [valueFlowBailoutIncompleteVar] nmap-7.98/nse_libssh2.cc:755:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] nmap-7.98/nse_libssh2.cc:766:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBSSH2_ERROR_EAGAIN [valueFlowBailoutIncompleteVar] nmap-7.98/nse_libssh2.cc:792:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBSSH2_ERROR_EAGAIN [valueFlowBailoutIncompleteVar] nmap-7.98/nse_libssh2.cc:813:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSH_EXTENDED_DATA_STDERR [valueFlowBailoutIncompleteVar] nmap-7.98/nse_libssh2.cc:828:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBSSH2_ERROR_EAGAIN [valueFlowBailoutIncompleteVar] nmap-7.98/nse_libssh2.cc:855:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBSSH2_ERROR_EAGAIN [valueFlowBailoutIncompleteVar] nmap-7.98/nse_libssh2.cc:908:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBSSH2_ERROR_EAGAIN [valueFlowBailoutIncompleteVar] nmap-7.98/nse_libssh2.cc:937:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBSSH2_ERROR_NONE [valueFlowBailoutIncompleteVar] nmap-7.98/nse_libssh2.cc:950:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBSSH2_ERROR_EAGAIN [valueFlowBailoutIncompleteVar] nmap-7.98/nse_libssh2.cc:981:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBSSH2_TERM_WIDTH [valueFlowBailoutIncompleteVar] nmap-7.98/nse_libssh2.cc:1007:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBSSH2_ERROR_EAGAIN [valueFlowBailoutIncompleteVar] nmap-7.98/nse_libssh2.cc:303:12: warning: Assert statement calls a function which may have desired side effects: 'lua_gettop'. [assertWithSideEffect] nmap-7.98/nse_libssh2.cc:322:12: warning: Assert statement calls a function which may have desired side effects: 'lua_gettop'. [assertWithSideEffect] nmap-7.98/nse_libssh2.cc:354:12: warning: Assert statement calls a function which may have desired side effects: 'lua_gettop'. [assertWithSideEffect] nmap-7.98/nse_libssh2.cc:365:12: warning: Assert statement calls a function which may have desired side effects: 'lua_gettop'. [assertWithSideEffect] nmap-7.98/nse_libssh2.cc:405:12: warning: Assert statement calls a function which may have desired side effects: 'lua_gettop'. [assertWithSideEffect] nmap-7.98/nse_libssh2.cc:470:28: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] nmap-7.98/nse_libssh2.cc:476:24: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] nmap-7.98/nse_libssh2.cc:740:32: style: Condition 'rc==0' is always false [knownConditionTrueFalse] nmap-7.98/nse_libssh2.cc:1051:9: style: Condition 'sshu' is always true [knownConditionTrueFalse] nmap-7.98/nse_libssh2.cc:211:12: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_libssh2.cc:254:12: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_libssh2.cc:304:12: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_libssh2.cc:330:17: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_libssh2.cc:352:13: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_libssh2.cc:428:13: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_libssh2.cc:429:12: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_libssh2.cc:450:13: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_libssh2.cc:462:13: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_libssh2.cc:501:13: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_libssh2.cc:529:27: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_libssh2.cc:544:25: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_libssh2.cc:550:27: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_libssh2.cc:566:25: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_libssh2.cc:608:27: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_libssh2.cc:613:5: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_libssh2.cc:634:27: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_libssh2.cc:649:27: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_libssh2.cc:668:27: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_libssh2.cc:689:28: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_libssh2.cc:703:27: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_libssh2.cc:721:27: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_libssh2.cc:750:27: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_libssh2.cc:763:13: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_libssh2.cc:789:32: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_libssh2.cc:821:32: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_libssh2.cc:852:32: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_libssh2.cc:869:29: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_libssh2.cc:870:20: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_libssh2.cc:882:29: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_libssh2.cc:883:20: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_libssh2.cc:892:32: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_libssh2.cc:906:32: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_libssh2.cc:934:27: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_libssh2.cc:949:28: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_libssh2.cc:977:29: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_libssh2.cc:978:24: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_libssh2.cc:991:24: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_libssh2.cc:992:20: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_libssh2.cc:1005:32: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_libssh2.cc:1049:12: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_libssh2.cc:588:9: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] nmap-7.98/nse_libssh2.cc:208:9: style: The scope of the variable 'rc' can be reduced. [variableScope] nmap-7.98/nse_libssh2.cc:760:9: style: The scope of the variable 'rc' can be reduced. [variableScope] nmap-7.98/nse_libssh2.cc:209:26: style: Variable 'sshu' can be declared as pointer to const [constVariablePointer] nmap-7.98/nse_libssh2.cc:252:26: style: Variable 'sshu' can be declared as pointer to const [constVariablePointer] nmap-7.98/nse_libssh2.cc:422:16: style: Variable 'hash_length' can be declared as const array [constVariable] nmap-7.98/nse_libssh2.cc:601:51: style: Parameter 'session' can be declared as pointer to const. However it seems that 'publickey_canauth_cb' is a callback function, if 'session' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nmap-7.98/nse_libssh2.cc:613:5: note: You might need to cast the function pointer here nmap-7.98/nse_libssh2.cc:601:51: note: Parameter 'session' can be declared as pointer to const nmap-7.98/nse_libssh2.cc:602:13: style: Parameter 'sig_len' can be declared as pointer to const. However it seems that 'publickey_canauth_cb' is a callback function, if 'sig_len' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nmap-7.98/nse_libssh2.cc:613:5: note: You might need to cast the function pointer here nmap-7.98/nse_libssh2.cc:602:13: note: Parameter 'sig_len' can be declared as pointer to const nmap-7.98/nse_libssh2.cc:682:23: style: Variable 'context' can be declared as pointer to const [constVariablePointer] nmap-7.98/lpeg.c:512:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_OPEQ [valueFlowBailoutIncompleteVar] nmap-7.98/lpeg.c:2355:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable n [valueFlowBailoutIncompleteVar] nmap-7.98/lpeg.c:2479:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_OPEQ [valueFlowBailoutIncompleteVar] nmap-7.98/lpeg.c:2967:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_OPEQ [valueFlowBailoutIncompleteVar] nmap-7.98/nse_main.cc:105:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_MAX [valueFlowBailoutIncompleteVar] nmap-7.98/nse_main.cc:391:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] nmap-7.98/nse_main.cc:431:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] nmap-7.98/nse_main.cc:441:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] nmap-7.98/nse_main.cc:467:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_NOREF [valueFlowBailoutIncompleteVar] nmap-7.98/nse_main.cc:499:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] nmap-7.98/nse_main.cc:519:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_NOREF [valueFlowBailoutIncompleteVar] nmap-7.98/nse_main.cc:580:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] nmap-7.98/nse_main.cc:597:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] nmap-7.98/nse_main.cc:634:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] nmap-7.98/nse_main.cc:700:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] nmap-7.98/nse_main.cc:717:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] nmap-7.98/nse_main.cc:739:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] nmap-7.98/nse_main.cc:766:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] nmap-7.98/nse_main.cc:777:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] nmap-7.98/nse_main.cc:796:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] nmap-7.98/nping/utils_net.cc:637:15: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] nmap-7.98/nping/utils_net.cc:1182:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] nmap-7.98/nping/utils_net.cc:637:29: warning:inconclusive: Either the condition 'host==NULL' is redundant or there is possible null pointer dereference: host. [nullPointerRedundantCheck] nmap-7.98/nping/utils_net.cc:621:11: note: Assuming that condition 'host==NULL' is not redundant nmap-7.98/nping/utils_net.cc:637:29: note: Null pointer dereference nmap-7.98/nping/utils_net.cc:1487:39: warning: Either the condition '(if6file=fopen("/proc/net/if_inet6","r"))==NULL' is redundant or there is possible null pointer dereference: if6file. [nullPointerRedundantCheck] nmap-7.98/nping/utils_net.cc:1484:46: note: Assuming that condition '(if6file=fopen("/proc/net/if_inet6","r"))==NULL' is not redundant nmap-7.98/nping/utils_net.cc:1487:39: note: Null pointer dereference nmap-7.98/nping/utils_net.cc:1681:39: warning: Either the condition '(route6file=fopen("/proc/net/ipv6_route","r"))==NULL' is redundant or there is possible null pointer dereference: route6file. [nullPointerRedundantCheck] nmap-7.98/nping/utils_net.cc:1678:51: note: Assuming that condition '(route6file=fopen("/proc/net/ipv6_route","r"))==NULL' is not redundant nmap-7.98/nping/utils_net.cc:1681:39: note: Null pointer dereference nmap-7.98/nping/utils_net.cc:397:7: style: C-style pointer casting [cstyleCast] nmap-7.98/nping/utils_net.cc:436:13: style: C-style pointer casting [cstyleCast] nmap-7.98/nping/utils_net.cc:453:11: style: C-style pointer casting [cstyleCast] nmap-7.98/nping/utils_net.cc:677:6: style: C-style pointer casting [cstyleCast] nmap-7.98/nping/utils_net.cc:687:23: style: C-style pointer casting [cstyleCast] nmap-7.98/nping/utils_net.cc:701:25: style: C-style pointer casting [cstyleCast] nmap-7.98/nping/utils_net.cc:876:5: style: C-style pointer casting [cstyleCast] nmap-7.98/nping/utils_net.cc:76:29: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/utils_net.cc:76:52: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/utils_net.cc:118:27: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/utils_net.cc:119:27: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/utils_net.cc:145:30: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/utils_net.cc:148:31: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/utils_net.cc:227:27: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/utils_net.cc:229:27: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/utils_net.cc:250:26: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/utils_net.cc:261:26: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/utils_net.cc:262:27: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nse_main.cc:398:10: warning: Assert statement calls a function which may have desired side effects: 'lua_gettop'. [assertWithSideEffect] nmap-7.98/nping/utils_net.cc:398:13: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nse_main.cc:430:10: warning: Assert statement calls a function which may have desired side effects: 'lua_gettop'. [assertWithSideEffect] nmap-7.98/nping/utils_net.cc:482:20: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nse_main.cc:637:10: warning: Assert statement calls a function which may have desired side effects: 'lua_isfunction'. [assertWithSideEffect] nmap-7.98/nping/utils_net.cc:827:16: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/utils_net.cc:828:16: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/utils_net.cc:829:15: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/utils_net.cc:830:15: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/utils_net.cc:831:13: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/utils_net.cc:832:13: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/utils_net.cc:833:14: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/utils_net.cc:834:14: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/utils_net.cc:835:14: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/utils_net.cc:877:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/utils_net.cc:894:26: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/utils_net.cc:895:27: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/utils_net.cc:896:26: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/utils_net.cc:897:27: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/utils_net.cc:905:6: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/utils_net.cc:964:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/utils_net.cc:995:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/utils_net.cc:1009:26: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/utils_net.cc:1010:27: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/utils_net.cc:1011:26: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/utils_net.cc:1012:27: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/utils_net.cc:1020:6: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/utils_net.cc:1067:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/utils_net.cc:1145:60: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/utils_net.cc:1156:52: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/utils_net.cc:1158:44: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/utils_net.cc:1205:29: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/utils_net.cc:1206:30: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/utils_net.cc:1207:17: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/utils_net.cc:1234:17: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/utils_net.cc:1264:17: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/utils_net.cc:1299:17: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/utils_net.cc:1336:7: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/utils_net.cc:1356:7: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/utils_net.cc:1370:7: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/utils_net.cc:1384:7: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/utils_net.cc:1432:53: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/utils_net.cc:1592:29: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/utils_net.cc:1896:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nping/utils_net.cc:521:14: style: The scope of the variable 'current_index' can be reduced. [variableScope] nmap-7.98/nping/utils_net.cc:616:14: style: The scope of the variable 'current_index' can be reduced. [variableScope] nmap-7.98/nping/utils_net.cc:671:7: style: The scope of the variable 'aliases' can be reduced. [variableScope] nmap-7.98/nping/utils_net.cc:672:7: style: The scope of the variable 'addrs' can be reduced. [variableScope] nmap-7.98/nping/utils_net.cc:719:7: style: The scope of the variable 'aliases' can be reduced. [variableScope] nmap-7.98/nping/utils_net.cc:720:7: style: The scope of the variable 'addrs' can be reduced. [variableScope] nmap-7.98/nping/utils_net.cc:891:8: style: The scope of the variable 'tcpinfo' can be reduced. [variableScope] nmap-7.98/nping/utils_net.cc:892:8: style: The scope of the variable 'buf' can be reduced. [variableScope] nmap-7.98/nping/utils_net.cc:1392:7: style: The scope of the variable 'protocol' can be reduced. [variableScope] nmap-7.98/nping/utils_net.cc:1893:7: style: The scope of the variable 'curr_match' can be reduced. [variableScope] nmap-7.98/nse_main.cc:160:5: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_main.cc:589:37: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_main.cc:629:36: style: C-style pointer casting [cstyleCast] nmap-7.98/nping/utils_net.cc:98:9: style: Variable 'aux' can be declared as pointer to const [constVariablePointer] nmap-7.98/nping/utils_net.cc:118:24: style: Variable 's4' can be declared as pointer to const [constVariablePointer] nmap-7.98/nping/utils_net.cc:119:24: style: Variable 's6' can be declared as pointer to const [constVariablePointer] nmap-7.98/nping/utils_net.cc:178:17: style: Parameter 'ipv6addr' can be declared as pointer to const [constParameterPointer] nmap-7.98/nping/utils_net.cc:236:39: style: Parameter 's4' can be declared as pointer to const [constParameterPointer] nmap-7.98/nping/utils_net.cc:242:40: style: Parameter 's6' can be declared as pointer to const [constParameterPointer] nmap-7.98/nping/utils_net.cc:383:9: style: Variable 'b' can be declared as pointer to const [constVariablePointer] nmap-7.98/nping/utils_net.cc:495:54: style: Parameter 'dst' can be declared as pointer to const [constParameterPointer] nmap-7.98/nping/utils_net.cc:669:44: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] nmap-7.98/nping/utils_net.cc:805:18: style: Parameter 'mac' can be declared as pointer to const [constParameterPointer] nmap-7.98/nping/utils_net.cc:827:8: style: Variable 'htype' can be declared as pointer to const [constVariablePointer] nmap-7.98/nping/utils_net.cc:828:8: style: Variable 'ptype' can be declared as pointer to const [constVariablePointer] nmap-7.98/nping/utils_net.cc:829:8: style: Variable 'hlen' can be declared as pointer to const [constVariablePointer] nmap-7.98/nping/utils_net.cc:830:8: style: Variable 'plen' can be declared as pointer to const [constVariablePointer] nmap-7.98/nping/utils_net.cc:831:8: style: Variable 'op' can be declared as pointer to const [constVariablePointer] nmap-7.98/nping/utils_net.cc:862:9: style: Variable 'b' can be declared as pointer to const [constVariablePointer] nmap-7.98/nping/utils_net.cc:894:23: style: Variable 's4' can be declared as pointer to const [constVariablePointer] nmap-7.98/nping/utils_net.cc:895:24: style: Variable 's6' can be declared as pointer to const [constVariablePointer] nmap-7.98/nping/utils_net.cc:896:23: style: Variable 'd4' can be declared as pointer to const [constVariablePointer] nmap-7.98/nping/utils_net.cc:897:24: style: Variable 'd6' can be declared as pointer to const [constVariablePointer] nmap-7.98/nping/utils_net.cc:1007:19: style: Variable 'udp' can be declared as pointer to const [constVariablePointer] nmap-7.98/nping/utils_net.cc:1009:23: style: Variable 's4' can be declared as pointer to const [constVariablePointer] nmap-7.98/nping/utils_net.cc:1010:24: style: Variable 's6' can be declared as pointer to const [constVariablePointer] nmap-7.98/nping/utils_net.cc:1011:23: style: Variable 'd4' can be declared as pointer to const [constVariablePointer] nmap-7.98/nping/utils_net.cc:1012:24: style: Variable 'd6' can be declared as pointer to const [constVariablePointer] nmap-7.98/nping/utils_net.cc:1207:14: style: Variable 'i4' can be declared as pointer to const [constVariablePointer] nmap-7.98/nping/utils_net.cc:1234:14: style: Variable 'i4' can be declared as pointer to const [constVariablePointer] nmap-7.98/nping/utils_net.cc:1264:14: style: Variable 'i4' can be declared as pointer to const [constVariablePointer] nmap-7.98/nping/utils_net.cc:1299:14: style: Variable 'i4' can be declared as pointer to const [constVariablePointer] nmap-7.98/nping/utils_net.cc:1325:8: style: Variable 'pnt' can be declared as pointer to const [constVariablePointer] nmap-7.98/nping/utils_net.cc:1346:8: style: Variable 'pnt' can be declared as pointer to const [constVariablePointer] nmap-7.98/nping/utils_net.cc:1366:8: style: Variable 'pnt' can be declared as pointer to const [constVariablePointer] nmap-7.98/nping/utils_net.cc:1380:8: style: Variable 'pnt' can be declared as pointer to const [constVariablePointer] nmap-7.98/nping/utils_net.cc:1891:13: style: Variable 'def_gw' can be declared as pointer to const [constVariablePointer] nmap-7.98/nse_main.cc:814:12: style: The scope of the variable 'major' can be reduced. [variableScope] nmap-7.98/nse_main.cc:815:12: style: The scope of the variable 'minor' can be reduced. [variableScope] nmap-7.98/nse_main.cc:57:11: style: Variable 'target' can be declared as pointer to const [constVariablePointer] nmap-7.98/nse_main.cc:100:13: style: Variable 'plist' can be declared as pointer to const [constVariablePointer] nmap-7.98/nse_main.cc:101:9: style: Variable 'current' can be declared as pointer to const [constVariablePointer] nmap-7.98/nse_main.cc:219:37: style: Parameter 'L' can be declared as pointer to const. However it seems that 'l_xml_end_tag' is a callback function, if 'L' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nmap-7.98/nse_main.cc:363:21: note: You might need to cast the function pointer here nmap-7.98/nse_main.cc:219:37: note: Parameter 'L' can be declared as pointer to const nmap-7.98/nse_main.cc:236:37: style: Parameter 'L' can be declared as pointer to const. However it seems that 'l_xml_newline' is a callback function, if 'L' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nmap-7.98/nse_main.cc:365:21: note: You might need to cast the function pointer here nmap-7.98/nse_main.cc:236:37: note: Parameter 'L' can be declared as pointer to const nmap-7.98/nse_main.cc:614:84: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/nse_main.cc:646:85: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/nping/utils_net.cc:551:14: style: Variable 'result' is assigned a value that is never used. [unreadVariable] nmap-7.98/nping/utils_net.cc:1893:17: style: Variable 'curr_match' is assigned a value that is never used. [unreadVariable] nmap-7.98/nse_nsock.cc:97:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nsock_pool [valueFlowBailoutIncompleteVar] nmap-7.98/nse_nsock.cc:148:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] nmap-7.98/nse_nsock.cc:214:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_GCSTOP [valueFlowBailoutIncompleteVar] nmap-7.98/nse_nsock.cc:260:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] nmap-7.98/nse_nsock.cc:282:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] nmap-7.98/nse_nsock.cc:305:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET6_ADDRSTRLEN [valueFlowBailoutIncompleteVar] nmap-7.98/nse_nsock.cc:331:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_YIELD [valueFlowBailoutIncompleteVar] nmap-7.98/nse_nsock.cc:359:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSE_STATUS_KILL [valueFlowBailoutIncompleteVar] nmap-7.98/nse_nsock.cc:412:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_UDP [valueFlowBailoutIncompleteVar] nmap-7.98/nse_nsock.cc:456:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSOCK_LOOP_ERROR [valueFlowBailoutIncompleteVar] nmap-7.98/nse_nsock.cc:517:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AI_NUMERICHOST [valueFlowBailoutIncompleteVar] nmap-7.98/nse_nsock.cc:590:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_OK [valueFlowBailoutIncompleteVar] nmap-7.98/nse_nsock.cc:604:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSE_STATUS_ERROR [valueFlowBailoutIncompleteVar] nmap-7.98/nse_nsock.cc:640:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSE_TYPE_READ [valueFlowBailoutIncompleteVar] nmap-7.98/nse_nsock.cc:716:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TFUNCTION [valueFlowBailoutIncompleteVar] nmap-7.98/nse_nsock.cc:783:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_OK [valueFlowBailoutIncompleteVar] nmap-7.98/nse_nsock.cc:794:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET6_ADDRSTRLEN [valueFlowBailoutIncompleteVar] nmap-7.98/nse_nsock.cc:836:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSE_STATUS_KILL [valueFlowBailoutIncompleteVar] nmap-7.98/nse_nsock.cc:907:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNSPEC [valueFlowBailoutIncompleteVar] nmap-7.98/nse_nsock.cc:934:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] nmap-7.98/nse_nsock.cc:952:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNSPEC [valueFlowBailoutIncompleteVar] nmap-7.98/nse_nsock.cc:991:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSOCK_PENDING_NOTIFY [valueFlowBailoutIncompleteVar] nmap-7.98/nse_nsock.cc:1042:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TBOOLEAN [valueFlowBailoutIncompleteVar] nmap-7.98/nse_nsock.cc:1075:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_YIELD [valueFlowBailoutIncompleteVar] nmap-7.98/lpeg.c:903:22: style: C-style pointer casting [cstyleCast] nmap-7.98/lpeg.c:1357:13: style: C-style pointer casting [cstyleCast] nmap-7.98/lpeg.c:2288:16: style: C-style pointer casting [cstyleCast] nmap-7.98/lpeg.c:3393:10: style: C-style pointer casting [cstyleCast] nmap-7.98/lpeg.c:3404:18: style: C-style pointer casting [cstyleCast] nmap-7.98/lpeg.c:3415:14: style: C-style pointer casting [cstyleCast] nmap-7.98/lpeg.c:3507:25: style: C-style pointer casting [cstyleCast] nmap-7.98/lpeg.c:3513:25: style: C-style pointer casting [cstyleCast] nmap-7.98/lpeg.c:3517:24: style: C-style pointer casting [cstyleCast] nmap-7.98/lpeg.c:3593:24: style: C-style pointer casting [cstyleCast] nmap-7.98/lpeg.c:3599:24: style: C-style pointer casting [cstyleCast] nmap-7.98/lpeg.c:3606:24: style: C-style pointer casting [cstyleCast] nmap-7.98/lpeg.c:3613:24: style: C-style pointer casting [cstyleCast] nmap-7.98/lpeg.c:3619:26: style: C-style pointer casting [cstyleCast] nmap-7.98/lpeg.c:1025:7: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/lpeg.c:1790:36: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/lpeg.c:2306:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/lpeg.c:2623:5: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/lpeg.c:2700:5: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/lpeg.c:2720:5: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/lpeg.c:2737:7: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/lpeg.c:3264:18: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/lpeg.c:813:18: style: The scope of the variable 'L' can be reduced. [variableScope] nmap-7.98/lpeg.c:2882:7: style: The scope of the variable 'i' can be reduced. [variableScope] nmap-7.98/nse_nsock.cc:728:12: warning: Assert statement calls a function which may have desired side effects: 'lua_gettop'. [assertWithSideEffect] nmap-7.98/nse_nsock.cc:73:21: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_nsock.cc:97:10: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_nsock.cc:109:10: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_nsock.cc:224:14: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_nsock.cc:262:26: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_nsock.cc:283:13: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_nsock.cc:357:25: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_nsock.cc:407:25: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_nsock.cc:600:27: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_nsock.cc:630:27: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_nsock.cc:638:25: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_nsock.cc:645:32: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_nsock.cc:794:26: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_nsock.cc:795:27: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_nsock.cc:822:27: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_nsock.cc:835:18: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_nsock.cc:855:27: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_nsock.cc:973:8: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_nsock.cc:1072:25: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_nsock.cc:1086:24: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_nsock.cc:1087:24: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_nsock.cc:311:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nse_nsock.cc:311:32: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nse_nsock.cc:798:7: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nse_nsock.cc:798:33: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nse_nsock.cc:471:3: style:inconclusive: Statements following 'return' will never be executed. [unreachableCode] nmap-7.98/nse_nsock.cc:108:15: style: Variable 'nspp' can be declared as pointer to const [constVariablePointer] nmap-7.98/nse_nsock.cc:962:7: style: Variable 'proto_map' can be declared as const array [constVariable] nmap-7.98/nse_nsock.cc:964:7: style: Variable 'af_map' can be declared as const array [constVariable] nmap-7.98/nse_nsock.cc:1007:20: style: Variable 'nu' can be declared as pointer to const [constVariablePointer] nmap-7.98/nse_ssl_cert.cc:218:67: debug: Function::addArguments found argument 'X509_EXTENSION' with varid 0. [varid0] nmap-7.98/nse_nmaplib.cc:73:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_TCP [valueFlowBailoutIncompleteVar] nmap-7.98/nse_nmaplib.cc:86:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] nmap-7.98/nse_nmaplib.cc:302:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] nmap-7.98/nse_nmaplib.cc:358:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TNONE [valueFlowBailoutIncompleteVar] nmap-7.98/nse_nmaplib.cc:426:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TNONE [valueFlowBailoutIncompleteVar] nmap-7.98/nse_nmaplib.cc:650:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_OK [valueFlowBailoutIncompleteVar] nmap-7.98/nse_nmaplib.cc:736:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FILENAME_MAX [valueFlowBailoutIncompleteVar] nmap-7.98/nse_nmaplib.cc:857:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] nmap-7.98/nse_nmaplib.cc:916:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ss_family [valueFlowBailoutIncompleteVar] nmap-7.98/nse_ssl_cert.cc:161:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NID_undef [valueFlowBailoutIncompleteVar] nmap-7.98/nse_ssl_cert.cc:220:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable exts [valueFlowBailoutIncompleteVar] nmap-7.98/nse_ssl_cert.cc:285:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nmap-7.98/nse_ssl_cert.cc:495:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NID_X9_62_prime_field [valueFlowBailoutIncompleteVar] nmap-7.98/nse_ssl_cert.cc:619:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EVP_PKEY_RSA [valueFlowBailoutIncompleteVar] nmap-7.98/nse_ssl_cert.cc:678:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] nmap-7.98/nse_ssl_cert.cc:693:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] nmap-7.98/nse_ssl_cert.cc:713:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] nmap-7.98/nse_openssl.cc:167:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BN_prime_checks [valueFlowBailoutIncompleteVar] nmap-7.98/nse_openssl.cc:182:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BN_prime_checks [valueFlowBailoutIncompleteVar] nmap-7.98/nse_openssl.cc:288:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EVP_MAX_MD_SIZE [valueFlowBailoutIncompleteVar] nmap-7.98/nse_openssl.cc:333:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EVP_MAX_MD_SIZE [valueFlowBailoutIncompleteVar] nmap-7.98/nse_openssl.cc:421:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EVP_MAX_BLOCK_LENGTH [valueFlowBailoutIncompleteVar] nmap-7.98/nse_ssl_cert.cc:129:11: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_ssl_cert.cc:139:22: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_ssl_cert.cc:163:17: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_ssl_cert.cc:169:13: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_ssl_cert.cc:212:24: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_ssl_cert.cc:387:26: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_ssl_cert.cc:529:25: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_ssl_cert.cc:558:11: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_ssl_cert.cc:677:11: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_ssl_cert.cc:691:11: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_ssl_cert.cc:675:25: style: Variable 'udata' can be declared as pointer to const [constVariablePointer] nmap-7.98/nse_openssl.cc:46:26: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_openssl.cc:58:29: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_openssl.cc:90:23: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_openssl.cc:91:23: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_openssl.cc:92:23: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_openssl.cc:102:23: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_openssl.cc:103:23: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_openssl.cc:116:23: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_openssl.cc:117:23: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_openssl.cc:125:30: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_openssl.cc:132:30: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_openssl.cc:139:30: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_openssl.cc:147:30: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_openssl.cc:155:30: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_openssl.cc:163:23: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_openssl.cc:178:23: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_openssl.cc:207:30: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_openssl.cc:208:28: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_openssl.cc:212:23: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_openssl.cc:219:30: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_openssl.cc:220:28: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_openssl.cc:224:23: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_openssl.cc:231:30: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_openssl.cc:240:30: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_openssl.cc:249:30: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_openssl.cc:259:28: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_openssl.cc:265:23: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_openssl.cc:273:28: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_openssl.cc:277:23: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_openssl.cc:287:30: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_openssl.cc:308:23: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_openssl.cc:331:30: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_openssl.cc:332:30: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_openssl.cc:341:23: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_openssl.cc:352:34: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_openssl.cc:389:30: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_openssl.cc:390:29: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_openssl.cc:391:31: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_openssl.cc:421:25: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_openssl.cc:436:23: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_openssl.cc:451:30: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_openssl.cc:452:29: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_openssl.cc:453:31: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_openssl.cc:481:25: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_openssl.cc:496:23: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_openssl.cc:507:31: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_openssl.cc:522:23: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_utility.cc:189:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TTABLE [valueFlowBailoutIncompleteVar] nmap-7.98/nse_utility.cc:226:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TTABLE [valueFlowBailoutIncompleteVar] nmap-7.98/nse_utility.cc:216:12: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_utility.cc:49:76: style:inconclusive: Function 'nseU_setsfield' argument 4 names different: declaration 'value' definition 'what'. [funcArgNamesDifferent] nmap-7.98/nse_utility.h:50:76: note: Function 'nseU_setsfield' argument 4 names different: declaration 'value' definition 'what'. nmap-7.98/nse_utility.cc:49:76: note: Function 'nseU_setsfield' argument 4 names different: declaration 'value' definition 'what'. nmap-7.98/nse_utility.cc:56:75: style:inconclusive: Function 'nseU_setnfield' argument 4 names different: declaration 'value' definition 'n'. [funcArgNamesDifferent] nmap-7.98/nse_utility.h:58:75: note: Function 'nseU_setnfield' argument 4 names different: declaration 'value' definition 'n'. nmap-7.98/nse_utility.cc:56:75: note: Function 'nseU_setnfield' argument 4 names different: declaration 'value' definition 'n'. nmap-7.98/nse_utility.cc:63:76: style:inconclusive: Function 'nseU_setifield' argument 4 names different: declaration 'value' definition 'i'. [funcArgNamesDifferent] nmap-7.98/nse_utility.h:66:76: note: Function 'nseU_setifield' argument 4 names different: declaration 'value' definition 'i'. nmap-7.98/nse_utility.cc:63:76: note: Function 'nseU_setifield' argument 4 names different: declaration 'value' definition 'i'. nmap-7.98/nse_utility.cc:70:68: style:inconclusive: Function 'nseU_setbfield' argument 4 names different: declaration 'value' definition 'b'. [funcArgNamesDifferent] nmap-7.98/nse_utility.h:74:68: note: Function 'nseU_setbfield' argument 4 names different: declaration 'value' definition 'b'. nmap-7.98/nse_utility.cc:70:68: note: Function 'nseU_setbfield' argument 4 names different: declaration 'value' definition 'b'. nmap-7.98/nse_utility.cc:119:57: style:inconclusive: Function 'nseU_typeerror' argument 3 names different: declaration 'err' definition 'type'. [funcArgNamesDifferent] nmap-7.98/nse_utility.h:119:57: note: Function 'nseU_typeerror' argument 3 names different: declaration 'err' definition 'type'. nmap-7.98/nse_utility.cc:119:57: note: Function 'nseU_typeerror' argument 3 names different: declaration 'err' definition 'type'. nmap-7.98/nse_zlib.cc:104:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REFNIL [valueFlowBailoutIncompleteVar] nmap-7.98/nse_zlib.cc:140:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] nmap-7.98/nse_zlib.cc:344:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] nmap-7.98/nse_zlib.cc:424:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] nmap-7.98/nse_zlib.cc:559:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_MINSTACK [valueFlowBailoutIncompleteVar] nmap-7.98/nse_zlib.cc:632:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] nmap-7.98/nse_zlib.cc:788:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUAL_BUFFERSIZE [valueFlowBailoutIncompleteVar] nmap-7.98/nse_zlib.cc:847:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUAL_BUFFERSIZE [valueFlowBailoutIncompleteVar] nmap-7.98/nselib/data/psexec/nmap_service.c:116:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SECURITY_ATTRIBUTES [valueFlowBailoutIncompleteVar] nmap-7.98/nselib/data/psexec/nmap_service.c:230:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SERVICE_STOPPED [valueFlowBailoutIncompleteVar] nmap-7.98/nselib/data/psexec/nmap_service.c:253:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SERVICE_STOPPED [valueFlowBailoutIncompleteVar] nmap-7.98/nselib/data/psexec/nmap_service.c:296:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SERVICE_WIN32 [valueFlowBailoutIncompleteVar] nmap-7.98/nselib/data/psexec/nmap_service.c:372:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lpServiceName [valueFlowBailoutIncompleteVar] nmap-7.98/nse_nmaplib.cc:90:24: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_nmaplib.cc:95:24: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_nmaplib.cc:156:36: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_nmaplib.cc:232:36: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_nmaplib.cc:89:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nse_nmaplib.cc:94:12: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nse_nmaplib.cc:167:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nse_nmaplib.cc:172:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nse_nmaplib.cc:177:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nse_nmaplib.cc:912:30: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nse_nmaplib.cc:919:26: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/nselib/data/psexec/nmap_service.c:124:5: style: The if condition is the same as the previous if condition [duplicateCondition] nmap-7.98/nselib/data/psexec/nmap_service.c:120:5: note: First condition nmap-7.98/nselib/data/psexec/nmap_service.c:124:5: note: Second condition nmap-7.98/nse_nmaplib.cc:522:22: style: The scope of the variable 'op' can be reduced. [variableScope] nmap-7.98/nse_nmaplib.cc:767:7: style: The scope of the variable 'n' can be reduced. [variableScope] nmap-7.98/nse_nmaplib.cc:768:17: style: The scope of the variable 'ntarget' can be reduced. [variableScope] nmap-7.98/nse_nmaplib.cc:885:8: style: The scope of the variable 'ipstr' can be reduced. [variableScope] nmap-7.98/nse_nmaplib.cc:890:7: style: The scope of the variable 'i' can be reduced. [variableScope] nmap-7.98/nse_nmaplib.cc:978:9: style: The scope of the variable 'buf' can be reduced. [variableScope] nmap-7.98/nselib/data/psexec/nmap_service.c:83:35: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] nmap-7.98/nselib/data/psexec/nmap_service.c:333:10: style: Variable 'headless' can be declared as pointer to const [constVariablePointer] nmap-7.98/nselib/data/psexec/nmap_service.c:334:10: style: Variable 'include_stderr' can be declared as pointer to const [constVariablePointer] nmap-7.98/nselib/data/psexec/nmap_service.c:149:17: style: Variable 'creation_flags' is assigned a value that is never used. [unreadVariable] nmap-7.98/nselib/data/psexec/nmap_service.c:151:18: style: Variable 'creation_flags' is assigned a value that is never used. [unreadVariable] nmap-7.98/nse_nmaplib.cc:65:31: style:inconclusive: Function 'set_portinfo' argument 1 names different: declaration 'l' definition 'L'. [funcArgNamesDifferent] nmap-7.98/nse_nmaplib.h:13:30: note: Function 'set_portinfo' argument 1 names different: declaration 'l' definition 'L'. nmap-7.98/nse_nmaplib.cc:65:31: note: Function 'set_portinfo' argument 1 names different: declaration 'l' definition 'L'. nmap-7.98/nse_nmaplib.cc:155:30: style:inconclusive: Function 'set_hostinfo' argument 1 names different: declaration 'l' definition 'L'. [funcArgNamesDifferent] nmap-7.98/nse_nmaplib.h:11:30: note: Function 'set_hostinfo' argument 1 names different: declaration 'l' definition 'L'. nmap-7.98/nse_nmaplib.cc:155:30: note: Function 'set_hostinfo' argument 1 names different: declaration 'l' definition 'L'. nmap-7.98/nse_nmaplib.cc:995:30: style:inconclusive: Function 'luaopen_nmap' argument 1 names different: declaration 'l' definition 'L'. [funcArgNamesDifferent] nmap-7.98/nse_nmaplib.h:9:29: note: Function 'luaopen_nmap' argument 1 names different: declaration 'l' definition 'L'. nmap-7.98/nse_nmaplib.cc:995:30: note: Function 'luaopen_nmap' argument 1 names different: declaration 'l' definition 'L'. nmap-7.98/nse_nmaplib.cc:457:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] nmap-7.98/nse_nmaplib.cc:488:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] nmap-7.98/nse_nmaplib.cc:827:20: style: Variable 'addr' can be declared as pointer to const [constVariablePointer] nmap-7.98/nse_nmaplib.cc:204:91: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/nse_nmaplib.cc:808:57: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/nsock/src/error.c:64:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] nmap-7.98/nsock/src/error.c:76:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] nmap-7.98/nse_zlib.cc:96:20: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_zlib.cc:149:20: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_zlib.cc:165:20: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_zlib.cc:171:56: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_zlib.cc:173:56: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_zlib.cc:175:34: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_zlib.cc:259:47: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_zlib.cc:315:25: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_zlib.cc:390:34: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_zlib.cc:394:31: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_zlib.cc:629:24: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_zlib.cc:639:30: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_zlib.cc:639:72: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_zlib.cc:658:36: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_zlib.cc:720:36: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_zlib.cc:740:36: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_zlib.cc:782:18: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_zlib.cc:787:23: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_zlib.cc:842:18: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_zlib.cc:846:23: style: C-style pointer casting [cstyleCast] nmap-7.98/nse_zlib.cc:495:19: style: The scope of the variable 'n' can be reduced. [variableScope] nmap-7.98/nse_zlib.cc:165:16: style: Variable 's' can be declared as pointer to const [constVariablePointer] nmap-7.98/nse_zlib.cc:208:16: style: Variable 's' can be declared as pointer to const [constVariablePointer] nmap-7.98/nse_zlib.cc:326:52: style: Parameter 's' can be declared as pointer to const [constParameterPointer] nmap-7.98/nse_zlib.cc:684:16: style: Variable 'flush_values' can be declared as const array [constVariable] nmap-7.98/nse_zlib.cc:509:19: style: Variable 'l' is assigned a value that is never used. [unreadVariable] nmap-7.98/nsock/src/gh_list.h:90:51: style: Parameter 'list' can be declared as pointer to const [constParameterPointer] nmap-7.98/nsock/src/gh_list.h:282:53: style: Parameter 'elem' can be declared as pointer to const [constParameterPointer] nmap-7.98/nsock/src/gh_list.h:287:53: style: Parameter 'elem' can be declared as pointer to const [constParameterPointer] nmap-7.98/nsock/src/gh_list.h:292:57: style: Parameter 'list' can be declared as pointer to const [constParameterPointer] nmap-7.98/nsock/src/gh_list.h:297:56: style: Parameter 'list' can be declared as pointer to const [constParameterPointer] nmap-7.98/nsock/src/gh_list.h:301:53: style: Parameter 'list' can be declared as pointer to const [constParameterPointer] nmap-7.98/nsock/src/gh_heap.h:127:47: style: Parameter 'heap' can be declared as pointer to const [constParameterPointer] nmap-7.98/nsock/src/gh_heap.h:131:47: style: Parameter 'heap' can be declared as pointer to const [constParameterPointer] nmap-7.98/nsock/src/engine_select.c:238:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSOCK_LOG_DBG_ALL [valueFlowBailoutIncompleteVar] nmap-7.98/nsock/src/netutils.c:106:0: error: #error Neither RLIMIT_NOFILE nor RLIMIT_OFILE defined [preprocessorErrorDirective] nmap-7.98/nsock/src/netutils.c:106:4: error: #error Neither RLIMIT_NOFILE nor RLIMIT_OFILE defined [preprocessorErrorDirective] nmap-7.98/nsock/src/gh_heap.c:189:7: style: Condition 'rc' is always false [knownConditionTrueFalse] nmap-7.98/nsock/src/gh_heap.c:188:17: note: Calling function 'heap_grow' returns 0 nmap-7.98/nsock/src/gh_heap.c:188:17: note: Assignment 'rc=heap_grow(heap)', assigned value is 0 nmap-7.98/nsock/src/gh_heap.c:189:7: note: Condition 'rc' is always false nmap-7.98/nsock/src/gh_heap.c:203:47: style:inconclusive: Function 'gh_heap_push' argument 2 names different: declaration 'node' definition 'hnode'. [funcArgNamesDifferent] nmap-7.98/nsock/src/gh_heap.h:103:47: note: Function 'gh_heap_push' argument 2 names different: declaration 'node' definition 'hnode'. nmap-7.98/nsock/src/gh_heap.c:203:47: note: Function 'gh_heap_push' argument 2 names different: declaration 'node' definition 'hnode'. nmap-7.98/nsock/src/gh_heap.c:222:49: style:inconclusive: Function 'gh_heap_remove' argument 2 names different: declaration 'node' definition 'hnode'. [funcArgNamesDifferent] nmap-7.98/nsock/src/gh_heap.h:105:49: note: Function 'gh_heap_remove' argument 2 names different: declaration 'node' definition 'hnode'. nmap-7.98/nsock/src/gh_heap.c:222:49: note: Function 'gh_heap_remove' argument 2 names different: declaration 'node' definition 'hnode'. nmap-7.98/nsock/src/engine_select.c:300:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] nmap-7.98/nsock/src/engine_select.c:350:32: style: Variable 'last' can be declared as pointer to const [constVariablePointer] nmap-7.98/nsock/src/nsock_connect.c:72:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSOCK_LOG_ERROR [valueFlowBailoutIncompleteVar] nmap-7.98/nsock/src/nsock_connect.c:91:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nmap-7.98/nsock/src/nsock_connect.c:110:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EPERM [valueFlowBailoutIncompleteVar] nmap-7.98/nsock/src/nsock_connect.c:129:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSOCK_LOG_ERROR [valueFlowBailoutIncompleteVar] nmap-7.98/nsock/src/nsock_connect.c:144:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSOCK_LOG_ERROR [valueFlowBailoutIncompleteVar] nmap-7.98/nsock/src/nsock_connect.c:175:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSOCK_LOG_INFO [valueFlowBailoutIncompleteVar] nmap-7.98/nsock/src/nsock_connect.c:195:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_TCP [valueFlowBailoutIncompleteVar] nmap-7.98/nsock/src/nsock_connect.c:412:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSE_TYPE_CONNECT [valueFlowBailoutIncompleteVar] nmap-7.98/nsock/src/nsock_connect.c:440:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSE_TYPE_CONNECT [valueFlowBailoutIncompleteVar] nmap-7.98/nsock/src/nsock_connect.c:574:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSE_TYPE_CONNECT [valueFlowBailoutIncompleteVar] nmap-7.98/nsock/src/nsock_engines.c:117:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNSPEC [valueFlowBailoutIncompleteVar] nmap-7.98/nsock/src/nsock_engines.c:107:37: style: Parameter 'nsp' can be declared as pointer to const. However it seems that 'posix_iod_connect' is a callback function, if 'nsp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nmap-7.98/nsock/src/nsock_engines.c:124:3: note: You might need to cast the function pointer here nmap-7.98/nsock/src/nsock_engines.c:107:37: note: Parameter 'nsp' can be declared as pointer to const nmap-7.98/nsock/src/nsock_engines.c:115:35: style: Parameter 'nsp' can be declared as pointer to const. However it seems that 'posix_iod_write' is a callback function, if 'nsp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nmap-7.98/nsock/src/nsock_engines.c:126:3: note: You might need to cast the function pointer here nmap-7.98/nsock/src/nsock_engines.c:115:35: note: Parameter 'nsp' can be declared as pointer to const nmap-7.98/nsock/src/nsock_engines.c:116:28: style: Variable 'dest' can be declared as pointer to const [constVariablePointer] nmap-7.98/nsock/src/nsock_engines.c:150:36: style: Parameter 'engine' can be declared as pointer to const [constParameterPointer] nmap-7.98/nsock/src/nsock_connect.c:462:40: style: Parameter 'userdata' can be declared as pointer to const [constParameterPointer] nmap-7.98/nsock/src/nsock_connect.c:462:67: style: Parameter 'saddr' can be declared as pointer to const [constParameterPointer] nmap-7.98/nsock/src/nsock_connect.c:517:42: style: Parameter 'userdata' can be declared as pointer to const [constParameterPointer] nmap-7.98/nsock/src/nsock_core.c:202:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSOCK_LOG_INFO [valueFlowBailoutIncompleteVar] nmap-7.98/nsock/src/nsock_core.c:345:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSE_STATUS_TIMEOUT [valueFlowBailoutIncompleteVar] nmap-7.98/nsock/src/nsock_core.c:516:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EBUSY [valueFlowBailoutIncompleteVar] nmap-7.98/nsock/src/nsock_core.c:531:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSE_STATUS_TIMEOUT [valueFlowBailoutIncompleteVar] nmap-7.98/nsock/src/nsock_core.c:622:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSOCK_READ_CHUNK_SIZE [valueFlowBailoutIncompleteVar] nmap-7.98/nsock/src/nsock_core.c:781:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSE_STATUS_TIMEOUT [valueFlowBailoutIncompleteVar] nmap-7.98/nsock/src/nsock_core.c:955:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSOCK_LOOP_ERROR [valueFlowBailoutIncompleteVar] nmap-7.98/nsock/src/nsock_core.c:1018:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSOCK_LOG_DBG_ALL [valueFlowBailoutIncompleteVar] nmap-7.98/nsock/src/nsock_core.c:1133:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSOCK_LOG_DBG_ALL [valueFlowBailoutIncompleteVar] nmap-7.98/nsock/src/nsock_core.c:1221:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSOCK_LOG_DBG [valueFlowBailoutIncompleteVar] nmap-7.98/nsock/src/nsock_core.c:1321:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSOCK_LOG_INFO [valueFlowBailoutIncompleteVar] nmap-7.98/nsock/src/nsock_connect.c:614:32: style: Variable 'res' is assigned a value that is never used. [unreadVariable] nmap-7.98/nsock/src/nsock_event.c:142:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSE_TYPE_TIMER [valueFlowBailoutIncompleteVar] nmap-7.98/nsock/src/nsock_event.c:191:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSOCK_LOG_INFO [valueFlowBailoutIncompleteVar] nmap-7.98/nsock/src/nsock_event.c:269:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSOCK_LOG_INFO [valueFlowBailoutIncompleteVar] nmap-7.98/nsock/src/nsock_event.c:350:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSE_TYPE_MAX [valueFlowBailoutIncompleteVar] nmap-7.98/nsock/src/nsock_event.c:364:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TYPE_CODE_NUM_BITS [valueFlowBailoutIncompleteVar] nmap-7.98/nsock/src/nsock_event.c:395:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSE_STATUS_NONE [valueFlowBailoutIncompleteVar] nmap-7.98/nsock/src/nsock_event.c:441:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSOCK_LOG_DBG [valueFlowBailoutIncompleteVar] nmap-7.98/nsock/src/nsock_event.c:501:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSOCK_LOG_DBG_ALL [valueFlowBailoutIncompleteVar] nmap-7.98/nsock/src/nsock_iod.c:162:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSOCK_LOG_INFO [valueFlowBailoutIncompleteVar] nmap-7.98/nsock/src/nsock_iod.c:198:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSOCK_LOG_INFO [valueFlowBailoutIncompleteVar] nmap-7.98/nsock/src/nsock_iod.c:381:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] nmap-7.98/nsock/src/nsock_event.c:344:47: style:inconclusive: Function 'get_new_event_id' argument 1 names different: declaration 'nsp' definition 'ms'. [funcArgNamesDifferent] nmap-7.98/nsock/src/nsock_internal.h:444:47: note: Function 'get_new_event_id' argument 1 names different: declaration 'nsp' definition 'ms'. nmap-7.98/nsock/src/nsock_event.c:344:47: note: Function 'get_new_event_id' argument 1 names different: declaration 'nsp' definition 'ms'. nmap-7.98/nsock/src/nsock_event.c:69:18: style: Variable 'me' can be declared as pointer to const [constVariablePointer] nmap-7.98/nsock/src/nsock_event.c:74:18: style: Variable 'me' can be declared as pointer to const [constVariablePointer] nmap-7.98/nsock/src/nsock_event.c:79:18: style: Variable 'me' can be declared as pointer to const [constVariablePointer] nmap-7.98/nsock/src/nsock_event.c:86:18: style: Variable 'nse' can be declared as pointer to const [constVariablePointer] nmap-7.98/nsock/src/nsock_event.c:93:18: style: Variable 'me' can be declared as pointer to const [constVariablePointer] nmap-7.98/nsock/src/nsock_event.c:100:18: style: Variable 'me' can be declared as pointer to const [constVariablePointer] nmap-7.98/nsock/src/nsock_event.c:124:22: style: Variable 'newevent' can be declared as pointer to const [constVariablePointer] nmap-7.98/nsock/src/nsock_iod.c:135:15: style: Variable '(nsi)->_flags' is reassigned a value before the old one has been used. [redundantAssignment] nmap-7.98/nsock/src/nsock_iod.c:110:5: note: (nsi)->_flags is assigned nmap-7.98/nsock/src/nsock_iod.c:135:15: note: (nsi)->_flags is overwritten nmap-7.98/nsock/src/nsock_iod.c:376:20: style: Checking if unsigned expression 'nsi->peerlen' is less than zero. [unsignedLessThanZero] nmap-7.98/nsock/src/nsock_iod.c:392:69: style: Parameter 'ss' can be declared as pointer to const [constParameterPointer] nmap-7.98/nsock/src/nsock_iod.c:409:50: style: Parameter 'opts' can be declared as pointer to const [constParameterPointer] nmap-7.98/nsock/src/nsock_log.c:77:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSOCK_LOG_DBG [valueFlowBailoutIncompleteVar] nmap-7.98/nsock/src/nsock_log.c:86:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSOCK_LOG_DBG [valueFlowBailoutIncompleteVar] nmap-7.98/nsock/src/nsock_log.c:90:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nmap-7.98/nsock/src/nsock_core.c:348:14: style: Condition 'sslconnect_inprogress' is always false [knownConditionTrueFalse] nmap-7.98/nsock/src/nsock_core.c:342:31: note: Assignment 'sslconnect_inprogress=0', assigned value is 0 nmap-7.98/nsock/src/nsock_core.c:348:14: note: Condition 'sslconnect_inprogress' is always false nmap-7.98/nsock/src/nsock_core.c:409:9: style: Condition '!sslconnect_inprogress' is always true [knownConditionTrueFalse] nmap-7.98/nsock/src/nsock_core.c:342:31: note: Assignment 'sslconnect_inprogress=0', assigned value is 0 nmap-7.98/nsock/src/nsock_core.c:409:9: note: Condition '!sslconnect_inprogress' is always true nmap-7.98/nsock/src/nsock_core.c:529:16: style: Variable 'iod' can be declared as pointer to const [constVariablePointer] nmap-7.98/nsock/src/nsock_core.c:777:9: style: Variable 'str' can be declared as pointer to const [constVariablePointer] nmap-7.98/nsock/src/nsock_core.c:779:16: style: Variable 'iod' can be declared as pointer to const [constVariablePointer] nmap-7.98/nsock/src/nsock_core.c:1147:34: style: Variable 'last' can be declared as pointer to const [constVariablePointer] nmap-7.98/nsock/src/nsock_core.c:1315:16: style: Variable 'nsi' can be declared as pointer to const [constVariablePointer] nmap-7.98/nsock/src/nsock_core.c:1316:9: style: Variable 'str' can be declared as pointer to const [constVariablePointer] nmap-7.98/nsock/src/nsock_core.c:529:20: style: Variable 'iod' is assigned a value that is never used. [unreadVariable] nmap-7.98/nsock/src/nsock_core.c:529:16: style: Variable 'iod' is assigned a value that is never used. [unreadVariable] nmap-7.98/nsock/src/nsock_pool.c:222:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSE_STATUS_KILL [valueFlowBailoutIncompleteVar] nmap-7.98/nsock/src/nsock_pool.c:295:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] nmap-7.98/nsock/src/nsock_read.c:71:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSE_TYPE_READ [valueFlowBailoutIncompleteVar] nmap-7.98/nsock/src/nsock_read.c:94:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSE_TYPE_READ [valueFlowBailoutIncompleteVar] nmap-7.98/nsock/src/nsock_read.c:118:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSE_TYPE_READ [valueFlowBailoutIncompleteVar] nmap-7.98/nsock/src/nsock_proxy.c:138:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSOCK_LOG_ERROR [valueFlowBailoutIncompleteVar] nmap-7.98/nsock/src/nsock_proxy.c:251:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSOCK_LOG_ERROR [valueFlowBailoutIncompleteVar] nmap-7.98/nsock/src/nsock_proxy.c:367:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSOCK_LOG_ERROR [valueFlowBailoutIncompleteVar] nmap-7.98/nsock/src/nsock_proxy.c:392:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSE_STATUS_SUCCESS [valueFlowBailoutIncompleteVar] nmap-7.98/nsock/src/nsock_proxy.c:407:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSE_STATUS_SUCCESS [valueFlowBailoutIncompleteVar] nmap-7.98/nsock/src/nsock_proxy.c:426:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_STREAM [valueFlowBailoutIncompleteVar] nmap-7.98/nsock/src/nsock_ssl.c:266:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/nsock/src/nsock_ssl.c:270:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/nsock/src/nsock_pool.c:87:17: style: Variable 'mt' can be declared as pointer to const [constVariablePointer] nmap-7.98/nsock/src/nsock_pool.c:101:17: style: Variable 'mt' can be declared as pointer to const [constVariablePointer] nmap-7.98/nsock/src/nsock_proxy.c:381:51: style:inconclusive: Function 'forward_event' argument 2 names different: declaration 'nse' definition 'nsevent'. [funcArgNamesDifferent] nmap-7.98/nsock/src/nsock_proxy.h:172:51: note: Function 'forward_event' argument 2 names different: declaration 'nse' definition 'nsevent'. nmap-7.98/nsock/src/nsock_proxy.c:381:51: note: Function 'forward_event' argument 2 names different: declaration 'nse' definition 'nsevent'. nmap-7.98/nsock/src/nsock_proxy.c:77:17: style: Variable 'nsp' can be declared as pointer to const [constVariablePointer] nmap-7.98/nsock/src/nsock_timers.c:67:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSOCK_LOG_INFO [valueFlowBailoutIncompleteVar] nmap-7.98/nsock/src/proxy_http.c:73:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNSPEC [valueFlowBailoutIncompleteVar] nmap-7.98/nsock/src/proxy_http.c:150:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSOCK_LOG_DBG [valueFlowBailoutIncompleteVar] nmap-7.98/nsock/src/proxy_http.c:177:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSE_TYPE_READ [valueFlowBailoutIncompleteVar] nmap-7.98/nsock/src/nsock_write.c:74:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSE_TYPE_WRITE [valueFlowBailoutIncompleteVar] nmap-7.98/nsock/src/nsock_write.c:133:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSE_TYPE_WRITE [valueFlowBailoutIncompleteVar] nmap-7.98/nsock/src/nsock_write.c:176:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSE_TYPE_WRITE [valueFlowBailoutIncompleteVar] nmap-7.98/nsock/src/proxy_socks4.c:83:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] nmap-7.98/nsock/src/proxy_socks4.c:133:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] nmap-7.98/nsock/src/proxy_socks4.c:181:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSOCK_LOG_DBG [valueFlowBailoutIncompleteVar] nmap-7.98/nsock/src/proxy_socks4.c:209:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSE_TYPE_READ [valueFlowBailoutIncompleteVar] nmap-7.98/nsock/tests/basic.c:18:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] nmap-7.98/nsock/tests/basic.c:39:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nmap-7.98/nsock/src/proxy_socks4.c:173:9: style: Variable 'res' can be declared as pointer to const [constVariablePointer] nmap-7.98/nsock/tests/cancel.c:17:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSE_STATUS_CANCELLED [valueFlowBailoutIncompleteVar] nmap-7.98/nsock/tests/cancel.c:26:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] nmap-7.98/nsock/tests/cancel.c:52:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nmap-7.98/nsock/tests/cancel.c:75:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nmap-7.98/nsock/tests/cancel.c:98:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nmap-7.98/nsock/tests/connect.c:31:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETIMEDOUT [valueFlowBailoutIncompleteVar] nmap-7.98/nsock/tests/connect.c:45:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] nmap-7.98/nsock/tests/connect.c:61:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSOCK_PENDING_SILENT [valueFlowBailoutIncompleteVar] nmap-7.98/nsock/tests/connect.c:73:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] nmap-7.98/nsock/tests/connect.c:88:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] nmap-7.98/nsock/tests/ghheaps.c:106:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] nmap-7.98/nsock/tests/ghheaps.c:147:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nmap-7.98/nsock/tests/ghlists.c:72:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nmap-7.98/nsock/tests/logs.c:42:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nmap-7.98/nsock/tests/logs.c:73:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] nmap-7.98/nsock/tests/logs.c:100:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] nmap-7.98/nsock/tests/logs.c:110:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] nmap-7.98/nsock/tests/logs.c:138:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSOCK_LOG_DBG_ALL [valueFlowBailoutIncompleteVar] nmap-7.98/nsock/tests/logs.c:154:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSOCK_LOG_ERROR [valueFlowBailoutIncompleteVar] nmap-7.98/nsock/tests/logs.c:47:64: style: Parameter 'udata' can be declared as pointer to const. However it seems that 'nop_handler' is a callback function, if 'udata' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nmap-7.98/nsock/tests/logs.c:93:37: note: You might need to cast the function pointer here nmap-7.98/nsock/tests/logs.c:47:64: note: Parameter 'udata' can be declared as pointer to const nmap-7.98/nsock/tests/logs.c:134:10: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] nmap-7.98/nsock/tests/logs.c:150:10: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] nmap-7.98/nsock/tests/ghlists.c:167:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] nmap-7.98/nsock/tests/ghlists.c:36:3: warning: If memory allocation fails, then there is a possible null pointer dereference: tl [nullPointerOutOfMemory] nmap-7.98/nsock/tests/ghlists.c:35:14: note: Assuming allocation function fails nmap-7.98/nsock/tests/ghlists.c:35:14: note: Assignment 'tl=calloc(1,sizeof(struct testlist))', assigned value is 0 nmap-7.98/nsock/tests/ghlists.c:36:3: note: Null pointer dereference nmap-7.98/nsock/tests/ghlists.c:26:20: style: Variable 'tl' can be declared as pointer to const [constVariablePointer] nmap-7.98/nsock/src/gh_list.h:214:15: style: Variable 'cur' can be declared as pointer to const [constVariablePointer] nmap-7.98/nsock/tests/proxychain.c:100:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSOCK_LOG_INFO [valueFlowBailoutIncompleteVar] nmap-7.98/nsock/tests/proxychain.c:123:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nmap-7.98/nsock/tests/proxychain.c:130:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] nmap-7.98/nsock/tests/tests_main.c:123:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] nmap-7.98/nsock/tests/tests_main.c:131:10: warning: Uninitialized variable: rc [uninitvar] nmap-7.98/nsock/tests/tests_main.c:118:28: note: Assuming condition is false nmap-7.98/nsock/tests/tests_main.c:131:10: note: Uninitialized variable: rc nmap-7.98/nsock/tests/proxychain.c:110:18: style: Condition 'ret<=0' is always true [knownConditionTrueFalse] nmap-7.98/nsock/tests/proxychain.c:103:13: note: Assuming that condition 'ret>0' is not redundant nmap-7.98/nsock/tests/proxychain.c:110:18: note: Condition 'ret<=0' is always true nmap-7.98/nsock/tests/timer.c:34:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSE_STATUS_SUCCESS [valueFlowBailoutIncompleteVar] nmap-7.98/nsock/tests/timer.c:75:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] nmap-7.98/nsock/tests/ghheaps.c:147:11: portability: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] nmap-7.98/nsock/tests/ghheaps.c:157:11: portability: %lu in format string (no. 2) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] nmap-7.98/nsock/tests/ghheaps.c:20:20: style: Variable 'a' can be declared as pointer to const [constVariablePointer] nmap-7.98/nsock/tests/ghheaps.c:21:20: style: Variable 'b' can be declared as pointer to const [constVariablePointer] nmap-7.98/nsock/tests/ghheaps.c:40:20: style: Variable 'item' can be declared as pointer to const [constVariablePointer] nmap-7.98/nsock/tests/ghheaps.c:187:11: style: Variable 'ret' can be declared as pointer to const [constVariablePointer] nmap-7.98/osscan.cc:124:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_ATTR [valueFlowBailoutIncompleteVar] nmap-7.98/osscan.cc:146:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_ATTR [valueFlowBailoutIncompleteVar] nmap-7.98/osscan.cc:264:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nmap-7.98/osscan.cc:475:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/osscan.cc:699:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NMAP_PLATFORM [valueFlowBailoutIncompleteVar] nmap-7.98/osscan.cc:931:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/osscan.cc:999:96: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/osscan.cc:1052:96: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/osscan2.cc:417:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] nmap-7.98/osscan2.cc:585:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] nmap-7.98/osscan2.cc:756:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] nmap-7.98/osscan2.cc:1056:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_TCP [valueFlowBailoutIncompleteVar] nmap-7.98/osscan2.cc:1252:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tv_sec [valueFlowBailoutIncompleteVar] nmap-7.98/osscan2.cc:1340:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/osscan2.cc:1787:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TH_ECE [valueFlowBailoutIncompleteVar] nmap-7.98/osscan2.cc:1826:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TH_PUSH [valueFlowBailoutIncompleteVar] nmap-7.98/osscan2.cc:1904:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_TCP [valueFlowBailoutIncompleteVar] nmap-7.98/osscan2.cc:2169:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/osscan2.cc:2514:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tv_sec [valueFlowBailoutIncompleteVar] nmap-7.98/osscan2.cc:2749:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TH_ECE [valueFlowBailoutIncompleteVar] nmap-7.98/osscan2.cc:2859:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TH_ECE [valueFlowBailoutIncompleteVar] nmap-7.98/osscan2.cc:3135:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tcp_hdr [valueFlowBailoutIncompleteVar] nmap-7.98/osscan2.cc:3269:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_TCP [valueFlowBailoutIncompleteVar] nmap-7.98/osscan2.cc:3305:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] nmap-7.98/osscan2.cc:3413:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] nmap-7.98/osscan2.cc:3538:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] nmap-7.98/FPModel.cc:2497:19: style: C-style pointer casting [cstyleCast] nmap-7.98/FPModel.cc:2514:19: style: C-style pointer casting [cstyleCast] nmap-7.98/FPModel.cc:2526:19: style: C-style pointer casting [cstyleCast] nmap-7.98/FPModel.cc:2538:19: style: C-style pointer casting [cstyleCast] nmap-7.98/FPModel.cc:2550:19: style: C-style pointer casting [cstyleCast] nmap-7.98/FPModel.cc:2562:19: style: C-style pointer casting [cstyleCast] nmap-7.98/FPModel.cc:2574:19: style: C-style pointer casting [cstyleCast] nmap-7.98/FPModel.cc:2586:19: style: C-style pointer casting [cstyleCast] nmap-7.98/FPModel.cc:2598:19: style: C-style pointer casting [cstyleCast] nmap-7.98/FPModel.cc:2610:19: style: C-style pointer casting [cstyleCast] nmap-7.98/FPModel.cc:2628:19: style: C-style pointer casting [cstyleCast] nmap-7.98/FPModel.cc:2649:19: style: C-style pointer casting [cstyleCast] nmap-7.98/FPModel.cc:2681:19: style: C-style pointer casting [cstyleCast] nmap-7.98/FPModel.cc:2693:19: style: C-style pointer casting [cstyleCast] nmap-7.98/FPModel.cc:2705:19: style: C-style pointer casting [cstyleCast] nmap-7.98/FPModel.cc:2718:19: style: C-style pointer casting [cstyleCast] nmap-7.98/FPModel.cc:2730:19: style: C-style pointer casting [cstyleCast] nmap-7.98/FPModel.cc:2742:19: style: C-style pointer casting [cstyleCast] nmap-7.98/FPModel.cc:2755:19: style: C-style pointer casting [cstyleCast] nmap-7.98/FPModel.cc:2767:19: style: C-style pointer casting [cstyleCast] nmap-7.98/FPModel.cc:2779:19: style: C-style pointer casting [cstyleCast] nmap-7.98/FPModel.cc:2792:19: style: C-style pointer casting [cstyleCast] nmap-7.98/FPModel.cc:2809:19: style: C-style pointer casting [cstyleCast] nmap-7.98/FPModel.cc:2826:19: style: C-style pointer casting [cstyleCast] nmap-7.98/FPModel.cc:2838:19: style: C-style pointer casting [cstyleCast] nmap-7.98/FPModel.cc:2850:19: style: C-style pointer casting [cstyleCast] nmap-7.98/FPModel.cc:2869:19: style: C-style pointer casting [cstyleCast] nmap-7.98/FPModel.cc:2881:19: style: C-style pointer casting [cstyleCast] nmap-7.98/FPModel.cc:2903:19: style: C-style pointer casting [cstyleCast] nmap-7.98/FPModel.cc:2930:19: style: C-style pointer casting [cstyleCast] nmap-7.98/FPModel.cc:2942:19: style: C-style pointer casting [cstyleCast] nmap-7.98/FPModel.cc:2958:19: style: C-style pointer casting [cstyleCast] nmap-7.98/FPModel.cc:2975:19: style: C-style pointer casting [cstyleCast] nmap-7.98/FPModel.cc:2987:19: style: C-style pointer casting [cstyleCast] nmap-7.98/FPModel.cc:2999:19: style: C-style pointer casting [cstyleCast] nmap-7.98/FPModel.cc:3011:19: style: C-style pointer casting [cstyleCast] nmap-7.98/FPModel.cc:3028:19: style: C-style pointer casting [cstyleCast] nmap-7.98/FPModel.cc:3040:19: style: C-style pointer casting [cstyleCast] nmap-7.98/FPModel.cc:3057:19: style: C-style pointer casting [cstyleCast] nmap-7.98/FPModel.cc:3069:19: style: C-style pointer casting [cstyleCast] nmap-7.98/FPModel.cc:3086:19: style: C-style pointer casting [cstyleCast] nmap-7.98/FPModel.cc:3103:19: style: C-style pointer casting [cstyleCast] nmap-7.98/FPModel.cc:3115:19: style: C-style pointer casting [cstyleCast] nmap-7.98/FPModel.cc:3127:19: style: C-style pointer casting [cstyleCast] nmap-7.98/FPModel.cc:3144:19: style: C-style pointer casting [cstyleCast] nmap-7.98/FPModel.cc:3161:19: style: C-style pointer casting [cstyleCast] nmap-7.98/FPModel.cc:3188:19: style: C-style pointer casting [cstyleCast] nmap-7.98/FPModel.cc:3205:19: style: C-style pointer casting [cstyleCast] nmap-7.98/FPModel.cc:3217:19: style: C-style pointer casting [cstyleCast] nmap-7.98/FPModel.cc:3234:19: style: C-style pointer casting [cstyleCast] nmap-7.98/FPModel.cc:3246:19: style: C-style pointer casting [cstyleCast] nmap-7.98/FPModel.cc:3263:19: style: C-style pointer casting [cstyleCast] nmap-7.98/FPModel.cc:3275:19: style: C-style pointer casting [cstyleCast] nmap-7.98/FPModel.cc:3287:19: style: C-style pointer casting [cstyleCast] nmap-7.98/FPModel.cc:3299:19: style: C-style pointer casting [cstyleCast] nmap-7.98/FPModel.cc:3311:19: style: C-style pointer casting [cstyleCast] nmap-7.98/FPModel.cc:3323:19: style: C-style pointer casting [cstyleCast] nmap-7.98/FPModel.cc:3334:19: style: C-style pointer casting [cstyleCast] nmap-7.98/FPModel.cc:3346:19: style: C-style pointer casting [cstyleCast] nmap-7.98/FPModel.cc:3358:19: style: C-style pointer casting [cstyleCast] nmap-7.98/FPModel.cc:3380:19: style: C-style pointer casting [cstyleCast] nmap-7.98/FPModel.cc:3392:19: style: C-style pointer casting [cstyleCast] nmap-7.98/FPModel.cc:3404:19: style: C-style pointer casting [cstyleCast] nmap-7.98/FPModel.cc:3420:19: style: C-style pointer casting [cstyleCast] nmap-7.98/FPModel.cc:3442:19: style: C-style pointer casting [cstyleCast] nmap-7.98/FPModel.cc:3454:19: style: C-style pointer casting [cstyleCast] nmap-7.98/FPModel.cc:3466:19: style: C-style pointer casting [cstyleCast] nmap-7.98/FPModel.cc:3478:19: style: C-style pointer casting [cstyleCast] nmap-7.98/FPModel.cc:3489:19: style: C-style pointer casting [cstyleCast] nmap-7.98/FPModel.cc:3501:19: style: C-style pointer casting [cstyleCast] nmap-7.98/FPModel.cc:3518:19: style: C-style pointer casting [cstyleCast] nmap-7.98/FPModel.cc:3560:19: style: C-style pointer casting [cstyleCast] nmap-7.98/FPModel.cc:3572:19: style: C-style pointer casting [cstyleCast] nmap-7.98/FPModel.cc:3589:19: style: C-style pointer casting [cstyleCast] nmap-7.98/FPModel.cc:3600:19: style: C-style pointer casting [cstyleCast] nmap-7.98/FPModel.cc:3612:19: style: C-style pointer casting [cstyleCast] nmap-7.98/FPModel.cc:3624:19: style: C-style pointer casting [cstyleCast] nmap-7.98/FPModel.cc:3636:19: style: C-style pointer casting [cstyleCast] nmap-7.98/FPModel.cc:3648:19: style: C-style pointer casting [cstyleCast] nmap-7.98/FPModel.cc:3675:19: style: C-style pointer casting [cstyleCast] nmap-7.98/FPModel.cc:3687:19: style: C-style pointer casting [cstyleCast] nmap-7.98/FPModel.cc:3704:19: style: C-style pointer casting [cstyleCast] nmap-7.98/FPModel.cc:3716:19: style: C-style pointer casting [cstyleCast] nmap-7.98/FPModel.cc:3728:19: style: C-style pointer casting [cstyleCast] nmap-7.98/FPModel.cc:3740:19: style: C-style pointer casting [cstyleCast] nmap-7.98/FPModel.cc:3752:19: style: C-style pointer casting [cstyleCast] nmap-7.98/FPModel.cc:3764:19: style: C-style pointer casting [cstyleCast] nmap-7.98/FPModel.cc:3776:19: style: C-style pointer casting [cstyleCast] nmap-7.98/FPModel.cc:3788:19: style: C-style pointer casting [cstyleCast] nmap-7.98/FPModel.cc:3805:19: style: C-style pointer casting [cstyleCast] nmap-7.98/FPModel.cc:3817:19: style: C-style pointer casting [cstyleCast] nmap-7.98/FPModel.cc:3829:19: style: C-style pointer casting [cstyleCast] nmap-7.98/output.cc:586:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_TCP [valueFlowBailoutIncompleteVar] nmap-7.98/output.cc:928:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] nmap-7.98/output.cc:1019:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nmap-7.98/output.cc:1046:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] nmap-7.98/output.cc:1064:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] nmap-7.98/output.cc:1136:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TH_PUSH [valueFlowBailoutIncompleteVar] nmap-7.98/output.cc:1270:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] nmap-7.98/output.cc:1685:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] nmap-7.98/output.cc:1712:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICMPV6_NEIGHBOR_ADVERTISEMENT [valueFlowBailoutIncompleteVar] nmap-7.98/output.cc:1740:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hex [valueFlowBailoutIncompleteVar] nmap-7.98/output.cc:1796:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hex [valueFlowBailoutIncompleteVar] nmap-7.98/output.cc:2088:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_MAX [valueFlowBailoutIncompleteVar] nmap-7.98/output.cc:2602:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/output.cc:2682:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSOCK_LOG_DBG_ALL [valueFlowBailoutIncompleteVar] nmap-7.98/osscan.cc:237:12: warning: Struct 'FingerPrintDB' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] nmap-7.98/osscan.cc:237:12: warning: Struct 'FingerPrintDB' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] nmap-7.98/osscan.cc:954:9: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] nmap-7.98/osscan.cc:534:10: style: The scope of the variable 'acc' can be reduced. [variableScope] nmap-7.98/osscan.cc:536:7: style: The scope of the variable 'skipfp' can be reduced. [variableScope] nmap-7.98/osscan.cc:939:9: style: The scope of the variable 'len' can be reduced. [variableScope] nmap-7.98/osscan.cc:139:9: style: Variable 'end' can be declared as pointer to const [constVariablePointer] nmap-7.98/osscan.cc:883:9: style: Variable 'end' can be declared as pointer to const [constVariablePointer] nmap-7.98/osscan.cc:769:12: warning: Either the condition 'idx==def->AttrIdx.end()' is redundant or there is possible dereference of an invalid iterator: idx. [derefInvalidIteratorRedundantCheck] nmap-7.98/osscan.cc:770:13: note: Assuming that condition 'idx==def->AttrIdx.end()' is not redundant nmap-7.98/osscan.cc:769:12: note: Dereference of an invalid iterator nmap-7.98/osscan.cc:109:17: style: Variable 'q' is assigned a value that is never used. [unreadVariable] nmap-7.98/osscan.cc:555:13: style: Variable 'state' is assigned a value that is never used. [unreadVariable] nmap-7.98/osscan.cc:753:17: style: Variable 'q' is assigned a value that is never used. [unreadVariable] nmap-7.98/osscan.cc:239:59: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/osscan.cc:548:73: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/osscan.cc:915:51: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/payload.cc:98:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_UDP [valueFlowBailoutIncompleteVar] nmap-7.98/payload.cc:142:12: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/payload.cc:118:7: style: The scope of the variable 'portPayloadVectorSize' can be reduced. [variableScope] nmap-7.98/payload.cc:96:31: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/payload.cc:100:52: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/payload.cc:170:40: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/portlist.cc:414:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_IP [valueFlowBailoutIncompleteVar] nmap-7.98/portlist.cc:450:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_TCP [valueFlowBailoutIncompleteVar] nmap-7.98/portlist.cc:465:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_TCP [valueFlowBailoutIncompleteVar] nmap-7.98/portlist.cc:512:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_TCP [valueFlowBailoutIncompleteVar] nmap-7.98/portlist.cc:540:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_TCP [valueFlowBailoutIncompleteVar] nmap-7.98/portlist.cc:546:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_IP [valueFlowBailoutIncompleteVar] nmap-7.98/portlist.cc:567:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_TCP [valueFlowBailoutIncompleteVar] nmap-7.98/portlist.cc:615:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_TCP [valueFlowBailoutIncompleteVar] nmap-7.98/portlist.cc:716:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_IP [valueFlowBailoutIncompleteVar] nmap-7.98/portlist.cc:864:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_TCP [valueFlowBailoutIncompleteVar] nmap-7.98/portlist.cc:904:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNSPEC [valueFlowBailoutIncompleteVar] nmap-7.98/portlist.cc:927:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u16 [valueFlowBailoutIncompleteVar] nmap-7.98/portreasons.cc:79:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] nmap-7.98/portreasons.cc:238:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_ICMP [valueFlowBailoutIncompleteVar] nmap-7.98/portreasons.cc:353:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_MAX [valueFlowBailoutIncompleteVar] nmap-7.98/portreasons.cc:400:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNSPEC [valueFlowBailoutIncompleteVar] nmap-7.98/portreasons.cc:419:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNSPEC [valueFlowBailoutIncompleteVar] nmap-7.98/portreasons.cc:332:31: style: C-style pointer casting [cstyleCast] nmap-7.98/portreasons.cc:372:23: style: C-style pointer casting [cstyleCast] nmap-7.98/portreasons.cc:80:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/portreasons.cc:83:26: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/portreasons.cc:268:45: style: The scope of the variable 'tail' can be reduced. [variableScope] nmap-7.98/portreasons.cc:269:25: style: The scope of the variable 'nmerges' can be reduced. [variableScope] nmap-7.98/portreasons.cc:389:33: style:inconclusive: Function 'reason_str' argument 1 names different: declaration 'reason_id' definition 'reason_code'. [funcArgNamesDifferent] nmap-7.98/portreasons.h:160:33: note: Function 'reason_str' argument 1 names different: declaration 'reason_id' definition 'reason_code'. nmap-7.98/portreasons.cc:389:33: note: Function 'reason_str' argument 1 names different: declaration 'reason_id' definition 'reason_code'. nmap-7.98/portlist.cc:81:12: performance: Variable 'proto' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] nmap-7.98/portlist.cc:82:3: performance: Variable 'state' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] nmap-7.98/portlist.cc:507:15: style:inconclusive: Technically the member function 'PortList::getPortState' can be const. [functionConst] nmap-7.98/portlist.h:188:7: note: Technically the member function 'PortList::getPortState' can be const. nmap-7.98/portlist.cc:507:15: note: Technically the member function 'PortList::getPortState' can be const. nmap-7.98/portlist.cc:520:16: style:inconclusive: Technically the member function 'PortList::portIsDefault' can be const. [functionConst] nmap-7.98/portlist.h:190:8: note: Technically the member function 'PortList::portIsDefault' can be const. nmap-7.98/portlist.cc:520:16: note: Technically the member function 'PortList::portIsDefault' can be const. nmap-7.98/portlist.cc:899:15: performance:inconclusive: Technically the member function 'PortList::setStateReason' can be static (but you may consider moving to unnamed namespace). [functionStatic] nmap-7.98/portlist.h:210:7: note: Technically the member function 'PortList::setStateReason' can be static (but you may consider moving to unnamed namespace). nmap-7.98/portlist.cc:899:15: note: Technically the member function 'PortList::setStateReason' can be static (but you may consider moving to unnamed namespace). nmap-7.98/portlist.cc:846:15: performance:inconclusive: Technically the member function 'PortList::numPorts' can be static (but you may consider moving to unnamed namespace). [functionStatic] nmap-7.98/portlist.h:263:7: note: Technically the member function 'PortList::numPorts' can be static (but you may consider moving to unnamed namespace). nmap-7.98/portlist.cc:846:15: note: Technically the member function 'PortList::numPorts' can be static (but you may consider moving to unnamed namespace). nmap-7.98/portlist.cc:427:10: warning: Class 'PortList' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] nmap-7.98/portlist.cc:427:10: warning: Class 'PortList' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] nmap-7.98/portlist.cc:303:12: style: C-style pointer casting [cstyleCast] nmap-7.98/portlist.cc:413:26: style: C-style pointer casting [cstyleCast] nmap-7.98/portlist.cc:534:11: style: C-style pointer casting [cstyleCast] nmap-7.98/portlist.cc:725:21: style: C-style pointer casting [cstyleCast] nmap-7.98/portlist.cc:726:25: style: C-style pointer casting [cstyleCast] nmap-7.98/portlist.cc:318:9: style: The scope of the variable 'p' can be reduced. [variableScope] nmap-7.98/portlist.cc:564:9: style: The scope of the variable 'port' can be reduced. [variableScope] nmap-7.98/portlist.cc:310:43: warning: Function 'setServiceProbeResults' argument order different: declaration 'portno, protocol, sres, sname, tunnel, product, version, hostname, ostype, devicetype, extrainfo, cpe, fingerprint' definition 'portno, protocol, sres, sname, tunnel, product, version, extrainfo, hostname, ostype, devicetype, cpe, fingerprint' [funcArgOrderDifferent] nmap-7.98/portlist.h:230:35: note: Function 'setServiceProbeResults' argument order different: declaration 'portno, protocol, sres, sname, tunnel, product, version, hostname, ostype, devicetype, extrainfo, cpe, fingerprint' definition 'portno, protocol, sres, sname, tunnel, product, version, extrainfo, hostname, ostype, devicetype, cpe, fingerprint' nmap-7.98/portlist.cc:310:43: note: Function 'setServiceProbeResults' argument order different: declaration 'portno, protocol, sres, sname, tunnel, product, version, hostname, ostype, devicetype, extrainfo, cpe, fingerprint' definition 'portno, protocol, sres, sname, tunnel, product, version, extrainfo, hostname, ostype, devicetype, cpe, fingerprint' nmap-7.98/portlist.cc:150:28: style: Local variable 'service' shadows outer variable [shadowVariable] nmap-7.98/portlist.h:162:22: note: Shadowed declaration nmap-7.98/portlist.cc:150:28: note: Shadow variable nmap-7.98/portlist.cc:564:9: style: Variable 'port' can be declared as pointer to const [constVariablePointer] nmap-7.98/portlist.cc:714:53: style: Parameter 'ports' can be declared as pointer to const [constParameterPointer] nmap-7.98/portlist.cc:253:14: style: Variable 'spaceleft' is assigned a value that is never used. [unreadVariable] nmap-7.98/portlist.cc:316:33: style: Unused variable: it [unusedVariable] nmap-7.98/portlist.cc:917:18: style: Variable 'popportidx' is assigned a value that is never used. [unreadVariable] nmap-7.98/portlist.cc:105:55: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/portlist.cc:126:36: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/portlist.cc:371:49: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/protocols.cc:167:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/protocols.cc:166:29: style: Condition 'nmap_protocols_init()!=0' is always false [knownConditionTrueFalse] nmap-7.98/protocols.cc:166:26: note: Calling function 'nmap_protocols_init' returns 0 nmap-7.98/protocols.cc:166:29: note: Condition 'nmap_protocols_init()!=0' is always false nmap-7.98/protocols.cc:191:29: style: Condition 'nmap_protocols_init()==-1' is always false [knownConditionTrueFalse] nmap-7.98/protocols.cc:191:26: note: Calling function 'nmap_protocols_init' returns 0 nmap-7.98/protocols.cc:191:29: note: Condition 'nmap_protocols_init()==-1' is always false nmap-7.98/protocols.cc:200:29: style: Condition 'nmap_protocols_init()==-1' is always false [knownConditionTrueFalse] nmap-7.98/protocols.cc:200:26: note: Calling function 'nmap_protocols_init' returns 0 nmap-7.98/protocols.cc:200:29: note: Condition 'nmap_protocols_init()==-1' is always false nmap-7.98/protocols.cc:95:9: style: The scope of the variable 'p' can be reduced. [variableScope] nmap-7.98/protocols.cc:95:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] nmap-7.98/protocols.cc:177:54: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/osscan2.cc:494:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] nmap-7.98/osscan2.cc:664:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] nmap-7.98/osscan2.cc:3472:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] nmap-7.98/osscan2.cc:3472:14: error: Invalid usleep() argument nr 1. The value is 1500000 but the valid values are '0:999999'. [invalidFunctionArg] nmap-7.98/osscan2.cc:3250:13: warning: Member variable 'OsScanInfo::starttime' is not initialized in the constructor. [uninitMemberVar] nmap-7.98/osscan2.cc:3403:13: style: Unused private function: 'OSScan::chunk_and_do_scan' [unusedPrivateFunction] nmap-7.98/osscan2.h:515:7: note: Unused private function: 'OSScan::chunk_and_do_scan' nmap-7.98/osscan2.cc:3403:13: note: Unused private function: 'OSScan::chunk_and_do_scan' nmap-7.98/osscan2.cc:1403:18: performance:inconclusive: Technically the member function 'HostOsScan::buildSeqProbeList' can be static (but you may consider moving to unnamed namespace). [functionStatic] nmap-7.98/osscan2.h:357:8: note: Technically the member function 'HostOsScan::buildSeqProbeList' can be static (but you may consider moving to unnamed namespace). nmap-7.98/osscan2.cc:1403:18: note: Technically the member function 'HostOsScan::buildSeqProbeList' can be static (but you may consider moving to unnamed namespace). nmap-7.98/osscan2.cc:1440:18: performance:inconclusive: Technically the member function 'HostOsScan::buildTUIProbeList' can be static (but you may consider moving to unnamed namespace). [functionStatic] nmap-7.98/osscan2.h:360:8: note: Technically the member function 'HostOsScan::buildTUIProbeList' can be static (but you may consider moving to unnamed namespace). nmap-7.98/osscan2.cc:1440:18: note: Technically the member function 'HostOsScan::buildTUIProbeList' can be static (but you may consider moving to unnamed namespace). nmap-7.98/osscan2.cc:2606:18: style:inconclusive: Technically the member function 'HostOsScan::processTSeqResp' can be const. [functionConst] nmap-7.98/osscan2.h:406:8: note: Technically the member function 'HostOsScan::processTSeqResp' can be const. nmap-7.98/osscan2.cc:2606:18: note: Technically the member function 'HostOsScan::processTSeqResp' can be const. nmap-7.98/osscan2.cc:2673:18: style:inconclusive: Technically the member function 'HostOsScan::processTOpsResp' can be const. [functionConst] nmap-7.98/osscan2.h:407:8: note: Technically the member function 'HostOsScan::processTOpsResp' can be const. nmap-7.98/osscan2.cc:2673:18: note: Technically the member function 'HostOsScan::processTOpsResp' can be const. nmap-7.98/osscan2.cc:2696:18: performance:inconclusive: Technically the member function 'HostOsScan::processTWinResp' can be static (but you may consider moving to unnamed namespace). [functionStatic] nmap-7.98/osscan2.h:408:8: note: Technically the member function 'HostOsScan::processTWinResp' can be static (but you may consider moving to unnamed namespace). nmap-7.98/osscan2.cc:2696:18: note: Technically the member function 'HostOsScan::processTWinResp' can be static (but you may consider moving to unnamed namespace). nmap-7.98/osscan2.cc:2709:18: style:inconclusive: Technically the member function 'HostOsScan::processTEcnResp' can be const. [functionConst] nmap-7.98/osscan2.h:409:8: note: Technically the member function 'HostOsScan::processTEcnResp' can be const. nmap-7.98/osscan2.cc:2709:18: note: Technically the member function 'HostOsScan::processTEcnResp' can be const. nmap-7.98/osscan2.cc:2780:18: style:inconclusive: Technically the member function 'HostOsScan::processT1_7Resp' can be const. [functionConst] nmap-7.98/osscan2.h:410:8: note: Technically the member function 'HostOsScan::processT1_7Resp' can be const. nmap-7.98/osscan2.cc:2780:18: note: Technically the member function 'HostOsScan::processT1_7Resp' can be const. nmap-7.98/osscan2.cc:3039:18: performance:inconclusive: Technically the member function 'HostOsScan::processTIcmpResp' can be static (but you may consider moving to unnamed namespace). [functionStatic] nmap-7.98/osscan2.h:412:8: note: Technically the member function 'HostOsScan::processTIcmpResp' can be static (but you may consider moving to unnamed namespace). nmap-7.98/osscan2.cc:3039:18: note: Technically the member function 'HostOsScan::processTIcmpResp' can be static (but you may consider moving to unnamed namespace). nmap-7.98/osscan2.cc:2290:18: performance:inconclusive: Technically the member function 'HostOsScan::makeTSeqFP' can be static (but you may consider moving to unnamed namespace). [functionStatic] nmap-7.98/osscan2.h:427:8: note: Technically the member function 'HostOsScan::makeTSeqFP' can be static (but you may consider moving to unnamed namespace). nmap-7.98/osscan2.cc:2290:18: note: Technically the member function 'HostOsScan::makeTSeqFP' can be static (but you may consider moving to unnamed namespace). nmap-7.98/osscan2.cc:2556:18: performance:inconclusive: Technically the member function 'HostOsScan::makeTOpsFP' can be static (but you may consider moving to unnamed namespace). [functionStatic] nmap-7.98/osscan2.h:428:8: note: Technically the member function 'HostOsScan::makeTOpsFP' can be static (but you may consider moving to unnamed namespace). nmap-7.98/osscan2.cc:2556:18: note: Technically the member function 'HostOsScan::makeTOpsFP' can be static (but you may consider moving to unnamed namespace). nmap-7.98/osscan2.cc:2581:18: performance:inconclusive: Technically the member function 'HostOsScan::makeTWinFP' can be static (but you may consider moving to unnamed namespace). [functionStatic] nmap-7.98/osscan2.h:429:8: note: Technically the member function 'HostOsScan::makeTWinFP' can be static (but you may consider moving to unnamed namespace). nmap-7.98/osscan2.cc:2581:18: note: Technically the member function 'HostOsScan::makeTWinFP' can be static (but you may consider moving to unnamed namespace). nmap-7.98/osscan2.cc:3126:17: performance:inconclusive: Technically the member function 'HostOsScan::get_tcpopt_string' can be static (but you may consider moving to unnamed namespace). [functionStatic] nmap-7.98/osscan2.h:431:7: note: Technically the member function 'HostOsScan::get_tcpopt_string' can be static (but you may consider moving to unnamed namespace). nmap-7.98/osscan2.cc:3126:17: note: Technically the member function 'HostOsScan::get_tcpopt_string' can be static (but you may consider moving to unnamed namespace). nmap-7.98/osscan2.cc:3440:13: performance:inconclusive: Technically the member function 'OSScan::os_scan_ipv4' can be static (but you may consider moving to unnamed namespace). [functionStatic] nmap-7.98/osscan2.h:516:7: note: Technically the member function 'OSScan::os_scan_ipv4' can be static (but you may consider moving to unnamed namespace). nmap-7.98/osscan2.cc:3440:13: note: Technically the member function 'OSScan::os_scan_ipv4' can be static (but you may consider moving to unnamed namespace). nmap-7.98/osscan2.cc:3509:13: performance:inconclusive: Technically the member function 'OSScan::os_scan_ipv6' can be static (but you may consider moving to unnamed namespace). [functionStatic] nmap-7.98/osscan2.h:517:7: note: Technically the member function 'OSScan::os_scan_ipv6' can be static (but you may consider moving to unnamed namespace). nmap-7.98/osscan2.cc:3509:13: note: Technically the member function 'OSScan::os_scan_ipv6' can be static (but you may consider moving to unnamed namespace). nmap-7.98/osscan2.cc:3394:14: performance:inconclusive: Technically the member function 'OSScan::reset' can be static (but you may consider moving to unnamed namespace). [functionStatic] nmap-7.98/osscan2.h:522:9: note: Technically the member function 'OSScan::reset' can be static (but you may consider moving to unnamed namespace). nmap-7.98/osscan2.cc:3394:14: note: Technically the member function 'OSScan::reset' can be static (but you may consider moving to unnamed namespace). nmap-7.98/osscan2.cc:1039:27: warning: Class 'HostOsScanStats' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] nmap-7.98/osscan2.cc:1039:27: warning: Class 'HostOsScanStats' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] nmap-7.98/osscan2.cc:1362:3: warning: Class 'HostOsScan' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] nmap-7.98/osscan2.cc:1362:3: warning: Class 'HostOsScan' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] nmap-7.98/osscan2.cc:3230:11: warning: Class 'HostOsScanInfo' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] nmap-7.98/osscan2.cc:3230:11: warning: Class 'HostOsScanInfo' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] nmap-7.98/osscan2.cc:225:35: style: Redundant condition: ipid_diffs[i]%256==0. 'A || (!A && B)' is equivalent to 'A || B' [redundantCondition] nmap-7.98/osscan2.cc:2042:13: style: Condition 'i>=3' is always true [knownConditionTrueFalse] nmap-7.98/osscan2.cc:3051:26: style: C-style pointer casting [cstyleCast] nmap-7.98/osscan2.cc:3224:9: style: C-style pointer casting [cstyleCast] nmap-7.98/osscan2.cc:420:31: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/osscan2.cc:423:31: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/osscan2.cc:563:12: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/osscan2.cc:584:8: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/osscan2.cc:734:12: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/osscan2.cc:755:8: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/osscan2.cc:877:50: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/osscan2.cc:1907:33: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/osscan2.cc:1967:30: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/osscan2.cc:1990:13: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/osscan2.cc:1990:26: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/osscan2.cc:2121:31: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/osscan2.cc:2144:19: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/osscan2.cc:2145:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/osscan2.cc:2176:16: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/osscan2.cc:2178:12: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/osscan2.cc:2186:75: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/osscan2.cc:2203:30: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/osscan2.cc:2619:31: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/osscan2.cc:2644:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/osscan2.cc:2713:53: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/osscan2.cc:2783:53: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/osscan2.cc:2894:62: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/osscan2.cc:2933:28: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/osscan2.cc:2938:9: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/osscan2.cc:2938:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/osscan2.cc:2939:28: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/osscan2.cc:2995:17: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/osscan2.cc:2995:39: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/osscan2.cc:3002:18: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/osscan2.cc:3017:16: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/osscan2.cc:3018:13: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/osscan2.cc:3069:29: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/osscan2.cc:3070:29: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/osscan2.cc:3136:8: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/osscan2.cc:3171:37: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/osscan2.cc:3303:35: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/osscan2.cc:386:7: style: The scope of the variable 'filterlen' can be reduced. [variableScope] nmap-7.98/osscan2.cc:388:16: style: The scope of the variable 'targetno' can be reduced. [variableScope] nmap-7.98/osscan2.cc:462:16: style: The scope of the variable 'unableToSend' can be reduced. [variableScope] nmap-7.98/osscan2.cc:463:16: style: The scope of the variable 'expectReplies' can be reduced. [variableScope] nmap-7.98/osscan2.cc:628:16: style: The scope of the variable 'unableToSend' can be reduced. [variableScope] nmap-7.98/osscan2.cc:629:16: style: The scope of the variable 'expectReplies' can be reduced. [variableScope] nmap-7.98/osscan2.cc:796:7: style: The scope of the variable 'distance' can be reduced. [variableScope] nmap-7.98/osscan2.cc:853:10: style: The scope of the variable 'bestacc' can be reduced. [variableScope] nmap-7.98/osscan2.cc:854:7: style: The scope of the variable 'bestaccidx' can be reduced. [variableScope] nmap-7.98/osscan2.cc:886:33: style: The scope of the variable 'FPR' can be reduced. [variableScope] nmap-7.98/osscan2.cc:912:19: style: The scope of the variable 'HOS' can be reduced. [variableScope] nmap-7.98/osscan2.cc:1536:7: style: The scope of the variable 'packTime' can be reduced. [variableScope] nmap-7.98/osscan2.cc:1538:8: style: The scope of the variable 'tdiff' can be reduced. [variableScope] nmap-7.98/osscan2.cc:1891:20: style: The scope of the variable 'ip2' can be reduced. [variableScope] nmap-7.98/osscan2.cc:1893:22: style: The scope of the variable 'icmp' can be reduced. [variableScope] nmap-7.98/osscan2.cc:2115:7: style: The scope of the variable 'res' can be reduced. [variableScope] nmap-7.98/osscan2.cc:2149:18: style: The scope of the variable 'realcheck' can be reduced. [variableScope] nmap-7.98/osscan2.cc:2150:7: style: The scope of the variable 'res' can be reduced. [variableScope] nmap-7.98/osscan2.cc:2269:19: style: The scope of the variable 'b' can be reduced. [variableScope] nmap-7.98/osscan2.cc:2296:10: style: The scope of the variable 'seq_stddev' can be reduced. [variableScope] nmap-7.98/osscan2.cc:2297:10: style: The scope of the variable 'seq_rate' can be reduced. [variableScope] nmap-7.98/osscan2.cc:2610:7: style: The scope of the variable 'seq_response_num' can be reduced. [variableScope] nmap-7.98/osscan2.cc:3132:7: style: The scope of the variable 'opcode' can be reduced. [variableScope] nmap-7.98/osscan2.cc:3341:8: style: The scope of the variable 'timedout' can be reduced. [variableScope] nmap-7.98/osscan2.cc:3533:22: style: Checking if unsigned expression 'Targets.size()' is less than zero. [unsignedLessThanZero] nmap-7.98/osscan2.cc:3220:55: style:inconclusive: Function 'HostOsScanInfo' argument 2 names different: declaration 'OSI' definition 'OsSI'. [funcArgNamesDifferent] nmap-7.98/osscan2.h:494:41: note: Function 'HostOsScanInfo' argument 2 names different: declaration 'OSI' definition 'OsSI'. nmap-7.98/osscan2.cc:3220:55: note: Function 'HostOsScanInfo' argument 2 names different: declaration 'OSI' definition 'OsSI'. nmap-7.98/scan_engine.cc:153:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/scan_engine.cc:179:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TH_SYN [valueFlowBailoutIncompleteVar] nmap-7.98/scan_engine.cc:815:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_TCP [valueFlowBailoutIncompleteVar] nmap-7.98/scan_engine.cc:1279:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_TCP [valueFlowBailoutIncompleteVar] nmap-7.98/scan_engine.cc:1757:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TH_SYN [valueFlowBailoutIncompleteVar] nmap-7.98/scan_engine.cc:1833:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_IP [valueFlowBailoutIncompleteVar] nmap-7.98/scan_engine.cc:2033:94: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/scan_engine.cc:2189:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/scan_engine.cc:2373:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_TCP [valueFlowBailoutIncompleteVar] nmap-7.98/scan_engine.cc:2488:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/scan_engine.cc:2716:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/osscan2.cc:382:67: style: Parameter 'Targets' can be declared as reference to const [constParameterReference] nmap-7.98/osscan2.cc:3527:44: style: Parameter 'Targets' can be declared as reference to const [constParameterReference] nmap-7.98/osscan2.cc:1044:9: style: Variable 'tport' can be declared as pointer to const [constVariablePointer] nmap-7.98/osscan2.cc:1209:12: style: Variable 'probe' can be declared as pointer to const [constVariablePointer] nmap-7.98/osscan2.cc:1334:32: style: Parameter 't' can be declared as pointer to const [constParameterPointer] nmap-7.98/osscan2.cc:1890:107: style: Parameter 'rcvdtime' can be declared as pointer to const [constParameterPointer] nmap-7.98/osscan2.cc:2095:38: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] nmap-7.98/osscan2.cc:2096:24: style: Variable 'ethptr' can be declared as pointer to const [constVariablePointer] nmap-7.98/osscan2.cc:2116:24: style: Variable 'ethptr' can be declared as pointer to const [constVariablePointer] nmap-7.98/osscan2.cc:2146:19: style: Variable 'source' can be declared as pointer to const [constVariablePointer] nmap-7.98/osscan2.cc:2152:24: style: Variable 'ethptr' can be declared as pointer to const [constVariablePointer] nmap-7.98/osscan2.cc:2268:57: style: Parameter 'val' can be declared as pointer to const [constParameterPointer] nmap-7.98/osscan2.cc:3309:0: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] nmap-7.98/scan_engine_connect.cc:86:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_TCP [valueFlowBailoutIncompleteVar] nmap-7.98/scan_engine_connect.cc:99:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FD_SETSIZE [valueFlowBailoutIncompleteVar] nmap-7.98/scan_engine_connect.cc:148:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/scan_engine_connect.cc:228:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_storage [valueFlowBailoutIncompleteVar] nmap-7.98/scan_engine_connect.cc:444:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nmap-7.98/scan_engine_connect.cc:485:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/scan_engine_connect.cc:562:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINTR [valueFlowBailoutIncompleteVar] nmap-7.98/osscan2.cc:462:29: style: Variable 'unableToSend' is assigned a value that is never used. [unreadVariable] nmap-7.98/osscan2.cc:463:30: style: Variable 'expectReplies' is assigned a value that is never used. [unreadVariable] nmap-7.98/osscan2.cc:464:16: style: Variable 'to_usec' is assigned a value that is never used. [unreadVariable] nmap-7.98/osscan2.cc:796:16: style: Variable 'distance' is assigned a value that is never used. [unreadVariable] nmap-7.98/osscan2.cc:2115:11: style: Variable 'res' is assigned a value that is never used. [unreadVariable] nmap-7.98/osscan2.cc:2221:14: style: Variable 'res' is assigned a value that is never used. [unreadVariable] nmap-7.98/osscan2.cc:3341:17: style: Variable 'timedout' is assigned a value that is never used. [unreadVariable] nmap-7.98/osscan2.cc:447:83: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/osscan2.cc:483:83: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/osscan2.cc:502:87: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/osscan2.cc:532:87: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/osscan2.cc:540:87: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/osscan2.cc:603:46: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/osscan2.cc:651:44: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/osscan2.cc:673:48: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/osscan2.cc:703:11: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/osscan2.cc:712:87: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/osscan2.cc:774:46: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/osscan2.cc:799:83: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/osscan2.cc:856:83: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/osscan2.cc:888:83: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/osscan2.cc:918:5: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/osscan2.cc:1211:69: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/osscan2.cc:1276:79: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/osscan2.cc:1426:5: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/osscan2.cc:1509:5: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/osscan2.cc:1569:79: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/osscan2.cc:1643:79: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/osscan2.cc:3308:73: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/osscan2.cc:3327:3: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/osscan2.cc:3346:5: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/osscan2.cc:3352:9: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/output.cc:1739:10: warning: Return value of function result.fill() is not used. [ignoredReturnValue] nmap-7.98/output.cc:1795:10: warning: Return value of function result.fill() is not used. [ignoredReturnValue] nmap-7.98/output.cc:150:16: style: C-style pointer casting [cstyleCast] nmap-7.98/output.cc:151:28: style: C-style pointer casting [cstyleCast] nmap-7.98/output.cc:859:9: style: C-style pointer casting [cstyleCast] nmap-7.98/output.cc:1706:26: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/output.cc:1710:30: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/output.cc:1711:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/output.cc:1773:9: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/scan_engine_connect.cc:558:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] nmap-7.98/scan_engine_connect.cc:236:6: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/scan_engine_connect.cc:241:42: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/scan_engine_connect.cc:342:40: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/scan_engine_connect.cc:345:17: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/scan_engine_connect.cc:391:45: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/scan_engine_connect.cc:438:20: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/scan_engine_connect.cc:464:29: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/scan_engine_connect.cc:494:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/scan_engine_connect.cc:511:44: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/scan_engine_connect.cc:605:50: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/scan_engine_connect.cc:531:7: style: The scope of the variable 'timeleft' can be reduced. [variableScope] nmap-7.98/output.cc:395:10: style: The scope of the variable 'buf' can be reduced. [variableScope] nmap-7.98/output.cc:418:10: style: The scope of the variable 'buf' can be reduced. [variableScope] nmap-7.98/scan_engine_connect.cc:226:15: style: Variable 'probe' can be declared as pointer to const [constVariablePointer] nmap-7.98/output.cc:482:8: style: The scope of the variable 'protocol' can be reduced. [variableScope] nmap-7.98/scan_engine_connect.cc:532:20: style: Variable 'CSI' can be declared as pointer to const [constVariablePointer] nmap-7.98/scan_engine_connect.cc:536:15: style: Variable 'probe' can be declared as pointer to const [constVariablePointer] nmap-7.98/output.cc:490:27: style: The scope of the variable 'proto' can be reduced. [variableScope] nmap-7.98/output.cc:1086:14: style: The scope of the variable 'end' can be reduced. [variableScope] nmap-7.98/output.cc:1242:8: style: The scope of the variable 'macascii' can be reduced. [variableScope] nmap-7.98/output.cc:1505:7: style: The scope of the variable 'classno' can be reduced. [variableScope] nmap-7.98/output.cc:1505:16: style: The scope of the variable 'cpeno' can be reduced. [variableScope] nmap-7.98/output.cc:1505:23: style: The scope of the variable 'familyno' can be reduced. [variableScope] nmap-7.98/output.cc:1507:7: style: The scope of the variable 'overflow' can be reduced. [variableScope] nmap-7.98/output.cc:1508:15: style: The scope of the variable 'types' can be reduced. [variableScope] nmap-7.98/output.cc:1509:15: style: The scope of the variable 'cpes' can be reduced. [variableScope] nmap-7.98/output.cc:1510:8: style: The scope of the variable 'fullfamily' can be reduced. [variableScope] nmap-7.98/output.cc:1513:34: style: The scope of the variable 'numfamilies' can be reduced. [variableScope] nmap-7.98/output.cc:1514:8: style: The scope of the variable 'tmpbuf' can be reduced. [variableScope] nmap-7.98/output.cc:1627:8: style: The scope of the variable 'macascii' can be reduced. [variableScope] nmap-7.98/output.cc:1657:16: style: The scope of the variable 'reps' can be reduced. [variableScope] nmap-7.98/output.cc:2207:9: style: The scope of the variable 'script_output' can be reduced. [variableScope] nmap-7.98/output.cc:2231:9: style: The scope of the variable 'script_output' can be reduced. [variableScope] nmap-7.98/output.cc:531:71: style: Checking if unsigned expression 'strftime(tbufs,sizeof(tbufs),"%Y-%m-%d %H:%M:%S %Z",&tm)' is less than zero. [unsignedLessThanZero] nmap-7.98/scan_engine_connect.cc:502:3: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/scan_engine_connect.cc:596:7: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/output.cc:1209:59: style:inconclusive: Function 'output_xml_scaninfo_records' argument 1 names different: declaration 'ports' definition 'scanlist'. [funcArgNamesDifferent] nmap-7.98/output.h:182:59: note: Function 'output_xml_scaninfo_records' argument 1 names different: declaration 'ports' definition 'scanlist'. nmap-7.98/output.cc:1209:59: note: Function 'output_xml_scaninfo_records' argument 1 names different: declaration 'ports' definition 'scanlist'. nmap-7.98/output.cc:391:56: performance: Function parameter 's' should be passed by const reference. [passedByValue] nmap-7.98/output.cc:414:43: performance: Function parameter 's' should be passed by const reference. [passedByValue] nmap-7.98/output.cc:853:47: style: Parameter 'tm' can be declared as pointer to const [constParameterPointer] nmap-7.98/output.cc:854:15: style: Variable 'end' can be declared as pointer to const [constVariablePointer] nmap-7.98/output.cc:1711:17: style: Variable 'addr' can be declared as pointer to const [constVariablePointer] nmap-7.98/scan_lists.cc:467:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_TCP [valueFlowBailoutIncompleteVar] nmap-7.98/output.cc:857:18: style: Variable 'written' is assigned a value that is never used. [unreadVariable] nmap-7.98/output.cc:2197:11: style: Variable 'delim' is assigned a value that is never used. [unreadVariable] nmap-7.98/output.cc:791:58: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/output.cc:1404:20: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/output.cc:2134:87: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/output.cc:2217:71: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/output.cc:2238:10: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/output.cc:2302:7: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/output.cc:2325:9: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/output.cc:2330:72: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/output.cc:2349:7: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/output.cc:2391:8: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/output.cc:2595:47: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/output.cc:2626:10: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/output.cc:2626:36: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/output.cc:2656:9: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/scan_engine_raw.cc:176:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IP6_FLOWLABEL_MASK [valueFlowBailoutIncompleteVar] nmap-7.98/scan_engine_raw.cc:207:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_ICMP [valueFlowBailoutIncompleteVar] nmap-7.98/scan_engine_raw.cc:212:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_TCP [valueFlowBailoutIncompleteVar] nmap-7.98/scan_engine_raw.cc:306:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_ICMP [valueFlowBailoutIncompleteVar] nmap-7.98/scan_engine_raw.cc:369:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TH_SYN [valueFlowBailoutIncompleteVar] nmap-7.98/scan_engine_raw.cc:446:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_ICMP [valueFlowBailoutIncompleteVar] nmap-7.98/scan_engine_raw.cc:859:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLT_EN10MB [valueFlowBailoutIncompleteVar] nmap-7.98/scan_engine_raw.cc:930:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETH_HDR_LEN [valueFlowBailoutIncompleteVar] nmap-7.98/scan_engine_raw.cc:972:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLT_EN10MB [valueFlowBailoutIncompleteVar] nmap-7.98/scan_engine_raw.cc:1042:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] nmap-7.98/scan_engine_raw.cc:1164:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLT_EN10MB [valueFlowBailoutIncompleteVar] nmap-7.98/scan_engine_raw.cc:1461:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] nmap-7.98/scan_engine_raw.cc:1540:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] nmap-7.98/scan_engine_raw.cc:1602:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNSPEC [valueFlowBailoutIncompleteVar] nmap-7.98/service_scan.cc:325:90: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/service_scan.cc:376:80: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/service_scan.cc:541:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCRE2_ERROR_NOMATCH [valueFlowBailoutIncompleteVar] nmap-7.98/service_scan.cc:756:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCRE2_UNSET [valueFlowBailoutIncompleteVar] nmap-7.98/service_scan.cc:1134:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_TCP [valueFlowBailoutIncompleteVar] nmap-7.98/service_scan.cc:1286:93: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/service_scan.cc:1442:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/service_scan.cc:1536:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_TCP [valueFlowBailoutIncompleteVar] nmap-7.98/service_scan.cc:1582:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_TCP [valueFlowBailoutIncompleteVar] nmap-7.98/service_scan.cc:1657:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/service_scan.cc:1716:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NMAP_PLATFORM [valueFlowBailoutIncompleteVar] nmap-7.98/service_scan.cc:1878:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/service_scan.cc:1960:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_MAX [valueFlowBailoutIncompleteVar] nmap-7.98/service_scan.cc:2039:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_TCP [valueFlowBailoutIncompleteVar] nmap-7.98/service_scan.cc:2116:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSOCK_PENDING_SILENT [valueFlowBailoutIncompleteVar] nmap-7.98/service_scan.cc:2290:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSOCK_PENDING_SILENT [valueFlowBailoutIncompleteVar] nmap-7.98/service_scan.cc:2353:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSE_TYPE_CONNECT [valueFlowBailoutIncompleteVar] nmap-7.98/service_scan.cc:2438:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSE_STATUS_SUCCESS [valueFlowBailoutIncompleteVar] nmap-7.98/service_scan.cc:2523:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSE_TYPE_READ [valueFlowBailoutIncompleteVar] nmap-7.98/service_scan.cc:2763:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_TCP [valueFlowBailoutIncompleteVar] nmap-7.98/service_scan.cc:2829:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/scan_lists.cc:0:0: debug: ValueFlow maximum iterations exceeded [valueFlowMaxIterations] nmap-7.98/scan_lists.cc:168:16: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] nmap-7.98/scan_lists.cc:195:16: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] nmap-7.98/scan_lists.cc:149:13: style: C-style pointer casting [cstyleCast] nmap-7.98/scan_lists.cc:176:24: style: C-style pointer casting [cstyleCast] nmap-7.98/scan_lists.cc:179:24: style: C-style pointer casting [cstyleCast] nmap-7.98/scan_lists.cc:182:25: style: C-style pointer casting [cstyleCast] nmap-7.98/scan_lists.cc:185:20: style: C-style pointer casting [cstyleCast] nmap-7.98/scan_lists.cc:216:13: style: C-style pointer casting [cstyleCast] nmap-7.98/scan_lists.cc:233:11: style: C-style pointer casting [cstyleCast] nmap-7.98/scan_lists.cc:129:25: style:inconclusive: Function 'getpts' argument 1 names different: declaration 'expr' definition 'origexpr'. [funcArgNamesDifferent] nmap-7.98/scan_lists.h:127:25: note: Function 'getpts' argument 1 names different: declaration 'expr' definition 'origexpr'. nmap-7.98/scan_lists.cc:129:25: note: Function 'getpts' argument 1 names different: declaration 'expr' definition 'origexpr'. nmap-7.98/scan_lists.cc:284:86: style: Parameter 'exclude_ports' can be declared as pointer to const [constParameterPointer] nmap-7.98/services.cc:286:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/services.cc:392:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/services.cc:357:18: style:inconclusive: Either there is a missing 'override', or the member function 'C_array_iterator < unsigned short >::operator+' can be const. [functionConst] nmap-7.98/services.cc:358:18: style:inconclusive: Either there is a missing 'override', or the member function 'C_array_iterator < unsigned short >::operator-' can be const. [functionConst] nmap-7.98/services.cc:345:3: style: Class 'C_array_iterator < unsigned short >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] nmap-7.98/services.cc:285:53: style: Condition 'nmap_services_init()==-1' is always false [knownConditionTrueFalse] nmap-7.98/services.cc:285:50: note: Calling function 'nmap_services_init' returns 0 nmap-7.98/services.cc:285:53: note: Condition 'nmap_services_init()==-1' is always false nmap-7.98/services.cc:319:28: style: Condition 'nmap_services_init()==-1' is always false [knownConditionTrueFalse] nmap-7.98/services.cc:319:25: note: Calling function 'nmap_services_init' returns 0 nmap-7.98/services.cc:319:28: note: Condition 'nmap_services_init()==-1' is always false nmap-7.98/services.cc:391:53: style: Condition 'nmap_services_init()==-1' is always false [knownConditionTrueFalse] nmap-7.98/services.cc:391:50: note: Calling function 'nmap_services_init' returns 0 nmap-7.98/services.cc:391:53: note: Condition 'nmap_services_init()==-1' is always false nmap-7.98/services.cc:335:25: style: C-style pointer casting [cstyleCast] nmap-7.98/services.cc:335:55: style: C-style pointer casting [cstyleCast] nmap-7.98/services.cc:460:24: style: C-style pointer casting [cstyleCast] nmap-7.98/services.cc:463:24: style: C-style pointer casting [cstyleCast] nmap-7.98/services.cc:466:25: style: C-style pointer casting [cstyleCast] nmap-7.98/services.cc:192:6: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/services.cc:192:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/services.cc:116:15: style: The scope of the variable 'p' can be reduced. [variableScope] nmap-7.98/services.cc:385:91: style:inconclusive: Function 'gettoppts' argument 4 names different: declaration 'exclude_list' definition 'exclude_ports'. [funcArgNamesDifferent] nmap-7.98/services.h:78:91: note: Function 'gettoppts' argument 4 names different: declaration 'exclude_list' definition 'exclude_ports'. nmap-7.98/services.cc:385:91: note: Function 'gettoppts' argument 4 names different: declaration 'exclude_list' definition 'exclude_ports'. nmap-7.98/services.cc:512:25: style: Variable 'ptsdata_initialized' is assigned a value that is never used. [unreadVariable] nmap-7.98/services.cc:288:61: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/services.cc:472:102: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/string_pool.cc:162:11: style: C-style pointer casting [cstyleCast] nmap-7.98/targets.cc:114:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] nmap-7.98/targets.cc:178:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] nmap-7.98/targets.cc:360:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/targets.cc:447:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNSPEC [valueFlowBailoutIncompleteVar] nmap-7.98/targets.cc:510:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLT_EN10MB [valueFlowBailoutIncompleteVar] nmap-7.98/targets.cc:302:29: style:inconclusive: Technically the member function 'HostGroupState::next_expression' can be const. [functionConst] nmap-7.98/targets.h:94:15: note: Technically the member function 'HostGroupState::next_expression' can be const. nmap-7.98/targets.cc:302:29: note: Technically the member function 'HostGroupState::next_expression' can be const. nmap-7.98/targets.cc:289:8: warning: Class 'HostGroupState' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] nmap-7.98/targets.cc:289:8: warning: Class 'HostGroupState' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] nmap-7.98/targets.cc:241:28: style: Condition 'target->deviceName()!=NULL' is always true [knownConditionTrueFalse] nmap-7.98/targets.cc:276:15: style: C-style pointer casting [cstyleCast] nmap-7.98/targets.cc:125:10: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/targets.cc:414:42: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/targets.cc:155:15: style: The scope of the variable 'begin' can be reduced. [variableScope] nmap-7.98/targets.cc:312:15: style: The scope of the variable 'buf' can be reduced. [variableScope] nmap-7.98/targets.cc:137:39: style:inconclusive: Function 'load_exclude_file' argument 1 names different: declaration 'exclude_group' definition 'excludelist'. [funcArgNamesDifferent] nmap-7.98/targets.h:112:39: note: Function 'load_exclude_file' argument 1 names different: declaration 'exclude_group' definition 'excludelist'. nmap-7.98/targets.cc:137:39: note: Function 'load_exclude_file' argument 1 names different: declaration 'exclude_group' definition 'excludelist'. nmap-7.98/targets.cc:154:41: style:inconclusive: Function 'load_exclude_string' argument 1 names different: declaration 'exclude_group' definition 'excludelist'. [funcArgNamesDifferent] nmap-7.98/targets.h:113:41: note: Function 'load_exclude_string' argument 1 names different: declaration 'exclude_group' definition 'excludelist'. nmap-7.98/targets.cc:154:41: note: Function 'load_exclude_string' argument 1 names different: declaration 'exclude_group' definition 'excludelist'. nmap-7.98/targets.cc:509:20: style: Variable 'eth' can be declared as pointer to const [constVariablePointer] nmap-7.98/scan_engine.cc:243:13: warning: Member variable 'UltraProbe::probes' is not initialized in the constructor. [uninitMemberVar] nmap-7.98/scan_engine.cc:718:16: warning:inconclusive: Member variable 'UltraScanInfo::scantype' is not initialized in the constructor. [uninitMemberVar] nmap-7.98/scan_engine.cc:718:16: warning:inconclusive: Member variable 'UltraScanInfo::tcp_scan' is not initialized in the constructor. [uninitMemberVar] nmap-7.98/scan_engine.cc:718:16: warning:inconclusive: Member variable 'UltraScanInfo::udp_scan' is not initialized in the constructor. [uninitMemberVar] nmap-7.98/scan_engine.cc:718:16: warning:inconclusive: Member variable 'UltraScanInfo::sctp_scan' is not initialized in the constructor. [uninitMemberVar] nmap-7.98/scan_engine.cc:718:16: warning:inconclusive: Member variable 'UltraScanInfo::prot_scan' is not initialized in the constructor. [uninitMemberVar] nmap-7.98/scan_engine.cc:718:16: warning:inconclusive: Member variable 'UltraScanInfo::ping_scan' is not initialized in the constructor. [uninitMemberVar] nmap-7.98/scan_engine.cc:718:16: warning:inconclusive: Member variable 'UltraScanInfo::ping_scan_arp' is not initialized in the constructor. [uninitMemberVar] nmap-7.98/scan_engine.cc:718:16: warning:inconclusive: Member variable 'UltraScanInfo::ping_scan_nd' is not initialized in the constructor. [uninitMemberVar] nmap-7.98/scan_engine.cc:718:16: warning:inconclusive: Member variable 'UltraScanInfo::noresp_open_scan' is not initialized in the constructor. [uninitMemberVar] nmap-7.98/scan_engine.cc:718:16: warning:inconclusive: Member variable 'UltraScanInfo::ptech' is not initialized in the constructor. [uninitMemberVar] nmap-7.98/scan_engine.cc:718:16: warning:inconclusive: Member variable 'UltraScanInfo::gstats' is not initialized in the constructor. [uninitMemberVar] nmap-7.98/scan_engine.cc:718:16: warning:inconclusive: Member variable 'UltraScanInfo::perf' is not initialized in the constructor. [uninitMemberVar] nmap-7.98/scan_engine.cc:718:16: warning:inconclusive: Member variable 'UltraScanInfo::SPM' is not initialized in the constructor. [uninitMemberVar] nmap-7.98/scan_engine.cc:718:16: warning:inconclusive: Member variable 'UltraScanInfo::ports' is not initialized in the constructor. [uninitMemberVar] nmap-7.98/scan_engine.cc:718:16: warning:inconclusive: Member variable 'UltraScanInfo::rawsd' is not initialized in the constructor. [uninitMemberVar] nmap-7.98/scan_engine.cc:718:16: warning:inconclusive: Member variable 'UltraScanInfo::pd' is not initialized in the constructor. [uninitMemberVar] nmap-7.98/scan_engine.cc:718:16: warning:inconclusive: Member variable 'UltraScanInfo::ethsd' is not initialized in the constructor. [uninitMemberVar] nmap-7.98/scan_engine.cc:718:16: warning:inconclusive: Member variable 'UltraScanInfo::numInitialTargets' is not initialized in the constructor. [uninitMemberVar] nmap-7.98/scan_engine.cc:718:16: warning:inconclusive: Member variable 'UltraScanInfo::nextI' is not initialized in the constructor. [uninitMemberVar] nmap-7.98/scan_engine.cc:458:3: performance: Variable 'nxtpseq' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] nmap-7.98/scan_engine.cc:525:30: performance:inconclusive: Technically the member function 'HostScanStats::probeExpireTime' can be static (but you may consider moving to unnamed namespace). [functionStatic] nmap-7.98/scan_engine.h:387:17: note: Technically the member function 'HostScanStats::probeExpireTime' can be static (but you may consider moving to unnamed namespace). nmap-7.98/scan_engine.cc:525:30: note: Technically the member function 'HostScanStats::probeExpireTime' can be static (but you may consider moving to unnamed namespace). nmap-7.98/scan_engine.cc:272:5: warning: Class 'GroupScanStats' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] nmap-7.98/scan_engine.cc:272:5: warning: Class 'GroupScanStats' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] nmap-7.98/scan_engine.cc:735:10: warning: Class 'UltraScanInfo' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] nmap-7.98/scan_engine.cc:735:10: warning: Class 'UltraScanInfo' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] nmap-7.98/scan_engine.cc:123:35: warning: The struct 'ultra_scan_performance_vars' defines member function with name 'init' also defined in its parent struct 'scan_performance_vars'. [duplInheritedMember] nmap-7.98/timing.h:131:8: note: Parent function 'scan_performance_vars::init' nmap-7.98/scan_engine.cc:123:35: note: Derived function 'ultra_scan_performance_vars::init' nmap-7.98/scan_engine.cc:1045:11: style: Condition 'ggood' is always true [knownConditionTrueFalse] nmap-7.98/scan_engine.cc:1031:7: note: Assuming that condition '!ggood' is not redundant nmap-7.98/scan_engine.cc:1045:11: note: Condition 'ggood' is always true nmap-7.98/scan_engine.cc:863:10: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/scan_engine.cc:172:9: style: The scope of the variable 'f' can be reduced. [variableScope] nmap-7.98/scan_engine.cc:297:17: style: The scope of the variable 'max_rate_add' can be reduced. [variableScope] nmap-7.98/scan_engine.cc:299:17: style: The scope of the variable 'min_rate_add' can be reduced. [variableScope] nmap-7.98/scan_engine.cc:544:8: style: The scope of the variable 'tdiff' can be reduced. [variableScope] nmap-7.98/scan_engine.cc:678:8: style: The scope of the variable 'allfinished' can be reduced. [variableScope] nmap-7.98/scan_engine.cc:1026:8: style: The scope of the variable 'thisHostGood' can be reduced. [variableScope] nmap-7.98/scan_engine.cc:1027:8: style: The scope of the variable 'foundgood' can be reduced. [variableScope] nmap-7.98/scan_engine.cc:1111:8: style: The scope of the variable 'timedout' can be reduced. [variableScope] nmap-7.98/scan_engine.cc:2496:24: style: The scope of the variable 'hss' can be reduced. [variableScope] nmap-7.98/scan_engine.cc:2571:16: style: The scope of the variable 'maxtries' can be reduced. [variableScope] nmap-7.98/scan_engine.cc:1021:44: style:inconclusive: Function 'sendOK' argument 1 names different: declaration 'tv' definition 'when'. [funcArgNamesDifferent] nmap-7.98/scan_engine.h:550:31: note: Function 'sendOK' argument 1 names different: declaration 'tv' definition 'when'. nmap-7.98/scan_engine.cc:1021:44: note: Function 'sendOK' argument 1 names different: declaration 'tv' definition 'when'. nmap-7.98/scan_engine.cc:806:59: style: Parameter 'targets' can be declared as reference to const [constParameterReference] nmap-7.98/scan_engine.cc:2231:24: style: Variable 'unableToSend' can be declared as pointer to const [constVariablePointer] nmap-7.98/scan_engine.cc:2255:24: style: Variable 'unableToSend' can be declared as pointer to const [constVariablePointer] nmap-7.98/scan_engine.cc:600:31: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] nmap-7.98/scan_engine.cc:1026:21: style: Variable 'thisHostGood' is assigned a value that is never used. [unreadVariable] nmap-7.98/scan_engine.cc:2571:25: style: Variable 'maxtries' is assigned a value that is never used. [unreadVariable] nmap-7.98/scan_engine.cc:2572:17: style: Variable 'expire_us' is assigned a value that is never used. [unreadVariable] nmap-7.98/scan_engine.cc:489:5: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/scan_engine.cc:599:8: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/scan_engine.cc:645:23: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/scan_engine.cc:698:47: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/scan_engine.cc:724:73: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/scan_engine.cc:728:71: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/scan_engine.cc:771:3: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/scan_engine.cc:787:73: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/scan_engine.cc:809:59: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/scan_engine.cc:1037:12: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/scan_engine.cc:1043:73: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/scan_engine.cc:1121:7: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/scan_engine.cc:1142:5: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/scan_engine.cc:1149:9: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/scan_engine.cc:1174:95: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/scan_engine.cc:2335:45: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/scan_engine.cc:2422:7: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/scan_engine.cc:2439:9: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/scan_engine.cc:2454:9: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/scan_engine.cc:2512:49: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/scan_engine.cc:2595:45: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/scan_engine.cc:2615:7: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/scan_engine.cc:2691:7: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/tcpip.cc:97:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/tcpip.cc:146:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] nmap-7.98/tcpip.cc:205:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICMPV6_NEIGHBOR_SOLICITATION [valueFlowBailoutIncompleteVar] nmap-7.98/tcpip.cc:321:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_TCP [valueFlowBailoutIncompleteVar] nmap-7.98/tcpip.cc:371:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] nmap-7.98/tcpip.cc:396:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_DGRAM [valueFlowBailoutIncompleteVar] nmap-7.98/tcpip.cc:462:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] nmap-7.98/tcpip.cc:602:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ip6_hdr [valueFlowBailoutIncompleteVar] nmap-7.98/tcpip.cc:622:145: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/tcpip.cc:684:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_TCP [valueFlowBailoutIncompleteVar] nmap-7.98/tcpip.cc:710:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_TCP [valueFlowBailoutIncompleteVar] nmap-7.98/tcpip.cc:731:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IP_TOS_DEFAULT [valueFlowBailoutIncompleteVar] nmap-7.98/tcpip.cc:813:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_UDP [valueFlowBailoutIncompleteVar] nmap-7.98/tcpip.cc:836:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_UDP [valueFlowBailoutIncompleteVar] nmap-7.98/tcpip.cc:862:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] nmap-7.98/tcpip.cc:1009:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/tcpip.cc:1055:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICMPV6_ECHO [valueFlowBailoutIncompleteVar] nmap-7.98/tcpip.cc:1119:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/tcpip.cc:1147:74: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tcp_hdr [valueFlowBailoutIncompleteVar] nmap-7.98/tcpip.cc:1223:74: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable udp_hdr [valueFlowBailoutIncompleteVar] nmap-7.98/tcpip.cc:1275:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tcp_hdr [valueFlowBailoutIncompleteVar] nmap-7.98/tcpip.cc:1417:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tcp_hdr [valueFlowBailoutIncompleteVar] nmap-7.98/tcpip.cc:1587:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLT_EN10MB [valueFlowBailoutIncompleteVar] nmap-7.98/tcpip.cc:1642:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/tcpip.cc:1677:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] nmap-7.98/tcpip.cc:1746:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/tests/expr_match_test.cc:206:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] nmap-7.98/tests/nmap_dns_test.cc:76:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] nmap-7.98/tests/nmap_dns_test.cc:90:16: style: Variable 'q' can be declared as pointer to const [constVariablePointer] nmap-7.98/tests/nmap_dns_test.cc:197:21: style: Variable 'r' can be declared as pointer to const [constVariablePointer] nmap-7.98/service_scan.cc:1591:12: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] nmap-7.98/service_scan.cc:1598:14: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] nmap-7.98/service_scan.cc:251:20: warning: Member variable 'ServiceProbeMatch::match_context' is not initialized in the constructor. [uninitMemberVar] nmap-7.98/service_scan.cc:251:20: warning: Member variable 'ServiceProbeMatch::MD_return' is not initialized in the constructor. [uninitMemberVar] nmap-7.98/service_scan.cc:1618:13: warning: Member variable 'ServiceNFO::current_probe' is not initialized in the constructor. [uninitMemberVar] nmap-7.98/service_scan.cc:1621:3: performance: Variable 'niod' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] nmap-7.98/service_scan.cc:1623:3: performance: Variable 'portno' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] nmap-7.98/service_scan.cc:1623:12: performance: Variable 'proto' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] nmap-7.98/service_scan.cc:1177:20: performance:inconclusive: Technically the member function 'ServiceProbe::setPortVector' can be static (but you may consider moving to unnamed namespace). [functionStatic] nmap-7.98/service_scan.h:277:8: note: Technically the member function 'ServiceProbe::setPortVector' can be static (but you may consider moving to unnamed namespace). nmap-7.98/service_scan.cc:1177:20: note: Technically the member function 'ServiceProbe::setPortVector' can be static (but you may consider moving to unnamed namespace). nmap-7.98/service_scan.cc:268:22: warning: Class 'ServiceProbeMatch' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] nmap-7.98/service_scan.cc:268:22: warning: Class 'ServiceProbeMatch' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] nmap-7.98/service_scan.cc:1115:25: warning: Class 'ServiceProbe' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] nmap-7.98/service_scan.cc:1115:25: warning: Class 'ServiceProbe' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] nmap-7.98/service_scan.cc:1492:12: warning: Class 'AllProbes' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] nmap-7.98/service_scan.cc:1492:12: warning: Class 'AllProbes' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] nmap-7.98/service_scan.cc:1640:25: warning: Class 'ServiceNFO' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] nmap-7.98/service_scan.cc:1640:25: warning: Class 'ServiceNFO' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] nmap-7.98/service_scan.cc:1951:3: warning: Class 'ServiceGroup' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] nmap-7.98/service_scan.cc:1951:3: warning: Class 'ServiceGroup' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] nmap-7.98/service_scan.cc:119:3: style: Class 'ServiceNFO' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] nmap-7.98/service_scan.cc:991:14: style: Condition 'product_template' is always true [knownConditionTrueFalse] nmap-7.98/service_scan.cc:1004:14: style: Condition 'version_template' is always true [knownConditionTrueFalse] nmap-7.98/service_scan.cc:1017:14: style: Condition 'info_template' is always true [knownConditionTrueFalse] nmap-7.98/service_scan.cc:1027:14: style: Condition 'hostname_template' is always true [knownConditionTrueFalse] nmap-7.98/service_scan.cc:1037:14: style: Condition 'ostype_template' is always true [knownConditionTrueFalse] nmap-7.98/service_scan.cc:1047:14: style: Condition 'devicetype_template' is always true [knownConditionTrueFalse] nmap-7.98/service_scan.cc:1993:20: style: Condition '!scanThroughTunnel(svc)' is always true [knownConditionTrueFalse] nmap-7.98/service_scan.cc:1993:38: note: Calling function 'scanThroughTunnel' returns 0 nmap-7.98/service_scan.cc:1993:20: note: Condition '!scanThroughTunnel(svc)' is always true nmap-7.98/service_scan.cc:2551:28: style: Condition 'scanThroughTunnel(svc)' is always false [knownConditionTrueFalse] nmap-7.98/service_scan.cc:2551:28: note: Calling function 'scanThroughTunnel' returns 0 nmap-7.98/service_scan.cc:2551:28: note: Condition 'scanThroughTunnel(svc)' is always false nmap-7.98/timing.cc:131:85: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/timing.cc:187:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timeval [valueFlowBailoutIncompleteVar] nmap-7.98/service_scan.cc:546:37: style: C-style pointer casting [cstyleCast] nmap-7.98/service_scan.cc:656:12: style: C-style pointer casting [cstyleCast] nmap-7.98/service_scan.cc:664:10: style: C-style pointer casting [cstyleCast] nmap-7.98/service_scan.cc:1703:17: style: C-style pointer casting [cstyleCast] nmap-7.98/service_scan.cc:1780:17: style: C-style pointer casting [cstyleCast] nmap-7.98/service_scan.cc:1928:17: style: C-style pointer casting [cstyleCast] nmap-7.98/service_scan.cc:2062:24: style: C-style pointer casting [cstyleCast] nmap-7.98/service_scan.cc:2349:21: style: C-style pointer casting [cstyleCast] nmap-7.98/service_scan.cc:2351:22: style: C-style pointer casting [cstyleCast] nmap-7.98/service_scan.cc:2418:21: style: C-style pointer casting [cstyleCast] nmap-7.98/service_scan.cc:2422:8: style: C-style pointer casting [cstyleCast] nmap-7.98/service_scan.cc:2517:21: style: C-style pointer casting [cstyleCast] nmap-7.98/service_scan.cc:2519:22: style: C-style pointer casting [cstyleCast] nmap-7.98/service_scan.cc:2531:15: style: C-style pointer casting [cstyleCast] nmap-7.98/service_scan.cc:530:16: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/service_scan.cc:761:38: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/service_scan.cc:780:42: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/service_scan.cc:805:42: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/service_scan.cc:1157:18: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/service_scan.cc:1173:19: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/service_scan.cc:1173:42: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/service_scan.cc:2077:17: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/service_scan.cc:2139:29: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/service_scan.cc:2144:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/service_scan.cc:2151:27: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/service_scan.cc:671:18: style: The scope of the variable 'repllen' can be reduced. [variableScope] nmap-7.98/service_scan.cc:715:7: style: The scope of the variable 'rc' can be reduced. [variableScope] nmap-7.98/service_scan.cc:1464:30: style: The scope of the variable 'MD' can be reduced. [variableScope] nmap-7.98/service_scan.cc:1690:7: style: The scope of the variable 'err' can be reduced. [variableScope] nmap-7.98/service_scan.cc:2034:8: style: The scope of the variable 'host' can be reduced. [variableScope] nmap-7.98/service_scan.cc:2420:7: style: The scope of the variable 'err' can be reduced. [variableScope] nmap-7.98/service_scan.cc:2753:15: style: The scope of the variable 'svc' can be reduced. [variableScope] nmap-7.98/service_scan.cc:972:21: style: Unsigned expression 'productlen' can't be negative so it is unnecessary to test it. [unsignedPositive] nmap-7.98/service_scan.cc:972:40: style: Unsigned expression 'versionlen' can't be negative so it is unnecessary to test it. [unsignedPositive] nmap-7.98/service_scan.cc:972:56: style: Unsigned expression 'infolen' can't be negative so it is unnecessary to test it. [unsignedPositive] nmap-7.98/service_scan.cc:973:22: style: Unsigned expression 'hostnamelen' can't be negative so it is unnecessary to test it. [unsignedPositive] nmap-7.98/service_scan.cc:973:40: style: Unsigned expression 'ostypelen' can't be negative so it is unnecessary to test it. [unsignedPositive] nmap-7.98/service_scan.cc:973:62: style: Unsigned expression 'devicetypelen' can't be negative so it is unnecessary to test it. [unsignedPositive] nmap-7.98/service_scan.cc:1432:51: style:inconclusive: Function 'check_excluded_port' argument 1 names different: declaration 'port' definition 'portno'. [funcArgNamesDifferent] nmap-7.98/service_scan.h:318:49: note: Function 'check_excluded_port' argument 1 names different: declaration 'port' definition 'portno'. nmap-7.98/service_scan.cc:1432:51: note: Function 'check_excluded_port' argument 1 names different: declaration 'port' definition 'portno'. nmap-7.98/service_scan.cc:1618:35: style:inconclusive: Function 'ServiceNFO' argument 1 names different: declaration 'AP' definition 'newAP'. [funcArgNamesDifferent] nmap-7.98/service_scan.cc:119:25: note: Function 'ServiceNFO' argument 1 names different: declaration 'AP' definition 'newAP'. nmap-7.98/service_scan.cc:1618:35: note: Function 'ServiceNFO' argument 1 names different: declaration 'AP' definition 'newAP'. nmap-7.98/service_scan.cc:663:58: style: Parameter 'len' can be declared as pointer to const [constParameterPointer] nmap-7.98/service_scan.cc:748:15: style: Variable 'ovector' can be declared as pointer to const [constVariablePointer] nmap-7.98/service_scan.cc:783:11: style: Variable 'findstr' can be declared as pointer to const [constVariablePointer] nmap-7.98/service_scan.cc:783:21: style: Variable 'replstr' can be declared as pointer to const [constVariablePointer] nmap-7.98/service_scan.cc:887:9: style: Variable 'newstrend' can be declared as pointer to const [constVariablePointer] nmap-7.98/service_scan.cc:1531:19: style: Variable 'p' can be declared as pointer to const [constVariablePointer] nmap-7.98/service_scan.cc:2695:49: style: Parameter 'svc' can be declared as pointer to const [constParameterPointer] nmap-7.98/service_scan.cc:1270:0: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] nmap-7.98/service_scan.cc:1508:0: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] nmap-7.98/service_scan.cc:1515:0: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] nmap-7.98/service_scan.cc:2239:36: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] nmap-7.98/service_scan.cc:1706:13: style: Variable 'spaceleft' is assigned a value that is never used. [unreadVariable] nmap-7.98/service_scan.cc:275:63: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/service_scan.cc:1111:50: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/service_scan.cc:1269:68: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/service_scan.cc:1466:50: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/service_scan.cc:1488:48: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/service_scan.cc:1506:48: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/service_scan.cc:1514:48: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/service_scan.cc:1611:5: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/service_scan.cc:1835:56: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/service_scan.cc:1846:6: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/service_scan.cc:1855:56: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/service_scan.cc:1870:6: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/service_scan.cc:1981:48: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/service_scan.cc:1989:44: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/service_scan.cc:2018:68: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/service_scan.cc:2021:74: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/service_scan.cc:2024:70: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/service_scan.cc:2238:47: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/service_scan.cc:2246:55: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/service_scan.cc:2714:79: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/service_scan.cc:2757:5: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/timing.cc:197:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] nmap-7.98/timing.cc:453:3: performance: Variable 'packet_rate_meter' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] nmap-7.98/timing.cc:498:3: warning: Class 'ScanProgressMeter' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] nmap-7.98/timing.cc:498:3: warning: Class 'ScanProgressMeter' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] nmap-7.98/timing.cc:530:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/timing.cc:577:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/timing.cc:629:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/timing.cc:704:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/tcpip.cc:1163:3: warning:inconclusive: The buffer 'sourcehost' may not be null-terminated after the call to strncpy(). [terminateStrncpy] nmap-7.98/tcpip.cc:1239:3: warning:inconclusive: The buffer 'sourcehost' may not be null-terminated after the call to strncpy(). [terminateStrncpy] nmap-7.98/tcpip.cc:1146:58: warning: Either the condition '!packet' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] nmap-7.98/tcpip.cc:1154:7: note: Assuming that condition '!packet' is not redundant nmap-7.98/tcpip.cc:1146:58: note: Null pointer addition nmap-7.98/tcpip.cc:1147:38: warning: Either the condition '!packet' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] nmap-7.98/tcpip.cc:1154:7: note: Assuming that condition '!packet' is not redundant nmap-7.98/tcpip.cc:1147:38: note: Null pointer addition nmap-7.98/tcpip.cc:1222:58: warning: Either the condition '!packet' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] nmap-7.98/tcpip.cc:1230:7: note: Assuming that condition '!packet' is not redundant nmap-7.98/tcpip.cc:1222:58: note: Null pointer addition nmap-7.98/tcpip.cc:1223:38: warning: Either the condition '!packet' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] nmap-7.98/tcpip.cc:1230:7: note: Assuming that condition '!packet' is not redundant nmap-7.98/tcpip.cc:1223:38: note: Null pointer addition nmap-7.98/tcpip.cc:146:24: style: C-style pointer casting [cstyleCast] nmap-7.98/tcpip.cc:147:24: style: C-style pointer casting [cstyleCast] nmap-7.98/tcpip.cc:150:24: style: C-style pointer casting [cstyleCast] nmap-7.98/tcpip.cc:210:27: style: C-style pointer casting [cstyleCast] nmap-7.98/tcpip.cc:221:27: style: C-style pointer casting [cstyleCast] nmap-7.98/tcpip.cc:230:23: style: C-style pointer casting [cstyleCast] nmap-7.98/tcpip.cc:231:23: style: C-style pointer casting [cstyleCast] nmap-7.98/tcpip.cc:338:36: style: C-style pointer casting [cstyleCast] nmap-7.98/tcpip.cc:372:17: style: C-style pointer casting [cstyleCast] nmap-7.98/tcpip.cc:563:16: style: C-style pointer casting [cstyleCast] nmap-7.98/tcpip.cc:603:12: style: C-style pointer casting [cstyleCast] nmap-7.98/tcpip.cc:625:12: style: C-style pointer casting [cstyleCast] nmap-7.98/tcpip.cc:781:12: style: C-style pointer casting [cstyleCast] nmap-7.98/tcpip.cc:896:12: style: C-style pointer casting [cstyleCast] nmap-7.98/tcpip.cc:1047:12: style: C-style pointer casting [cstyleCast] nmap-7.98/tcpip.cc:1422:25: style: C-style pointer casting [cstyleCast] nmap-7.98/tcpip.cc:200:9: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/tcpip.cc:201:12: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/tcpip.cc:202:9: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/tcpip.cc:203:27: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/tcpip.cc:304:35: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/tcpip.cc:366:35: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/tcpip.cc:421:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/tcpip.cc:455:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/tcpip.cc:463:38: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/tcpip.cc:466:38: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/tcpip.cc:531:12: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/tcpip.cc:535:15: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/tcpip.cc:536:30: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/tcpip.cc:537:30: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/tcpip.cc:564:19: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/tcpip.cc:584:12: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/tcpip.cc:626:9: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/tcpip.cc:682:9: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/tcpip.cc:686:38: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/tcpip.cc:708:9: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/tcpip.cc:712:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/tcpip.cc:740:12: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/tcpip.cc:761:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/tcpip.cc:782:9: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/tcpip.cc:812:9: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/tcpip.cc:815:38: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/tcpip.cc:835:9: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/tcpip.cc:838:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/tcpip.cc:861:12: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/tcpip.cc:878:33: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/tcpip.cc:897:10: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/tcpip.cc:940:38: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/tcpip.cc:956:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/tcpip.cc:988:16: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/tcpip.cc:1026:31: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/tcpip.cc:1048:12: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/tcpip.cc:1049:9: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/tcpip.cc:1095:20: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/tcpip.cc:1098:15: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/tcpip.cc:1131:30: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/tcpip.cc:1145:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/tcpip.cc:1146:31: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/tcpip.cc:1221:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/tcpip.cc:1222:31: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/tcpip.cc:1269:31: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/tcpip.cc:1357:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/tcpip.cc:1396:33: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/tcpip.cc:1465:10: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/tcpip.cc:1483:8: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/tcpip.cc:1535:43: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/tcpip.cc:1538:43: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/tcpip.cc:1666:13: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/tcpip.cc:1712:46: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/tcpip.cc:1716:43: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/tcpip.cc:1775:8: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/tcpip.cc:1793:16: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/tcpip.cc:1798:16: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/tcpip.cc:122:34: style: The scope of the variable 'tell' can be reduced. [variableScope] nmap-7.98/tcpip.cc:175:8: style: The scope of the variable 'who_has' can be reduced. [variableScope] nmap-7.98/tcpip.cc:175:35: style: The scope of the variable 'tgt_is' can be reduced. [variableScope] nmap-7.98/tcpip.cc:1359:25: style: The scope of the variable 'iplen' can be reduced. [variableScope] nmap-7.98/tcpip.cc:1771:7: style: The scope of the variable 'op' can be reduced. [variableScope] nmap-7.98/tcpip.cc:561:54: style:inconclusive: Function 'build_ip_raw' argument 12 names different: declaration 'packetlen' definition 'outpacketlen'. [funcArgNamesDifferent] nmap-7.98/tcpip.h:170:23: note: Function 'build_ip_raw' argument 12 names different: declaration 'packetlen' definition 'outpacketlen'. nmap-7.98/tcpip.cc:561:54: note: Function 'build_ip_raw' argument 12 names different: declaration 'packetlen' definition 'outpacketlen'. nmap-7.98/tcpip.cc:676:38: style:inconclusive: Function 'build_tcp_raw' argument 17 names different: declaration 'options' definition 'tcpopt'. [funcArgNamesDifferent] nmap-7.98/tcpip.h:188:29: note: Function 'build_tcp_raw' argument 17 names different: declaration 'options' definition 'tcpopt'. nmap-7.98/tcpip.cc:676:38: note: Function 'build_tcp_raw' argument 17 names different: declaration 'options' definition 'tcpopt'. nmap-7.98/tcpip.cc:676:50: style:inconclusive: Function 'build_tcp_raw' argument 18 names different: declaration 'optlen' definition 'tcpoptlen'. [funcArgNamesDifferent] nmap-7.98/tcpip.h:188:42: note: Function 'build_tcp_raw' argument 18 names different: declaration 'optlen' definition 'tcpoptlen'. nmap-7.98/tcpip.cc:676:50: note: Function 'build_tcp_raw' argument 18 names different: declaration 'optlen' definition 'tcpoptlen'. nmap-7.98/tcpip.cc:722:22: style:inconclusive: Function 'send_tcp_raw' argument 7 names different: declaration 'ipopt' definition 'ipops'. [funcArgNamesDifferent] nmap-7.98/tcpip.h:204:23: note: Function 'send_tcp_raw' argument 7 names different: declaration 'ipopt' definition 'ipops'. nmap-7.98/tcpip.cc:722:22: note: Function 'send_tcp_raw' argument 7 names different: declaration 'ipopt' definition 'ipops'. nmap-7.98/tcpip.cc:873:40: style:inconclusive: Function 'send_udp_raw_decoys' argument 7 names different: declaration 'ip' definition 'ipoptlen'. [funcArgNamesDifferent] nmap-7.98/tcpip.h:247:41: note: Function 'send_udp_raw_decoys' argument 7 names different: declaration 'ip' definition 'ipoptlen'. nmap-7.98/tcpip.cc:873:40: note: Function 'send_udp_raw_decoys' argument 7 names different: declaration 'ip' definition 'ipoptlen'. nmap-7.98/tcpip.cc:1369:23: style: Local variable 'iplen' shadows outer variable [shadowVariable] nmap-7.98/tcpip.cc:1359:25: note: Shadowed declaration nmap-7.98/tcpip.cc:1369:23: note: Shadow variable nmap-7.98/tcpip.cc:119:44: style: Parameter 'now' can be declared as pointer to const. However it seems that 'traceArp' is a callback function, if 'now' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nmap-7.98/tcpip.cc:1678:65: note: You might need to cast the function pointer here nmap-7.98/tcpip.cc:119:44: note: Parameter 'now' can be declared as pointer to const nmap-7.98/tcpip.cc:167:43: style: Parameter 'now' can be declared as pointer to const. However it seems that 'traceND' is a callback function, if 'now' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nmap-7.98/tcpip.cc:1683:64: note: You might need to cast the function pointer here nmap-7.98/tcpip.cc:167:43: note: Parameter 'now' can be declared as pointer to const nmap-7.98/tcpip.cc:264:41: style: Parameter 'now' can be declared as pointer to const [constParameterPointer] nmap-7.98/tcpip.cc:536:21: style: Variable 'newdst' can be declared as pointer to const [constVariablePointer] nmap-7.98/tcpip.cc:805:23: style: Parameter 'ipopt' can be declared as pointer to const [constParameterPointer] nmap-7.98/tcpip.cc:932:41: style: Parameter 'ipopt' can be declared as pointer to const [constParameterPointer] nmap-7.98/tcpip.cc:933:47: style: Parameter 'chunks' can be declared as pointer to const [constParameterPointer] nmap-7.98/tcpip.cc:949:31: style: Parameter 'chunks' can be declared as pointer to const [constParameterPointer] nmap-7.98/tcpip.cc:972:41: style: Parameter 'ipopt' can be declared as pointer to const [constParameterPointer] nmap-7.98/tcpip.cc:1086:41: style: Parameter 'ipopt' can be declared as pointer to const [constParameterPointer] nmap-7.98/tcpip.cc:1582:65: style: Parameter 'linkhdr' can be declared as pointer to const [constParameterPointer] nmap-7.98/utils.cc:160:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nmap-7.98/utils.cc:238:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINTR [valueFlowBailoutIncompleteVar] nmap-7.98/utils.cc:533:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] nmap-7.98/utils.cc:554:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nmap-7.98/utils.cc:117:47: style: Return value 'tolower((int)(unsigned char)*wild)==tolower((int)(unsigned char)*test)' is always true [knownConditionTrueFalse] nmap-7.98/utils.cc:87:16: note: Assuming that condition '*wild!='\0'' is not redundant nmap-7.98/utils.cc:117:47: note: Return value 'tolower((int)(unsigned char)*wild)==tolower((int)(unsigned char)*test)' is always true nmap-7.98/utils.cc:178:11: style: C-style pointer casting [cstyleCast] nmap-7.98/utils.cc:179:9: style: C-style pointer casting [cstyleCast] nmap-7.98/utils.cc:235:20: style: C-style pointer casting [cstyleCast] nmap-7.98/utils.cc:260:12: style: C-style pointer casting [cstyleCast] nmap-7.98/utils.cc:576:13: style: C-style pointer casting [cstyleCast] nmap-7.98/utils.cc:124:20: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/utils.cc:166:14: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/utils.cc:183:10: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/utils.cc:184:10: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/utils.cc:209:7: style: The scope of the variable 'num' can be reduced. [variableScope] nmap-7.98/utils.cc:344:49: style:inconclusive: Function 'cstring_unescape' argument 2 names different: declaration 'len' definition 'newlen'. [funcArgNamesDifferent] nmap-7.98/utils.h:115:49: note: Function 'cstring_unescape' argument 2 names different: declaration 'len' definition 'newlen'. nmap-7.98/utils.cc:344:49: note: Function 'cstring_unescape' argument 2 names different: declaration 'len' definition 'newlen'. nmap-7.98/utils.cc:154:19: style: Variable 'sptr' can be declared as pointer to const [constVariablePointer] nmap-7.98/utils.cc:155:17: style: Variable 'iptr' can be declared as pointer to const [constVariablePointer] nmap-7.98/utils.cc:547:22: style: Parameter 'fname' can be declared as pointer to const [constParameterPointer] nmap-7.98/utils.cc:436:8: style: Variable 'bp' is assigned a value that is never used. [unreadVariable] nmap-7.98/xml.cc:316:26: style: Condition 'xml_open_pi("xml")<0' is always false [knownConditionTrueFalse] nmap-7.98/xml.cc:316:18: note: Calling function 'xml_open_pi' returns 0 nmap-7.98/xml.cc:316:26: note: Condition 'xml_open_pi("xml")<0' is always false nmap-7.98/xml.cc:324:22: style: Condition 'xml_close_pi()<0' is always false [knownConditionTrueFalse] nmap-7.98/xml.cc:324:19: note: Calling function 'xml_close_pi' returns 0 nmap-7.98/xml.cc:324:22: note: Condition 'xml_close_pi()<0' is always false nmap-7.98/xml.cc:326:21: style: Condition 'xml_newline()<0' is always false [knownConditionTrueFalse] nmap-7.98/xml.cc:326:18: note: Calling function 'xml_newline' returns 0 nmap-7.98/xml.cc:326:21: note: Condition 'xml_newline()<0' is always false nmap-7.98/xml.cc:398:39: style: Condition 'xml_open_start_tag(name,write)<0' is always false [knownConditionTrueFalse] nmap-7.98/xml.cc:398:25: note: Calling function 'xml_open_start_tag' returns 0 nmap-7.98/xml.cc:398:39: note: Condition 'xml_open_start_tag(name,write)<0' is always false nmap-7.98/xml.cc:400:34: style: Condition 'xml_close_start_tag(write)<0' is always false [knownConditionTrueFalse] nmap-7.98/xml.cc:400:26: note: Calling function 'xml_close_start_tag' returns 0 nmap-7.98/xml.cc:400:34: note: Condition 'xml_close_start_tag(write)<0' is always false nmap-7.98/xml.cc:192:16: style: C-style pointer casting [cstyleCast] nmap-7.98/xml.cc:198:12: style: C-style pointer casting [cstyleCast] nmap-7.98/xml.cc:251:16: style: C-style pointer casting [cstyleCast] nmap-7.98/xml.cc:257:12: style: C-style pointer casting [cstyleCast] nmap-7.98/xml.cc:144:17: style: The scope of the variable 'len' can be reduced. [variableScope] nmap-7.98/xml.cc:213:17: style: The scope of the variable 'len' can be reduced. [variableScope] nmap-7.98/traceroute.cc:534:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] nmap-7.98/traceroute.cc:599:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLT_EN10MB [valueFlowBailoutIncompleteVar] nmap-7.98/traceroute.cc:657:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] nmap-7.98/traceroute.cc:680:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TH_SYN [valueFlowBailoutIncompleteVar] nmap-7.98/traceroute.cc:722:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] nmap-7.98/traceroute.cc:749:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCTP_INIT [valueFlowBailoutIncompleteVar] nmap-7.98/traceroute.cc:780:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] nmap-7.98/traceroute.cc:805:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] nmap-7.98/traceroute.cc:815:74: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_ICMP [valueFlowBailoutIncompleteVar] nmap-7.98/traceroute.cc:1083:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_ICMP [valueFlowBailoutIncompleteVar] nmap-7.98/traceroute.cc:1131:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_ICMP [valueFlowBailoutIncompleteVar] nmap-7.98/traceroute.cc:1334:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNSPEC [valueFlowBailoutIncompleteVar] nmap-7.98/traceroute.cc:317:3: performance: Variable 'current_ttl' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] nmap-7.98/traceroute.cc:1062:23: performance:inconclusive: Technically the member function 'TracerouteState::set_host_hop_timedout' can be static (but you may consider moving to unnamed namespace). [functionStatic] nmap-7.98/traceroute.cc:307:8: note: Technically the member function 'TracerouteState::set_host_hop_timedout' can be static (but you may consider moving to unnamed namespace). nmap-7.98/traceroute.cc:1062:23: note: Technically the member function 'TracerouteState::set_host_hop_timedout' can be static (but you may consider moving to unnamed namespace). nmap-7.98/traceroute.cc:228:3: style: Class 'HostState' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] nmap-7.98/traceroute.cc:282:3: style: Class 'TracerouteState' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] nmap-7.98/traceroute.cc:655:18: style: The function 'build_packet' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/traceroute.cc:269:26: note: Virtual function in base class nmap-7.98/traceroute.cc:655:18: note: Function in derived class nmap-7.98/traceroute.cc:672:18: style: The function 'build_packet' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/traceroute.cc:269:26: note: Virtual function in base class nmap-7.98/traceroute.cc:672:18: note: Function in derived class nmap-7.98/traceroute.cc:715:18: style: The function 'build_packet' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/traceroute.cc:269:26: note: Virtual function in base class nmap-7.98/traceroute.cc:715:18: note: Function in derived class nmap-7.98/traceroute.cc:746:18: style: The function 'build_packet' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/traceroute.cc:269:26: note: Virtual function in base class nmap-7.98/traceroute.cc:746:18: note: Function in derived class nmap-7.98/traceroute.cc:778:18: style: The function 'build_packet' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/traceroute.cc:269:26: note: Virtual function in base class nmap-7.98/traceroute.cc:778:18: note: Function in derived class nmap-7.98/traceroute.cc:803:18: style: The function 'build_packet' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] nmap-7.98/traceroute.cc:269:26: note: Virtual function in base class nmap-7.98/traceroute.cc:803:18: note: Function in derived class nmap-7.98/traceroute.cc:1084:31: style: C-style pointer casting [cstyleCast] nmap-7.98/traceroute.cc:1089:70: style: C-style pointer casting [cstyleCast] nmap-7.98/traceroute.cc:1094:33: style: C-style pointer casting [cstyleCast] nmap-7.98/traceroute.cc:1099:33: style: C-style pointer casting [cstyleCast] nmap-7.98/traceroute.cc:1104:35: style: C-style pointer casting [cstyleCast] nmap-7.98/traceroute.cc:1134:35: style: C-style pointer casting [cstyleCast] nmap-7.98/traceroute.cc:1149:33: style: C-style pointer casting [cstyleCast] nmap-7.98/traceroute.cc:1162:39: style: C-style pointer casting [cstyleCast] nmap-7.98/traceroute.cc:1190:33: style: C-style pointer casting [cstyleCast] nmap-7.98/traceroute.cc:1196:33: style: C-style pointer casting [cstyleCast] nmap-7.98/traceroute.cc:1202:35: style: C-style pointer casting [cstyleCast] nmap-7.98/traceroute.cc:658:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/traceroute.cc:690:39: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/traceroute.cc:694:50: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/traceroute.cc:697:41: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/traceroute.cc:701:50: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/traceroute.cc:723:39: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/traceroute.cc:727:9: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/traceroute.cc:729:41: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/traceroute.cc:733:9: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/traceroute.cc:753:39: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/traceroute.cc:757:9: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/traceroute.cc:760:41: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/traceroute.cc:764:9: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/traceroute.cc:781:39: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/traceroute.cc:786:41: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/traceroute.cc:806:12: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/traceroute.cc:1089:42: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/traceroute.cc:1180:14: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/traceroute.cc:1180:42: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/traceroute.cc:1219:8: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/traceroute.cc:1149:26: style: Local variable 'icmp' shadows outer variable [shadowVariable] nmap-7.98/traceroute.cc:1134:28: note: Shadowed declaration nmap-7.98/traceroute.cc:1149:26: note: Shadow variable nmap-7.98/traceroute.cc:1435:52: performance: Function parameter 'targets' should be passed by const reference. [passedByValue] nmap-7.98/traceroute.cc:1349:18: style: Variable 'hostname' can be declared as reference to const [constVariableReference] nmap-7.98/traceroute.cc:594:19: style: Variable 'ethp' can be declared as pointer to const [constVariablePointer] nmap-7.98/traceroute.cc:1369:8: style: Variable 'p' can be declared as pointer to const [constVariablePointer] nmap-7.98/traceroute.cc:503:7: style: Consider using std::count_if algorithm instead of a raw loop. [useStlAlgorithm] nmap-7.98/traceroute.cc:1414:0: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] nmap-7.98/traceroute.cc:1428:9: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] nmap-7.98/traceroute.cc:1389:49: warning: Uninitialized variable: hop.rtt [uninitvar] nmap-7.98/traceroute.cc:1380:29: note: Assuming condition is true nmap-7.98/traceroute.cc:1389:49: note: Uninitialized variable: hop.rtt nmap-7.98/traceroute.cc:1389:49: error: Uninitialized struct member: hop.rtt [uninitStructMember] nmap-7.98/traceroute.cc:1027:9: style: Variable 'hop' is assigned a value that is never used. [unreadVariable] nmap-7.98/traceroute.cc:413:5: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/traceroute.cc:428:5: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/traceroute.cc:853:51: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/traceroute.cc:871:47: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/traceroute.cc:877:3: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/traceroute.cc:933:67: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/traceroute.cc:937:79: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/traceroute.cc:1280:75: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/traceroute.cc:1304:5: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/traceroute.cc:1332:61: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/traceroute.cc:1342:54: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/traceroute.cc:1354:61: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/traceroute.cc:1371:47: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/traceroute.cc:1407:75: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/traceroute.cc:1413:10: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/traceroute.cc:1427:47: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/traceroute.cc:1438:51: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/traceroute.cc:1503:8: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/traceroute.cc:1525:8: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/scan_engine_raw.cc:168:41: warning: Assert statement calls a function which may have desired side effects: 'ntohs'. [assertWithSideEffect] nmap-7.98/scan_engine_raw.cc:175:25: warning: Assert statement calls a function which may have desired side effects: 'ntohs'. [assertWithSideEffect] nmap-7.98/scan_engine_raw.cc:634:13: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] nmap-7.98/scan_engine_raw.cc:2157:15: style: The statement 'if (!goodone) goodone=true' is logically equivalent to 'goodone=true'. [duplicateConditionalAssign] nmap-7.98/scan_engine_raw.cc:2158:21: note: Assignment 'goodone=true' nmap-7.98/scan_engine_raw.cc:2157:15: note: Condition '!goodone' is redundant nmap-7.98/scan_engine_raw.cc:184:11: style: C-style pointer casting [cstyleCast] nmap-7.98/scan_engine_raw.cc:189:11: style: C-style pointer casting [cstyleCast] nmap-7.98/scan_engine_raw.cc:193:12: style: C-style pointer casting [cstyleCast] nmap-7.98/scan_engine_raw.cc:198:12: style: C-style pointer casting [cstyleCast] nmap-7.98/scan_engine_raw.cc:448:14: style: C-style pointer casting [cstyleCast] nmap-7.98/scan_engine_raw.cc:513:35: style: C-style pointer casting [cstyleCast] nmap-7.98/scan_engine_raw.cc:560:43: style: C-style pointer casting [cstyleCast] nmap-7.98/scan_engine_raw.cc:563:41: style: C-style pointer casting [cstyleCast] nmap-7.98/scan_engine_raw.cc:569:41: style: C-style pointer casting [cstyleCast] nmap-7.98/scan_engine_raw.cc:574:43: style: C-style pointer casting [cstyleCast] nmap-7.98/scan_engine_raw.cc:653:35: style: C-style pointer casting [cstyleCast] nmap-7.98/scan_engine_raw.cc:703:35: style: C-style pointer casting [cstyleCast] nmap-7.98/scan_engine_raw.cc:739:37: style: C-style pointer casting [cstyleCast] nmap-7.98/scan_engine_raw.cc:1278:15: style: C-style pointer casting [cstyleCast] nmap-7.98/scan_engine_raw.cc:1287:15: style: C-style pointer casting [cstyleCast] nmap-7.98/scan_engine_raw.cc:1288:16: style: C-style pointer casting [cstyleCast] nmap-7.98/scan_engine_raw.cc:1671:35: style: C-style pointer casting [cstyleCast] nmap-7.98/scan_engine_raw.cc:1721:37: style: C-style pointer casting [cstyleCast] nmap-7.98/scan_engine_raw.cc:1789:14: style: C-style pointer casting [cstyleCast] nmap-7.98/scan_engine_raw.cc:1797:33: style: C-style pointer casting [cstyleCast] nmap-7.98/scan_engine_raw.cc:1841:39: style: C-style pointer casting [cstyleCast] nmap-7.98/scan_engine_raw.cc:1847:41: style: C-style pointer casting [cstyleCast] nmap-7.98/scan_engine_raw.cc:1854:39: style: C-style pointer casting [cstyleCast] nmap-7.98/scan_engine_raw.cc:1913:16: style: C-style pointer casting [cstyleCast] nmap-7.98/scan_engine_raw.cc:1921:37: style: C-style pointer casting [cstyleCast] nmap-7.98/scan_engine_raw.cc:1965:39: style: C-style pointer casting [cstyleCast] nmap-7.98/scan_engine_raw.cc:1971:41: style: C-style pointer casting [cstyleCast] nmap-7.98/scan_engine_raw.cc:1978:39: style: C-style pointer casting [cstyleCast] nmap-7.98/scan_engine_raw.cc:2058:35: style: C-style pointer casting [cstyleCast] nmap-7.98/scan_engine_raw.cc:2092:42: style: C-style pointer casting [cstyleCast] nmap-7.98/scan_engine_raw.cc:2095:29: style: C-style pointer casting [cstyleCast] nmap-7.98/scan_engine_raw.cc:2144:39: style: C-style pointer casting [cstyleCast] nmap-7.98/scan_engine_raw.cc:156:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/scan_engine_raw.cc:172:33: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/scan_engine_raw.cc:415:14: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/scan_engine_raw.cc:741:9: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/scan_engine_raw.cc:741:40: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/scan_engine_raw.cc:947:44: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/scan_engine_raw.cc:993:37: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/scan_engine_raw.cc:1004:32: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/scan_engine_raw.cc:1045:14: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/scan_engine_raw.cc:1046:14: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/scan_engine_raw.cc:1080:68: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/scan_engine_raw.cc:1094:15: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/scan_engine_raw.cc:1095:15: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/scan_engine_raw.cc:1122:73: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/scan_engine_raw.cc:1193:16: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/scan_engine_raw.cc:1199:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/scan_engine_raw.cc:1217:39: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/scan_engine_raw.cc:1244:36: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/scan_engine_raw.cc:1248:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/scan_engine_raw.cc:1260:41: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/scan_engine_raw.cc:1262:37: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/scan_engine_raw.cc:1288:9: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/scan_engine_raw.cc:1298:35: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/scan_engine_raw.cc:1315:40: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/scan_engine_raw.cc:1335:13: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/scan_engine_raw.cc:1339:26: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/scan_engine_raw.cc:1355:14: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/scan_engine_raw.cc:1359:28: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/scan_engine_raw.cc:1374:33: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/scan_engine_raw.cc:1390:35: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/scan_engine_raw.cc:1462:27: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/scan_engine_raw.cc:1541:27: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/scan_engine_raw.cc:1616:14: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/scan_engine_raw.cc:1722:48: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/scan_engine_raw.cc:1722:79: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/scan_engine_raw.cc:1893:26: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/scan_engine_raw.cc:2024:26: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/scan_engine_raw.cc:2043:26: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/scan_engine_raw.cc:2049:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/scan_engine_raw.cc:2131:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nmap-7.98/scan_engine_raw.cc:2052:24: style: Variable 'current_reason' is reassigned a value before the old one has been used. [redundantAssignment] nmap-7.98/scan_engine_raw.cc:1989:28: note: current_reason is assigned nmap-7.98/scan_engine_raw.cc:2052:24: note: current_reason is overwritten nmap-7.98/scan_engine_raw.cc:2052:24: style: Variable 'current_reason' is reassigned a value before the old one has been used. [redundantAssignment] nmap-7.98/scan_engine_raw.cc:1993:28: note: current_reason is assigned nmap-7.98/scan_engine_raw.cc:2052:24: note: current_reason is overwritten nmap-7.98/scan_engine_raw.cc:2052:24: style: Variable 'current_reason' is reassigned a value before the old one has been used. [redundantAssignment] nmap-7.98/scan_engine_raw.cc:1997:28: note: current_reason is assigned nmap-7.98/scan_engine_raw.cc:2052:24: note: current_reason is overwritten nmap-7.98/scan_engine_raw.cc:2052:24: style: Variable 'current_reason' is reassigned a value before the old one has been used. [redundantAssignment] nmap-7.98/scan_engine_raw.cc:2001:28: note: current_reason is assigned nmap-7.98/scan_engine_raw.cc:2052:24: note: current_reason is overwritten nmap-7.98/scan_engine_raw.cc:2052:24: style: Variable 'current_reason' is reassigned a value before the old one has been used. [redundantAssignment] nmap-7.98/scan_engine_raw.cc:2005:28: note: current_reason is assigned nmap-7.98/scan_engine_raw.cc:2052:24: note: current_reason is overwritten nmap-7.98/scan_engine_raw.cc:2052:24: style: Variable 'current_reason' is reassigned a value before the old one has been used. [redundantAssignment] nmap-7.98/scan_engine_raw.cc:2009:28: note: current_reason is assigned nmap-7.98/scan_engine_raw.cc:2052:24: note: current_reason is overwritten nmap-7.98/scan_engine_raw.cc:2052:24: style: Variable 'current_reason' is reassigned a value before the old one has been used. [redundantAssignment] nmap-7.98/scan_engine_raw.cc:2013:28: note: current_reason is assigned nmap-7.98/scan_engine_raw.cc:2052:24: note: current_reason is overwritten nmap-7.98/scan_engine_raw.cc:332:8: style: The scope of the variable 'goodseq' can be reduced. [variableScope] nmap-7.98/scan_engine_raw.cc:398:8: style: The scope of the variable 'to_usec' can be reduced. [variableScope] nmap-7.98/scan_engine_raw.cc:839:16: style: The scope of the variable 'len' can be reduced. [variableScope] nmap-7.98/scan_engine_raw.cc:840:16: style: The scope of the variable 'targetno' can be reduced. [variableScope] nmap-7.98/scan_engine_raw.cc:1159:7: style: The scope of the variable 'chunklen' can be reduced. [variableScope] nmap-7.98/scan_engine_raw.cc:1419:8: style: The scope of the variable 'to_usec' can be reduced. [variableScope] nmap-7.98/scan_engine_raw.cc:1420:7: style: The scope of the variable 'rc' can be reduced. [variableScope] nmap-7.98/scan_engine_raw.cc:1497:8: style: The scope of the variable 'to_usec' can be reduced. [variableScope] nmap-7.98/scan_engine_raw.cc:1498:7: style: The scope of the variable 'rc' can be reduced. [variableScope] nmap-7.98/scan_engine_raw.cc:1590:8: style: The scope of the variable 'to_usec' can be reduced. [variableScope] nmap-7.98/scan_engine_raw.cc:155:48: style:inconclusive: Function 'setIP' argument 2 names different: declaration 'iplen' definition 'len'. [funcArgNamesDifferent] nmap-7.98/scan_engine.h:163:38: note: Function 'setIP' argument 2 names different: declaration 'iplen' definition 'len'. nmap-7.98/scan_engine_raw.cc:155:48: note: Function 'setIP' argument 2 names different: declaration 'iplen' definition 'len'. nmap-7.98/scan_engine_raw.cc:835:63: style: Parameter 'Targets' can be declared as reference to const [constParameterReference] nmap-7.98/scan_engine_raw.cc:229:40: style: Parameter 'USI' can be declared as pointer to const [constParameterPointer] nmap-7.98/scan_engine_raw.cc:401:15: style: Variable 'probe' can be declared as pointer to const [constVariablePointer] nmap-7.98/scan_engine_raw.cc:965:19: style: Variable 'ethptr' can be declared as pointer to const [constVariablePointer] nmap-7.98/scan_engine_raw.cc:1154:19: style: Variable 'ethptr' can be declared as pointer to const [constVariablePointer] nmap-7.98/scan_engine_raw.cc:1593:15: style: Variable 'probe' can be declared as pointer to const [constVariablePointer] nmap-7.98/scan_engine_raw.cc:420:18: style: Variable 'timedout' is assigned a value that is never used. [unreadVariable] nmap-7.98/scan_engine_raw.cc:839:20: style: Variable 'len' is assigned a value that is never used. [unreadVariable] nmap-7.98/scan_engine_raw.cc:1442:18: style: Variable 'timedout' is assigned a value that is never used. [unreadVariable] nmap-7.98/scan_engine_raw.cc:1521:18: style: Variable 'timedout' is assigned a value that is never used. [unreadVariable] nmap-7.98/scan_engine_raw.cc:1619:16: style: Variable 'timedout' is assigned a value that is never used. [unreadVariable] nmap-7.98/scan_engine_raw.cc:485:11: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/scan_engine_raw.cc:551:11: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/scan_engine_raw.cc:676:9: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/scan_engine_raw.cc:717:9: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/scan_engine_raw.cc:754:9: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/scan_engine_raw.cc:795:9: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/scan_engine_raw.cc:1479:9: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/scan_engine_raw.cc:1560:9: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/scan_engine_raw.cc:1650:13: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/scan_engine_raw.cc:1686:9: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/scan_engine_raw.cc:1739:9: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/scan_engine_raw.cc:1835:9: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/scan_engine_raw.cc:1959:9: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/scan_engine_raw.cc:2072:9: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] nmap-7.98/scan_engine_raw.cc:2137:9: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] diff: head nmap-7.98/FPEngine.cc:2732:8: warning: Struct 'FPResponse' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] head nmap-7.98/FPEngine.cc:2732:8: warning: Struct 'FPResponse' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] head nmap-7.98/FingerPrintResults.cc:104:8: warning: Class 'FingerPrintResultsIPv4' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] head nmap-7.98/FingerPrintResults.cc:104:8: warning: Class 'FingerPrintResultsIPv4' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] head nmap-7.98/NmapOps.cc:88:12: warning: Class 'NmapOps' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] head nmap-7.98/NmapOps.cc:88:12: warning: Class 'NmapOps' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] head nmap-7.98/NmapOutputTable.cc:99:8: warning: Class 'NmapOutputTable' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] head nmap-7.98/NmapOutputTable.cc:99:8: warning: Class 'NmapOutputTable' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] head nmap-7.98/lpeg.c:3487:33: style: Parameter 'op' can be declared as pointer to const [constParameterPointer] head nmap-7.98/nbase/nbase_addrset.c:920:26: style: Variable 'elem' can be declared as pointer to const [constVariablePointer] head nmap-7.98/nmap_dns.cc:258:14: warning: Struct 'request' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] head nmap-7.98/nmap_dns.cc:258:14: warning: Struct 'request' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] 2.18.0 nmap-7.98/nmap_dns.cc:302:5: warning: Class 'HostCache' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] head nmap-7.98/nmap_dns.cc:302:5: warning: Class 'HostCache' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] 2.18.0 nmap-7.98/nmap_dns.cc:302:5: warning: Class 'HostCache' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] head nmap-7.98/nmap_dns.cc:302:5: warning: Class 'HostCache' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] head nmap-7.98/nping/NpingOps.cc:323:10: warning: Class 'NpingOps' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] head nmap-7.98/nping/NpingOps.cc:323:10: warning: Class 'NpingOps' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] head nmap-7.98/nping/ProbeMode.cc:599:69: warning: Either the condition 'target==NULL' is redundant or there is possible null pointer dereference: target. [nullPointerRedundantCheck] nmap-7.98/nping/ProbeMode.cc:594:44: note: Assuming that condition 'target==NULL' is not redundant nmap-7.98/nping/ProbeMode.cc:599:69: note: Null pointer dereference head nmap-7.98/nping/ProbeMode.cc:600:3: warning: Either the condition 'i==NULL' is redundant or there is possible null pointer dereference: i. [nullPointerRedundantCheck] nmap-7.98/nping/ProbeMode.cc:594:8: note: Assuming that condition 'i==NULL' is not redundant nmap-7.98/nping/ProbeMode.cc:600:3: note: Null pointer dereference head nmap-7.98/nping/ProbeMode.cc:601:3: warning: Either the condition 'i==NULL' is redundant or there is possible null pointer dereference: i. [nullPointerRedundantCheck] nmap-7.98/nping/ProbeMode.cc:594:8: note: Assuming that condition 'i==NULL' is not redundant nmap-7.98/nping/ProbeMode.cc:601:3: note: Null pointer dereference head nmap-7.98/nping/ProbeMode.cc:602:3: warning: Either the condition 'i==NULL' is redundant or there is possible null pointer dereference: i. [nullPointerRedundantCheck] nmap-7.98/nping/ProbeMode.cc:594:8: note: Assuming that condition 'i==NULL' is not redundant nmap-7.98/nping/ProbeMode.cc:602:3: note: Null pointer dereference head nmap-7.98/nping/stats.cc:106:44: style: Parameter 'now' can be declared as pointer to const [constParameterPointer] head nmap-7.98/nsock/src/gh_list.h:214:15: style: Variable 'cur' can be declared as pointer to const [constVariablePointer] head nmap-7.98/osscan.cc:237:12: warning: Struct 'FingerPrintDB' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] head nmap-7.98/osscan.cc:237:12: warning: Struct 'FingerPrintDB' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] 2.18.0 nmap-7.98/osscan.h:202:7: warning: Struct 'FingerTest' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] head nmap-7.98/osscan.h:202:7: warning: Struct 'FingerTest' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] head nmap-7.98/osscan2.cc:1039:27: warning: Class 'HostOsScanStats' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] head nmap-7.98/osscan2.cc:1039:27: warning: Class 'HostOsScanStats' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] 2.18.0 nmap-7.98/osscan2.cc:1362:3: warning: Class 'HostOsScan' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] head nmap-7.98/osscan2.cc:1362:3: warning: Class 'HostOsScan' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] 2.18.0 nmap-7.98/osscan2.cc:1362:3: warning: Class 'HostOsScan' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] head nmap-7.98/osscan2.cc:1362:3: warning: Class 'HostOsScan' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] 2.18.0 nmap-7.98/osscan2.cc:3230:11: warning: Class 'HostOsScanInfo' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] head nmap-7.98/osscan2.cc:3230:11: warning: Class 'HostOsScanInfo' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] 2.18.0 nmap-7.98/osscan2.cc:3230:11: warning: Class 'HostOsScanInfo' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] head nmap-7.98/osscan2.cc:3230:11: warning: Class 'HostOsScanInfo' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] head nmap-7.98/portlist.cc:427:10: warning: Class 'PortList' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] head nmap-7.98/portlist.cc:427:10: warning: Class 'PortList' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] 2.18.0 nmap-7.98/scan_engine.cc:272:5: warning: Class 'GroupScanStats' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] head nmap-7.98/scan_engine.cc:272:5: warning: Class 'GroupScanStats' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] 2.18.0 nmap-7.98/scan_engine.cc:272:5: warning: Class 'GroupScanStats' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] head nmap-7.98/scan_engine.cc:272:5: warning: Class 'GroupScanStats' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] head nmap-7.98/scan_engine.cc:735:10: warning: Class 'UltraScanInfo' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] head nmap-7.98/scan_engine.cc:735:10: warning: Class 'UltraScanInfo' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] head nmap-7.98/service_scan.cc:1115:25: warning: Class 'ServiceProbe' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] head nmap-7.98/service_scan.cc:1115:25: warning: Class 'ServiceProbe' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] head nmap-7.98/service_scan.cc:1492:12: warning: Class 'AllProbes' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] head nmap-7.98/service_scan.cc:1492:12: warning: Class 'AllProbes' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] head nmap-7.98/service_scan.cc:1640:25: warning: Class 'ServiceNFO' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] head nmap-7.98/service_scan.cc:1640:25: warning: Class 'ServiceNFO' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] 2.18.0 nmap-7.98/service_scan.cc:1951:3: warning: Class 'ServiceGroup' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] head nmap-7.98/service_scan.cc:1951:3: warning: Class 'ServiceGroup' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] 2.18.0 nmap-7.98/service_scan.cc:1951:3: warning: Class 'ServiceGroup' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] head nmap-7.98/service_scan.cc:1951:3: warning: Class 'ServiceGroup' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] head nmap-7.98/service_scan.cc:268:22: warning: Class 'ServiceProbeMatch' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] head nmap-7.98/service_scan.cc:268:22: warning: Class 'ServiceProbeMatch' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] head nmap-7.98/targets.cc:289:8: warning: Class 'HostGroupState' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] head nmap-7.98/targets.cc:289:8: warning: Class 'HostGroupState' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] 2.18.0 nmap-7.98/timing.cc:498:3: warning: Class 'ScanProgressMeter' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] head nmap-7.98/timing.cc:498:3: warning: Class 'ScanProgressMeter' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] 2.18.0 nmap-7.98/timing.cc:498:3: warning: Class 'ScanProgressMeter' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] head nmap-7.98/timing.cc:498:3: warning: Class 'ScanProgressMeter' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] head nmap-7.98/traceroute.cc:1369:8: style: Variable 'p' can be declared as pointer to const [constVariablePointer] DONE