2024-04-24 08:37 ftp://ftp.de.debian.org/debian/pool/main/d/dnsdist/dnsdist_1.9.3.orig.tar.bz2 cppcheck-options: --library=posix --library=gnu --library=boost --library=openssl --library=bsd --check-library --inconclusive --enable=style,information --inline-suppr --disable=missingInclude --suppress=unmatchedSuppression --template=daca2 --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning -D__GNUC__ --platform=unix64 -j2 platform: Linux-6.6.15-amd64-x86_64-with-glibc2.37 python: 3.11.8 client-version: 1.3.53 compiler: g++ (Debian 13.2.0-13) 13.2.0 cppcheck: head 2.14.0 head-info: 7dab204 (2024-04-23 22:20:29 +0200) count: 1463 1463 elapsed-time: 157.8 157.7 head-timing-info: old-timing-info: head results: dnsdist-1.9.3/misc.hh:734:18: debug: Failed to instantiate template "checked_conv". The checking continues anyway. [templateInstantiation] dnsdist-1.9.3/misc.hh:114:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/misc.hh:150:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/misc.hh:229:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_set [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/misc.hh:233:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_set [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/misc.hh:241:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tv_sec [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/misc.hh:254:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tv_sec [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/misc.hh:452:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/misc.hh:670:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_integer [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/misc.hh:723:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_integer [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsname.hh:470:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsname.hh:538:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/iputils.hh:94:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/iputils.hh:115:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/iputils.hh:131:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/iputils.hh:150:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/iputils.hh:170:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/iputils.hh:183:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/iputils.hh:193:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/iputils.hh:201:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/iputils.hh:213:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_in6 [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/iputils.hh:217:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_in [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/iputils.hh:221:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_in6 [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/iputils.hh:229:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/iputils.hh:244:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/iputils.hh:248:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/iputils.hh:253:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/iputils.hh:274:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/iputils.hh:287:137: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NI_NUMERICHOST [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/iputils.hh:297:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/iputils.hh:318:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hex [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/iputils.hh:333:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/iputils.hh:343:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/iputils.hh:464:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/iputils.hh:478:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/iputils.hh:566:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/iputils.hh:585:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/iputils.hh:647:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/iputils.hh:652:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/lock.hh:282:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/lock.hh:287:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/lock.hh:292:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/lock.hh:428:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/lock.hh:433:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/lock.hh:438:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/lock.hh:443:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dolog.hh:173:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_PID [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dolog.hh:219:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/iputils.hh:1202:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable second [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsname.hh:308:3: warning: Member variable 'SuffixMatchTree < bool >::d_value' is not initialized in the constructor. [uninitMemberVar] dnsdist-1.9.3/misc.hh:219:17: performance:inconclusive: Technically the member function 'DTime::time' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-1.9.3/misc.hh:239:22: note: Technically the member function 'DTime::time' can be static (but you may consider moving to unnamed namespace). dnsdist-1.9.3/misc.hh:219:17: note: Technically the member function 'DTime::time' can be static (but you may consider moving to unnamed namespace). dnsdist-1.9.3/misc.hh:220:15: performance:inconclusive: Technically the member function 'DTime::set' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-1.9.3/misc.hh:244:20: note: Technically the member function 'DTime::set' can be static (but you may consider moving to unnamed namespace). dnsdist-1.9.3/misc.hh:220:15: note: Technically the member function 'DTime::set' can be static (but you may consider moving to unnamed namespace). dnsdist-1.9.3/misc.hh:221:14: performance:inconclusive: Technically the member function 'DTime::udiff' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-1.9.3/misc.hh:249:19: note: Technically the member function 'DTime::udiff' can be static (but you may consider moving to unnamed namespace). dnsdist-1.9.3/misc.hh:221:14: note: Technically the member function 'DTime::udiff' can be static (but you may consider moving to unnamed namespace). dnsdist-1.9.3/misc.hh:227:8: performance:inconclusive: Technically the member function 'DTime::setTimeval' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-1.9.3/misc.hh:231:18: performance:inconclusive: Technically the member function 'DTime::getTimeval' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-1.9.3/dnsname.hh:381:8: style:inconclusive: Technically the member function 'SuffixMatchTree < bool >::add' can be const. [functionConst] dnsdist-1.9.3/qtype.hh:46:3: style: Class 'QType' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/qtype.hh:180:13: style: Struct 'QClass' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/dnsname.hh:205:5: style: Class 'RawLabelsVisitor' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/dns.hh:206:3: style: Class 'dnsheader_aligned' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/misc.hh:497:3: style: Class 'Regex' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/misc.hh:520:3: style: Class 'SimpleMatch' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/misc.hh:789:3: style: Struct 'FDWrapper' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/dnsname.hh:308:3: style: Struct 'SuffixMatchTree < bool >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/misc.hh:541:17: style: Condition 'mi==mend' is always false [knownConditionTrueFalse] dnsdist-1.9.3/misc.hh:542:17: style: Condition 'mi!=mend' is always true [knownConditionTrueFalse] dnsdist-1.9.3/dnsname.hh:351:20: style: Return value 'ret<0' is always false [knownConditionTrueFalse] dnsdist-1.9.3/dnsname.hh:347:15: note: Assuming that condition 'ret!=0' is not redundant dnsdist-1.9.3/dnsname.hh:351:20: note: Return value 'ret<0' is always false dnsdist-1.9.3/dnsname.hh:365:18: style: Return value 'ret<0' is always false [knownConditionTrueFalse] dnsdist-1.9.3/dnsname.hh:361:13: note: Assuming that condition 'ret!=0' is not redundant dnsdist-1.9.3/dnsname.hh:365:18: note: Return value 'ret<0' is always false dnsdist-1.9.3/dnsname.hh:150:22: style: C-style pointer casting [cstyleCast] dnsdist-1.9.3/dnsname.hh:243:33: style: C-style pointer casting [cstyleCast] dnsdist-1.9.3/dnsname.hh:244:28: style: C-style pointer casting [cstyleCast] dnsdist-1.9.3/dnsname.hh:245:33: style: C-style pointer casting [cstyleCast] dnsdist-1.9.3/dnsname.hh:246:28: style: C-style pointer casting [cstyleCast] dnsdist-1.9.3/misc.hh:362:32: style: C-style pointer casting [cstyleCast] dnsdist-1.9.3/misc.hh:266:8: style: The scope of the variable 'c' can be reduced. [variableScope] dnsdist-1.9.3/misc.hh:289:19: style: The scope of the variable 'c' can be reduced. [variableScope] dnsdist-1.9.3/capabilities.cc:36:62: performance: Function parameter 'capabilitiesToKeep' should be passed by const reference. [passedByValue] dnsdist-1.9.3/dnsname.hh:134:8: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-1.9.3/dnsname.hh:487:13: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-1.9.3/cdb.cc:35:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/iputils.hh:1518:3: style:inconclusive: Technically the member function 'SComboAddress::operatorconstComboAddress&' can be const. [functionConst] dnsdist-1.9.3/bpf-filter.hh:87:8: performance:inconclusive: Technically the member function 'BPFFilter::addSocket' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-1.9.3/bpf-filter.cc:905:17: note: Technically the member function 'BPFFilter::addSocket' can be static (but you may consider moving to unnamed namespace). dnsdist-1.9.3/bpf-filter.hh:87:8: note: Technically the member function 'BPFFilter::addSocket' can be static (but you may consider moving to unnamed namespace). dnsdist-1.9.3/bpf-filter.hh:88:8: performance:inconclusive: Technically the member function 'BPFFilter::removeSocket' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-1.9.3/bpf-filter.cc:910:17: note: Technically the member function 'BPFFilter::removeSocket' can be static (but you may consider moving to unnamed namespace). dnsdist-1.9.3/bpf-filter.hh:88:8: note: Technically the member function 'BPFFilter::removeSocket' can be static (but you may consider moving to unnamed namespace). dnsdist-1.9.3/bpf-filter.hh:89:8: performance:inconclusive: Technically the member function 'BPFFilter::block' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-1.9.3/bpf-filter.cc:915:17: note: Technically the member function 'BPFFilter::block' can be static (but you may consider moving to unnamed namespace). dnsdist-1.9.3/bpf-filter.hh:89:8: note: Technically the member function 'BPFFilter::block' can be static (but you may consider moving to unnamed namespace). dnsdist-1.9.3/bpf-filter.hh:90:8: performance:inconclusive: Technically the member function 'BPFFilter::addRangeRule' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-1.9.3/bpf-filter.cc:935:17: note: Technically the member function 'BPFFilter::addRangeRule' can be static (but you may consider moving to unnamed namespace). dnsdist-1.9.3/bpf-filter.hh:90:8: note: Technically the member function 'BPFFilter::addRangeRule' can be static (but you may consider moving to unnamed namespace). dnsdist-1.9.3/bpf-filter.hh:91:8: performance:inconclusive: Technically the member function 'BPFFilter::block' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-1.9.3/bpf-filter.cc:925:17: note: Technically the member function 'BPFFilter::block' can be static (but you may consider moving to unnamed namespace). dnsdist-1.9.3/bpf-filter.hh:91:8: note: Technically the member function 'BPFFilter::block' can be static (but you may consider moving to unnamed namespace). dnsdist-1.9.3/bpf-filter.hh:92:8: performance:inconclusive: Technically the member function 'BPFFilter::unblock' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-1.9.3/bpf-filter.cc:920:17: note: Technically the member function 'BPFFilter::unblock' can be static (but you may consider moving to unnamed namespace). dnsdist-1.9.3/bpf-filter.hh:92:8: note: Technically the member function 'BPFFilter::unblock' can be static (but you may consider moving to unnamed namespace). dnsdist-1.9.3/bpf-filter.hh:93:8: performance:inconclusive: Technically the member function 'BPFFilter::rmRangeRule' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-1.9.3/bpf-filter.cc:939:17: note: Technically the member function 'BPFFilter::rmRangeRule' can be static (but you may consider moving to unnamed namespace). dnsdist-1.9.3/bpf-filter.hh:93:8: note: Technically the member function 'BPFFilter::rmRangeRule' can be static (but you may consider moving to unnamed namespace). dnsdist-1.9.3/bpf-filter.hh:94:8: performance:inconclusive: Technically the member function 'BPFFilter::unblock' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-1.9.3/bpf-filter.cc:930:17: note: Technically the member function 'BPFFilter::unblock' can be static (but you may consider moving to unnamed namespace). dnsdist-1.9.3/bpf-filter.hh:94:8: note: Technically the member function 'BPFFilter::unblock' can be static (but you may consider moving to unnamed namespace). dnsdist-1.9.3/bpf-filter.hh:96:51: performance:inconclusive: Technically the member function 'BPFFilter::getAddrStats' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-1.9.3/bpf-filter.cc:948:60: note: Technically the member function 'BPFFilter::getAddrStats' can be static (but you may consider moving to unnamed namespace). dnsdist-1.9.3/bpf-filter.hh:96:51: note: Technically the member function 'BPFFilter::getAddrStats' can be static (but you may consider moving to unnamed namespace). dnsdist-1.9.3/bpf-filter.hh:97:58: performance:inconclusive: Technically the member function 'BPFFilter::getRangeRule' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-1.9.3/bpf-filter.cc:944:67: note: Technically the member function 'BPFFilter::getRangeRule' can be static (but you may consider moving to unnamed namespace). dnsdist-1.9.3/bpf-filter.hh:97:58: note: Technically the member function 'BPFFilter::getRangeRule' can be static (but you may consider moving to unnamed namespace). dnsdist-1.9.3/bpf-filter.hh:98:57: performance:inconclusive: Technically the member function 'BPFFilter::getQNameStats' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-1.9.3/bpf-filter.cc:954:66: note: Technically the member function 'BPFFilter::getQNameStats' can be static (but you may consider moving to unnamed namespace). dnsdist-1.9.3/bpf-filter.hh:98:57: note: Technically the member function 'BPFFilter::getQNameStats' can be static (but you may consider moving to unnamed namespace). dnsdist-1.9.3/bpf-filter.hh:100:12: performance:inconclusive: Technically the member function 'BPFFilter::getHits' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-1.9.3/bpf-filter.cc:960:21: note: Technically the member function 'BPFFilter::getHits' can be static (but you may consider moving to unnamed namespace). dnsdist-1.9.3/bpf-filter.hh:100:12: note: Technically the member function 'BPFFilter::getHits' can be static (but you may consider moving to unnamed namespace). dnsdist-1.9.3/bpf-filter.hh:102:8: performance:inconclusive: Technically the member function 'BPFFilter::supportsMatchAction' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-1.9.3/bpf-filter.cc:966:17: note: Technically the member function 'BPFFilter::supportsMatchAction' can be static (but you may consider moving to unnamed namespace). dnsdist-1.9.3/bpf-filter.hh:102:8: note: Technically the member function 'BPFFilter::supportsMatchAction' can be static (but you may consider moving to unnamed namespace). dnsdist-1.9.3/bpf-filter.hh:103:8: performance:inconclusive: Technically the member function 'BPFFilter::isExternal' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-1.9.3/bpf-filter.cc:977:17: note: Technically the member function 'BPFFilter::isExternal' can be static (but you may consider moving to unnamed namespace). dnsdist-1.9.3/bpf-filter.hh:103:8: note: Technically the member function 'BPFFilter::isExternal' can be static (but you may consider moving to unnamed namespace). dnsdist-1.9.3/iputils.hh:948:8: performance:inconclusive: Technically the member function 'NetmaskTree < bool , Netmask >::cleanup_tree' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-1.9.3/iputils.hh:1074:12: style:inconclusive: Technically the member function 'NetmaskTree < bool , Netmask >::end' can be const. [functionConst] dnsdist-1.9.3/iputils.hh:1041:10: style:inconclusive: Technically the member function 'NetmaskTree < bool , Netmask >::Iterator::operator==' can be const. [functionConst] dnsdist-1.9.3/iputils.hh:1045:10: style:inconclusive: Technically the member function 'NetmaskTree < bool , Netmask >::Iterator::operator!=' can be const. [functionConst] dnsdist-1.9.3/pdnsexception.hh:32:3: style: Class 'PDNSException' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/pdnsexception.hh:41:3: style: Class 'TimeoutException' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/iputils.hh:458:3: style: Class 'NetmaskException' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/iputils.hh:510:3: style: Class 'Netmask' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/iputils.hh:516:3: style: Class 'Netmask' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/iputils.hh:521:3: style: Class 'Netmask' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/iputils.hh:558:3: style: Class 'Netmask' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/iputils.hh:1512:3: style: Struct 'SComboAddress' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/iputils.hh:1527:3: style: Class 'NetworkError' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/iputils.hh:1529:3: style: Class 'NetworkError' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/lock.hh:102:3: style: Class 'ReadLock' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/lock.hh:106:3: style: Class 'ReadLock' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/lock.hh:118:3: style: Class 'ReadLock' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/lock.hh:128:3: style: Class 'WriteLock' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/lock.hh:132:3: style: Class 'WriteLock' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/lock.hh:144:3: style: Class 'WriteLock' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/lock.hh:154:3: style: Class 'TryReadLock' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/lock.hh:158:3: style: Class 'TryReadLock' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/lock.hh:171:3: style: Class 'TryReadLock' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/lock.hh:181:3: style: Class 'TryWriteLock' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/lock.hh:185:3: style: Class 'TryWriteLock' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/lock.hh:198:3: style: Class 'TryWriteLock' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/iputils.hh:213:24: style: C-style pointer casting [cstyleCast] dnsdist-1.9.3/iputils.hh:217:24: style: C-style pointer casting [cstyleCast] dnsdist-1.9.3/iputils.hh:543:21: style: C-style pointer casting [cstyleCast] dnsdist-1.9.3/iputils.hh:590:26: style: C-style pointer casting [cstyleCast] dnsdist-1.9.3/iputils.hh:591:28: style: C-style pointer casting [cstyleCast] dnsdist-1.9.3/cdb.hh:32:3: style: Class 'CDB' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/cdb.hh:60:3: style: Class 'CDBWriter' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/bpf-filter.cc:901:73: style: Parameter 'configs' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/iputils.hh:1176:16: style: Variable 'value' can be declared as reference to const [constVariableReference] dnsdist-1.9.3/iputils.hh:918:19: style: Variable 'prev_child' can be declared as pointer to const [constVariablePointer] dnsdist-1.9.3/iputils.hh:1492:11: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-1.9.3/cdb.cc:138:37: style: Parameter 'key' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/cdb.cc:111:13: style: Variable 'p' can be declared as pointer to const [constVariablePointer] dnsdist-1.9.3/channel.hh:246:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIPE_BUF [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/channel.hh:315:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/channel.hh:340:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/channel.cc:42:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/channel.cc:73:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/channel.cc:100:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/credentials.cc:420:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCSAFLUSH [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/channel.hh:76:5: style: Class 'Sender' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/channel.hh:109:5: style: Class 'Receiver' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/channel.hh:170:5: style: Class 'Notifier' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/channel.hh:199:5: style: Class 'Waiter' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/dns_random.hh:61:15: style:inconclusive: Technically the member function 'pdns::dns_random_engine::operator()' can be const. [functionConst] dnsdist-1.9.3/credentials.hh:30:3: style: Class 'SensitiveData' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/credentials.hh:31:3: style: Class 'SensitiveData' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/credentials.cc:288:7: style: Condition '!isPasswordHashed(hash)' is always true [knownConditionTrueFalse] dnsdist-1.9.3/credentials.cc:288:24: note: Calling function 'isPasswordHashed' returns 0 dnsdist-1.9.3/credentials.cc:288:7: note: Condition '!isPasswordHashed(hash)' is always true dnsdist-1.9.3/credentials.cc:357:9: style: Condition '!isPasswordHashed(d_credentials.getString())' is always true [knownConditionTrueFalse] dnsdist-1.9.3/credentials.cc:357:26: note: Calling function 'isPasswordHashed' returns 0 dnsdist-1.9.3/credentials.cc:357:9: note: Condition '!isPasswordHashed(d_credentials.getString())' is always true dnsdist-1.9.3/delaypipe.cc:57:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/delaypipe.cc:32:3: performance: Variable 'd_sender' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] dnsdist-1.9.3/delaypipe.hh:69:10: performance:inconclusive: Technically the member function 'DelayPipe::tsdelta' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-1.9.3/delaypipe.hh:82:8: performance:inconclusive: Technically the member function 'DelayPipe::gettime' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-1.9.3/delaypipe.cc:91:20: note: Technically the member function 'DelayPipe::gettime' can be static (but you may consider moving to unnamed namespace). dnsdist-1.9.3/delaypipe.hh:82:8: note: Technically the member function 'DelayPipe::gettime' can be static (but you may consider moving to unnamed namespace). dnsdist-1.9.3/sstuff.hh:97:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/sstuff.hh:200:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/sstuff.hh:275:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/sstuff.hh:301:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/devpollmplexer.cc:80:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/devpollmplexer.cc:90:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLIN [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/devpollmplexer.cc:115:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLREMOVE [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/devpollmplexer.cc:130:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DP_POLL [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/devpollmplexer.cc:151:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DP_POLL [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsparser.hh:332:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/mplexer.hh:229:8: style:inconclusive: Technically the member function 'FDMultiplexer::runForAllWatchedFDs' can be const. [functionConst] dnsdist-1.9.3/mplexer.hh:280:8: performance:inconclusive: Technically the member function 'FDMultiplexer::accountingAddFD' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-1.9.3/mplexer.hh:297:8: performance:inconclusive: Technically the member function 'FDMultiplexer::accountingRemoveFD' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-1.9.3/mplexer.hh:39:3: style: Class 'FDMultiplexerException' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/sstuff.hh:49:3: style: Class 'Socket' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/noinitvector.hh:24:3: style: Struct 'noinit_adaptor < std :: allocator < uint8_t > >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/noinitvector.hh:27:3: style: Struct 'noinit_adaptor < std :: allocator < uint8_t > >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/devpollmplexer.cc:43:4: style: The destructor '~DevPollFDMultiplexer' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] dnsdist-1.9.3/mplexer.hh:76:12: note: Virtual destructor in base class dnsdist-1.9.3/devpollmplexer.cc:43:4: note: Destructor in derived class dnsdist-1.9.3/noinitvector.hh:31:11: style: C-style pointer casting [cstyleCast] dnsdist-1.9.3/noinitvector.hh:36:11: style: C-style pointer casting [cstyleCast] dnsdist-1.9.3/sstuff.hh:245:13: style: The scope of the variable 'res' can be reduced. [variableScope] dnsdist-1.9.3/sstuff.hh:297:13: style: The scope of the variable 'ret' can be reduced. [variableScope] dnsdist-1.9.3/devpollmplexer.cc:141:47: style:inconclusive: Function 'run' argument 1 names different: declaration 'tv' definition 'now'. [funcArgNamesDifferent] dnsdist-1.9.3/devpollmplexer.cc:50:27: note: Function 'run' argument 1 names different: declaration 'tv' definition 'now'. dnsdist-1.9.3/devpollmplexer.cc:141:47: note: Function 'run' argument 1 names different: declaration 'tv' definition 'now'. dnsdist-1.9.3/dnsparser.hh:167:8: performance:inconclusive: Technically the member function 'PacketReader::eof' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-1.9.3/dnsparser.hh:168:16: performance:inconclusive: Technically the member function 'PacketReader::getRemaining' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-1.9.3/dnsparser.hh:230:8: performance:inconclusive: Technically the member function 'DNSRecordContent::doRecordCheck' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-1.9.3/svc-records.hh:48:3: style: Class 'SvcParam' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/dnsparser.hh:60:3: style: Class 'MOADNSException' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/dnsparser.hh:70:3: style: Class 'PacketReader' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/dnsparser.hh:438:3: style: Class 'UnknownRecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/dnsparser.hh:596:36: style: C-style pointer casting [cstyleCast] dnsdist-1.9.3/dnsparser.hh:604:36: style: C-style pointer casting [cstyleCast] dnsdist-1.9.3/dnswriter.hh:110:20: style: C-style pointer casting [cstyleCast] dnsdist-1.9.3/dns.cc:105:55: style:inconclusive: Function 'hashQuestion' argument 2 names different: declaration 'len' definition 'packet_len'. [funcArgNamesDifferent] dnsdist-1.9.3/dns.hh:266:55: note: Function 'hashQuestion' argument 2 names different: declaration 'len' definition 'packet_len'. dnsdist-1.9.3/dns.cc:105:55: note: Function 'hashQuestion' argument 2 names different: declaration 'len' definition 'packet_len'. dnsdist-1.9.3/ext/luawrapper/include/LuaContext.hpp:1954:20: debug: Failed to instantiate template "PusherMaxSize". The checking continues anyway. [templateInstantiation] dnsdist-1.9.3/ext/luawrapper/include/LuaContext.hpp:1934:20: debug: Failed to instantiate template "PusherTotalMaxSize". The checking continues anyway. [templateInstantiation] dnsdist-1.9.3/ext/luawrapper/include/LuaContext.hpp:1928:20: debug: Failed to instantiate template "PusherTotalMinSize". The checking continues anyway. [templateInstantiation] dnsdist-1.9.3/ext/luawrapper/include/LuaContext.hpp:1965:20: debug: Failed to instantiate template "FunctionArgumentsCounter". The checking continues anyway. [templateInstantiation] dnsdist-1.9.3/ext/luawrapper/include/LuaContext.hpp:402:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TPointerToMemberFunction [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/ext/luawrapper/include/LuaContext.hpp:414:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/ext/luawrapper/include/LuaContext.hpp:428:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/ext/luawrapper/include/LuaContext.hpp:440:74: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TPointerToMemberFunction [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/ext/luawrapper/include/LuaContext.hpp:446:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/ext/luawrapper/include/LuaContext.hpp:453:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/ext/luawrapper/include/LuaContext.hpp:465:80: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TPointerToMemberFunction [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/ext/luawrapper/include/LuaContext.hpp:471:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/ext/luawrapper/include/LuaContext.hpp:478:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/ext/luawrapper/include/LuaContext.hpp:491:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/ext/luawrapper/include/LuaContext.hpp:544:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/ext/luawrapper/include/LuaContext.hpp:572:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/ext/luawrapper/include/LuaContext.hpp:600:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/ext/luawrapper/include/LuaContext.hpp:626:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/ext/luawrapper/include/LuaContext.hpp:732:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TData [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/ext/luawrapper/include/LuaContext.hpp:746:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TData [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/ext/luawrapper/include/LuaContext.hpp:757:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TData [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/ext/luawrapper/include/LuaContext.hpp:817:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable minSize [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/ext/luawrapper/include/LuaContext.hpp:844:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable minSize [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/ext/luawrapper/include/LuaContext.hpp:858:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable minSize [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/ext/luawrapper/include/LuaContext.hpp:868:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable minSize [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/ext/luawrapper/include/LuaContext.hpp:878:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable minSize [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/ext/luawrapper/include/LuaContext.hpp:889:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable minSize [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/ext/luawrapper/include/LuaContext.hpp:901:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable minSize [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/ext/luawrapper/include/LuaContext.hpp:950:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable minSize [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/ext/luawrapper/include/LuaContext.hpp:964:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable minSize [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/ext/luawrapper/include/LuaContext.hpp:974:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable minSize [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/ext/luawrapper/include/LuaContext.hpp:984:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable minSize [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/ext/luawrapper/include/LuaContext.hpp:995:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable minSize [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/ext/luawrapper/include/LuaContext.hpp:1022:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable minSize [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/ext/luawrapper/include/LuaContext.hpp:1032:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable minSize [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/ext/luawrapper/include/LuaContext.hpp:1042:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable minSize [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/ext/luawrapper/include/LuaContext.hpp:1096:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/ext/luawrapper/include/LuaContext.hpp:1146:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/ext/luawrapper/include/LuaContext.hpp:1161:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TObject [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/ext/luawrapper/include/LuaContext.hpp:1173:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TObject [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/ext/luawrapper/include/LuaContext.hpp:1179:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TObject [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/ext/luawrapper/include/LuaContext.hpp:1185:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TObject [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/ext/luawrapper/include/LuaContext.hpp:1191:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TObject [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/ext/luawrapper/include/LuaContext.hpp:1198:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/ext/luawrapper/include/LuaContext.hpp:1369:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_ERRMEM [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/ext/luawrapper/include/LuaContext.hpp:1389:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_ERRMEM [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/ext/luawrapper/include/LuaContext.hpp:1412:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/ext/luawrapper/include/LuaContext.hpp:1463:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_ERRMEM [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/ext/luawrapper/include/LuaContext.hpp:1781:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TFirstType [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/ext/luawrapper/include/LuaContext.hpp:1803:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TFirstType [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/ext/luawrapper/include/LuaContext.hpp:1818:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/ext/luawrapper/include/LuaContext.hpp:1826:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/ext/luawrapper/include/LuaContext.hpp:1833:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/ext/luawrapper/include/LuaContext.hpp:1984:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable params [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/ext/luawrapper/include/LuaContext.hpp:2149:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable minSize [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/ext/luawrapper/include/LuaContext.hpp:2168:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable minSize [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/ext/luawrapper/include/LuaContext.hpp:2187:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable minSize [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/ext/luawrapper/include/LuaContext.hpp:2206:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable minSize [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/ext/luawrapper/include/LuaContext.hpp:2297:99: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TFunctionObject [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/ext/luawrapper/include/LuaContext.hpp:2340:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TFunctionObject [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/ext/luawrapper/include/LuaContext.hpp:2611:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable none [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/ext/luawrapper/include/LuaContext.hpp:2637:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable none [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/ext/luawrapper/include/LuaContext.hpp:2665:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable none [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/ext/luawrapper/include/LuaContext.hpp:2680:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable none [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/ext/luawrapper/include/LuaContext.hpp:2708:92: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable none [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/ext/luawrapper/include/LuaContext.hpp:2723:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable none [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/ext/luawrapper/include/LuaContext.hpp:2739:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable none [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/ext/luawrapper/include/LuaContext.hpp:2757:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable none [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/ext/luawrapper/include/LuaContext.hpp:2769:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable none [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/ext/luawrapper/include/LuaContext.hpp:2807:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable none [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/ext/luawrapper/include/LuaContext.hpp:2845:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable none [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/ext/luawrapper/include/LuaContext.hpp:2887:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable none [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/ext/luawrapper/include/LuaContext.hpp:2925:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable none [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/ext/luawrapper/include/LuaContext.hpp:2968:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable none [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/ext/luawrapper/include/LuaContext.hpp:2995:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable none [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist-idstate.hh:55:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_start [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist-idstate.hh:60:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_start [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist-idstate.hh:66:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tv_sec [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist-idstate.hh:72:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tv_sec [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist-idstate.hh:79:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_start [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist-idstate.hh:261:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/tcpiohandler.hh:164:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable memory_order_acquire [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/tcpiohandler.hh:264:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHUT_RDWR [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/tcpiohandler.hh:384:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/tcpiohandler.hh:441:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist-tcp.hh:236:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tcpQueryPipeFull [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist-tcp.hh:251:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tcpCrossProtocolQueryPipeFull [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist-async.cc:43:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable data [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/ext/luawrapper/include/LuaContext.hpp:1533:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/ext/luawrapper/include/LuaContext.hpp:1738:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable none [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist-backend.cc:80:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable try_to_lock [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist-backend.cc:230:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHUT_RDWR [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist-backend.cc:439:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable downstreamTimeouts [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist-backend.cc:538:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable downstreamTimeouts [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist-backend.cc:588:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable downstreamTimeouts [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist-backend.cc:621:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/ext/luawrapper/include/LuaContext.hpp:2889:30: performance: Using std::move for returning object by-value from function will affect copy elision optimization. More: https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#Rf-return-move-local [returnStdMoveLocal] dnsdist-1.9.3/ext/luawrapper/include/LuaContext.hpp:241:9: warning: Member variable 'ThreadID::state' is not initialized in the constructor. [uninitMemberVar] dnsdist-1.9.3/ext/luawrapper/include/LuaContext.hpp:1339:13: warning: Member variable 'Reader::buffer' is not initialized in the constructor. [uninitMemberVar] dnsdist-1.9.3/dnsdist-cache.hh:115:5: warning:inconclusive: Member variable 'CacheShard::d_entriesCount' is not assigned in the copy constructor. Should it be copied? [missingMemberCopy] dnsdist-1.9.3/dnsdist-idstate.hh:194:12: warning:inconclusive: Member variable 'IDState::locked' is not assigned a value in 'IDState::operator='. [operatorEqVarError] dnsdist-1.9.3/ext/luawrapper/include/LuaContext.hpp:652:10: performance:inconclusive: Technically the member function 'LuaContext::destroyThread' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-1.9.3/dnsdist-idstate.hh:53:8: style:inconclusive: Technically the member function 'StopWatch::start' can be const. [functionConst] dnsdist-1.9.3/dnsdist-idstate.hh:58:8: performance:inconclusive: Technically the member function 'StopWatch::set' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-1.9.3/dnsdist-idstate.hh:69:10: style:inconclusive: Technically the member function 'StopWatch::udiffAndSet' can be const. [functionConst] dnsdist-1.9.3/dnsdist-idstate.hh:77:19: performance:inconclusive: Technically the member function 'StopWatch::getStartTime' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-1.9.3/dnsdist-idstate.hh:123:8: performance:inconclusive: Technically the member function 'InternalQueryState::isXSK' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-1.9.3/doq.hh:114:8: performance:inconclusive: Technically the member function 'DOQFrontend::setup' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-1.9.3/doh3.hh:114:8: performance:inconclusive: Technically the member function 'DOH3Frontend::setup' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-1.9.3/snmp-agent.hh:29:8: performance:inconclusive: Technically the member function 'SNMPAgent::run' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-1.9.3/stat_t.hh:48:12: style:inconclusive: Technically the member function 'stat_t_trait < uint64_t >::operator++' can be const. [functionConst] dnsdist-1.9.3/stat_t.hh:54:12: style:inconclusive: Technically the member function 'stat_t_trait < uint64_t >::operator--' can be const. [functionConst] dnsdist-1.9.3/stat_t.hh:48:12: style:inconclusive: Technically the member function 'stat_t_trait < double >::operator++' can be const. [functionConst] dnsdist-1.9.3/stat_t.hh:54:12: style:inconclusive: Technically the member function 'stat_t_trait < double >::operator--' can be const. [functionConst] dnsdist-1.9.3/stat_t.hh:48:12: style:inconclusive: Technically the member function 'stat_t_trait < uint16_t >::operator++' can be const. [functionConst] dnsdist-1.9.3/stat_t.hh:54:12: style:inconclusive: Technically the member function 'stat_t_trait < uint16_t >::operator--' can be const. [functionConst] dnsdist-1.9.3/ext/luawrapper/include/LuaContext.hpp:183:9: style: Class 'ExecutionErrorException' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/ext/luawrapper/include/LuaContext.hpp:195:9: style: Class 'SyntaxErrorException' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/ext/luawrapper/include/LuaContext.hpp:231:9: style: Struct 'LuaObject' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/ext/luawrapper/include/LuaContext.hpp:779:9: style: Struct 'PushedObject' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/ext/luawrapper/include/LuaContext.hpp:1339:13: style: Struct 'Reader' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/ext/luawrapper/include/LuaContext.hpp:1814:9: style: Struct 'ValueInRegistry' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/dnscrypt.hh:38:3: style: Class 'DNSCryptQuery' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/dnsdist-cache.hh:38:3: style: Class 'DNSDistPacketCache' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/dnsdist-dynbpf.hh:35:3: style: Class 'DynBPFFilter' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/dnsdist-protocols.hh:45:3: style: Class 'Protocol' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/dnsdist-idstate.hh:48:3: style: Struct 'StopWatch' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/dnsdist-idstate.hh:238:5: style: Class 'StateGuard' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/tcpiohandler.hh:138:3: style: Class 'TLSFrontend' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/tcpiohandler.hh:142:3: style: Class 'TLSFrontend' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/dnsdist-doh-common.hh:87:3: style: Struct 'DOHFrontend' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/dnsdist.hh:356:3: style: Class 'BasicQPSLimiter' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/dnsdist.hh:767:3: style: Struct 'DownstreamState' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/dnsdist.hh:693:5: style: Struct 'Config' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/dnsdist-tcp.hh:33:3: style: Struct 'ConnectionInfo' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/dnsdist-tcp.hh:137:3: style: Struct 'TCPResponse' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/dnsdist-async.hh:38:3: style: Class 'AsynchronousHolder' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/dnsdist-async.hh:79:5: style: Struct 'Data' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/stat_t.hh:38:5: style: Class 'stat_t_trait < uint64_t >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/stat_t.hh:38:5: style: Class 'stat_t_trait < double >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/stat_t.hh:38:5: style: Class 'stat_t_trait < uint16_t >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/channel.hh:76:5: style: Class 'Sender < ConnectionInfo , std :: default_delete < ConnectionInfo > >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/channel.hh:76:5: style: Class 'Sender < CrossProtocolQuery , std :: default_delete < CrossProtocolQuery > >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/tcpiohandler.hh:208:15: performance: Function 'getRequestedProvider()' should return member 'd_provider' by const reference. [returnByReference] dnsdist-1.9.3/dnsdist-async.cc:196:156: style:inconclusive: Function 'pickupExpired' argument 3 names different: declaration 'expiredEvents' definition 'events'. [funcArgNamesDifferent] dnsdist-1.9.3/dnsdist-async.hh:74:137: note: Function 'pickupExpired' argument 3 names different: declaration 'expiredEvents' definition 'events'. dnsdist-1.9.3/dnsdist-async.cc:196:156: note: Function 'pickupExpired' argument 3 names different: declaration 'expiredEvents' definition 'events'. dnsdist-1.9.3/dnsdist-dynbpf.hh:35:44: style: Parameter 'bpf' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/dnsdist-async.cc:222:11: style: Variable 'ids' can be declared as reference to const [constVariableReference] dnsdist-1.9.3/dnsdist-backoff.hh:27:3: style: Class 'ExponentialBackOffTimer' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/dnsdist-nghttp2.hh:36:3: style: Class 'DoHClientCollection' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/dnsdist-rings.hh:75:3: style: Struct 'Rings' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/ext/luawrapper/include/LuaContext.hpp:105:31: style: Variable 'str' is assigned a value that is never used. [unreadVariable] dnsdist-1.9.3/dnsdist-async.cc:77:18: style: Variable 'content' is assigned a value that is never used. [unreadVariable] dnsdist-1.9.3/dnsdist-rings.hh:116:13: style: Variable 'shard' can be declared as reference to const [constVariableReference] dnsdist-1.9.3/dnsdist-rings.hh:135:11: style: Variable 'shard' can be declared as reference to const [constVariableReference] dnsdist-1.9.3/dnsdist-rings.hh:147:13: style: Variable 'shard' can be declared as reference to const [constVariableReference] dnsdist-1.9.3/dnsdist-rings.hh:162:11: style: Variable 'shard' can be declared as reference to const [constVariableReference] dnsdist-1.9.3/dnsdist-rings.hh:169:16: style: Variable 'shard' can be declared as reference to const [constVariableReference] dnsdist-1.9.3/dnsdist-backend.cc:980:60: style: Parameter 'server' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/dnsdist-backend.cc:368:8: style: Consider using std::fill algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-1.9.3/dnsdist-backend.cc:685:13: style: Consider using std::count_if algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-1.9.3/dnsdist-backend.cc:928:7: style: Consider using std::count_if algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-1.9.3/dnsdist-backend.cc:225:16: style: Variable 'slock' is assigned a value that is never used. [unreadVariable] dnsdist-1.9.3/dnsdist-cache.cc:86:0: debug: Function::addArguments found argument 'map' with varid 0. [varid0] dnsdist-1.9.3/dnsdist-cache.cc:133:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable none [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist-cache.cc:305:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable staleTTL [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist-cache.cc:500:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRId64 [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist-cache.cc:541:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist-cache.cc:602:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist-carbon.cc:49:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_STREAM [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist-cache.cc:442:22: style: C-style pointer casting [cstyleCast] dnsdist-1.9.3/dnsdist-cache.cc:455:20: style: C-style pointer casting [cstyleCast] dnsdist-1.9.3/dnsdist-cache.cc:421:14: style: Variable 'shard' can be declared as reference to const [constVariableReference] dnsdist-1.9.3/dnsdist-cache.cc:422:11: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-1.9.3/dnsdist-carbon.cc:295:11: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] dnsdist-1.9.3/dnsdist-carbon.cc:251:19: style: The scope of the variable 'qname' can be reduced. [variableScope] dnsdist-1.9.3/dnsdist-crypto.hh:44:8: performance:inconclusive: Technically the member function 'dnsdist::crypto::authenticated::Nonce::init' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-1.9.3/dnsdist-crypto.cc:295:13: note: Technically the member function 'dnsdist::crypto::authenticated::Nonce::init' can be static (but you may consider moving to unnamed namespace). dnsdist-1.9.3/dnsdist-crypto.hh:44:8: note: Technically the member function 'dnsdist::crypto::authenticated::Nonce::init' can be static (but you may consider moving to unnamed namespace). dnsdist-1.9.3/dnsdist-crypto.hh:45:8: performance:inconclusive: Technically the member function 'dnsdist::crypto::authenticated::Nonce::merge' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-1.9.3/dnsdist-crypto.cc:299:13: note: Technically the member function 'dnsdist::crypto::authenticated::Nonce::merge' can be static (but you may consider moving to unnamed namespace). dnsdist-1.9.3/dnsdist-crypto.hh:45:8: note: Technically the member function 'dnsdist::crypto::authenticated::Nonce::merge' can be static (but you may consider moving to unnamed namespace). dnsdist-1.9.3/dnsdist-crypto.hh:46:8: performance:inconclusive: Technically the member function 'dnsdist::crypto::authenticated::Nonce::increment' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-1.9.3/dnsdist-crypto.cc:303:13: note: Technically the member function 'dnsdist::crypto::authenticated::Nonce::increment' can be static (but you may consider moving to unnamed namespace). dnsdist-1.9.3/dnsdist-crypto.hh:46:8: note: Technically the member function 'dnsdist::crypto::authenticated::Nonce::increment' can be static (but you may consider moving to unnamed namespace). dnsdist-1.9.3/dnsdist-crypto.cc:307:84: style: Parameter 'nonce' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/dnsdist-crypto.cc:311:84: style: Parameter 'nonce' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/dnsdist-crypto.cc:427:17: style: Variable 'iBitGroup' is assigned a value that is never used. [unreadVariable] dnsdist-1.9.3/dnsdist-crypto.cc:441:23: style: Variable 'cChar' is assigned a value that is never used. [unreadVariable] dnsdist-1.9.3/dnsdist-console.cc:185:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist-console.cc:227:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist-console.cc:346:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cin [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist-console.cc:406:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist-console.cc:965:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable json11 [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/ext/json11/json11.hpp:92:5: style: Class 'Json' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/ext/json11/json11.hpp:93:5: style: Class 'Json' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/ext/json11/json11.hpp:94:5: style: Class 'Json' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/ext/json11/json11.hpp:95:5: style: Class 'Json' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/ext/json11/json11.hpp:96:5: style: Class 'Json' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/ext/json11/json11.hpp:97:5: style: Class 'Json' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/ext/json11/json11.hpp:98:5: style: Class 'Json' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/ext/json11/json11.hpp:99:5: style: Class 'Json' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/ext/json11/json11.hpp:100:5: style: Class 'Json' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/ext/json11/json11.hpp:101:5: style: Class 'Json' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/ext/json11/json11.hpp:102:5: style: Class 'Json' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/ext/json11/json11.hpp:106:5: style: Class 'Json' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/ext/json11/json11.hpp:113:5: style: Class 'Json' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/ext/json11/json11.hpp:119:5: style: Class 'Json' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/connection-management.hh:29:3: style: Class 'ConcurrentConnectionManager' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/dnsdist-discovery.cc:188:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist-discovery.cc:253:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_STREAM [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist-discovery.cc:352:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_STREAM [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist-discovery.cc:204:10: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] dnsdist-1.9.3/dnsdist-discovery.cc:209:5: note: Found duplicate branches for 'if' and 'else'. dnsdist-1.9.3/dnsdist-discovery.cc:204:10: note: Found duplicate branches for 'if' and 'else'. dnsdist-1.9.3/dnsdist-discovery.cc:199:7: style:inconclusive: Statements following 'continue' will never be executed. [unreachableCode] dnsdist-1.9.3/dnsdist-discovery.cc:63:12: style: The scope of the variable 'rrtype' can be reduced. [variableScope] dnsdist-1.9.3/dnsdist-discovery.cc:64:12: style: The scope of the variable 'rrclass' can be reduced. [variableScope] dnsdist-1.9.3/dnsdist-discovery.cc:78:12: style: The scope of the variable 'blob' can be reduced. [variableScope] dnsdist-1.9.3/dnsdist-discovery.cc:111:12: style: The scope of the variable 'blob' can be reduced. [variableScope] dnsdist-1.9.3/dnsdist-discovery.cc:236:70: style:inconclusive: Function 'getDiscoveredConfig' argument 1 names different: declaration 'backend' definition 'upgradeableBackend'. [funcArgNamesDifferent] dnsdist-1.9.3/dnsdist-discovery.hh:69:61: note: Function 'getDiscoveredConfig' argument 1 names different: declaration 'backend' definition 'upgradeableBackend'. dnsdist-1.9.3/dnsdist-discovery.cc:236:70: note: Function 'getDiscoveredConfig' argument 1 names different: declaration 'backend' definition 'upgradeableBackend'. dnsdist-1.9.3/dnsdist-discovery.cc:69:12: style: Variable 'rrname' is assigned a value that is never used. [unreadVariable] dnsdist-1.9.3/dnsdist-discovery.cc:80:12: style: Variable 'rrname' is assigned a value that is never used. [unreadVariable] dnsdist-1.9.3/dnsdist-discovery.cc:103:12: style: Variable 'rrname' is assigned a value that is never used. [unreadVariable] dnsdist-1.9.3/dnsdist-dnsparser.hh:31:3: style: Class 'DNSPacketOverlay' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/dnsdist-dnsparser.cc:114:12: style: Variable 'rrname' is assigned a value that is never used. [unreadVariable] dnsdist-1.9.3/cachecleaner.hh:44:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/cachecleaner.hh:85:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist-rules.hh:123:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist-rules.hh:277:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist-rules.hh:297:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist-rules.hh:314:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist-doh-common.cc:136:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist-dynblocks.hh:265:73: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist-dynblocks.cc:478:182: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable none [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist-dynblocks.cc:519:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dynBlocked [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist-dynblocks.cc:557:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable second [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist-dynblocks.cc:584:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable second [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist-dynblocks.cc:677:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable second [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist-kvs.hh:68:28: style:inconclusive: Technically the member function 'KeyValueLookupKeyQName::getKeys' can be const. [functionConst] dnsdist-1.9.3/dnsdist-rules.hh:48:8: style:inconclusive: Technically the member function 'MaxQPSIPRule::clear' can be const. [functionConst] dnsdist-1.9.3/dnsdist-kvs.hh:64:3: style: Class 'KeyValueLookupKeyQName' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/dnsdist-kvs.hh:123:3: style: Class 'KeyValueLookupKeyTag' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/dnsdist-lua-ffi.hh:44:3: style: Struct 'dnsdist_ffi_dnsquestion_t' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/dnsdist-lua-ffi.hh:76:3: style: Struct 'dnsdist_ffi_dnsresponse_t' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/dnsdist-lua-ffi.hh:98:3: style: Struct 'dnsdist_ffi_server_t' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/dnsdist-lua-ffi.hh:119:3: style: Struct 'dnsdist_ffi_servers_list_t' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/dnsdist-rules.hh:188:3: style: Class 'MaxQPSRule' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/dnsdist-rules.hh:215:3: style: Class 'NMGRule' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/dnsdist-rules.hh:256:5: style: Struct 'IPv6' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/dnsdist-rules.hh:430:3: style: Class 'AndRule' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/dnsdist-rules.hh:466:3: style: Class 'OrRule' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/dnsdist-rules.hh:502:3: style: Class 'RegexRule' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/dnsdist-rules.hh:582:3: style: Class 'SNIRule' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/dnsdist-rules.hh:600:3: style: Class 'SuffixMatchNodeRule' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/dnsdist-rules.hh:622:3: style: Class 'QNameRule' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/dnsdist-rules.hh:640:5: style: Class 'QNameSetRule' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/dnsdist-rules.hh:658:3: style: Class 'QTypeRule' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/dnsdist-rules.hh:677:3: style: Class 'QClassRule' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/dnsdist-rules.hh:695:3: style: Class 'OpcodeRule' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/dnsdist-rules.hh:713:3: style: Class 'DSTPortRule' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/dnsdist-rules.hh:731:3: style: Class 'TCPRule' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/dnsdist-rules.hh:750:3: style: Class 'NotRule' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/dnsdist-rules.hh:930:3: style: Class 'RCodeRule' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/dnsdist-rules.hh:948:3: style: Class 'ERCodeRule' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/dnsdist-rules.hh:977:3: style: Class 'EDNSVersionRule' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/dnsdist-rules.hh:1000:3: style: Class 'EDNSOptionRule' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/dnsdist-rules.hh:1052:3: style: Class 'ProbaRule' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/dnsdist-rules.hh:1107:3: style: Class 'PoolAvailableRule' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/dnsdist-rules.hh:1210:3: style: Class 'LuaRule' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/dnsdist-rules.hh:1238:3: style: Class 'LuaFFIRule' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/dnsdist-rules.hh:1268:3: style: Class 'LuaFFIPerThreadRule' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/dnsdist-rules.hh:272:4: style: The destructor '~TimedIPSetRule' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] dnsdist-1.9.3/dnsdist.hh:1035:12: note: Virtual destructor in base class dnsdist-1.9.3/dnsdist-rules.hh:272:4: note: Destructor in derived class dnsdist-1.9.3/dnsdist-rules.hh:259:14: style: C-style pointer casting [cstyleCast] dnsdist-1.9.3/dnsdist-rules.hh:125:11: style: The scope of the variable 'shard' can be reduced. [variableScope] dnsdist-1.9.3/dnsdist-lua-ffi.hh:123:18: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-1.9.3/dnsdist-rules.hh:365:11: style: Consider using std::count_if algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-1.9.3/dnsdist-rules.hh:371:11: style: Consider using std::count_if algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-1.9.3/dnsdist-rules.hh:433:15: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-1.9.3/dnsdist-rules.hh:439:5: style: Consider using std::all_of or std::none_of algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-1.9.3/dnsdist-rules.hh:469:15: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-1.9.3/dnsdist-rules.hh:475:5: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-1.9.3/dnsdist-rules.hh:1158:42: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-1.9.3/dnsdist-rules.hh:1332:5: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-1.9.3/dnsdist-dynblocks.hh:88:5: warning: Member variable 'DynBlockRule::d_cutOff' is not initialized in the constructor. [uninitMemberVar] dnsdist-1.9.3/dnsdist-dynblocks.hh:88:5: warning: Member variable 'DynBlockRule::d_minTime' is not initialized in the constructor. [uninitMemberVar] dnsdist-1.9.3/dnsdist-dynblocks.hh:89:5: warning: Member variable 'DynBlockRule::d_cutOff' is not initialized in the constructor. [uninitMemberVar] dnsdist-1.9.3/dnsdist-dynblocks.hh:89:5: warning: Member variable 'DynBlockRule::d_minTime' is not initialized in the constructor. [uninitMemberVar] dnsdist-1.9.3/iputils.hh:948:8: performance:inconclusive: Technically the member function 'NetmaskTree < DynBlock , AddressAndPortRange >::cleanup_tree' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-1.9.3/iputils.hh:1074:12: style:inconclusive: Technically the member function 'NetmaskTree < DynBlock , AddressAndPortRange >::end' can be const. [functionConst] dnsdist-1.9.3/iputils.hh:1041:10: style:inconclusive: Technically the member function 'NetmaskTree < DynBlock , AddressAndPortRange >::Iterator::operator==' can be const. [functionConst] dnsdist-1.9.3/iputils.hh:1045:10: style:inconclusive: Technically the member function 'NetmaskTree < DynBlock , AddressAndPortRange >::Iterator::operator!=' can be const. [functionConst] dnsdist-1.9.3/dnsname.hh:381:8: style:inconclusive: Technically the member function 'SuffixMatchTree < DynBlock >::add' can be const. [functionConst] dnsdist-1.9.3/dnsdist-dynblocks.hh:126:17: warning: The struct 'DynBlockRatioRule' defines member function with name 'toString' also defined in its parent struct 'DynBlockRule'. [duplInheritedMember] dnsdist-1.9.3/dnsdist-dynblocks.hh:103:17: note: Parent function 'DynBlockRule::toString' dnsdist-1.9.3/dnsdist-dynblocks.hh:126:17: note: Derived function 'DynBlockRatioRule::toString' dnsdist-1.9.3/dnsdist-dynblocks.hh:142:10: warning: The struct 'DynBlockCacheMissRatioRule' defines member function with name 'ratioExceeded' also defined in its parent struct 'DynBlockRatioRule'. [duplInheritedMember] dnsdist-1.9.3/dnsdist-dynblocks.hh:124:10: note: Parent function 'DynBlockRatioRule::ratioExceeded' dnsdist-1.9.3/dnsdist-dynblocks.hh:142:10: note: Derived function 'DynBlockCacheMissRatioRule::ratioExceeded' dnsdist-1.9.3/dnsdist-dynblocks.hh:143:10: warning: The struct 'DynBlockCacheMissRatioRule' defines member function with name 'warningRatioExceeded' also defined in its parent struct 'DynBlockRatioRule'. [duplInheritedMember] dnsdist-1.9.3/dnsdist-dynblocks.hh:125:10: note: Parent function 'DynBlockRatioRule::warningRatioExceeded' dnsdist-1.9.3/dnsdist-dynblocks.hh:143:10: note: Derived function 'DynBlockCacheMissRatioRule::warningRatioExceeded' dnsdist-1.9.3/dnsdist-dynblocks.hh:144:17: warning: The struct 'DynBlockCacheMissRatioRule' defines member function with name 'toString' also defined in its parent struct 'DynBlockRatioRule'. [duplInheritedMember] dnsdist-1.9.3/dnsdist-dynblocks.hh:126:17: note: Parent function 'DynBlockRatioRule::toString' dnsdist-1.9.3/dnsdist-dynblocks.hh:144:17: note: Derived function 'DynBlockCacheMissRatioRule::toString' dnsdist-1.9.3/dnsdist-dynblocks.hh:144:17: warning: The struct 'DynBlockCacheMissRatioRule' defines member function with name 'toString' also defined in its parent struct 'DynBlockRule'. [duplInheritedMember] dnsdist-1.9.3/dnsdist-dynblocks.hh:103:17: note: Parent function 'DynBlockRule::toString' dnsdist-1.9.3/dnsdist-dynblocks.hh:144:17: note: Derived function 'DynBlockCacheMissRatioRule::toString' dnsdist-1.9.3/dnsname.hh:308:3: style: Struct 'SuffixMatchTree < DynBlock >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/dnsdist-dynblocks.cc:130:8: style: The scope of the variable 'updated' can be reduced. [variableScope] dnsdist-1.9.3/dnsdist-dynblocks.cc:489:12: style: The scope of the variable 'bpfBlocked' can be reduced. [variableScope] dnsdist-1.9.3/dnsdist-dynblocks.cc:124:73: style: Parameter 'statNodeRoot' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/dnsdist-edns.cc:38:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist-edns.cc:73:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable infoCode [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist-ecs.cc:51:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOENT [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist-ecs.cc:165:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist-ecs.cc:333:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOENT [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist-ecs.cc:400:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOENT [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist-ecs.cc:679:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist-ecs.cc:699:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist-ecs.cc:765:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOENT [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist-healthchecks.cc:195:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist-healthchecks.cc:346:113: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_DGRAM [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist-ecs.cc:701:31: style: C-style pointer casting [cstyleCast] dnsdist-1.9.3/dnsdist-ecs.cc:702:22: style: C-style pointer casting [cstyleCast] dnsdist-1.9.3/dnsdist-ecs.cc:841:35: style: C-style pointer casting [cstyleCast] dnsdist-1.9.3/dnsdist-ecs.cc:344:12: style: The scope of the variable 'rrtype' can be reduced. [variableScope] dnsdist-1.9.3/dnsdist-ecs.cc:345:12: style: The scope of the variable 'rrclass' can be reduced. [variableScope] dnsdist-1.9.3/dnsdist-ecs.cc:1097:75: style:inconclusive: Function 'setEDNSOption' argument 3 names different: declaration 'data' definition 'ednsData'. [funcArgNamesDifferent] dnsdist-1.9.3/dnsdist-ecs.hh:59:75: note: Function 'setEDNSOption' argument 3 names different: declaration 'data' definition 'ednsData'. dnsdist-1.9.3/dnsdist-ecs.cc:1097:75: note: Function 'setEDNSOption' argument 3 names different: declaration 'data' definition 'ednsData'. dnsdist-1.9.3/dnsdist-ecs.cc:89:14: style: Variable 'rrname' is assigned a value that is never used. [unreadVariable] dnsdist-1.9.3/dnsdist-ecs.cc:202:14: style: Variable 'rrname' is assigned a value that is never used. [unreadVariable] dnsdist-1.9.3/dnsdist-ecs.cc:350:12: style: Variable 'rrname' is assigned a value that is never used. [unreadVariable] dnsdist-1.9.3/dnsdist-ecs.cc:359:12: style: Variable 'rrname' is assigned a value that is never used. [unreadVariable] dnsdist-1.9.3/dnsdist-ecs.cc:367:12: style: Variable 'rrname' is assigned a value that is never used. [unreadVariable] dnsdist-1.9.3/dnsdist-ecs.cc:801:14: style: Variable 'rrname' is assigned a value that is never used. [unreadVariable] dnsdist-1.9.3/tcpiohandler-mplexer.hh:21:3: style: Class 'IOStateHandler' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/tcpiohandler-mplexer.hh:179:3: style: Class 'IOStateGuard' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/dnsdist-healthchecks.cc:145:3: style: Class 'HealthCheckQuerySender' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/dnsdist-healthchecks.cc:303:121: style:inconclusive: Function 'queueHealthCheck' argument 3 names different: declaration 'initial' definition 'initialCheck'. [funcArgNamesDifferent] dnsdist-1.9.3/dnsdist-healthchecks.hh:30:121: note: Function 'queueHealthCheck' argument 3 names different: declaration 'initial' definition 'initialCheck'. dnsdist-1.9.3/dnsdist-healthchecks.cc:303:121: note: Function 'queueHealthCheck' argument 3 names different: declaration 'initial' definition 'initialCheck'. dnsdist-1.9.3/dnsdist-kvs.hh:43:28: style:inconclusive: Technically the member function 'KeyValueLookupKeySourceIP::getKeys' can be const. [functionConst] dnsdist-1.9.3/dnsdist-kvs.cc:28:53: note: Technically the member function 'KeyValueLookupKeySourceIP::getKeys' can be const. dnsdist-1.9.3/dnsdist-kvs.hh:43:28: note: Technically the member function 'KeyValueLookupKeySourceIP::getKeys' can be const. dnsdist-1.9.3/dnsdist-lbpolicies.cc:55:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable second [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist-lbpolicies.cc:64:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable second [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist-lbpolicies.cc:121:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable second [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist-lbpolicies.cc:260:73: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable second [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist-lua.hh:41:3: style: Class 'SpoofAction' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/dnsdist-lua.hh:57:3: style: Class 'SpoofAction' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/dnsdist-lua.hh:108:3: style: Class 'LimitTTLResponseAction' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/dnsdist-lbpolicies.cc:173:103: style:inconclusive: Function 'chashedFromHash' argument 2 names different: declaration 'hash' definition 'qhash'. [funcArgNamesDifferent] dnsdist-1.9.3/dnsdist-lbpolicies.hh:108:108: note: Function 'chashedFromHash' argument 2 names different: declaration 'hash' definition 'qhash'. dnsdist-1.9.3/dnsdist-lbpolicies.cc:173:103: note: Function 'chashedFromHash' argument 2 names different: declaration 'hash' definition 'qhash'. dnsdist-1.9.3/dnsdist-lbpolicies.cc:307:36: style: Parameter 'pools' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/dnsdist-lbpolicies.cc:255:18: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-1.9.3/dnsdist-lbpolicies.cc:365:17: style: Variable 'lock' is assigned a value that is never used. [unreadVariable] dnsdist-1.9.3/dnsdist-lbpolicies.cc:374:19: style: Variable 'lock' is assigned a value that is never used. [unreadVariable] dnsdist-1.9.3/dnsdist-lua-actions.cc:2523:10: debug: Failed to instantiate template "registerFunction". The checking continues anyway. [templateInstantiation] dnsdist-1.9.3/ext/luawrapper/include/LuaContext.hpp:1164:146: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TOtherParams [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/protozero.hh:84:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist-lua-actions.cc:896:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist-lua-actions.cc:1189:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable memory_order_acquire [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist-lua-actions.cc:1269:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable memory_order_release [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist-lua-actions.cc:1301:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable memory_order_acquire [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist-lua-actions.cc:1358:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable memory_order_release [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist-lua-actions.cc:1449:83: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist-lua-actions.cc:2892:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable none [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/ext/luawrapper/include/LuaContext.hpp:402:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pointer [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist-lua-bindings-dnscrypt.cc:29:43: style: Parameter 'luaCtx' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/dnsdist-lua-actions.cc:266:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] dnsdist-1.9.3/protozero.hh:50:7: style: Class 'Message' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/dnsdist-protobuf.hh:33:3: style: Class 'DNSDistProtoBufMessage' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/dnsdist-protobuf.hh:156:3: style: Class 'ProtoBufMetaKey' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/remote_logger.hh:115:3: style: Class 'RemoteLogger' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/dnsdist-lua-actions.cc:91:3: style: Class 'QPSAction' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/dnsdist-lua-actions.cc:114:3: style: Class 'DelayAction' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/dnsdist-lua-actions.cc:369:3: style: Class 'RCodeAction' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/dnsdist-lua-actions.cc:398:3: style: Class 'ERCodeAction' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/dnsdist-lua-actions.cc:428:3: style: Class 'SpoofSVCAction' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/dnsdist-lua-actions.cc:551:3: style: Class 'LuaAction' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/dnsdist-lua-actions.cc:598:3: style: Class 'LuaResponseAction' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/dnsdist-lua-actions.cc:645:3: style: Class 'LuaFFIAction' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/dnsdist-lua-actions.cc:695:3: style: Class 'LuaFFIPerThreadAction' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/dnsdist-lua-actions.cc:768:3: style: Class 'LuaFFIResponseAction' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/dnsdist-lua-actions.cc:818:3: style: Class 'LuaFFIPerThreadResponseAction' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/dnsdist-lua-actions.cc:1066:3: style: Class 'SetMacAddrAction' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/dnsdist-lua-actions.cc:1175:3: style: Class 'LogAction' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/dnsdist-lua-actions.cc:1287:3: style: Class 'LogResponseAction' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/dnsdist-lua-actions.cc:1421:3: style: Class 'SetTempFailureCacheTTLAction' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/dnsdist-lua-actions.cc:1466:3: style: Class 'SetECSOverrideAction' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/dnsdist-lua-actions.cc:1503:3: style: Class 'SetECSAction' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/dnsdist-lua-actions.cc:1691:3: style: Class 'RemoteLogAction' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/dnsdist-lua-actions.cc:1754:3: style: Class 'SNMPTrapAction' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/dnsdist-lua-actions.cc:1845:3: style: Class 'RemoteLogResponseAction' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/dnsdist-lua-actions.cc:1938:3: style: Class 'DelayResponseAction' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/dnsdist-lua-actions.cc:2010:3: style: Class 'ClearRecordTypesResponseAction' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/dnsdist-lua-actions.cc:2036:3: style: Class 'ContinueAction' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/dnsdist-lua-actions.cc:2184:3: style: Class 'MaxReturnedTTLAction' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/dnsdist-lua-actions.cc:2207:3: style: Class 'MaxReturnedTTLResponseAction' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/dnsdist-lua-actions.cc:2283:3: style: Class 'SetProxyProtocolValuesAction' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/dnsdist-lua-actions.cc:2345:3: style: Class 'SetReducedTTLResponseAction' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/remote_logger.hh:119:4: style: The destructor '~RemoteLogger' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] dnsdist-1.9.3/remote_logger.hh:67:12: note: Virtual destructor in base class dnsdist-1.9.3/remote_logger.hh:119:4: note: Destructor in derived class dnsdist-1.9.3/dnsdist-lua-actions.cc:477:26: style: The if condition is the same as the previous if condition [duplicateCondition] dnsdist-1.9.3/dnsdist-lua-actions.cc:469:26: note: First condition dnsdist-1.9.3/dnsdist-lua-actions.cc:477:26: note: Second condition dnsdist-1.9.3/dnsdist-lua-actions.cc:2058:36: style: Condition 'd_action' is always true [knownConditionTrueFalse] dnsdist-1.9.3/dnsdist-lua-actions.cc:257:11: style: The scope of the variable 'res' can be reduced. [variableScope] dnsdist-1.9.3/dnsdist-lua-actions.cc:2803:30: style: Variable 'remoteLoggerRef' can be declared as reference to const [constVariableReference] dnsdist-1.9.3/dnsdist-lua-actions.cc:2843:30: style: Variable 'remoteLoggerRef' can be declared as reference to const [constVariableReference] dnsdist-1.9.3/dnsdist-lua-actions.cc:2287:16: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-1.9.3/dnsdist-lua-actions.cc:2599:15: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-1.9.3/dnsdist-lua-actions.cc:2633:14: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-1.9.3/dnsdist-lua-actions.cc:257:15: style: Variable 'res' is assigned a value that is never used. [unreadVariable] dnsdist-1.9.3/dnsdist-lua-actions.cc:1605:19: style: Variable 'lock' is assigned a value that is never used. [unreadVariable] dnsdist-1.9.3/dnsdist-lua-actions.cc:1723:17: style: Variable 'lock' is assigned a value that is never used. [unreadVariable] dnsdist-1.9.3/dnsdist-lua-actions.cc:1820:19: style: Variable 'lock' is assigned a value that is never used. [unreadVariable] dnsdist-1.9.3/dnsdist-lua-actions.cc:1880:17: style: Variable 'lock' is assigned a value that is never used. [unreadVariable] dnsdist-1.9.3/dnsdist-lua-bindings-dnsparser.cc:34:10: debug: Failed to instantiate template "registerMember". The checking continues anyway. [templateInstantiation] dnsdist-1.9.3/dnsdist-lua-bindings-dnsparser.cc:39:10: debug: Failed to instantiate template "registerFunction". The checking continues anyway. [templateInstantiation] dnsdist-1.9.3/dnsdist-lua-bindings-dnsquestion.cc:36:10: debug: Failed to instantiate template "registerMember". The checking continues anyway. [templateInstantiation] dnsdist-1.9.3/dnsdist-lua-bindings-dnsquestion.cc:103:10: debug: Failed to instantiate template "registerFunction". The checking continues anyway. [templateInstantiation] dnsdist-1.9.3/dnsdist-lua-bindings-dnsparser.cc:46:9: style: Consider using std::count_if algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-1.9.3/dnsdist-lua-bindings-dnsquestion.cc:283:3: style: Class 'AsynchronousObject' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/dnsdist-lua-bindings-dnsquestion.cc:123:28: style: Condition 'dq.ednsOptions==nullptr' is always true [knownConditionTrueFalse] dnsdist-1.9.3/dnsdist-lua-bindings-dnsquestion.cc:121:26: note: Assuming that condition 'dq.ednsOptions==nullptr' is not redundant dnsdist-1.9.3/dnsdist-lua-bindings-dnsquestion.cc:123:28: note: Condition 'dq.ednsOptions==nullptr' is always true dnsdist-1.9.3/dnsdist-lua-bindings-dnsquestion.cc:401:28: style: Condition 'dq.ednsOptions==nullptr' is always true [knownConditionTrueFalse] dnsdist-1.9.3/dnsdist-lua-bindings-dnsquestion.cc:399:26: note: Assuming that condition 'dq.ednsOptions==nullptr' is not redundant dnsdist-1.9.3/dnsdist-lua-bindings-dnsquestion.cc:401:28: note: Condition 'dq.ednsOptions==nullptr' is always true dnsdist-1.9.3/dnsdist-lua-bindings-dnsquestion.cc:177:31: style: C-style pointer casting [cstyleCast] dnsdist-1.9.3/dnsdist-lua-bindings-dnsquestion.cc:436:31: style: C-style pointer casting [cstyleCast] dnsdist-1.9.3/dnsdist-lua-bindings-dnsquestion.cc:550:59: style: C-style pointer casting [cstyleCast] dnsdist-1.9.3/dnsdist-lua-bindings-dnsquestion.cc:120:84: warning:inconclusive: Found suspicious operator '>', result is not used. [constStatement] dnsdist-1.9.3/dnsdist-lua-bindings-dnsquestion.cc:177:58: warning:inconclusive: Found suspicious operator '>', result is not used. [constStatement] dnsdist-1.9.3/dnsdist-lua-bindings-dnsquestion.cc:398:84: warning:inconclusive: Found suspicious operator '>', result is not used. [constStatement] dnsdist-1.9.3/dnsdist-lua-bindings-dnsquestion.cc:436:58: warning:inconclusive: Found suspicious operator '>', result is not used. [constStatement] dnsdist-1.9.3/dnsdist-lua-bindings-dnsquestion.cc:550:86: warning:inconclusive: Found suspicious operator '>', result is not used. [constStatement] dnsdist-1.9.3/dnsdist-lua-bindings-dnsquestion.cc:36:168: style: Parameter 'dq' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/dnsdist-lua-bindings-dnsquestion.cc:37:151: style: Parameter 'dq' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/dnsdist-lua-bindings-dnsquestion.cc:38:141: style: Parameter 'dq' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/dnsdist-lua-bindings-dnsquestion.cc:39:143: style: Parameter 'dq' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/dnsdist-lua-bindings-dnsquestion.cc:46:171: style: Parameter 'dq' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/dnsdist-lua-bindings-dnsquestion.cc:55:150: style: Parameter 'dq' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/dnsdist-lua-bindings-dnsquestion.cc:56:131: style: Parameter 'dq' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/dnsdist-lua-bindings-dnsquestion.cc:356:168: style: Parameter 'dq' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/dnsdist-lua-bindings-dnsquestion.cc:357:151: style: Parameter 'dq' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/dnsdist-lua-bindings-dnsquestion.cc:358:141: style: Parameter 'dq' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/dnsdist-lua-bindings-dnsquestion.cc:359:143: style: Parameter 'dq' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/dnsdist-lua-bindings-dnsquestion.cc:366:171: style: Parameter 'dq' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/dnsdist-lua-bindings-dnsquestion.cc:374:150: style: Parameter 'dq' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/dnsdist-lua-bindings-dnsquestion.cc:375:131: style: Parameter 'dq' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/dnsdist-lua-bindings-dnsquestion.cc:216:14: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-1.9.3/dnsdist-lua-bindings-dnsquestion.cc:236:18: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-1.9.3/dnsdist-lua-bindings-dnsquestion.cc:248:18: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-1.9.3/dnsdist-lua-bindings-kvs.cc:26:38: style: Parameter 'luaCtx' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/dnsdist-lua-bindings-network.cc:45:10: debug: Failed to instantiate template "registerFunction". The checking continues anyway. [templateInstantiation] dnsdist-1.9.3/dnsdist-lua-bindings-packetcache.cc:65:9: debug: Failed to instantiate template "getOptionalValue". The checking continues anyway. [templateInstantiation] dnsdist-1.9.3/dnsdist-lua-bindings-packetcache.cc:100:10: debug: Failed to instantiate template "registerFunction". The checking continues anyway. [templateInstantiation] dnsdist-1.9.3/dnsdist-lua-bindings-packetcache.cc:172:105: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable addr [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist-lua-network.hh:76:3: style: Class 'NetworkEndpoint' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/dnsdist-lua-bindings-packetcache.cc:172:44: style: C-style pointer casting [cstyleCast] dnsdist-1.9.3/dnsdist-lua-bindings-packetcache.cc:188:49: style: C-style pointer casting [cstyleCast] dnsdist-1.9.3/dnsdist-lua-bindings-packetcache.cc:155:103: warning:inconclusive: Found suspicious operator '>', result is not used. [constStatement] dnsdist-1.9.3/dnsdist-lua-bindings-packetcache.cc:172:115: warning:inconclusive: Found suspicious operator '>', result is not used. [constStatement] dnsdist-1.9.3/dnsdist-lua-bindings-packetcache.cc:188:117: warning:inconclusive: Found suspicious operator '>', result is not used. [constStatement] dnsdist-1.9.3/dnsdist-lua-bindings-protobuf.cc:65:10: debug: Failed to instantiate template "registerFunction". The checking continues anyway. [templateInstantiation] dnsdist-1.9.3/dnsdist-lua-bindings-rings.cc:88:10: debug: Failed to instantiate template "registerMember". The checking continues anyway. [templateInstantiation] dnsdist-1.9.3/dnsdist-lua-bindings-rings.cc:104:126: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable string [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist-lua-bindings.cc:146:10: debug: Failed to instantiate template "registerMember". The checking continues anyway. [templateInstantiation] dnsdist-1.9.3/dnsdist-lua-bindings.cc:55:10: debug: Failed to instantiate template "registerFunction". The checking continues anyway. [templateInstantiation] dnsdist-1.9.3/dnsdist-lua-bindings.cc:398:0: debug: Function::addArguments found argument 'map' with varid 0. [varid0] dnsdist-1.9.3/dnsdist-lua-bindings.cc:143:125: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable string [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist-lua-bindings.cc:230:62: error:inconclusive: Returning object that points to local variable 'sin4' that will be invalid when returning. [returnDanglingLifetime] dnsdist-1.9.3/dnsdist-lua-bindings.cc:230:63: note: Address of variable taken here. dnsdist-1.9.3/dnsdist-lua-bindings.cc:230:63: note: Passed to constructor of 'ComboAddress'. dnsdist-1.9.3/dnsdist-lua-bindings.cc:223:62: note: Variable created here. dnsdist-1.9.3/dnsdist-lua-bindings.cc:230:62: note: Returning object that points to local variable 'sin4' that will be invalid when returning. dnsdist-1.9.3/dnsdist-lua-bindings.cc:240:62: error:inconclusive: Returning object that points to local variable 'sin6' that will be invalid when returning. [returnDanglingLifetime] dnsdist-1.9.3/dnsdist-lua-bindings.cc:240:63: note: Address of variable taken here. dnsdist-1.9.3/dnsdist-lua-bindings.cc:240:63: note: Passed to constructor of 'ComboAddress'. dnsdist-1.9.3/dnsdist-lua-bindings.cc:233:63: note: Variable created here. dnsdist-1.9.3/dnsdist-lua-bindings.cc:240:62: note: Returning object that points to local variable 'sin6' that will be invalid when returning. dnsdist-1.9.3/dnsdist-lua-bindings.cc:344:63: style: C-style reference casting [cstyleCast] dnsdist-1.9.3/dnsdist-lua-bindings.cc:345:52: style: C-style pointer casting [cstyleCast] dnsdist-1.9.3/dnsdist-lua-bindings.cc:345:73: style: C-style reference casting [cstyleCast] dnsdist-1.9.3/dnsdist-lua-bindings.cc:379:55: style: C-style reference casting [cstyleCast] dnsdist-1.9.3/dnsdist-lua-bindings.cc:405:60: style: C-style reference casting [cstyleCast] dnsdist-1.9.3/dnsdist-lua-ffi.cc:229:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable none [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist-lua-ffi.cc:529:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable none [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist-lua-ffi.cc:614:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist-lua-ffi.cc:626:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist-lua-ffi.cc:1754:150: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist-lua-bindings.cc:345:94: warning:inconclusive: Found suspicious operator '>', result is not used. [constStatement] dnsdist-1.9.3/dnsdist-lua-bindings.cc:766:72: warning:inconclusive: Found suspicious operator '>', result is not used. [constStatement] dnsdist-1.9.3/dnsdist-lua-bindings.cc:255:85: style: Parameter 's' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/dnsdist-lua-bindings.cc:845:184: style: Parameter 'ips' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/dnsdist-lua-bindings.cc:769:14: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-1.9.3/dnsdist-lua-bindings.cc:804:14: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-1.9.3/dnsdist-lua-bindings.cc:814:14: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-1.9.3/dnsdist-lua-bindings.cc:824:14: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-1.9.3/dnsdist-lua-bindings.cc:849:16: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-1.9.3/dnsdist-lua-ffi.cc:126:3: error: Address of local auto-variable assigned to a function parameter. [autoVariables] dnsdist-1.9.3/dnsdist-lua-ffi.cc:1636:3: error: Address of local auto-variable assigned to a function parameter. [autoVariables] dnsdist-1.9.3/dnsdist-lua-ffi.cc:1678:3: error: Address of local auto-variable assigned to a function parameter. [autoVariables] dnsdist-1.9.3/dnsdist-lua-ffi.cc:364:29: style: Condition 'dq->dq->ednsOptions==nullptr' is always true [knownConditionTrueFalse] dnsdist-1.9.3/dnsdist-lua-ffi.cc:361:27: note: Assuming that condition 'dq->dq->ednsOptions==nullptr' is not redundant dnsdist-1.9.3/dnsdist-lua-ffi.cc:364:29: note: Condition 'dq->dq->ednsOptions==nullptr' is always true dnsdist-1.9.3/dnsdist-lua-ffi.cc:359:76: style:inconclusive: Function 'dnsdist_ffi_dnsquestion_get_edns_options' argument 1 names different: declaration 'ref' definition 'dq'. [funcArgNamesDifferent] dnsdist-1.9.3/dnsdist-lua-ffi-interface.h:99:76: note: Function 'dnsdist_ffi_dnsquestion_get_edns_options' argument 1 names different: declaration 'ref' definition 'dq'. dnsdist-1.9.3/dnsdist-lua-ffi.cc:359:76: note: Function 'dnsdist_ffi_dnsquestion_get_edns_options' argument 1 names different: declaration 'ref' definition 'dq'. dnsdist-1.9.3/dnsdist-lua-ffi.cc:395:76: style:inconclusive: Function 'dnsdist_ffi_dnsquestion_get_http_headers' argument 1 names different: declaration 'ref' definition 'dq'. [funcArgNamesDifferent] dnsdist-1.9.3/dnsdist-lua-ffi-interface.h:100:76: note: Function 'dnsdist_ffi_dnsquestion_get_http_headers' argument 1 names different: declaration 'ref' definition 'dq'. dnsdist-1.9.3/dnsdist-lua-ffi.cc:395:76: note: Function 'dnsdist_ffi_dnsquestion_get_http_headers' argument 1 names different: declaration 'ref' definition 'dq'. dnsdist-1.9.3/dnsdist-lua-ffi.cc:429:73: style:inconclusive: Function 'dnsdist_ffi_dnsquestion_get_tag_array' argument 1 names different: declaration 'ref' definition 'dq'. [funcArgNamesDifferent] dnsdist-1.9.3/dnsdist-lua-ffi-interface.h:101:73: note: Function 'dnsdist_ffi_dnsquestion_get_tag_array' argument 1 names different: declaration 'ref' definition 'dq'. dnsdist-1.9.3/dnsdist-lua-ffi.cc:429:73: note: Function 'dnsdist_ffi_dnsquestion_get_tag_array' argument 1 names different: declaration 'ref' definition 'dq'. dnsdist-1.9.3/dnsdist-lua-ffi.cc:597:86: style:inconclusive: Function 'dnsdist_ffi_dnsquestion_spoof_packet' argument 2 names different: declaration 'rawresponse' definition 'raw'. [funcArgNamesDifferent] dnsdist-1.9.3/dnsdist-lua-ffi-interface.h:134:86: note: Function 'dnsdist_ffi_dnsquestion_spoof_packet' argument 2 names different: declaration 'rawresponse' definition 'raw'. dnsdist-1.9.3/dnsdist-lua-ffi.cc:597:86: note: Function 'dnsdist_ffi_dnsquestion_spoof_packet' argument 2 names different: declaration 'rawresponse' definition 'raw'. dnsdist-1.9.3/dnsdist-lua-ffi.cc:395:76: style: Parameter 'dq' can be declared as pointer to const [constParameterPointer] dnsdist-1.9.3/dnsdist-lua-ffi.cc:462:75: style: Parameter 'dq' can be declared as pointer to const [constParameterPointer] dnsdist-1.9.3/dnsdist-lua-ffi.cc:590:67: style: Parameter 'dq' can be declared as pointer to const [constParameterPointer] dnsdist-1.9.3/dnsdist-lua-ffi.cc:371:16: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-1.9.3/dnsdist-lua-ffi.cc:677:32: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-1.9.3/dnsdist-lua-ffi.cc:1665:7: style: Consider using std::count_if algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-1.9.3/dnsdist-lua-inspection.cc:418:13: debug: Failed to instantiate template "getOptionalValue". The checking continues anyway. [templateInstantiation] dnsdist-1.9.3/dnsdist-lua-inspection-ffi.cc:70:3: error: Address of local auto-variable assigned to a function parameter. [autoVariables] dnsdist-1.9.3/dnsdist-lua-inspection.cc:960:10: debug: Failed to instantiate template "registerMember". The checking continues anyway. [templateInstantiation] dnsdist-1.9.3/dnsdist-lua-inspection.cc:818:10: debug: Failed to instantiate template "registerFunction". The checking continues anyway. [templateInstantiation] dnsdist-1.9.3/dnsdist-lua-network.cc:102:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist-lua-network.cc:58:19: style: Condition 'packet.empty()' is always true [knownConditionTrueFalse] dnsdist-1.9.3/dnsdist-lua-network.cc:155:65: style:inconclusive: Function 'mainThread' argument 1 names different: declaration 'data' definition 'dataArg'. [funcArgNamesDifferent] dnsdist-1.9.3/dnsdist-lua-network.hh:61:57: note: Function 'mainThread' argument 1 names different: declaration 'data' definition 'dataArg'. dnsdist-1.9.3/dnsdist-lua-network.cc:155:65: note: Function 'mainThread' argument 1 names different: declaration 'data' definition 'dataArg'. dnsdist-1.9.3/dnsdist-lua-network.cc:155:65: style: Parameter 'dataArg' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/dnsdist-lua-inspection.cc:142:140: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable none [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist-lua-inspection.cc:419:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist-lua-inspection.cc:451:43: warning: %u in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] dnsdist-1.9.3/dnsdist-lua-inspection.cc:960:131: style: Parameter 'block' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/dnsdist-lua-inspection.cc:68:13: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-1.9.3/dnsdist-lua-inspection.cc:272:17: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-1.9.3/dnsdist-lua-inspection.cc:318:17: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-1.9.3/dnsdist-lua-inspection.cc:442:15: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-1.9.3/dnsdist-lua-inspection.cc:474:16: style: Consider using std::copy algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-1.9.3/dnsdist-lua-inspection.cc:480:16: style: Consider using std::copy algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-1.9.3/dnsdist-lua-rules.cc:316:10: debug: Failed to instantiate template "registerFunction". The checking continues anyway. [templateInstantiation] dnsdist-1.9.3/dnsdist-lua-rules.cc:101:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist-lua-rules.cc:283:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable none [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist-lua-rules.cc:320:80: warning:inconclusive: Found suspicious operator '>', result is not used. [constStatement] dnsdist-1.9.3/dnsdist-lua-rules.cc:322:82: warning:inconclusive: Found suspicious operator '>', result is not used. [constStatement] dnsdist-1.9.3/dnsdist-lua-rules.cc:324:88: warning:inconclusive: Found suspicious operator '>', result is not used. [constStatement] dnsdist-1.9.3/dnsdist-lua-rules.cc:326:98: warning:inconclusive: Found suspicious operator '>', result is not used. [constStatement] dnsdist-1.9.3/dnsdist-lua-rules.cc:72:51: style: Parameter 'id' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/dnsdist-lua-rules.cc:264:32: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-1.9.3/dnsdist-lua-rules.cc:272:34: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-1.9.3/dnsdist-lua-web.cc:38:10: debug: Failed to instantiate template "registerMember". The checking continues anyway. [templateInstantiation] dnsdist-1.9.3/dnsdist-prometheus.hh:59:8: performance:inconclusive: Technically the member function 'MetricDefinitionStorage::getMetricDetails' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-1.9.3/dnsdist-prometheus.hh:84:15: performance:inconclusive: Technically the member function 'MetricDefinitionStorage::getPrometheusStringMetricType' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-1.9.3/dnsdist-lua.cc:130:9: debug: Failed to instantiate template "getOptionalValue". The checking continues anyway. [templateInstantiation] dnsdist-1.9.3/dnsdist-lua-web.cc:38:158: style: Parameter 'req' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/dnsdist-lua-web.cc:39:144: style: Parameter 'req' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/dnsdist-lua-web.cc:40:158: style: Parameter 'req' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/dnsdist-lua-web.cc:41:160: style: Parameter 'req' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/dnsdist-lua-web.cc:48:26: style: Parameter 'req' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/dnsdist-lua-web.cc:55:26: style: Parameter 'req' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/dnsdist-lua-web.cc:62:26: style: Parameter 'req' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/dnsdist-mac-address.cc:32:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mac [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist-mac-address.cc:30:80: style:inconclusive: Function 'get' argument 3 names different: declaration 'len' definition 'destLen'. [funcArgNamesDifferent] dnsdist-1.9.3/dnsdist-mac-address.hh:35:70: note: Function 'get' argument 3 names different: declaration 'len' definition 'destLen'. dnsdist-1.9.3/dnsdist-mac-address.cc:30:80: note: Function 'get' argument 3 names different: declaration 'len' definition 'destLen'. dnsdist-1.9.3/dnsdist-lua.cc:3026:10: debug: Failed to instantiate template "registerFunction". The checking continues anyway. [templateInstantiation] dnsdist-1.9.3/dnsdist-lua.cc:3054:0: debug: Function::addArguments found argument 'map' with varid 0. [varid0] dnsdist-1.9.3/dnsdist-tcp-downstream.hh:154:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable none [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist-tcp-downstream.hh:171:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable none [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist-tcp-downstream.hh:186:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable none [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist-tcp-downstream.hh:201:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable none [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist-lua.cc:113:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable indeterminate [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist-lua.cc:268:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_BLOCK [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist-lua.cc:444:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist-lua.cc:3515:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable none [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist-metrics.cc:178:98: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_value [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist-tcp-downstream.hh:233:12: style: The destructor '~TCPConnectionToBackend' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] dnsdist-1.9.3/dnsdist-tcp-downstream.hh:16:12: note: Virtual destructor in base class dnsdist-1.9.3/dnsdist-tcp-downstream.hh:233:12: note: Destructor in derived class dnsdist-1.9.3/dnsdist-lua.cc:1875:17: style: The scope of the variable 'timeFormat' can be reduced. [variableScope] dnsdist-1.9.3/dnsdist-lua.cc:724:39: style: Variable 'state' can be declared as reference to const [constVariableReference] dnsdist-1.9.3/dnsdist-lua.cc:1037:18: style: Variable 'state' can be declared as reference to const [constVariableReference] dnsdist-1.9.3/dnsdist-lua.cc:3291:308: style: Parameter 'frontend' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/dnsdist-lua.cc:3300:16: style: Variable 'frontend' can be declared as reference to const [constVariableReference] dnsdist-1.9.3/dnsdist-lua.cc:1020:11: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-1.9.3/dnsdist-lua.cc:1038:42: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-1.9.3/dnsdist-lua.cc:2198:24: style: Consider using std::copy algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-1.9.3/dnsdist-lua.cc:3060:17: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-1.9.3/dnsdist-nghttp2.cc:978:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable outgoingDoHQueryPipeFull [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist-nghttp2.hh:44:8: performance:inconclusive: Technically the member function 'DoHClientCollection::addThread' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-1.9.3/dnsdist-nghttp2.cc:985:27: note: Technically the member function 'DoHClientCollection::addThread' can be static (but you may consider moving to unnamed namespace). dnsdist-1.9.3/dnsdist-nghttp2.hh:44:8: note: Technically the member function 'DoHClientCollection::addThread' can be static (but you may consider moving to unnamed namespace). dnsdist-1.9.3/dnsdist-downstream-connection.hh:283:8: performance:inconclusive: Technically the member function 'DownstreamConnectionsManager < TCPConnectionToBackend >::isConnectionUsable' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-1.9.3/dnsdist-nghttp2.cc:943:3: style: Struct 'DoHWorkerThread' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/dnsdist-downstream-connection.hh:147:12: style: Local variable 'count' shadows outer function [shadowFunction] dnsdist-1.9.3/dnsdist-downstream-connection.hh:140:10: note: Shadowed declaration dnsdist-1.9.3/dnsdist-downstream-connection.hh:147:12: note: Shadow variable dnsdist-1.9.3/dnsdist-downstream-connection.hh:156:12: style: Local variable 'count' shadows outer function [shadowFunction] dnsdist-1.9.3/dnsdist-downstream-connection.hh:140:10: note: Shadowed declaration dnsdist-1.9.3/dnsdist-downstream-connection.hh:156:12: note: Shadow variable dnsdist-1.9.3/dnsdist-nghttp2.cc:1043:65: style: Parameter 'ctx' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/dnsdist-nghttp2.cc:1059:94: style: Parameter 'mplexer' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/dnsdist-nghttp2.cc:1059:136: style: Parameter 'sender' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/dnsdist-nghttp2.cc:1094:40: style: Parameter 'mplexer' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/dnsdist-downstream-connection.hh:149:13: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-1.9.3/dnsdist-downstream-connection.hh:158:13: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-1.9.3/dnsdist-protocols.cc:50:39: style:inconclusive: Function 'Protocol' argument 1 names different: declaration 'protocol' definition 's'. [funcArgNamesDifferent] dnsdist-1.9.3/dnsdist-protocols.hh:53:40: note: Function 'Protocol' argument 1 names different: declaration 'protocol' definition 's'. dnsdist-1.9.3/dnsdist-protocols.cc:50:39: note: Function 'Protocol' argument 1 names different: declaration 'protocol' definition 's'. dnsdist-1.9.3/dnsdist-protobuf.cc:294:178: debug: Scope::checkVariable found variable 'data' with varid 0. [varid0] dnsdist-1.9.3/dnsdist-protobuf.cc:350:66: debug: Scope::checkVariable found variable 'result' with varid 0. [varid0] dnsdist-1.9.3/dnsdist-protobuf.cc:372:66: debug: Scope::checkVariable found variable 'result' with varid 0. [varid0] dnsdist-1.9.3/dnsdist-protobuf.cc:382:50: debug: Scope::checkVariable found variable 'tag' with varid 0. [varid0] dnsdist-1.9.3/dnsdist-protobuf.cc:337:152: debug: Function::addArguments found argument 'numericSubKey' with varid 0. [varid0] dnsdist-1.9.3/dnsdist-protobuf.cc:359:111: debug: Function::addArguments found argument 'subKey' with varid 0. [varid0] dnsdist-1.9.3/dnsdist-protobuf.cc:189:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tv_sec [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist-protobuf.cc:99:59: style:inconclusive: Function 'setEDNSSubnet' argument 1 names different: declaration 'netmask' definition 'nm'. [funcArgNamesDifferent] dnsdist-1.9.3/dnsdist-protobuf.hh:50:37: note: Function 'setEDNSSubnet' argument 1 names different: declaration 'netmask' definition 'nm'. dnsdist-1.9.3/dnsdist-protobuf.cc:99:59: note: Function 'setEDNSSubnet' argument 1 names different: declaration 'netmask' definition 'nm'. dnsdist-1.9.3/dnsdist-protobuf.cc:120:120: style:inconclusive: Function 'addRR' argument 5 names different: declaration 'data' definition 'strBlob'. [funcArgNamesDifferent] dnsdist-1.9.3/dnsdist-protobuf.hh:54:98: note: Function 'addRR' argument 5 names different: declaration 'data' definition 'strBlob'. dnsdist-1.9.3/dnsdist-protobuf.cc:120:120: note: Function 'addRR' argument 5 names different: declaration 'data' definition 'strBlob'. dnsdist-1.9.3/dnsdist-proxy-protocol.cc:85:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable proxyProtocolInvalid [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist-resolver.cc:32:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNSPEC [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist-proxy-protocol.cc:45:48: style:inconclusive: Function 'addProxyProtocol' argument 2 names different: declaration 'proxyProtocolPayloadSize' definition 'payloadSize'. [funcArgNamesDifferent] dnsdist-1.9.3/dnsdist-proxy-protocol.hh:32:48: note: Function 'addProxyProtocol' argument 2 names different: declaration 'proxyProtocolPayloadSize' definition 'payloadSize'. dnsdist-1.9.3/dnsdist-proxy-protocol.cc:45:48: note: Function 'addProxyProtocol' argument 2 names different: declaration 'proxyProtocolPayloadSize' definition 'payloadSize'. dnsdist-1.9.3/dnsdist-rings.cc:173:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist-rings.hh:79:68: style:inconclusive: Technically the member function 'Rings::getTopBandwidth' can be const. [functionConst] dnsdist-1.9.3/dnsdist-rings.cc:95:71: note: Technically the member function 'Rings::getTopBandwidth' can be const. dnsdist-1.9.3/dnsdist-rings.hh:79:68: note: Technically the member function 'Rings::getTopBandwidth' can be const. dnsdist-1.9.3/dnsdist-rings.hh:80:10: style:inconclusive: Technically the member function 'Rings::numDistinctRequestors' can be const. [functionConst] dnsdist-1.9.3/dnsdist-rings.cc:83:15: note: Technically the member function 'Rings::numDistinctRequestors' can be const. dnsdist-1.9.3/dnsdist-rings.hh:80:10: note: Technically the member function 'Rings::numDistinctRequestors' can be const. dnsdist-1.9.3/dnsdist-rings.cc:120:13: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-1.9.3/dnsdist-secpoll.cc:103:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_DGRAM [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist-secpoll.cc:195:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_VERSION [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist-secpoll.cc:58:12: style: The scope of the variable 'rrtype' can be reduced. [variableScope] dnsdist-1.9.3/dnsdist-secpoll.cc:59:12: style: The scope of the variable 'rrclass' can be reduced. [variableScope] dnsdist-1.9.3/dnsdist-secpoll.cc:73:12: style: The scope of the variable 'blob' can be reduced. [variableScope] dnsdist-1.9.3/dnsdist-secpoll.cc:64:12: style: Variable 'rrname' is assigned a value that is never used. [unreadVariable] dnsdist-1.9.3/dnsdist-secpoll.cc:75:12: style: Variable 'rrname' is assigned a value that is never used. [unreadVariable] dnsdist-1.9.3/dnsdist-session-cache.cc:87:11: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-1.9.3/dnsdist-snmp.hh:34:8: performance:inconclusive: Technically the member function 'DNSDistSNMPAgent::sendBackendStatusChangeTrap' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-1.9.3/dnsdist-snmp.cc:379:24: note: Technically the member function 'DNSDistSNMPAgent::sendBackendStatusChangeTrap' can be static (but you may consider moving to unnamed namespace). dnsdist-1.9.3/dnsdist-snmp.hh:34:8: note: Technically the member function 'DNSDistSNMPAgent::sendBackendStatusChangeTrap' can be static (but you may consider moving to unnamed namespace). dnsdist-1.9.3/dnsdist-snmp.hh:35:8: performance:inconclusive: Technically the member function 'DNSDistSNMPAgent::sendCustomTrap' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-1.9.3/dnsdist-snmp.cc:421:24: note: Technically the member function 'DNSDistSNMPAgent::sendCustomTrap' can be static (but you may consider moving to unnamed namespace). dnsdist-1.9.3/dnsdist-snmp.hh:35:8: note: Technically the member function 'DNSDistSNMPAgent::sendCustomTrap' can be static (but you may consider moving to unnamed namespace). dnsdist-1.9.3/dnsdist-snmp.hh:36:8: performance:inconclusive: Technically the member function 'DNSDistSNMPAgent::sendDNSTrap' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-1.9.3/dnsdist-snmp.cc:446:24: note: Technically the member function 'DNSDistSNMPAgent::sendDNSTrap' can be static (but you may consider moving to unnamed namespace). dnsdist-1.9.3/dnsdist-snmp.hh:36:8: note: Technically the member function 'DNSDistSNMPAgent::sendDNSTrap' can be static (but you may consider moving to unnamed namespace). dnsdist-1.9.3/dnsdist-tcp-upstream.hh:47:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_releaseConnection [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist-tcp-upstream.hh:60:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable none [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist-tcp-upstream.hh:82:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable none [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist-tcp-downstream.cc:76:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_STREAM [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist-tcp-downstream.cc:305:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist-tcp-downstream.cc:513:115: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/channel.hh:109:5: style: Class 'Receiver < ConnectionInfo , std :: default_delete < ConnectionInfo > >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/channel.hh:109:5: style: Class 'Receiver < CrossProtocolQuery , std :: default_delete < CrossProtocolQuery > >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/channel.hh:109:5: style: Class 'Receiver < TCPCrossProtocolResponse , std :: default_delete < TCPCrossProtocolResponse > >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/channel.hh:76:5: style: Class 'Sender < TCPCrossProtocolResponse , std :: default_delete < TCPCrossProtocolResponse > >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/dnsdist-tcp-upstream.hh:53:12: style: The destructor '~IncomingTCPConnectionState' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] dnsdist-1.9.3/dnsdist-tcp.hh:163:12: note: Virtual destructor in base class dnsdist-1.9.3/dnsdist-tcp-upstream.hh:53:12: note: Destructor in derived class dnsdist-1.9.3/dnsdist-tcp-downstream.cc:591:3: warning:inconclusive: Access of moved variable 'd_pendingQueries'. [accessMoved] dnsdist-1.9.3/dnsdist-tcp-downstream.cc:590:25: note: Calling std::move(d_pendingQueries) dnsdist-1.9.3/dnsdist-tcp-downstream.cc:591:3: note: Access of moved variable 'd_pendingQueries'. dnsdist-1.9.3/dnsdist-tcp-downstream.cc:593:3: warning:inconclusive: Access of moved variable 'd_pendingResponses'. [accessMoved] dnsdist-1.9.3/dnsdist-tcp-downstream.cc:592:27: note: Calling std::move(d_pendingResponses) dnsdist-1.9.3/dnsdist-tcp-downstream.cc:593:3: note: Access of moved variable 'd_pendingResponses'. dnsdist-1.9.3/dnsdist-tcp-downstream.cc:705:5: warning:inconclusive: Access of moved variable 'd_responseBuffer'. [accessMoved] dnsdist-1.9.3/dnsdist-tcp-downstream.cc:675:25: note: Calling std::move(d_responseBuffer) dnsdist-1.9.3/dnsdist-tcp-downstream.cc:697:9: note: Assuming condition is false dnsdist-1.9.3/dnsdist-tcp-downstream.cc:705:5: note: Access of moved variable 'd_responseBuffer'. dnsdist-1.9.3/dnsdist-tcp.cc:466:130: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable useProxyProtocol [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist-tcp.cc:613:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tcpCrossProtocolResponsePipeFull [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist-tcp.cc:626:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nonCompliantQueries [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist-tcp.cc:855:117: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist-tcp.cc:891:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable proxyProtocolInvalid [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist-tcp.cc:952:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist-tcp.cc:1555:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable aclDrops [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist-tcp.cc:753:7: style: Condition 'streamID' is always false [knownConditionTrueFalse] dnsdist-1.9.3/dnsdist-tcp.cc:737:7: note: Assuming that condition 'streamID' is not redundant dnsdist-1.9.3/dnsdist-tcp.cc:747:14: note: Assuming condition is false dnsdist-1.9.3/dnsdist-tcp.cc:753:7: note: Condition 'streamID' is always false dnsdist-1.9.3/dnsdist-tcp.cc:1137:13: style: Condition '!d_lastIOBlocked' is always true [knownConditionTrueFalse] dnsdist-1.9.3/dnsdist-tcp.cc:1131:23: note: Assuming that condition '!d_lastIOBlocked' is not redundant dnsdist-1.9.3/dnsdist-tcp.cc:1137:13: note: Condition '!d_lastIOBlocked' is always true dnsdist-1.9.3/dnsdist-tcp.cc:1137:39: style: Condition 'active()' is always true [knownConditionTrueFalse] dnsdist-1.9.3/dnsdist-tcp.cc:1131:17: note: Assuming that condition 'active()' is not redundant dnsdist-1.9.3/dnsdist-tcp.cc:1137:39: note: Condition 'active()' is always true dnsdist-1.9.3/dnsdist-tcp.cc:1617:9: style: Condition 'tcpClientCountIncremented' is always false [knownConditionTrueFalse] dnsdist-1.9.3/dnsdist-tcp.cc:1536:31: note: Assignment 'tcpClientCountIncremented=false', assigned value is 0 dnsdist-1.9.3/dnsdist-tcp.cc:1617:9: note: Condition 'tcpClientCountIncremented' is always false dnsdist-1.9.3/dnsdist-tcp.cc:1330:9: style: The scope of the variable 'response' can be reduced. [variableScope] dnsdist-1.9.3/dnsdist-tcp.cc:622:106: style:inconclusive: Function 'handleQuery' argument 1 names different: declaration 'query' definition 'queryIn'. [funcArgNamesDifferent] dnsdist-1.9.3/dnsdist-tcp-upstream.hh:134:52: note: Function 'handleQuery' argument 1 names different: declaration 'query' definition 'queryIn'. dnsdist-1.9.3/dnsdist-tcp.cc:622:106: note: Function 'handleQuery' argument 1 names different: declaration 'query' definition 'queryIn'. dnsdist-1.9.3/dnsdist-tcp.cc:117:127: style: Parameter 'backend' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/dnsdist-tcp.cc:442:88: style: Parameter 'state' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/dnsdist-tcp.cc:1310:39: warning: Access of moved variable 'query'. [accessMoved] dnsdist-1.9.3/dnsdist-tcp.cc:1307:33: note: Calling std::move(query) dnsdist-1.9.3/dnsdist-tcp.cc:1310:39: note: Access of moved variable 'query'. dnsdist-1.9.3/dnsdist-tcp.cc:181:18: style: Variable 'result' is assigned a value that is never used. [unreadVariable] dnsdist-1.9.3/delaypipe.hh:49:18: debug: Failed to instantiate template "Sender". The checking continues anyway. [templateInstantiation] dnsdist-1.9.3/dnsdist.cc:176:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable msghdr [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist.cc:219:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable truncFail [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist.cc:234:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist.cc:281:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable latency0_1 [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist.cc:347:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nonCompliantResponses [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist.cc:393:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLAGS_RD_OFFSET [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist.cc:555:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ruleTruncated [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist.cc:676:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist.cc:698:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable frontendNXDomain [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist.cc:745:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable responses [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist.cc:925:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist.cc:985:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ruleDrop [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist.cc:1093:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dynBlocked [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist.cc:1257:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist.cc:1278:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_TRUNC [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist.cc:1348:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nonCompliantQueries [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist.cc:1407:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cacheHits [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist.cc:1439:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ruleNXDomain [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist.cc:1632:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_idstate [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist.cc:1746:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable downstreamSendErrors [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist.cc:2151:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nonCompliantQueries [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist.cc:2336:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timeval [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist.cc:2466:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RLIMIT_NOFILE [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist.cc:2482:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_STREAM [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist.cc:2697:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist.cc:2773:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist.cc:2787:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist.cc:2911:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist.cc:3199:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist.cc:2181:13: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] dnsdist-1.9.3/dnsdist.cc:2200:13: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] dnsdist-1.9.3/dnsdist.cc:2347:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] dnsdist-1.9.3/dnsdist.cc:246:71: debug: CheckClass::isMemberVar found used member variable 'data' with varid 0 [varid0] dnsdist-1.9.3/delaypipe.hh:69:10: performance:inconclusive: Technically the member function 'DelayPipe < DelayedPacket >::tsdelta' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-1.9.3/delaypipe.hh:82:8: performance:inconclusive: Technically the member function 'DelayPipe < DelayedPacket >::gettime' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-1.9.3/delaypipe.cc:91:20: note: Technically the member function 'DelayPipe < DelayedPacket >::gettime' can be static (but you may consider moving to unnamed namespace). dnsdist-1.9.3/delaypipe.hh:82:8: note: Technically the member function 'DelayPipe < DelayedPacket >::gettime' can be static (but you may consider moving to unnamed namespace). dnsdist-1.9.3/channel.hh:109:5: style: Class 'Receiver < Combo , std :: default_delete < Combo > >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/dnsdist.cc:1593:4: style: The destructor '~UDPTCPCrossQuerySender' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] dnsdist-1.9.3/dnsdist-tcp.hh:163:12: note: Virtual destructor in base class dnsdist-1.9.3/dnsdist.cc:1593:4: note: Destructor in derived class dnsdist-1.9.3/dnsdist.cc:1644:4: style: The destructor '~UDPCrossProtocolQuery' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] dnsdist-1.9.3/dnsdist-tcp.hh:194:12: note: Virtual destructor in base class dnsdist-1.9.3/dnsdist.cc:1644:4: note: Destructor in derived class dnsdist-1.9.3/dnsdist.cc:184:16: style: Condition 'from.sin4.sin_family' is always true [knownConditionTrueFalse] dnsdist-1.9.3/dnsdist.cc:751:46: style: Condition '!ids.isXSK()' is always true [knownConditionTrueFalse] dnsdist-1.9.3/dnsdist.cc:751:56: note: Calling function 'isXSK' returns 0 dnsdist-1.9.3/dnsdist.cc:751:46: note: Condition '!ids.isXSK()' is always true dnsdist-1.9.3/dnsdist.cc:762:11: style: Condition '!ids.isXSK()' is always true [knownConditionTrueFalse] dnsdist-1.9.3/dnsdist.cc:762:21: note: Calling function 'isXSK' returns 0 dnsdist-1.9.3/dnsdist.cc:762:11: note: Condition '!ids.isXSK()' is always true dnsdist-1.9.3/dnsdist.cc:1796:9: style: Condition 'dnsCryptResponse' is always false [knownConditionTrueFalse] dnsdist-1.9.3/dnsdist.cc:1795:47: note: Calling function 'checkDNSCryptQuery' returns 0 dnsdist-1.9.3/dnsdist.cc:1795:47: note: Assignment 'dnsCryptResponse=checkDNSCryptQuery(cs,query,ids.dnsCryptQuery,ids.queryRealTime.d_start.tv_sec,false)', assigned value is 0 dnsdist-1.9.3/dnsdist.cc:1796:9: note: Condition 'dnsCryptResponse' is always false dnsdist-1.9.3/dnsdist.cc:181:20: style: C-style pointer casting [cstyleCast] dnsdist-1.9.3/dnsdist.cc:1696:8: style: The scope of the variable 'failed' can be reduced. [variableScope] dnsdist-1.9.3/dnsdist.cc:628:155: style:inconclusive: Function 'processResponse' argument 3 names different: declaration 'insertedRespRuleActions' definition 'cacheInsertedRespRuleActions'. [funcArgNamesDifferent] dnsdist-1.9.3/dnsdist.hh:1193:155: note: Function 'processResponse' argument 3 names different: declaration 'insertedRespRuleActions' definition 'cacheInsertedRespRuleActions'. dnsdist-1.9.3/dnsdist.cc:628:155: note: Function 'processResponse' argument 3 names different: declaration 'insertedRespRuleActions' definition 'cacheInsertedRespRuleActions'. dnsdist-1.9.3/dnsdist.cc:814:55: style:inconclusive: Function 'responderThread' argument 1 names different: declaration 'state' definition 'dss'. [funcArgNamesDifferent] dnsdist-1.9.3/dnsdist.hh:1028:55: note: Function 'responderThread' argument 1 names different: declaration 'state' definition 'dss'. dnsdist-1.9.3/dnsdist.cc:814:55: note: Function 'responderThread' argument 1 names different: declaration 'state' definition 'dss'. dnsdist-1.9.3/dnsdist.cc:966:88: style: Parameter 'ruleresult' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/dnsdist.cc:1324:62: style: Parameter 'query' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/dnsdist.cc:1324:101: style: Parameter 'dnsCryptQuery' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/dnsdist.cc:1385:51: style: Parameter 'holders' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/dnsdist.cc:2278:15: style: Variable 'iter' can be declared as reference to const [constVariableReference] dnsdist-1.9.3/dnsdist.cc:2479:43: style: Parameter 'clientState' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/dnsdist.cc:3358:16: style: Variable 'todoItem' can be declared as reference to const [constVariableReference] dnsdist-1.9.3/dnsdist.cc:1758:181: style: Parameter 'responsesVect' can be declared as pointer to const [constParameterPointer] dnsdist-1.9.3/dnsdist.cc:1758:210: style: Parameter 'queuedResponses' can be declared as pointer to const [constParameterPointer] dnsdist-1.9.3/dnsdist.cc:1758:241: style: Parameter 'respIOV' can be declared as pointer to const [constParameterPointer] dnsdist-1.9.3/dnsdist.cc:1758:267: style: Parameter 'respCBuf' can be declared as pointer to const [constParameterPointer] dnsdist-1.9.3/dnsdist.cc:2435:28: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-1.9.3/dnsdist.cc:2990:94: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-1.9.3/dnsdist.cc:524:36: style: Variable 'action' is assigned a value that is never used. [unreadVariable] dnsdist-1.9.3/dnsdist.cc:2381:35: style: Variable 'one' is assigned a value that is never used. [unreadVariable] dnsdist-1.9.3/dnsdist.cc:3104:29: style: Unused variable: tcpStates [unusedVariable] dnsdist-1.9.3/dnsdist.cc:3105:29: style: Unused variable: udpStates [unusedVariable] dnsdist-1.9.3/dnsdist-web.cc:438:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable json11 [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist-web.cc:532:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable latency0_1 [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist-web.cc:1315:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist-web.cc:1659:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsname.cc:571:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu8 [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsname.cc:109:28: style: C-style pointer casting [cstyleCast] dnsdist-1.9.3/dnsname.cc:475:33: style: C-style pointer casting [cstyleCast] dnsdist-1.9.3/dnsname.cc:476:21: style: C-style pointer casting [cstyleCast] dnsdist-1.9.3/dnsname.cc:484:33: style: C-style pointer casting [cstyleCast] dnsdist-1.9.3/dnsname.cc:486:27: style: C-style pointer casting [cstyleCast] dnsdist-1.9.3/dnsname.cc:65:21: style: The scope of the variable 'lenpos' can be reduced. [variableScope] dnsdist-1.9.3/dnsname.cc:66:21: style: The scope of the variable 'labellen' can be reduced. [variableScope] dnsdist-1.9.3/dnsname.cc:131:17: style: The scope of the variable 'labellen' can be reduced. [variableScope] dnsdist-1.9.3/dnsname.cc:102:30: style:inconclusive: Function 'DNSName' argument 1 names different: declaration 'p' definition 'pos'. [funcArgNamesDifferent] dnsdist-1.9.3/dnsname.hh:104:23: note: Function 'DNSName' argument 1 names different: declaration 'p' definition 'pos'. dnsdist-1.9.3/dnsname.cc:102:30: note: Function 'DNSName' argument 1 names different: declaration 'p' definition 'pos'. dnsdist-1.9.3/dnsname.cc:127:91: style:inconclusive: Function 'parsePacketUncompressed' argument 2 names different: declaration 'position' definition 'pos'. [funcArgNamesDifferent] dnsdist-1.9.3/dnsname.hh:221:84: note: Function 'parsePacketUncompressed' argument 2 names different: declaration 'position' definition 'pos'. dnsdist-1.9.3/dnsname.cc:127:91: note: Function 'parsePacketUncompressed' argument 2 names different: declaration 'position' definition 'pos'. dnsdist-1.9.3/dnsname.cc:324:39: style:inconclusive: Function 'isPartOf' argument 1 names different: declaration 'rhs' definition 'parent'. [funcArgNamesDifferent] dnsdist-1.9.3/dnsname.hh:106:32: note: Function 'isPartOf' argument 1 names different: declaration 'rhs' definition 'parent'. dnsdist-1.9.3/dnsname.cc:324:39: note: Function 'isPartOf' argument 1 names different: declaration 'rhs' definition 'parent'. dnsdist-1.9.3/dnsname.cc:416:49: style:inconclusive: Function 'appendRawLabel' argument 1 names different: declaration 'str' definition 'label'. [funcArgNamesDifferent] dnsdist-1.9.3/dnsname.hh:117:42: note: Function 'appendRawLabel' argument 1 names different: declaration 'str' definition 'label'. dnsdist-1.9.3/dnsname.cc:416:49: note: Function 'appendRawLabel' argument 1 names different: declaration 'str' definition 'label'. dnsdist-1.9.3/dnsname.cc:442:50: style:inconclusive: Function 'prependRawLabel' argument 1 names different: declaration 'str' definition 'label'. [funcArgNamesDifferent] dnsdist-1.9.3/dnsname.hh:119:43: note: Function 'prependRawLabel' argument 1 names different: declaration 'str' definition 'label'. dnsdist-1.9.3/dnsname.cc:442:50: note: Function 'prependRawLabel' argument 1 names different: declaration 'str' definition 'label'. dnsdist-1.9.3/dnsname.cc:65:27: style: Variable 'lenpos' is assigned a value that is never used. [unreadVariable] dnsdist-1.9.3/dnsname.cc:66:29: style: Variable 'labellen' is assigned a value that is never used. [unreadVariable] dnsdist-1.9.3/dnsname.cc:131:26: style: Variable 'labellen' is assigned a value that is never used. [unreadVariable] dnsdist-1.9.3/dnsparser.cc:810:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist-web.cc:1506:38: style: Variable 'e' can be declared as reference to const [constVariableReference] dnsdist-1.9.3/dnsdist-web.cc:444:19: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-1.9.3/dnsdist-web.cc:1073:11: style: Consider using std::copy algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-1.9.3/dnsparser.cc:55:9: warning: %x in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] dnsdist-1.9.3/dnsparser.cc:460:17: style: C-style pointer casting [cstyleCast] dnsdist-1.9.3/dnsparser.cc:715:19: style: C-style pointer casting [cstyleCast] dnsdist-1.9.3/dnsparser.cc:733:12: style: C-style pointer casting [cstyleCast] dnsdist-1.9.3/dnsparser.cc:140:72: style:inconclusive: Function 'make' argument 3 names different: declaration 'zone' definition 'content'. [funcArgNamesDifferent] dnsdist-1.9.3/dnsparser.hh:197:96: note: Function 'make' argument 3 names different: declaration 'zone' definition 'content'. dnsdist-1.9.3/dnsparser.cc:140:72: note: Function 'make' argument 3 names different: declaration 'zone' definition 'content'. dnsdist-1.9.3/dnsparser.cc:150:106: style:inconclusive: Function 'make' argument 3 names different: declaration 'opcode' definition 'oc'. [funcArgNamesDifferent] dnsdist-1.9.3/dnsparser.hh:196:97: note: Function 'make' argument 3 names different: declaration 'opcode' definition 'oc'. dnsdist-1.9.3/dnsparser.cc:150:106: note: Function 'make' argument 3 names different: declaration 'opcode' definition 'oc'. dnsdist-1.9.3/dnsparser.cc:401:56: style:inconclusive: Function 'xfrNodeOrLocatorID' argument 1 names different: declaration 'val' definition 'ret'. [funcArgNamesDifferent] dnsdist-1.9.3/dnsparser.hh:84:44: note: Function 'xfrNodeOrLocatorID' argument 1 names different: declaration 'val' definition 'ret'. dnsdist-1.9.3/dnsparser.cc:401:56: note: Function 'xfrNodeOrLocatorID' argument 1 names different: declaration 'val' definition 'ret'. dnsdist-1.9.3/dnsparser.cc:410:42: style:inconclusive: Function 'xfr48BitInt' argument 1 names different: declaration 'val' definition 'ret'. [funcArgNamesDifferent] dnsdist-1.9.3/dnsparser.hh:85:30: note: Function 'xfr48BitInt' argument 1 names different: declaration 'val' definition 'ret'. dnsdist-1.9.3/dnsparser.cc:410:42: note: Function 'xfr48BitInt' argument 1 names different: declaration 'val' definition 'ret'. dnsdist-1.9.3/dnsparser.cc:570:54: style:inconclusive: Function 'xfrBlobNoSpaces' argument 2 names different: declaration 'len' definition 'length'. [funcArgNamesDifferent] dnsdist-1.9.3/dnsparser.hh:153:42: note: Function 'xfrBlobNoSpaces' argument 2 names different: declaration 'len' definition 'length'. dnsdist-1.9.3/dnsparser.cc:570:54: note: Function 'xfrBlobNoSpaces' argument 2 names different: declaration 'len' definition 'length'. dnsdist-1.9.3/dnsparser.cc:698:37: style:inconclusive: Function 'simpleCompress' argument 1 names different: declaration 'label' definition 'elabel'. [funcArgNamesDifferent] dnsdist-1.9.3/dnsparser.hh:495:37: note: Function 'simpleCompress' argument 1 names different: declaration 'label' definition 'elabel'. dnsdist-1.9.3/dnsparser.cc:698:37: note: Function 'simpleCompress' argument 1 names different: declaration 'label' definition 'elabel'. dnsdist-1.9.3/dnsparser.cc:975:32: style: Parameter 'packet' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/dnsparser.cc:348:3: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-1.9.3/dnstap.cc:82:92: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnswriter.cc:236:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnswriter.cc:325:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/stat_t.hh:48:12: style:inconclusive: Technically the member function 'pdns::stat_t_trait::operator++' can be const. [functionConst] dnsdist-1.9.3/stat_t.hh:54:12: style:inconclusive: Technically the member function 'pdns::stat_t_trait::operator--' can be const. [functionConst] dnsdist-1.9.3/stat_t.hh:38:5: style: Class 'stat_t_trait' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/dnswriter.cc:55:23: style: C-style pointer casting [cstyleCast] dnsdist-1.9.3/dnswriter.cc:85:40: style: C-style pointer casting [cstyleCast] dnsdist-1.9.3/dnswriter.cc:137:21: style: C-style pointer casting [cstyleCast] dnsdist-1.9.3/dnswriter.cc:138:21: style: C-style pointer casting [cstyleCast] dnsdist-1.9.3/dnswriter.cc:254:22: style: C-style pointer casting [cstyleCast] dnsdist-1.9.3/dnswriter.cc:301:45: style: C-style pointer casting [cstyleCast] dnsdist-1.9.3/dnswriter.cc:303:105: style: C-style pointer casting [cstyleCast] dnsdist-1.9.3/dnswriter.cc:351:40: style: C-style pointer casting [cstyleCast] dnsdist-1.9.3/dnswriter.cc:209:117: style:inconclusive: Function 'lookupName' argument 2 names different: declaration 'matchlen' definition 'matchLen'. [funcArgNamesDifferent] dnsdist-1.9.3/dnswriter.hh:164:54: note: Function 'lookupName' argument 2 names different: declaration 'matchlen' definition 'matchLen'. dnsdist-1.9.3/dnswriter.cc:209:117: note: Function 'lookupName' argument 2 names different: declaration 'matchlen' definition 'matchLen'. dnsdist-1.9.3/dnswriter.cc:322:94: style:inconclusive: Function 'xfrName' argument 1 names different: declaration 'label' definition 'name'. [funcArgNamesDifferent] dnsdist-1.9.3/dnswriter.hh:130:31: note: Function 'xfrName' argument 1 names different: declaration 'label' definition 'name'. dnsdist-1.9.3/dnswriter.cc:322:94: note: Function 'xfrName' argument 1 names different: declaration 'label' definition 'name'. dnsdist-1.9.3/dnswriter.cc:234:25: style: Variable 'ba' can be declared as reference to const [constVariableReference] dnsdist-1.9.3/dnswriter.cc:281:27: style: Variable 'ba' can be declared as reference to const [constVariableReference] dnsdist-1.9.3/dolog.cc:46:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISO8601 [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dolog.cc:57:147: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Numeric [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/ednscookies.hh:51:8: performance:inconclusive: Technically the member function 'EDNSCookiesOpt::isValid' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-1.9.3/ednscookies.cc:77:22: note: Technically the member function 'EDNSCookiesOpt::isValid' can be static (but you may consider moving to unnamed namespace). dnsdist-1.9.3/ednscookies.hh:51:8: note: Technically the member function 'EDNSCookiesOpt::isValid' can be static (but you may consider moving to unnamed namespace). dnsdist-1.9.3/ednscookies.hh:52:8: performance:inconclusive: Technically the member function 'EDNSCookiesOpt::makeServerCookie' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-1.9.3/ednscookies.cc:142:22: note: Technically the member function 'EDNSCookiesOpt::makeServerCookie' can be static (but you may consider moving to unnamed namespace). dnsdist-1.9.3/ednscookies.hh:52:8: note: Technically the member function 'EDNSCookiesOpt::makeServerCookie' can be static (but you may consider moving to unnamed namespace). dnsdist-1.9.3/ednscookies.hh:32:3: style: Struct 'EDNSCookiesOpt' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/ednscookies.hh:54:10: performance: Function 'getServer()' should return member 'server' by const reference. [returnByReference] dnsdist-1.9.3/ednscookies.hh:58:10: performance: Function 'getClient()' should return member 'client' by const reference. [returnByReference] dnsdist-1.9.3/ednsoptions.cc:53:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/ednsoptions.cc:100:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/ednssubnet.cc:65:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/ednssubnet.cc:101:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sin_family [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/ednsoptions.cc:160:15: style: C-style pointer casting [cstyleCast] dnsdist-1.9.3/ednsoptions.cc:161:15: style: C-style pointer casting [cstyleCast] dnsdist-1.9.3/ednsoptions.cc:136:12: style: The scope of the variable 'code' can be reduced. [variableScope] dnsdist-1.9.3/ednsoptions.cc:136:18: style: The scope of the variable 'len' can be reduced. [variableScope] dnsdist-1.9.3/ednssubnet.cc:105:15: style: C-style pointer casting [cstyleCast] dnsdist-1.9.3/ednssubnet.cc:112:17: style: C-style pointer casting [cstyleCast] dnsdist-1.9.3/ednssubnet.cc:115:17: style: C-style pointer casting [cstyleCast] dnsdist-1.9.3/epollmplexer.cc:107:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EPOLLIN [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/epollmplexer.cc:126:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EPOLL_CTL_ADD [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/epollmplexer.cc:137:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EPOLL_CTL_DEL [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/epollmplexer.cc:149:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EPOLL_CTL_MOD [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/epollmplexer.cc:158:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/epollmplexer.cc:176:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/ext/arc4random/arc4random.h:38:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/epollmplexer.cc:39:3: style: Class 'EpollFDMultiplexer' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/epollmplexer.cc:167:45: style:inconclusive: Function 'run' argument 1 names different: declaration 'tv' definition 'now'. [funcArgNamesDifferent] dnsdist-1.9.3/epollmplexer.cc:47:27: note: Function 'run' argument 1 names different: declaration 'tv' definition 'now'. dnsdist-1.9.3/epollmplexer.cc:167:45: note: Function 'run' argument 1 names different: declaration 'tv' definition 'now'. dnsdist-1.9.3/ext/arc4random/arc4random_uniform.c:48:21: style: Opposite expression on both sides of '%'. [oppositeExpression] dnsdist-1.9.3/ext/arc4random/bsd-getentropy.c:62:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/ext/arc4random/arc4random.c:228:34: style:inconclusive: Function 'arc4random_buf' argument 2 names different: declaration 'nbytes' definition 'n'. [funcArgNamesDifferent] dnsdist-1.9.3/ext/arc4random/includes.h:18:39: note: Function 'arc4random_buf' argument 2 names different: declaration 'nbytes' definition 'n'. dnsdist-1.9.3/ext/arc4random/arc4random.c:228:34: note: Function 'arc4random_buf' argument 2 names different: declaration 'nbytes' definition 'n'. dnsdist-1.9.3/ext/arc4random/arc4random.c:95:18: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] dnsdist-1.9.3/ext/arc4random/arc4random.c:147:19: style: Parameter 'dat' can be declared as pointer to const [constParameterPointer] dnsdist-1.9.3/ext/arc4random/explicit_bzero.c:45:32: style:inconclusive: Function 'explicit_bzero' argument 2 names different: declaration 'len' definition 'n'. [funcArgNamesDifferent] dnsdist-1.9.3/ext/arc4random/includes.h:24:36: note: Function 'explicit_bzero' argument 2 names different: declaration 'len' definition 'n'. dnsdist-1.9.3/ext/arc4random/explicit_bzero.c:45:32: note: Function 'explicit_bzero' argument 2 names different: declaration 'len' definition 'n'. dnsdist-1.9.3/ext/lmdb-safe/lmdb-safe.hh:106:0: error: #error "your compiler did not define byte order macros" [preprocessorErrorDirective] dnsdist-1.9.3/ext/json11/json11.cpp:175:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_value [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/ext/json11/json11.cpp:176:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_value [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/ext/json11/json11.cpp:177:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_value [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/ext/json11/json11.cpp:178:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_value [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/ext/json11/json11.cpp:184:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_value [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/ext/json11/json11.cpp:185:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_value [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/ext/json11/json11.cpp:186:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_value [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/ext/json11/json11.cpp:187:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_value [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/ext/json11/json11.cpp:193:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_value [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/ext/json11/json11.cpp:199:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_value [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/ext/json11/json11.cpp:206:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_value [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/ext/json11/json11.cpp:214:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_value [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/ext/json11/json11.cpp:296:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_value [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/ext/json11/json11.cpp:595:85: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable digits10 [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/ext/yahttp/yahttp/utility.hpp:73:0: error: #error define HAVE_LOCALTIME_R [preprocessorErrorDirective] dnsdist-1.9.3/ext/json11/json11.cpp:457:10: performance:inconclusive: Technically the member function 'json11::::JsonParser::encode_utf8' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-1.9.3/ext/json11/json11.cpp:303:36: style:inconclusive: Function 'operator==' argument 1 names different: declaration 'rhs' definition 'other'. [funcArgNamesDifferent] dnsdist-1.9.3/ext/json11/json11.hpp:192:34: note: Function 'operator==' argument 1 names different: declaration 'rhs' definition 'other'. dnsdist-1.9.3/ext/json11/json11.cpp:303:36: note: Function 'operator==' argument 1 names different: declaration 'rhs' definition 'other'. dnsdist-1.9.3/ext/json11/json11.cpp:310:35: style:inconclusive: Function 'operator<' argument 1 names different: declaration 'rhs' definition 'other'. [funcArgNamesDifferent] dnsdist-1.9.3/ext/json11/json11.hpp:193:34: note: Function 'operator<' argument 1 names different: declaration 'rhs' definition 'other'. dnsdist-1.9.3/ext/json11/json11.cpp:310:35: note: Function 'operator<' argument 1 names different: declaration 'rhs' definition 'other'. dnsdist-1.9.3/ext/json11/json11.cpp:515:24: style: Local variable 'esc' shadows outer function [shadowFunction] dnsdist-1.9.3/ext/json11/json11.cpp:325:22: note: Shadowed declaration dnsdist-1.9.3/ext/json11/json11.cpp:515:24: note: Shadow variable dnsdist-1.9.3/ext/json11/json11.cpp:774:17: style: Variable 'item' can be declared as reference to const [constVariableReference] dnsdist-1.9.3/ext/json11/json11.cpp:775:56: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-1.9.3/iputils.cc:61:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/iputils.cc:71:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/iputils.cc:116:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/iputils.cc:153:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/iputils.cc:197:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/iputils.cc:278:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_IPV6 [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/iputils.cc:290:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/iputils.cc:314:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/iputils.cc:328:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable msghdr [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/iputils.cc:344:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sin_family [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/iputils.cc:376:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable msghdr [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/iputils.cc:466:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_PEEK [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/iputils.cc:541:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOL_SOCKET [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/iputils.cc:554:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SO_RCVBUF [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/iputils.cc:559:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SO_SNDBUF [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/iputils.cc:85:56: style: C-style pointer casting [cstyleCast] dnsdist-1.9.3/iputils.cc:114:27: style: C-style pointer casting [cstyleCast] dnsdist-1.9.3/iputils.cc:126:29: style: C-style pointer casting [cstyleCast] dnsdist-1.9.3/iputils.cc:279:34: style: C-style pointer casting [cstyleCast] dnsdist-1.9.3/iputils.cc:347:13: style: C-style pointer casting [cstyleCast] dnsdist-1.9.3/iputils.cc:353:13: style: C-style pointer casting [cstyleCast] dnsdist-1.9.3/iputils.cc:239:38: style: Parameter 'msgh' can be declared as pointer to const [constParameterPointer] dnsdist-1.9.3/iputils.cc:239:60: style: Parameter 'tv' can be declared as pointer to const [constParameterPointer] dnsdist-1.9.3/iputils.cc:279:29: style: Variable 'i' can be declared as pointer to const [constVariablePointer] dnsdist-1.9.3/kqueuemplexer.cc:91:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EVFILT_READ [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/kqueuemplexer.cc:107:86: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_ADD [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/kqueuemplexer.cc:127:86: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_DELETE [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/kqueuemplexer.cc:150:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/kqueuemplexer.cc:180:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/kqueuemplexer.cc:41:3: style: Class 'KqueueFDMultiplexer' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/kqueuemplexer.cc:42:4: style: The destructor '~KqueueFDMultiplexer' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] dnsdist-1.9.3/mplexer.hh:76:12: note: Virtual destructor in base class dnsdist-1.9.3/kqueuemplexer.cc:42:4: note: Destructor in derived class dnsdist-1.9.3/kqueuemplexer.cc:167:46: style:inconclusive: Function 'run' argument 1 names different: declaration 'tv' definition 'now'. [funcArgNamesDifferent] dnsdist-1.9.3/kqueuemplexer.cc:49:27: note: Function 'run' argument 1 names different: declaration 'tv' definition 'now'. dnsdist-1.9.3/kqueuemplexer.cc:167:46: note: Function 'run' argument 1 names different: declaration 'tv' definition 'now'. dnsdist-1.9.3/kqueuemplexer.cc:163:9: style: Consider using std::copy algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-1.9.3/misc.cc:83:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/misc.cc:107:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/misc.cc:123:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timeval [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/misc.cc:186:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/misc.cc:384:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLIN [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/misc.cc:413:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pollfd [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/misc.cc:445:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pollfd [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/misc.cc:517:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/misc.cc:555:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/misc.cc:697:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/misc.cc:710:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_LOCAL0 [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/misc.cc:748:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/misc.cc:806:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/misc.cc:837:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_un [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/misc.cc:873:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_ICASE [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/misc.cc:885:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/misc.cc:964:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RLIMIT_NOFILE [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/misc.cc:973:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RLIMIT_NOFILE [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/misc.cc:1003:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/misc.cc:1011:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/misc.cc:1027:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/misc.cc:1051:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/misc.cc:1063:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFD [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/misc.cc:1178:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOENT [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/misc.cc:1429:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RUSAGE_SELF [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/misc.cc:1459:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RUSAGE_SELF [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/misc.cc:1466:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RUSAGE_SELF [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/misc.cc:1589:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOSYS [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/misc.cc:1608:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/misc.cc:1638:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/misc.cc:1657:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/misc.cc:1677:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hex [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/misc.cc:1765:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/misc.cc:1783:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/pollmplexer.cc:67:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLIN [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/pollmplexer.cc:112:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/pollmplexer.cc:138:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/misc.cc:1498:25: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] dnsdist-1.9.3/misc.cc:1527:24: portability: Non reentrant function 'getgrnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrnam_r'. [prohibitedgetgrnamCalled] dnsdist-1.9.3/misc.cc:1772:30: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] dnsdist-1.9.3/misc.cc:1797:5: error: Resource handle 'fileDesc' freed twice. [doubleFree] dnsdist-1.9.3/misc.cc:1794:38: note: Resource handle 'fileDesc' freed twice. dnsdist-1.9.3/misc.cc:1797:5: note: Resource handle 'fileDesc' freed twice. dnsdist-1.9.3/misc.cc:103:20: style: C-style pointer casting [cstyleCast] dnsdist-1.9.3/misc.cc:130:28: style: C-style pointer casting [cstyleCast] dnsdist-1.9.3/misc.cc:775:44: style: C-style pointer casting [cstyleCast] dnsdist-1.9.3/misc.cc:904:12: style: C-style pointer casting [cstyleCast] dnsdist-1.9.3/misc.cc:996:21: style: C-style pointer casting [cstyleCast] dnsdist-1.9.3/misc.cc:1020:50: style: C-style pointer casting [cstyleCast] dnsdist-1.9.3/misc.cc:1739:45: style: C-style pointer casting [cstyleCast] dnsdist-1.9.3/misc.cc:1740:45: style: C-style pointer casting [cstyleCast] dnsdist-1.9.3/pollmplexer.cc:31:3: style: Class 'PollFDMultiplexer' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/misc.cc:101:11: style: The scope of the variable 'res' can be reduced. [variableScope] dnsdist-1.9.3/misc.cc:75:20: style:inconclusive: Function 'writen2' argument 1 names different: declaration 'fd' definition 'fileDesc'. [funcArgNamesDifferent] dnsdist-1.9.3/misc.hh:168:20: note: Function 'writen2' argument 1 names different: declaration 'fd' definition 'fileDesc'. dnsdist-1.9.3/misc.cc:75:20: note: Function 'writen2' argument 1 names different: declaration 'fd' definition 'fileDesc'. dnsdist-1.9.3/misc.cc:404:87: style:inconclusive: Function 'waitForMultiData' argument 4 names different: declaration 'fd' definition 'fdOut'. [funcArgNamesDifferent] dnsdist-1.9.3/misc.hh:96:87: note: Function 'waitForMultiData' argument 4 names different: declaration 'fd' definition 'fdOut'. dnsdist-1.9.3/misc.cc:404:87: note: Function 'waitForMultiData' argument 4 names different: declaration 'fd' definition 'fdOut'. dnsdist-1.9.3/misc.cc:442:68: style:inconclusive: Function 'waitFor2Data' argument 5 names different: declaration 'fd' definition 'fdPtr'. [funcArgNamesDifferent] dnsdist-1.9.3/misc.hh:95:68: note: Function 'waitFor2Data' argument 5 names different: declaration 'fd' definition 'fdPtr'. dnsdist-1.9.3/misc.cc:442:68: note: Function 'waitFor2Data' argument 5 names different: declaration 'fd' definition 'fdPtr'. dnsdist-1.9.3/misc.cc:881:59: style:inconclusive: Function 'addCMsgSrcAddr' argument 2 names different: declaration 'cbuf' definition 'cmsgbuf'. [funcArgNamesDifferent] dnsdist-1.9.3/misc.hh:572:59: note: Function 'addCMsgSrcAddr' argument 2 names different: declaration 'cbuf' definition 'cmsgbuf'. dnsdist-1.9.3/misc.cc:881:59: note: Function 'addCMsgSrcAddr' argument 2 names different: declaration 'cbuf' definition 'cmsgbuf'. dnsdist-1.9.3/misc.cc:1498:19: style: Variable 'pwd' can be declared as pointer to const [constVariablePointer] dnsdist-1.9.3/misc.cc:1527:18: style: Variable 'grp' can be declared as pointer to const [constVariablePointer] dnsdist-1.9.3/pollmplexer.cc:123:44: style:inconclusive: Function 'run' argument 1 names different: declaration 'tv' definition 'now'. [funcArgNamesDifferent] dnsdist-1.9.3/pollmplexer.cc:34:27: note: Function 'run' argument 1 names different: declaration 'tv' definition 'now'. dnsdist-1.9.3/pollmplexer.cc:123:44: note: Function 'run' argument 1 names different: declaration 'tv' definition 'now'. dnsdist-1.9.3/pollmplexer.cc:97:12: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-1.9.3/portsmplexer.cc:68:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLIN [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/portsmplexer.cc:79:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PORT_SOURCE_FD [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/portsmplexer.cc:86:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PORT_SOURCE_FD [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/portsmplexer.cc:105:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/portsmplexer.cc:166:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/protozero.cc:30:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/protozero.cc:43:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/portsmplexer.cc:20:3: style: Class 'PortsFDMultiplexer' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/portsmplexer.cc:21:4: style: The destructor '~PortsFDMultiplexer' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] dnsdist-1.9.3/mplexer.hh:76:12: note: Virtual destructor in base class dnsdist-1.9.3/portsmplexer.cc:21:4: note: Destructor in derived class dnsdist-1.9.3/portsmplexer.cc:148:45: style:inconclusive: Function 'run' argument 1 names different: declaration 'tv' definition 'now'. [funcArgNamesDifferent] dnsdist-1.9.3/portsmplexer.cc:26:27: note: Function 'run' argument 1 names different: declaration 'tv' definition 'now'. dnsdist-1.9.3/portsmplexer.cc:148:45: note: Function 'run' argument 1 names different: declaration 'tv' definition 'now'. dnsdist-1.9.3/protozero.hh:244:12: performance:inconclusive: Technically the member function 'pdns::ProtoZero::Message::encodeDNSName' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-1.9.3/protozero.cc:52:32: note: Technically the member function 'pdns::ProtoZero::Message::encodeDNSName' can be static (but you may consider moving to unnamed namespace). dnsdist-1.9.3/protozero.hh:244:12: note: Technically the member function 'pdns::ProtoZero::Message::encodeDNSName' can be static (but you may consider moving to unnamed namespace). dnsdist-1.9.3/protozero.cc:109:10: style: Variable 'rrname' is assigned a value that is never used. [unreadVariable] dnsdist-1.9.3/protozero.cc:118:14: style: Variable 'rrname' is assigned a value that is never used. [unreadVariable] dnsdist-1.9.3/proxy-protocol.cc:120:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s_addr [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/remote_logger.cc:53:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable iov_base [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/remote_logger.cc:123:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_STREAM [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/remote_logger.cc:153:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TooLarge [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/remote_logger.cc:242:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/proxy-protocol.cc:124:11: style: The scope of the variable 'protocol' can be reduced. [variableScope] dnsdist-1.9.3/snmp-agent.hh:53:8: performance:inconclusive: Technically the member function 'SNMPAgent::worker' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-1.9.3/snmp-agent.cc:99:17: note: Technically the member function 'SNMPAgent::worker' can be static (but you may consider moving to unnamed namespace). dnsdist-1.9.3/snmp-agent.hh:53:8: note: Technically the member function 'SNMPAgent::worker' can be static (but you may consider moving to unnamed namespace). dnsdist-1.9.3/standalone_fuzz_target_runner.cc:13:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/statnode.cc:6:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/svc-records.cc:92:13: style: Condition 'd_key==SvcParamKey::alpn' is always true [knownConditionTrueFalse] dnsdist-1.9.3/svc-records.cc:89:13: note: Assuming that condition 'd_key!=SvcParamKey::alpn' is not redundant dnsdist-1.9.3/svc-records.cc:92:13: note: Condition 'd_key==SvcParamKey::alpn' is always true dnsdist-1.9.3/svc-records.cc:102:13: style: Condition 'd_key==SvcParamKey::mandatory' is always true [knownConditionTrueFalse] dnsdist-1.9.3/svc-records.cc:99:13: note: Assuming that condition 'd_key!=SvcParamKey::mandatory' is not redundant dnsdist-1.9.3/svc-records.cc:102:13: note: Condition 'd_key==SvcParamKey::mandatory' is always true dnsdist-1.9.3/svc-records.cc:79:17: style: Unused variable: d [unusedVariable] dnsdist-1.9.3/test-channel.cc:94:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable runtime_error [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/test-channel.cc:103:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/test-channel.cc:139:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable runtime_error [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/channel.hh:109:5: style: Class 'Receiver < MyObject , std :: default_delete < MyObject > >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/channel.hh:76:5: style: Class 'Sender < MyObject , std :: default_delete < MyObject > >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/test-channel.cc:31:3: warning: Access of moved variable 'obj'. [accessMoved] dnsdist-1.9.3/test-channel.cc:30:3: note: Calling std::move(obj) dnsdist-1.9.3/test-channel.cc:31:3: note: Access of moved variable 'obj'. dnsdist-1.9.3/test-channel.cc:57:7: warning: Access of moved variable 'obj'. [accessMoved] dnsdist-1.9.3/test-channel.cc:52:28: note: Calling std::move(obj) dnsdist-1.9.3/test-channel.cc:57:7: note: Access of moved variable 'obj'. dnsdist-1.9.3/tcpiohandler.hh:146:8: performance:inconclusive: Technically the member function 'TLSFrontend::setupTLS' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-1.9.3/tcpiohandler.cc:1829:19: note: Technically the member function 'TLSFrontend::setupTLS' can be static (but you may consider moving to unnamed namespace). dnsdist-1.9.3/tcpiohandler.hh:146:8: note: Technically the member function 'TLSFrontend::setupTLS' can be static (but you may consider moving to unnamed namespace). dnsdist-1.9.3/test-credentials_cc.cc:149:3: warning:inconclusive: Access of moved variable 'data'. [accessMoved] dnsdist-1.9.3/test-credentials_cc.cc:147:11: note: Calling std::move(data) dnsdist-1.9.3/test-credentials_cc.cc:149:3: note: Access of moved variable 'data'. dnsdist-1.9.3/test-delaypipe_hh.cc:36:10: style:inconclusive: Technically the member function 'test_delaypipe_hh::BOOST_AUTO_TEST_CASE_run::Work::operator()' can be const. [functionConst] dnsdist-1.9.3/test-delaypipe_hh.cc:65:10: style:inconclusive: Technically the member function 'test_delaypipe_hh::BOOST_AUTO_TEST_CASE_run::Work::operator()' can be const. [functionConst] dnsdist-1.9.3/delaypipe.hh:69:10: performance:inconclusive: Technically the member function 'DelayPipe < Work >::tsdelta' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-1.9.3/delaypipe.hh:82:8: performance:inconclusive: Technically the member function 'DelayPipe < Work >::gettime' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-1.9.3/delaypipe.cc:91:20: note: Technically the member function 'DelayPipe < Work >::gettime' can be static (but you may consider moving to unnamed namespace). dnsdist-1.9.3/delaypipe.hh:82:8: note: Technically the member function 'DelayPipe < Work >::gettime' can be static (but you may consider moving to unnamed namespace). dnsdist-1.9.3/channel.hh:109:5: style: Class 'Receiver < int , std :: default_delete < int > >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/channel.hh:76:5: style: Class 'Sender < int , std :: default_delete < int > >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/channel.hh:76:5: style: Class 'Sender < Combo , std :: default_delete < Combo > >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/test-delaypipe_hh.cc:35:9: style: struct member 'Work::i' is never used. [unusedStructMember] dnsdist-1.9.3/test-delaypipe_hh.cc:64:9: style: struct member 'Work::i' is never used. [unusedStructMember] dnsdist-1.9.3/test-dnsdist-dnsparser.cc:45:78: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/test-dnsdist-dnsparser.cc:94:82: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/test-dnsdist-dnsparser.cc:392:84: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/test-dnsdist-connections-cache.cc:62:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_lastDataReceivedTime [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/test-dnsdist-connections-cache.cc:56:8: performance:inconclusive: Technically the member function 'MockupConnection::setReused' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-1.9.3/test-dnsdist-connections-cache.cc:60:18: performance:inconclusive: Technically the member function 'MockupConnection::getLastDataReceivedTime' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-1.9.3/test-dnsdist-connections-cache.cc:70:8: performance:inconclusive: Technically the member function 'MockupConnection::stopIO' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-1.9.3/test-dnsdist-connections-cache.cc:74:8: performance:inconclusive: Technically the member function 'MockupConnection::release' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-1.9.3/dnsdist-downstream-connection.hh:283:8: performance:inconclusive: Technically the member function 'DownstreamConnectionsManager < MockupConnection >::isConnectionUsable' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-1.9.3/test-dnsdist-connections-cache.cc:193:16: style: Variable 'c' can be declared as reference to const [constVariableReference] dnsdist-1.9.3/test-dnsdist-connections-cache.cc:219:14: style: Variable 'c' can be declared as reference to const [constVariableReference] dnsdist-1.9.3/test-dnsdist-connections-cache.cc:235:14: style: Variable 'got' is assigned a value that is never used. [unreadVariable] dnsdist-1.9.3/test-dnsdist-lua-ffi.cc:49:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/test-dnsdist-lua-ffi.cc:384:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/test-dnsdist-lua-ffi.cc:453:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/test-dnsdist-lua-ffi.cc:586:80: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/test-dnsdist-lua-ffi.cc:809:37: style: Variable 'endpoint' can be declared as pointer to const [constVariablePointer] dnsdist-1.9.3/test-dnsdist-lua-ffi.cc:439:3: warning: String literal compared with variable 'dnsdist_ffi_server_get_name(&server)'. Did you intend to use strcmp() instead? [literalWithCharPtrCompare] dnsdist-1.9.3/test-dnsdist_cc.cc:122:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/test-dnsdist_cc.cc:152:74: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/test-dnsdist_cc.cc:218:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/test-dnsdist_cc.cc:293:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/test-dnsdist_cc.cc:370:74: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/test-dnsdist_cc.cc:420:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/test-dnsdist_cc.cc:469:74: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/test-dnsdist_cc.cc:520:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/test-dnsdist_cc.cc:561:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/test-dnsdist_cc.cc:603:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/test-dnsdist_cc.cc:639:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/test-dnsdist_cc.cc:694:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/test-dnsdist_cc.cc:748:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/test-dnsdist_cc.cc:803:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/test-dnsdist_cc.cc:858:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/test-dnsdist_cc.cc:914:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/test-dnsdist_cc.cc:965:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/test-dnsdist_cc.cc:1012:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/test-dnsdist_cc.cc:1041:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/test-dnsdist_cc.cc:1073:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/test-dnsdist_cc.cc:1105:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/test-dnsdist_cc.cc:1152:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/test-dnsdist_cc.cc:1202:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/test-dnsdist_cc.cc:1256:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/test-dnsdist_cc.cc:1306:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/test-dnsdist_cc.cc:1343:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/test-dnsdist_cc.cc:1383:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/test-dnsdist_cc.cc:1425:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/test-dnsdist_cc.cc:1495:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/test-dnsdist_cc.cc:1589:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/test-dnsdist_cc.cc:1694:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/test-dnsdist_cc.cc:1795:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/test-dnsdist_cc.cc:1945:74: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/test-dnsdist_cc.cc:2159:76: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/test-dnsdist_cc.cc:2226:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/dnsdist-snmp.hh:34:8: performance:inconclusive: Technically the member function 'DNSDistSNMPAgent::sendBackendStatusChangeTrap' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-1.9.3/test-dnsdist_cc.cc:73:24: note: Technically the member function 'DNSDistSNMPAgent::sendBackendStatusChangeTrap' can be static (but you may consider moving to unnamed namespace). dnsdist-1.9.3/dnsdist-snmp.hh:34:8: note: Technically the member function 'DNSDistSNMPAgent::sendBackendStatusChangeTrap' can be static (but you may consider moving to unnamed namespace). dnsdist-1.9.3/test-dnsdist_cc.cc:1028:18: style: C-style pointer casting [cstyleCast] dnsdist-1.9.3/test-dnsdist_cc.cc:1060:18: style: C-style pointer casting [cstyleCast] dnsdist-1.9.3/test-dnsdist_cc.cc:1091:18: style: C-style pointer casting [cstyleCast] dnsdist-1.9.3/test-dnsdist_cc.cc:1140:18: style: C-style pointer casting [cstyleCast] dnsdist-1.9.3/test-dnsdist_cc.cc:1190:18: style: C-style pointer casting [cstyleCast] dnsdist-1.9.3/test-dnsdist_cc.cc:1244:18: style: C-style pointer casting [cstyleCast] dnsdist-1.9.3/test-dnsdist_cc.cc:1294:18: style: C-style pointer casting [cstyleCast] dnsdist-1.9.3/test-dnsdist_cc.cc:1331:18: style: C-style pointer casting [cstyleCast] dnsdist-1.9.3/test-dnsdist_cc.cc:1371:18: style: C-style pointer casting [cstyleCast] dnsdist-1.9.3/test-dnsdist_cc.cc:1413:18: style: C-style pointer casting [cstyleCast] dnsdist-1.9.3/test-dnsdist_cc.cc:1453:18: style: C-style pointer casting [cstyleCast] dnsdist-1.9.3/test-dnsdist_cc.cc:46:56: style: Parameter 'dq' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdist_cc.cc:46:74: style: Parameter 'holders' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdist_cc.cc:46:117: style: Parameter 'selectedBackend' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdist_cc.cc:51:46: style: Parameter 'response' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdist_cc.cc:51:145: style: Parameter 'dr' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdist_cc.cc:61:72: style: Parameter 'downstream' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdist_cc.cc:61:115: style: Parameter 'dnsQuestion' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdist_cc.cc:61:142: style: Parameter 'query' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdist_cc.cc:67:73: style: Parameter 'dq' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdist_cc.cc:79:35: style: Parameter 'clientState' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdist_cc.cc:79:62: style: Parameter 'holders' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdist_cc.cc:79:82: style: Parameter 'packet' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdist_cc.cc:85:63: style: Parameter 'dss' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdist_cc.cc:85:82: style: Parameter 'response' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdistasync.cc:107:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] dnsdist-1.9.3/test-dnsdistasync.cc:139:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] dnsdist-1.9.3/test-dnsdistasync.cc:172:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] dnsdist-1.9.3/test-dnsdistasync.cc:63:5: performance: Variable 'd_sender' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] dnsdist-1.9.3/test-dnsdistasync.cc:116:12: style: The scope of the variable 'asyncID' can be reduced. [variableScope] dnsdist-1.9.3/test-dnsdistasync.cc:117:12: style: The scope of the variable 'queryID' can be reduced. [variableScope] dnsdist-1.9.3/test-dnsdistasync.cc:151:12: style: The scope of the variable 'asyncID' can be reduced. [variableScope] dnsdist-1.9.3/test-dnsdistasync.cc:152:12: style: The scope of the variable 'queryID' can be reduced. [variableScope] dnsdist-1.9.3/test-dnsdistbackend_cc.cc:164:30: warning:inconclusive: Access of moved variable 'config'. [accessMoved] dnsdist-1.9.3/test-dnsdistbackend_cc.cc:131:22: note: Calling std::move(config) dnsdist-1.9.3/test-dnsdistbackend_cc.cc:164:30: note: Access of moved variable 'config'. dnsdist-1.9.3/test-dnsdistbackend_cc.cc:178:30: warning:inconclusive: Access of moved variable 'config'. [accessMoved] dnsdist-1.9.3/test-dnsdistbackend_cc.cc:131:22: note: Calling std::move(config) dnsdist-1.9.3/test-dnsdistbackend_cc.cc:178:30: note: Access of moved variable 'config'. dnsdist-1.9.3/test-dnsdistbackend_cc.cc:186:3: warning:inconclusive: Access of moved variable 'config'. [accessMoved] dnsdist-1.9.3/test-dnsdistbackend_cc.cc:131:22: note: Calling std::move(config) dnsdist-1.9.3/test-dnsdistbackend_cc.cc:186:3: note: Access of moved variable 'config'. dnsdist-1.9.3/test-dnsdistbackend_cc.cc:241:30: warning:inconclusive: Access of moved variable 'config'. [accessMoved] dnsdist-1.9.3/test-dnsdistbackend_cc.cc:234:22: note: Calling std::move(config) dnsdist-1.9.3/test-dnsdistbackend_cc.cc:241:30: note: Access of moved variable 'config'. dnsdist-1.9.3/test-dnsdistbackend_cc.cc:252:3: warning:inconclusive: Access of moved variable 'config'. [accessMoved] dnsdist-1.9.3/test-dnsdistbackend_cc.cc:234:22: note: Calling std::move(config) dnsdist-1.9.3/test-dnsdistbackend_cc.cc:252:3: note: Access of moved variable 'config'. dnsdist-1.9.3/test-dnsdistbackend_cc.cc:253:50: warning:inconclusive: Access of moved variable 'config'. [accessMoved] dnsdist-1.9.3/test-dnsdistbackend_cc.cc:234:22: note: Calling std::move(config) dnsdist-1.9.3/test-dnsdistbackend_cc.cc:253:50: note: Access of moved variable 'config'. dnsdist-1.9.3/test-dnsdistbackend_cc.cc:267:3: warning:inconclusive: Access of moved variable 'config'. [accessMoved] dnsdist-1.9.3/test-dnsdistbackend_cc.cc:234:22: note: Calling std::move(config) dnsdist-1.9.3/test-dnsdistbackend_cc.cc:267:3: note: Access of moved variable 'config'. dnsdist-1.9.3/test-dnsdistbackend_cc.cc:278:3: warning:inconclusive: Access of moved variable 'config'. [accessMoved] dnsdist-1.9.3/test-dnsdistbackend_cc.cc:234:22: note: Calling std::move(config) dnsdist-1.9.3/test-dnsdistbackend_cc.cc:278:3: note: Access of moved variable 'config'. dnsdist-1.9.3/test-dnsdistbackend_cc.cc:281:3: warning:inconclusive: Access of moved variable 'config'. [accessMoved] dnsdist-1.9.3/test-dnsdistbackend_cc.cc:234:22: note: Calling std::move(config) dnsdist-1.9.3/test-dnsdistbackend_cc.cc:281:3: note: Access of moved variable 'config'. dnsdist-1.9.3/test-dnsdistbackend_cc.cc:282:50: warning:inconclusive: Access of moved variable 'config'. [accessMoved] dnsdist-1.9.3/test-dnsdistbackend_cc.cc:234:22: note: Calling std::move(config) dnsdist-1.9.3/test-dnsdistbackend_cc.cc:282:50: note: Access of moved variable 'config'. dnsdist-1.9.3/test-dnsdistdynblocks_hh.cc:1260:111: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable none [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/test-dnsdistdynblocks_hh.cc:1465:73: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable second [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/test-dnsdistdynblocks_hh.cc:1528:83: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable second [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/test-dnsdistedns.cc:47:76: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/test-dnsdistdynblocks_hh.cc:35:1: performance:inconclusive: Technically the member function 'dnsdistdynblocks_hh::test_DynBlockRulesGroup_QueryRate::test_method' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-1.9.3/test-dnsdistdynblocks_hh.cc:35:1: note: Technically the member function 'dnsdistdynblocks_hh::test_DynBlockRulesGroup_QueryRate::test_method' can be static (but you may consider moving to unnamed namespace). dnsdist-1.9.3/test-dnsdistdynblocks_hh.cc:35:1: note: Technically the member function 'dnsdistdynblocks_hh::test_DynBlockRulesGroup_QueryRate::test_method' can be static (but you may consider moving to unnamed namespace). dnsdist-1.9.3/test-dnsdistdynblocks_hh.cc:171:1: performance:inconclusive: Technically the member function 'dnsdistdynblocks_hh::test_DynBlockRulesGroup_QueryRate_RangeV6::test_method' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-1.9.3/test-dnsdistdynblocks_hh.cc:171:1: note: Technically the member function 'dnsdistdynblocks_hh::test_DynBlockRulesGroup_QueryRate_RangeV6::test_method' can be static (but you may consider moving to unnamed namespace). dnsdist-1.9.3/test-dnsdistdynblocks_hh.cc:171:1: note: Technically the member function 'dnsdistdynblocks_hh::test_DynBlockRulesGroup_QueryRate_RangeV6::test_method' can be static (but you may consider moving to unnamed namespace). dnsdist-1.9.3/test-dnsdistdynblocks_hh.cc:271:1: performance:inconclusive: Technically the member function 'dnsdistdynblocks_hh::test_DynBlockRulesGroup_QueryRate_V4Ports::test_method' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-1.9.3/test-dnsdistdynblocks_hh.cc:271:1: note: Technically the member function 'dnsdistdynblocks_hh::test_DynBlockRulesGroup_QueryRate_V4Ports::test_method' can be static (but you may consider moving to unnamed namespace). dnsdist-1.9.3/test-dnsdistdynblocks_hh.cc:271:1: note: Technically the member function 'dnsdistdynblocks_hh::test_DynBlockRulesGroup_QueryRate_V4Ports::test_method' can be static (but you may consider moving to unnamed namespace). dnsdist-1.9.3/test-dnsdistdynblocks_hh.cc:402:1: performance:inconclusive: Technically the member function 'dnsdistdynblocks_hh::test_DynBlockRulesGroup_QueryRate_responses::test_method' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-1.9.3/test-dnsdistdynblocks_hh.cc:402:1: note: Technically the member function 'dnsdistdynblocks_hh::test_DynBlockRulesGroup_QueryRate_responses::test_method' can be static (but you may consider moving to unnamed namespace). dnsdist-1.9.3/test-dnsdistdynblocks_hh.cc:402:1: note: Technically the member function 'dnsdistdynblocks_hh::test_DynBlockRulesGroup_QueryRate_responses::test_method' can be static (but you may consider moving to unnamed namespace). dnsdist-1.9.3/test-dnsdistdynblocks_hh.cc:464:1: performance:inconclusive: Technically the member function 'dnsdistdynblocks_hh::test_DynBlockRulesGroup_QTypeRate::test_method' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-1.9.3/test-dnsdistdynblocks_hh.cc:464:1: note: Technically the member function 'dnsdistdynblocks_hh::test_DynBlockRulesGroup_QTypeRate::test_method' can be static (but you may consider moving to unnamed namespace). dnsdist-1.9.3/test-dnsdistdynblocks_hh.cc:464:1: note: Technically the member function 'dnsdistdynblocks_hh::test_DynBlockRulesGroup_QTypeRate::test_method' can be static (but you may consider moving to unnamed namespace). dnsdist-1.9.3/test-dnsdistdynblocks_hh.cc:552:1: performance:inconclusive: Technically the member function 'dnsdistdynblocks_hh::test_DynBlockRulesGroup_RCodeRate::test_method' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-1.9.3/test-dnsdistdynblocks_hh.cc:552:1: note: Technically the member function 'dnsdistdynblocks_hh::test_DynBlockRulesGroup_RCodeRate::test_method' can be static (but you may consider moving to unnamed namespace). dnsdist-1.9.3/test-dnsdistdynblocks_hh.cc:552:1: note: Technically the member function 'dnsdistdynblocks_hh::test_DynBlockRulesGroup_RCodeRate::test_method' can be static (but you may consider moving to unnamed namespace). dnsdist-1.9.3/test-dnsdistdynblocks_hh.cc:645:1: performance:inconclusive: Technically the member function 'dnsdistdynblocks_hh::test_DynBlockRulesGroup_RCodeRatio::test_method' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-1.9.3/test-dnsdistdynblocks_hh.cc:645:1: note: Technically the member function 'dnsdistdynblocks_hh::test_DynBlockRulesGroup_RCodeRatio::test_method' can be static (but you may consider moving to unnamed namespace). dnsdist-1.9.3/test-dnsdistdynblocks_hh.cc:645:1: note: Technically the member function 'dnsdistdynblocks_hh::test_DynBlockRulesGroup_RCodeRatio::test_method' can be static (but you may consider moving to unnamed namespace). dnsdist-1.9.3/test-dnsdistdynblocks_hh.cc:764:1: performance:inconclusive: Technically the member function 'dnsdistdynblocks_hh::test_DynBlockRulesGroup_ResponseByteRate::test_method' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-1.9.3/test-dnsdistdynblocks_hh.cc:764:1: note: Technically the member function 'dnsdistdynblocks_hh::test_DynBlockRulesGroup_ResponseByteRate::test_method' can be static (but you may consider moving to unnamed namespace). dnsdist-1.9.3/test-dnsdistdynblocks_hh.cc:764:1: note: Technically the member function 'dnsdistdynblocks_hh::test_DynBlockRulesGroup_ResponseByteRate::test_method' can be static (but you may consider moving to unnamed namespace). dnsdist-1.9.3/test-dnsdistdynblocks_hh.cc:837:1: performance:inconclusive: Technically the member function 'dnsdistdynblocks_hh::test_DynBlockRulesGroup_CacheMissRatio::test_method' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-1.9.3/test-dnsdistdynblocks_hh.cc:837:1: note: Technically the member function 'dnsdistdynblocks_hh::test_DynBlockRulesGroup_CacheMissRatio::test_method' can be static (but you may consider moving to unnamed namespace). dnsdist-1.9.3/test-dnsdistdynblocks_hh.cc:837:1: note: Technically the member function 'dnsdistdynblocks_hh::test_DynBlockRulesGroup_CacheMissRatio::test_method' can be static (but you may consider moving to unnamed namespace). dnsdist-1.9.3/test-dnsdistdynblocks_hh.cc:959:1: performance:inconclusive: Technically the member function 'dnsdistdynblocks_hh::test_DynBlockRulesGroup_Warning::test_method' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-1.9.3/test-dnsdistdynblocks_hh.cc:959:1: note: Technically the member function 'dnsdistdynblocks_hh::test_DynBlockRulesGroup_Warning::test_method' can be static (but you may consider moving to unnamed namespace). dnsdist-1.9.3/test-dnsdistdynblocks_hh.cc:959:1: note: Technically the member function 'dnsdistdynblocks_hh::test_DynBlockRulesGroup_Warning::test_method' can be static (but you may consider moving to unnamed namespace). dnsdist-1.9.3/test-dnsdistdynblocks_hh.cc:1119:1: performance:inconclusive: Technically the member function 'dnsdistdynblocks_hh::test_DynBlockRulesGroup_Ranges::test_method' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-1.9.3/test-dnsdistdynblocks_hh.cc:1119:1: note: Technically the member function 'dnsdistdynblocks_hh::test_DynBlockRulesGroup_Ranges::test_method' can be static (but you may consider moving to unnamed namespace). dnsdist-1.9.3/test-dnsdistdynblocks_hh.cc:1119:1: note: Technically the member function 'dnsdistdynblocks_hh::test_DynBlockRulesGroup_Ranges::test_method' can be static (but you may consider moving to unnamed namespace). dnsdist-1.9.3/iputils.hh:948:8: performance:inconclusive: Technically the member function 'NetmaskTree < int , AddressAndPortRange >::cleanup_tree' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-1.9.3/iputils.hh:1074:12: style:inconclusive: Technically the member function 'NetmaskTree < int , AddressAndPortRange >::end' can be const. [functionConst] dnsdist-1.9.3/iputils.hh:1041:10: style:inconclusive: Technically the member function 'NetmaskTree < int , AddressAndPortRange >::Iterator::operator==' can be const. [functionConst] dnsdist-1.9.3/iputils.hh:1045:10: style:inconclusive: Technically the member function 'NetmaskTree < int , AddressAndPortRange >::Iterator::operator!=' can be const. [functionConst] dnsdist-1.9.3/test-dnsdistdynblocks_hh.cc:412:12: style: The scope of the variable 'size' can be reduced. [variableScope] dnsdist-1.9.3/test-dnsdistdynblocks_hh.cc:415:16: style: The scope of the variable 'responseTime' can be reduced. [variableScope] dnsdist-1.9.3/test-dnsdistdynblocks_hh.cc:1126:12: style: The scope of the variable 'size' can be reduced. [variableScope] dnsdist-1.9.3/test-dnsdistdynblocks_hh.cc:1534:10: style: Variable 'found' can be declared as pointer to const [constVariablePointer] dnsdist-1.9.3/test-dnsdistdynblocks_hh.cc:1551:10: style: Variable 'found' can be declared as pointer to const [constVariablePointer] dnsdist-1.9.3/test-dnsdistdynblocks_hh.cc:1593:12: style: Variable 'found' can be declared as pointer to const [constVariablePointer] dnsdist-1.9.3/test-dnsdistdynblocks_hh.cc:1619:12: style: Variable 'found' can be declared as pointer to const [constVariablePointer] dnsdist-1.9.3/test-dnsdistluanetwork.cc:72:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable runtime_error [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/test-dnsdistluanetwork.cc:107:10: style: The scope of the variable 'otherSocketPath' can be reduced. [variableScope] dnsdist-1.9.3/test-dnsdistluanetwork.cc:116:7: warning: String literal compared with variable 'e.what()'. Did you intend to use strcmp() instead? [literalWithCharPtrCompare] dnsdist-1.9.3/test-dnsdistlbpolicies_cc.cc:168:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable second [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/test-dnsdistlbpolicies_cc.cc:193:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable order [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/test-dnsdistlbpolicies_cc.cc:250:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable second [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/test-dnsdistlbpolicies_cc.cc:305:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable second [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/test-dnsdistlbpolicies_cc.cc:334:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable second [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/test-dnsdistlbpolicies_cc.cc:401:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable second [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/test-dnsdistlbpolicies_cc.cc:483:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable second [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/test-dnsdistlbpolicies_cc.cc:584:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable second [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/tcpiohandler.hh:146:8: performance:inconclusive: Technically the member function 'TLSFrontend::setupTLS' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-1.9.3/test-dnsdistlbpolicies_cc.cc:39:19: note: Technically the member function 'TLSFrontend::setupTLS' can be static (but you may consider moving to unnamed namespace). dnsdist-1.9.3/tcpiohandler.hh:146:8: note: Technically the member function 'TLSFrontend::setupTLS' can be static (but you may consider moving to unnamed namespace). dnsdist-1.9.3/dnsdist.hh:82:15: performance:inconclusive: Technically the member function 'DNSQuestion::getTrailingData' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-1.9.3/test-dnsdistlbpolicies_cc.cc:45:26: note: Technically the member function 'DNSQuestion::getTrailingData' can be static (but you may consider moving to unnamed namespace). dnsdist-1.9.3/dnsdist.hh:82:15: note: Technically the member function 'DNSQuestion::getTrailingData' can be static (but you may consider moving to unnamed namespace). dnsdist-1.9.3/dnsdist.hh:83:8: performance:inconclusive: Technically the member function 'DNSQuestion::setTrailingData' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-1.9.3/test-dnsdistlbpolicies_cc.cc:51:19: note: Technically the member function 'DNSQuestion::setTrailingData' can be static (but you may consider moving to unnamed namespace). dnsdist-1.9.3/dnsdist.hh:83:8: note: Technically the member function 'DNSQuestion::setTrailingData' can be static (but you may consider moving to unnamed namespace). dnsdist-1.9.3/dnsdist-snmp.hh:36:8: performance:inconclusive: Technically the member function 'DNSDistSNMPAgent::sendDNSTrap' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-1.9.3/test-dnsdistlbpolicies_cc.cc:57:24: note: Technically the member function 'DNSDistSNMPAgent::sendDNSTrap' can be static (but you may consider moving to unnamed namespace). dnsdist-1.9.3/dnsdist-snmp.hh:36:8: note: Technically the member function 'DNSDistSNMPAgent::sendDNSTrap' can be static (but you may consider moving to unnamed namespace). dnsdist-1.9.3/test-dnsdistlbpolicies_cc.cc:66:56: style:inconclusive: Function 'operator()' argument 1 names different: declaration 'dnsquestion' definition 'dnsQuestion'. [funcArgNamesDifferent] dnsdist-1.9.3/dnsdist-lua.hh:69:45: note: Function 'operator()' argument 1 names different: declaration 'dnsquestion' definition 'dnsQuestion'. dnsdist-1.9.3/test-dnsdistlbpolicies_cc.cc:66:56: note: Function 'operator()' argument 1 names different: declaration 'dnsquestion' definition 'dnsQuestion'. dnsdist-1.9.3/test-dnsdistlbpolicies_cc.cc:71:59: style:inconclusive: Function 'setupDoTProtocolNegotiation' argument 1 names different: declaration 'ctx' definition 'tlsCtx'. [funcArgNamesDifferent] dnsdist-1.9.3/tcpiohandler.hh:577:59: note: Function 'setupDoTProtocolNegotiation' argument 1 names different: declaration 'ctx' definition 'tlsCtx'. dnsdist-1.9.3/test-dnsdistlbpolicies_cc.cc:71:59: note: Function 'setupDoTProtocolNegotiation' argument 1 names different: declaration 'ctx' definition 'tlsCtx'. dnsdist-1.9.3/test-dnsdistlbpolicies_cc.cc:78:55: style:inconclusive: Function 'responderThread' argument 1 names different: declaration 'state' definition 'dss'. [funcArgNamesDifferent] dnsdist-1.9.3/dnsdist.hh:1028:55: note: Function 'responderThread' argument 1 names different: declaration 'state' definition 'dss'. dnsdist-1.9.3/test-dnsdistlbpolicies_cc.cc:78:55: note: Function 'responderThread' argument 1 names different: declaration 'state' definition 'dss'. dnsdist-1.9.3/test-dnsdistlbpolicies_cc.cc:71:59: style: Parameter 'tlsCtx' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdistpacketcache_cc.cc:34:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/test-dnsdistpacketcache_cc.cc:145:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/test-dnsdistpacketcache_cc.cc:238:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/test-dnsdistpacketcache_cc.cc:304:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/test-dnsdistpacketcache_cc.cc:359:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/test-dnsdistpacketcache_cc.cc:412:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/test-dnsdistpacketcache_cc.cc:467:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/test-dnsdistpacketcache_cc.cc:520:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/test-dnsdistpacketcache_cc.cc:670:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/test-dnsdistpacketcache_cc.cc:712:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/test-dnsdistpacketcache_cc.cc:767:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/test-dnsdistpacketcache_cc.cc:780:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/test-dnsdistpacketcache_cc.cc:905:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/test-dnsdistpacketcache_cc.cc:967:78: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/test-dnsdistpacketcache_cc.cc:1204:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/test-dnsdistrings_cc.cc:148:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/test-dnsdistrings_cc.cc:168:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] dnsdist-1.9.3/test-dnsdistrings_cc.cc:133:37: style: Parameter 'rings' can be declared as reference to const. However it seems that 'ringReaderThread' is a callback function, if 'rings' is declared with const you might also need to cast function pointer(s). [constParameterCallback] dnsdist-1.9.3/test-dnsdistrings_cc.cc:222:28: note: You might need to cast the function pointer here dnsdist-1.9.3/test-dnsdistrings_cc.cc:133:37: note: Parameter 'rings' can be declared as reference to const dnsdist-1.9.3/test-dnsdistpacketcache_cc.cc:28:10: style: The scope of the variable 'counter' can be reduced. [variableScope] dnsdist-1.9.3/test-dnsdistpacketcache_cc.cc:29:10: style: The scope of the variable 'skipped' can be reduced. [variableScope] dnsdist-1.9.3/test-dnsdistpacketcache_cc.cc:30:8: style: The scope of the variable 'dnssecOK' can be reduced. [variableScope] dnsdist-1.9.3/test-dnsdistpacketcache_cc.cc:138:10: style: The scope of the variable 'counter' can be reduced. [variableScope] dnsdist-1.9.3/test-dnsdistpacketcache_cc.cc:139:10: style: The scope of the variable 'skipped' can be reduced. [variableScope] dnsdist-1.9.3/test-dnsdistpacketcache_cc.cc:141:8: style: The scope of the variable 'dnssecOK' can be reduced. [variableScope] dnsdist-1.9.3/test-dnsdistpacketcache_cc.cc:242:8: style: The scope of the variable 'dnssecOK' can be reduced. [variableScope] dnsdist-1.9.3/test-dnsdistpacketcache_cc.cc:308:8: style: The scope of the variable 'dnssecOK' can be reduced. [variableScope] dnsdist-1.9.3/test-dnsdistpacketcache_cc.cc:356:8: style: The scope of the variable 'dnssecOK' can be reduced. [variableScope] dnsdist-1.9.3/test-dnsdistpacketcache_cc.cc:416:8: style: The scope of the variable 'dnssecOK' can be reduced. [variableScope] dnsdist-1.9.3/test-dnsdistpacketcache_cc.cc:470:8: style: The scope of the variable 'dnssecOK' can be reduced. [variableScope] dnsdist-1.9.3/test-dnsdistpacketcache_cc.cc:715:8: style: The scope of the variable 'dnssecOK' can be reduced. [variableScope] dnsdist-1.9.3/test-dnsdistpacketcache_cc.cc:908:12: style: The scope of the variable 'qid' can be reduced. [variableScope] dnsdist-1.9.3/test-dnsdistpacketcache_cc.cc:293:24: style: Variable 'e' can be declared as reference to const [constVariableReference] dnsdist-1.9.3/test-dnsdistpacketcache_cc.cc:345:24: style: Variable 'e' can be declared as reference to const [constVariableReference] dnsdist-1.9.3/test-dnsdistpacketcache_cc.cc:700:24: style: Variable 'e' can be declared as reference to const [constVariableReference] dnsdist-1.9.3/test-dnsdistpacketcache_cc.cc:734:24: style: Variable 'e' can be declared as reference to const [constVariableReference] dnsdist-1.9.3/test-dnsdistpacketcache_cc.cc:766:24: style: Variable 'e' can be declared as reference to const [constVariableReference] dnsdist-1.9.3/test-dnsdistrules_cc.cc:51:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/test-dnsdistrules_cc.cc:228:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable runtime_error [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/test-dnsdistrules_cc.cc:65:20: style: Variable 'ids.origRemote' is assigned a value that is never used. [unreadVariable] dnsdist-1.9.3/test-dnsdistrules_cc.cc:93:22: style: Variable 'ids.origRemote' is assigned a value that is never used. [unreadVariable] dnsdist-1.9.3/test-dnsparser_cc.cc:25:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/test-dnsparser_cc.cc:106:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/test-dnsparser_cc.cc:162:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/test-dnsparser_cc.cc:363:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/test-dnsparser_cc.cc:458:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/test-dnsparser_cc.cc:498:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/test-dnsparser_cc.cc:565:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:397:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_STREAM [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:502:95: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:749:95: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:879:95: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:1797:128: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:3932:128: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/test-iputils_hh.cc:21:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/test-iputils_hh.cc:420:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable second [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/test-iputils_hh.cc:477:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable second [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/test-iputils_hh.cc:489:76: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable second [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/test-iputils_hh.cc:538:86: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable second [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/test-iputils_hh.cc:610:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hex [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/iputils.hh:948:8: performance:inconclusive: Technically the member function 'NetmaskTree < int , Netmask >::cleanup_tree' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-1.9.3/iputils.hh:1074:12: style:inconclusive: Technically the member function 'NetmaskTree < int , Netmask >::end' can be const. [functionConst] dnsdist-1.9.3/iputils.hh:1041:10: style:inconclusive: Technically the member function 'NetmaskTree < int , Netmask >::Iterator::operator==' can be const. [functionConst] dnsdist-1.9.3/iputils.hh:1045:10: style:inconclusive: Technically the member function 'NetmaskTree < int , Netmask >::Iterator::operator!=' can be const. [functionConst] dnsdist-1.9.3/test-iputils_hh.cc:97:16: style: C-style pointer casting [cstyleCast] dnsdist-1.9.3/test-iputils_hh.cc:100:16: style: C-style pointer casting [cstyleCast] dnsdist-1.9.3/test-iputils_hh.cc:155:35: style: C-style pointer casting [cstyleCast] dnsdist-1.9.3/test-iputils_hh.cc:158:35: style: C-style pointer casting [cstyleCast] dnsdist-1.9.3/test-iputils_hh.cc:873:5: style: Variable 'tests' can be declared as const array [constVariable] dnsdist-1.9.3/test-luawrapper.cc:29:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable increment [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/test-mplexer.cc:29:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s_maxevents [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/test-mplexer.cc:230:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s_maxevents [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/test-proxy_protocol_cc.cc:117:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable runtime_error [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:131:3: style: Class 'MockupTLSConnection' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:135:4: style: The destructor '~MockupTLSConnection' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] dnsdist-1.9.3/tcpiohandler.hh:24:12: note: Virtual destructor in base class dnsdist-1.9.3/test-dnsdisttcp_cc.cc:135:4: note: Destructor in derived class dnsdist-1.9.3/test-dnsdisttcp_cc.cc:292:4: style: The destructor '~MockupTLSCtx' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] dnsdist-1.9.3/tcpiohandler.hh:76:12: note: Virtual destructor in base class dnsdist-1.9.3/test-dnsdisttcp_cc.cc:292:4: note: Destructor in derived class dnsdist-1.9.3/test-dnsdisttcp_cc.cc:328:4: style: The destructor '~MockupFDMultiplexer' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] dnsdist-1.9.3/mplexer.hh:76:12: note: Virtual destructor in base class dnsdist-1.9.3/test-dnsdisttcp_cc.cc:328:4: note: Destructor in derived class dnsdist-1.9.3/test-dnsdisttcp_cc.cc:2546:12: style: Condition '!timeout' is always true [knownConditionTrueFalse] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:2545:15: note: Assignment 'timeout=false', assigned value is 0 dnsdist-1.9.3/test-dnsdisttcp_cc.cc:2546:12: note: Condition '!timeout' is always true dnsdist-1.9.3/test-dnsdisttcp_cc.cc:2889:12: style: Condition '!timeout' is always true [knownConditionTrueFalse] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:2823:20: note: Assignment 'timeout=false', assigned value is 0 dnsdist-1.9.3/test-dnsdisttcp_cc.cc:2889:12: note: Condition '!timeout' is always true dnsdist-1.9.3/test-dnsdisttcp_cc.cc:3063:12: style: Condition '!timeout' is always true [knownConditionTrueFalse] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:3011:20: note: Assignment 'timeout=false', assigned value is 0 dnsdist-1.9.3/test-dnsdisttcp_cc.cc:3063:12: note: Condition '!timeout' is always true dnsdist-1.9.3/test-dnsdisttcp_cc.cc:3327:12: style: Condition '!timeout' is always true [knownConditionTrueFalse] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:3261:20: note: Assignment 'timeout=false', assigned value is 0 dnsdist-1.9.3/test-dnsdisttcp_cc.cc:3327:12: note: Condition '!timeout' is always true dnsdist-1.9.3/test-dnsdisttcp_cc.cc:64:194: style:inconclusive: Function 'handleResponseSent' argument 7 names different: declaration 'outgoingProtocol' definition 'protocol'. [funcArgNamesDifferent] dnsdist-1.9.3/dnsdist.hh:1203:194: note: Function 'handleResponseSent' argument 7 names different: declaration 'outgoingProtocol' definition 'protocol'. dnsdist-1.9.3/test-dnsdisttcp_cc.cc:64:194: note: Function 'handleResponseSent' argument 7 names different: declaration 'outgoingProtocol' definition 'protocol'. dnsdist-1.9.3/test-dnsdisttcp_cc.cc:86:92: style:inconclusive: Function 'processResponse' argument 2 names different: declaration 'respRuleActions' definition 'localRespRuleActions'. [funcArgNamesDifferent] dnsdist-1.9.3/dnsdist.hh:1193:92: note: Function 'processResponse' argument 2 names different: declaration 'respRuleActions' definition 'localRespRuleActions'. dnsdist-1.9.3/test-dnsdisttcp_cc.cc:86:92: note: Function 'processResponse' argument 2 names different: declaration 'respRuleActions' definition 'localRespRuleActions'. dnsdist-1.9.3/test-dnsdisttcp_cc.cc:86:160: style:inconclusive: Function 'processResponse' argument 3 names different: declaration 'insertedRespRuleActions' definition 'localCacheInsertedRespRuleActions'. [funcArgNamesDifferent] dnsdist-1.9.3/dnsdist.hh:1193:155: note: Function 'processResponse' argument 3 names different: declaration 'insertedRespRuleActions' definition 'localCacheInsertedRespRuleActions'. dnsdist-1.9.3/test-dnsdisttcp_cc.cc:86:160: note: Function 'processResponse' argument 3 names different: declaration 'insertedRespRuleActions' definition 'localCacheInsertedRespRuleActions'. dnsdist-1.9.3/threadname.cc:67:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERANGE [valueFlowBailoutIncompleteVar] dnsdist-1.9.3/threadname.cc:72:14: style: Condition 'retval!=0' is always false [knownConditionTrueFalse] dnsdist-1.9.3/threadname.cc:44:16: note: Assignment 'retval=0', assigned value is 0 dnsdist-1.9.3/threadname.cc:66:32: note: Calling function 'trySetThreadName' returns 0 dnsdist-1.9.3/threadname.cc:66:32: note: Assignment 'retval=trySetThreadName(threadName)', assigned value is 0 dnsdist-1.9.3/threadname.cc:72:14: note: Condition 'retval!=0' is always false dnsdist-1.9.3/test-dnsdisttcp_cc.cc:49:62: style: Parameter 'query' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:49:101: style: Parameter 'dnsCryptQuery' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:54:72: style: Parameter 'clientState' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:70:64: style: Parameter 'holders' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:520:38: style: Parameter 'dq' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:520:76: style: Parameter 'selectedBackend' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:542:38: style: Parameter 'dq' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:542:76: style: Parameter 'selectedBackend' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:574:38: style: Parameter 'dq' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:574:76: style: Parameter 'selectedBackend' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:602:38: style: Parameter 'dq' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:602:76: style: Parameter 'selectedBackend' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:629:38: style: Parameter 'dq' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:629:76: style: Parameter 'selectedBackend' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:651:38: style: Parameter 'dq' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:651:76: style: Parameter 'selectedBackend' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:689:38: style: Parameter 'dq' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:689:76: style: Parameter 'selectedBackend' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:725:38: style: Parameter 'dq' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:725:76: style: Parameter 'selectedBackend' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:783:38: style: Parameter 'dq' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:783:76: style: Parameter 'selectedBackend' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:813:38: style: Parameter 'dq' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:813:76: style: Parameter 'selectedBackend' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:840:38: style: Parameter 'dq' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:840:76: style: Parameter 'selectedBackend' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:919:45: style: Parameter 'dq' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:923:42: style: Parameter 'response' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:923:65: style: Parameter 'dr' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:959:45: style: Parameter 'dq' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:963:42: style: Parameter 'response' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:963:65: style: Parameter 'dr' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:998:45: style: Parameter 'dq' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:1002:42: style: Parameter 'response' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:1002:65: style: Parameter 'dr' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:1041:45: style: Parameter 'dq' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:1045:42: style: Parameter 'response' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:1045:65: style: Parameter 'dr' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:1069:38: style: Parameter 'dq' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:1069:76: style: Parameter 'selectedBackend' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:1072:42: style: Parameter 'response' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:1072:65: style: Parameter 'dr' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:1106:45: style: Parameter 'dq' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:1110:42: style: Parameter 'response' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:1110:65: style: Parameter 'dr' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:1174:45: style: Parameter 'dq' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:1178:42: style: Parameter 'response' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:1178:65: style: Parameter 'dr' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:1236:45: style: Parameter 'dq' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:1241:42: style: Parameter 'response' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:1241:65: style: Parameter 'dr' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:1272:45: style: Parameter 'dq' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:1277:42: style: Parameter 'response' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:1277:65: style: Parameter 'dr' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:1319:45: style: Parameter 'dq' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:1323:42: style: Parameter 'response' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:1323:65: style: Parameter 'dr' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:1376:45: style: Parameter 'dq' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:1380:42: style: Parameter 'response' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:1380:65: style: Parameter 'dr' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:1432:45: style: Parameter 'dq' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:1436:42: style: Parameter 'response' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:1436:65: style: Parameter 'dr' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:1491:45: style: Parameter 'dq' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:1495:42: style: Parameter 'response' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:1495:65: style: Parameter 'dr' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:1543:45: style: Parameter 'dq' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:1547:42: style: Parameter 'response' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:1547:65: style: Parameter 'dr' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:1603:45: style: Parameter 'dq' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:1607:42: style: Parameter 'response' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:1607:65: style: Parameter 'dr' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:1644:45: style: Parameter 'dq' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:1648:42: style: Parameter 'response' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:1648:65: style: Parameter 'dr' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:1706:45: style: Parameter 'dq' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:1710:42: style: Parameter 'response' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:1710:65: style: Parameter 'dr' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:1752:42: style: Parameter 'response' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:1752:65: style: Parameter 'dr' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:1932:45: style: Parameter 'dq' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:1936:42: style: Parameter 'response' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:1936:65: style: Parameter 'dr' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:2068:42: style: Parameter 'response' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:2068:65: style: Parameter 'dr' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:2244:45: style: Parameter 'dq' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:2248:42: style: Parameter 'response' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:2248:65: style: Parameter 'dr' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:2316:54: style: Parameter 'dq' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:2324:42: style: Parameter 'response' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:2324:65: style: Parameter 'dr' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:2399:54: style: Parameter 'dq' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:2407:42: style: Parameter 'response' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:2407:65: style: Parameter 'dr' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:2520:45: style: Parameter 'dq' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:2524:42: style: Parameter 'response' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:2524:65: style: Parameter 'dr' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:2672:45: style: Parameter 'dq' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:2676:42: style: Parameter 'response' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:2676:65: style: Parameter 'dr' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:2879:45: style: Parameter 'dq' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:2883:42: style: Parameter 'response' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:2883:65: style: Parameter 'dr' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:3053:57: style: Parameter 'dq' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:3057:42: style: Parameter 'response' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:3057:65: style: Parameter 'dr' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:3317:45: style: Parameter 'dq' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:3321:42: style: Parameter 'response' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:3321:65: style: Parameter 'dr' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:3443:57: style: Parameter 'dq' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:3447:42: style: Parameter 'response' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:3447:65: style: Parameter 'dr' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:3528:57: style: Parameter 'dq' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:3532:42: style: Parameter 'response' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:3532:65: style: Parameter 'dr' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:3593:45: style: Parameter 'dq' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:3597:42: style: Parameter 'response' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:3597:65: style: Parameter 'dr' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:3784:46: style: Parameter 'dq' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:3788:42: style: Parameter 'response' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:3788:65: style: Parameter 'dr' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:3869:45: style: Parameter 'dq' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:3873:42: style: Parameter 'response' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:3873:65: style: Parameter 'dr' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:4101:45: style: Parameter 'dq' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:4105:42: style: Parameter 'response' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:4105:65: style: Parameter 'dr' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:4157:42: style: Parameter 'response' can be declared as reference to const [constParameterReference] dnsdist-1.9.3/test-dnsdisttcp_cc.cc:4157:65: style: Parameter 'dr' can be declared as reference to const [constParameterReference] diff: DONE