2025-08-30 08:04 ftp://ftp.de.debian.org/debian/pool/main/d/dnsdist/dnsdist_2.0.0.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --library=boost --library=openssl --library=bsd --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j1 platform: Linux-6.8.0-79-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04) 14.2.0 cppcheck: head 2.18.0 head-info: 478055e (2025-08-29 18:53:24 +0200) count: 1609 1609 elapsed-time: 352.7 340.6 head-timing-info: old-timing-info: head results: dnsdist-2.0.0/misc.hh:766:18: debug: Failed to instantiate template "checked_conv". The checking continues anyway. [templateInstantiation] dnsdist-2.0.0/misc.hh:131:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/misc.hh:173:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/misc.hh:252:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_set [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/misc.hh:256:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_set [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/misc.hh:264:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tv_sec [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/misc.hh:277:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tv_sec [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/misc.hh:347:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/misc.hh:475:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/misc.hh:702:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_integer [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/iputils.hh:96:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/iputils.hh:118:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/iputils.hh:134:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/iputils.hh:153:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/iputils.hh:176:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/iputils.hh:190:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/iputils.hh:199:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/iputils.hh:207:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/iputils.hh:222:88: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_in6 [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/iputils.hh:228:88: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_in [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/iputils.hh:233:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_in6 [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/iputils.hh:243:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/iputils.hh:258:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/iputils.hh:262:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/iputils.hh:267:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/iputils.hh:300:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/iputils.hh:315:132: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NI_NUMERICHOST [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/iputils.hh:328:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/iputils.hh:358:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hex [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/iputils.hh:372:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/iputils.hh:383:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/iputils.hh:510:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/iputils.hh:524:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/iputils.hh:537:88: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_in6 [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/iputils.hh:543:88: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_in [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/iputils.hh:549:88: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_un [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/iputils.hh:554:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_un [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/iputils.hh:563:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/iputils.hh:585:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/iputils.hh:589:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/iputils.hh:593:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNIX [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/iputils.hh:598:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNIX [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/iputils.hh:615:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNIX [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/iputils.hh:641:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/iputils.hh:656:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/iputils.hh:766:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/iputils.hh:786:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/iputils.hh:864:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/iputils.hh:869:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dolog.hh:162:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_PID [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dolog.hh:208:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/iputils.hh:1494:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable second [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/misc.hh:755:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_integer [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsname.hh:598:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsname.hh:666:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/iputils.hh:1316:3: warning:inconclusive: Member variable 'NetmaskTree < bool , Netmask >::d_size' is not assigned in the copy constructor. Should it be copied? [missingMemberCopy] dnsdist-2.0.0/misc.hh:262:22: performance:inconclusive: Technically the member function 'DTime::time' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-2.0.0/misc.hh:242:17: note: Technically the member function 'DTime::time' can be static (but you may consider moving to unnamed namespace). dnsdist-2.0.0/misc.hh:262:22: note: Technically the member function 'DTime::time' can be static (but you may consider moving to unnamed namespace). dnsdist-2.0.0/misc.hh:267:20: performance:inconclusive: Technically the member function 'DTime::set' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-2.0.0/misc.hh:243:15: note: Technically the member function 'DTime::set' can be static (but you may consider moving to unnamed namespace). dnsdist-2.0.0/misc.hh:267:20: note: Technically the member function 'DTime::set' can be static (but you may consider moving to unnamed namespace). dnsdist-2.0.0/misc.hh:272:19: performance:inconclusive: Technically the member function 'DTime::udiff' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-2.0.0/misc.hh:244:14: note: Technically the member function 'DTime::udiff' can be static (but you may consider moving to unnamed namespace). dnsdist-2.0.0/misc.hh:272:19: note: Technically the member function 'DTime::udiff' can be static (but you may consider moving to unnamed namespace). dnsdist-2.0.0/misc.hh:250:8: performance:inconclusive: Technically the member function 'DTime::setTimeval' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-2.0.0/misc.hh:254:18: performance:inconclusive: Technically the member function 'DTime::getTimeval' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-2.0.0/bpf-filter.cc:908:17: performance:inconclusive: Technically the member function 'BPFFilter::addSocket' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-2.0.0/bpf-filter.hh:89:8: note: Technically the member function 'BPFFilter::addSocket' can be static (but you may consider moving to unnamed namespace). dnsdist-2.0.0/bpf-filter.cc:908:17: note: Technically the member function 'BPFFilter::addSocket' can be static (but you may consider moving to unnamed namespace). dnsdist-2.0.0/bpf-filter.cc:913:17: performance:inconclusive: Technically the member function 'BPFFilter::removeSocket' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-2.0.0/bpf-filter.hh:90:8: note: Technically the member function 'BPFFilter::removeSocket' can be static (but you may consider moving to unnamed namespace). dnsdist-2.0.0/bpf-filter.cc:913:17: note: Technically the member function 'BPFFilter::removeSocket' can be static (but you may consider moving to unnamed namespace). dnsdist-2.0.0/bpf-filter.cc:918:17: performance:inconclusive: Technically the member function 'BPFFilter::block' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-2.0.0/bpf-filter.hh:91:8: note: Technically the member function 'BPFFilter::block' can be static (but you may consider moving to unnamed namespace). dnsdist-2.0.0/bpf-filter.cc:918:17: note: Technically the member function 'BPFFilter::block' can be static (but you may consider moving to unnamed namespace). dnsdist-2.0.0/bpf-filter.cc:938:17: performance:inconclusive: Technically the member function 'BPFFilter::addRangeRule' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-2.0.0/bpf-filter.hh:92:8: note: Technically the member function 'BPFFilter::addRangeRule' can be static (but you may consider moving to unnamed namespace). dnsdist-2.0.0/bpf-filter.cc:938:17: note: Technically the member function 'BPFFilter::addRangeRule' can be static (but you may consider moving to unnamed namespace). dnsdist-2.0.0/bpf-filter.cc:928:17: performance:inconclusive: Technically the member function 'BPFFilter::block' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-2.0.0/bpf-filter.hh:93:8: note: Technically the member function 'BPFFilter::block' can be static (but you may consider moving to unnamed namespace). dnsdist-2.0.0/bpf-filter.cc:928:17: note: Technically the member function 'BPFFilter::block' can be static (but you may consider moving to unnamed namespace). dnsdist-2.0.0/bpf-filter.cc:923:17: performance:inconclusive: Technically the member function 'BPFFilter::unblock' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-2.0.0/bpf-filter.hh:94:8: note: Technically the member function 'BPFFilter::unblock' can be static (but you may consider moving to unnamed namespace). dnsdist-2.0.0/bpf-filter.cc:923:17: note: Technically the member function 'BPFFilter::unblock' can be static (but you may consider moving to unnamed namespace). dnsdist-2.0.0/bpf-filter.cc:942:17: performance:inconclusive: Technically the member function 'BPFFilter::rmRangeRule' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-2.0.0/bpf-filter.hh:95:8: note: Technically the member function 'BPFFilter::rmRangeRule' can be static (but you may consider moving to unnamed namespace). dnsdist-2.0.0/bpf-filter.cc:942:17: note: Technically the member function 'BPFFilter::rmRangeRule' can be static (but you may consider moving to unnamed namespace). dnsdist-2.0.0/bpf-filter.cc:933:17: performance:inconclusive: Technically the member function 'BPFFilter::unblock' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-2.0.0/bpf-filter.hh:96:8: note: Technically the member function 'BPFFilter::unblock' can be static (but you may consider moving to unnamed namespace). dnsdist-2.0.0/bpf-filter.cc:933:17: note: Technically the member function 'BPFFilter::unblock' can be static (but you may consider moving to unnamed namespace). dnsdist-2.0.0/bpf-filter.cc:952:59: performance:inconclusive: Technically the member function 'BPFFilter::getAddrStats' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-2.0.0/bpf-filter.hh:98:50: note: Technically the member function 'BPFFilter::getAddrStats' can be static (but you may consider moving to unnamed namespace). dnsdist-2.0.0/bpf-filter.cc:952:59: note: Technically the member function 'BPFFilter::getAddrStats' can be static (but you may consider moving to unnamed namespace). dnsdist-2.0.0/bpf-filter.cc:947:67: performance:inconclusive: Technically the member function 'BPFFilter::getRangeRule' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-2.0.0/bpf-filter.hh:99:58: note: Technically the member function 'BPFFilter::getRangeRule' can be static (but you may consider moving to unnamed namespace). dnsdist-2.0.0/bpf-filter.cc:947:67: note: Technically the member function 'BPFFilter::getRangeRule' can be static (but you may consider moving to unnamed namespace). dnsdist-2.0.0/bpf-filter.cc:958:65: performance:inconclusive: Technically the member function 'BPFFilter::getQNameStats' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-2.0.0/bpf-filter.hh:100:56: note: Technically the member function 'BPFFilter::getQNameStats' can be static (but you may consider moving to unnamed namespace). dnsdist-2.0.0/bpf-filter.cc:958:65: note: Technically the member function 'BPFFilter::getQNameStats' can be static (but you may consider moving to unnamed namespace). dnsdist-2.0.0/bpf-filter.cc:964:21: performance:inconclusive: Technically the member function 'BPFFilter::getHits' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-2.0.0/bpf-filter.hh:102:12: note: Technically the member function 'BPFFilter::getHits' can be static (but you may consider moving to unnamed namespace). dnsdist-2.0.0/bpf-filter.cc:964:21: note: Technically the member function 'BPFFilter::getHits' can be static (but you may consider moving to unnamed namespace). dnsdist-2.0.0/bpf-filter.cc:970:17: performance:inconclusive: Technically the member function 'BPFFilter::supportsMatchAction' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-2.0.0/bpf-filter.hh:104:8: note: Technically the member function 'BPFFilter::supportsMatchAction' can be static (but you may consider moving to unnamed namespace). dnsdist-2.0.0/bpf-filter.cc:970:17: note: Technically the member function 'BPFFilter::supportsMatchAction' can be static (but you may consider moving to unnamed namespace). dnsdist-2.0.0/bpf-filter.cc:983:17: performance:inconclusive: Technically the member function 'BPFFilter::isExternal' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-2.0.0/bpf-filter.hh:105:8: note: Technically the member function 'BPFFilter::isExternal' can be static (but you may consider moving to unnamed namespace). dnsdist-2.0.0/bpf-filter.cc:983:17: note: Technically the member function 'BPFFilter::isExternal' can be static (but you may consider moving to unnamed namespace). dnsdist-2.0.0/iputils.hh:1200: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-2.0.0/iputils.hh:1348:12: style:inconclusive: Technically the member function 'NetmaskTree < bool , Netmask >::end' can be const. [functionConst] dnsdist-2.0.0/iputils.hh:1301:10: style:inconclusive: Technically the member function 'NetmaskTree < bool , Netmask >::Iterator::operator==' can be const. [functionConst] dnsdist-2.0.0/iputils.hh:1305:10: style:inconclusive: Technically the member function 'NetmaskTree < bool , Netmask >::Iterator::operator!=' can be const. [functionConst] dnsdist-2.0.0/dnsname.hh:509:8: style:inconclusive: Technically the member function 'SuffixMatchTree < bool >::add' can be const. [functionConst] dnsdist-2.0.0/pdnsexception.hh:33:3: style: Class 'PDNSException' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/pdnsexception.hh:43:3: style: Class 'TimeoutException' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/qtype.hh:46:3: style: Class 'QType' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/qtype.hh:180:13: style: Struct 'QClass' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/dnsname.hh:215:5: style: Class 'RawLabelsVisitor' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/dns.hh:219:3: style: Class 'dnsheader_aligned' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/misc.hh:520:3: style: Class 'Regex' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/misc.hh:543:3: style: Class 'SimpleMatch' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/misc.hh:821:3: style: Struct 'FDWrapper' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/iputils.hh:634:3: style: Class 'NetmaskException' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/iputils.hh:692:3: style: Class 'Netmask' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/iputils.hh:699:3: style: Class 'Netmask' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/iputils.hh:705:3: style: Class 'Netmask' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/iputils.hh:748:3: style: Class 'Netmask' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/iputils.hh:1836:3: style: Struct 'SComboAddress' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/iputils.hh:1852:3: style: Class 'NetworkError' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/iputils.hh:1855:3: style: Class 'NetworkError' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/lock.hh:104:3: style: Class 'ReadLock' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/lock.hh:109:3: style: Class 'ReadLock' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/lock.hh:125:3: style: Class 'ReadLock' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/lock.hh:136:3: style: Class 'WriteLock' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/lock.hh:141:3: style: Class 'WriteLock' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/lock.hh:157:3: style: Class 'WriteLock' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/lock.hh:168:3: style: Class 'TryReadLock' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/lock.hh:173:3: style: Class 'TryReadLock' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/lock.hh:190:3: style: Class 'TryReadLock' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/lock.hh:201:3: style: Class 'TryWriteLock' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/lock.hh:206:3: style: Class 'TryWriteLock' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/lock.hh:223:3: style: Class 'TryWriteLock' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/dnsname.hh:435:3: style: Struct 'SuffixMatchTree < bool >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/misc.hh:565:17: style: Condition 'mi==mend' is always false [knownConditionTrueFalse] dnsdist-2.0.0/misc.hh:566:17: style: Condition 'mi!=mend' is always true [knownConditionTrueFalse] dnsdist-2.0.0/dnsname.hh:479:20: style: Return value 'ret<0' is always false [knownConditionTrueFalse] dnsdist-2.0.0/dnsname.hh:475:15: note: Assuming that condition 'ret!=0' is not redundant dnsdist-2.0.0/dnsname.hh:479:20: note: Return value 'ret<0' is always false dnsdist-2.0.0/dnsname.hh:493:18: style: Return value 'ret<0' is always false [knownConditionTrueFalse] dnsdist-2.0.0/dnsname.hh:489:13: note: Assuming that condition 'ret!=0' is not redundant dnsdist-2.0.0/dnsname.hh:493:18: note: Return value 'ret<0' is always false dnsdist-2.0.0/dnsname.hh:156:21: style: C-style pointer casting [cstyleCast] dnsdist-2.0.0/dnsname.hh:260:32: style: C-style pointer casting [cstyleCast] dnsdist-2.0.0/dnsname.hh:260:77: style: C-style pointer casting [cstyleCast] dnsdist-2.0.0/dnsname.hh:261:27: style: C-style pointer casting [cstyleCast] dnsdist-2.0.0/dnsname.hh:262:32: style: C-style pointer casting [cstyleCast] dnsdist-2.0.0/dnsname.hh:262:81: style: C-style pointer casting [cstyleCast] dnsdist-2.0.0/dnsname.hh:263:27: style: C-style pointer casting [cstyleCast] dnsdist-2.0.0/misc.hh:385:31: style: C-style pointer casting [cstyleCast] dnsdist-2.0.0/misc.hh:385:72: style: C-style pointer casting [cstyleCast] dnsdist-2.0.0/misc.hh:289:8: style: The scope of the variable 'c' can be reduced. [variableScope] dnsdist-2.0.0/misc.hh:312:19: style: The scope of the variable 'c' can be reduced. [variableScope] dnsdist-2.0.0/bpf-filter.cc:901:73: style: Parameter 'configs' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/iputils.hh:1464:16: style: Variable 'value' can be declared as reference to const [constVariableReference] dnsdist-2.0.0/iputils.hh:1168:19: style: Variable 'prev_child' can be declared as pointer to const [constVariablePointer] dnsdist-2.0.0/dnsname.hh:140:8: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-2.0.0/iputils.hh:1815:11: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-2.0.0/dnsname.hh:615:13: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-2.0.0/capabilities.cc:36:62: performance: Function parameter 'capabilitiesToKeep' should be passed by const reference. [passedByValue] dnsdist-2.0.0/cdb.cc:35:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/cdb.hh:32:3: style: Class 'CDB' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/cdb.hh:60:3: style: Class 'CDBWriter' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/cdb.cc:138:37: style: Parameter 'key' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/cdb.cc:111:13: style: Variable 'p' can be declared as pointer to const [constVariablePointer] dnsdist-2.0.0/channel.hh:246:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIPE_BUF [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/channel.hh:315:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/channel.hh:340:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/channel.cc:42:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/channel.cc:73:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/channel.cc:100:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/channel.hh:76:5: style: Class 'Sender' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/channel.hh:109:5: style: Class 'Receiver' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/channel.hh:170:5: style: Class 'Notifier' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/channel.hh:199:5: style: Class 'Waiter' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/credentials.cc:420:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCSAFLUSH [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dns_random.hh:61:15: style:inconclusive: Technically the member function 'pdns::dns_random_engine::operator()' can be const. [functionConst] dnsdist-2.0.0/credentials.hh:33:3: style: Class 'SensitiveData' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/credentials.hh:34:3: style: Class 'SensitiveData' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/credentials.cc:288:7: style: Condition '!isPasswordHashed(hash)' is always true [knownConditionTrueFalse] dnsdist-2.0.0/credentials.cc:288:24: note: Calling function 'isPasswordHashed' returns 0 dnsdist-2.0.0/credentials.cc:288:7: note: Condition '!isPasswordHashed(hash)' is always true dnsdist-2.0.0/credentials.cc:357:9: style: Condition '!isPasswordHashed(d_credentials.getString())' is always true [knownConditionTrueFalse] dnsdist-2.0.0/credentials.cc:357:26: note: Calling function 'isPasswordHashed' returns 0 dnsdist-2.0.0/credentials.cc:357:9: note: Condition '!isPasswordHashed(d_credentials.getString())' is always true dnsdist-2.0.0/dns_random.hh:78:0: warning: Redundant code: Found unused function. [constStatement] dnsdist-2.0.0/delaypipe.cc:57:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/delaypipe.cc:32:3: performance: Variable 'd_sender' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] dnsdist-2.0.0/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-2.0.0/delaypipe.cc:91:20: performance:inconclusive: Technically the member function 'DelayPipe::gettime' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-2.0.0/delaypipe.hh:83:8: note: Technically the member function 'DelayPipe::gettime' can be static (but you may consider moving to unnamed namespace). dnsdist-2.0.0/delaypipe.cc:91:20: note: Technically the member function 'DelayPipe::gettime' can be static (but you may consider moving to unnamed namespace). dnsdist-2.0.0/mplexer.hh:309:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pair [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/sstuff.hh:102:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/sstuff.hh:212:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/sstuff.hh:284:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/sstuff.hh:310:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/devpollmplexer.cc:80:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/devpollmplexer.cc:90:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLIN [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/devpollmplexer.cc:115:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLREMOVE [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/devpollmplexer.cc:130:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DP_POLL [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/devpollmplexer.cc:150:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DP_POLL [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/mplexer.hh:247:8: style:inconclusive: Technically the member function 'FDMultiplexer::runForAllWatchedFDs' can be const. [functionConst] dnsdist-2.0.0/mplexer.hh:298:8: performance:inconclusive: Technically the member function 'FDMultiplexer::accountingAddFD' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-2.0.0/mplexer.hh:315:8: performance:inconclusive: Technically the member function 'FDMultiplexer::accountingRemoveFD' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-2.0.0/sstuff.hh:152:8: performance:inconclusive: Technically the member function 'Socket::setFastOpenConnect' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-2.0.0/mplexer.hh:39:3: style: Class 'FDMultiplexerException' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/mplexer.hh:87:5: style: Struct 'InRun' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/sstuff.hh:51:3: style: Class 'Socket' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/noinitvector.hh:25:3: style: Struct 'noinit_adaptor < std :: allocator < uint8_t > >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/noinitvector.hh:28:3: style: Struct 'noinit_adaptor < std :: allocator < uint8_t > >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/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-2.0.0/mplexer.hh:73:12: note: Virtual destructor in base class dnsdist-2.0.0/devpollmplexer.cc:43:4: note: Destructor in derived class dnsdist-2.0.0/noinitvector.hh:32:11: style: C-style pointer casting [cstyleCast] dnsdist-2.0.0/noinitvector.hh:37:11: style: C-style pointer casting [cstyleCast] dnsdist-2.0.0/devpollmplexer.cc:141:47: style:inconclusive: Function 'run' argument 1 names different: declaration 'tv' definition 'now'. [funcArgNamesDifferent] dnsdist-2.0.0/devpollmplexer.cc:50:27: note: Function 'run' argument 1 names different: declaration 'tv' definition 'now'. dnsdist-2.0.0/devpollmplexer.cc:141:47: note: Function 'run' argument 1 names different: declaration 'tv' definition 'now'. dnsdist-2.0.0/mplexer.hh:219:11: style: Variable 'idx' can be declared as reference to const [constVariableReference] dnsdist-2.0.0/dnsparser.hh:344:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dns.cc:106:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dns.cc:133:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsparser.hh:168:8: performance:inconclusive: Technically the member function 'PacketReader::eof' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-2.0.0/dnsparser.hh:169:16: performance:inconclusive: Technically the member function 'PacketReader::getRemaining' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-2.0.0/dnsparser.hh:240:8: performance:inconclusive: Technically the member function 'DNSRecordContent::doRecordCheck' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-2.0.0/dnswriter.hh:156:8: style:inconclusive: Either there is a missing 'override', or the member function 'GenericDNSPacketWriter < std :: vector < uint8_t > >::eof' can be const. [functionConst] dnsdist-2.0.0/dnswriter.hh:158:16: performance:inconclusive: Either there is a missing 'override', or the member function 'GenericDNSPacketWriter < std :: vector < uint8_t > >::getRemaining' can be static. [functionStatic] dnsdist-2.0.0/svc-records.hh:48:3: style: Class 'SvcParam' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/dnsparser.hh:61:3: style: Class 'MOADNSException' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/dnsparser.hh:71:3: style: Class 'PacketReader' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/dnsparser.hh:469:3: style: Class 'UnknownRecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/dnswriter.hh:110:19: style: C-style pointer casting [cstyleCast] dnsdist-2.0.0/dnsparser.hh:631:35: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] dnsdist-2.0.0/dnsparser.hh:639:35: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] dnsdist-2.0.0/dns.cc:149:55: style:inconclusive: Function 'hashQuestion' argument 2 names different: declaration 'len' definition 'packet_len'. [funcArgNamesDifferent] dnsdist-2.0.0/dns.hh:279:55: note: Function 'hashQuestion' argument 2 names different: declaration 'len' definition 'packet_len'. dnsdist-2.0.0/dns.cc:149:55: note: Function 'hashQuestion' argument 2 names different: declaration 'len' definition 'packet_len'. dnsdist-2.0.0/dns.cc:149:88: style:inconclusive: Function 'hashQuestion' argument 4 names different: declaration 'ok' definition 'wasOK'. [funcArgNamesDifferent] dnsdist-2.0.0/dns.hh:279:81: note: Function 'hashQuestion' argument 4 names different: declaration 'ok' definition 'wasOK'. dnsdist-2.0.0/dns.cc:149:88: note: Function 'hashQuestion' argument 4 names different: declaration 'ok' definition 'wasOK'. dnsdist-2.0.0/ext/luawrapper/include/LuaContext.hpp:1954:20: debug: Failed to instantiate template "PusherMaxSize". The checking continues anyway. [templateInstantiation] dnsdist-2.0.0/ext/luawrapper/include/LuaContext.hpp:1934:20: debug: Failed to instantiate template "PusherTotalMaxSize". The checking continues anyway. [templateInstantiation] dnsdist-2.0.0/ext/luawrapper/include/LuaContext.hpp:1928:20: debug: Failed to instantiate template "PusherTotalMinSize". The checking continues anyway. [templateInstantiation] dnsdist-2.0.0/ext/luawrapper/include/LuaContext.hpp:1965:20: debug: Failed to instantiate template "FunctionArgumentsCounter". The checking continues anyway. [templateInstantiation] dnsdist-2.0.0/dnsdist-actions-factory.cc:2531:0: debug: Function::addArguments found argument 'max' with varid 0. [varid0] dnsdist-2.0.0/dnsdist-actions-factory.cc:2461:0: debug: Function::addArguments found argument 'min' with varid 0. [varid0] dnsdist-2.0.0/dnsdist-actions-factory.cc:2461:0: debug: Function::addArguments found argument 'max' with varid 0. [varid0] dnsdist-2.0.0/dnsdist-actions-factory.cc:2466:0: debug: Function::addArguments found argument 'min' with varid 0. [varid0] dnsdist-2.0.0/dnsdist-actions-factory.cc:2536:0: debug: Function::addArguments found argument 'max' with varid 0. [varid0] dnsdist-2.0.0/dnsdist-actions-factory.cc:2541:0: debug: Function::addArguments found argument 'max' with varid 0. [varid0] dnsdist-2.0.0/dnsdist-actions-factory.cc:2359:0: debug: Function::addArguments found argument 'min' with varid 0. [varid0] dnsdist-2.0.0/dnsdist-actions-factory.cc:2359:0: debug: Function::addArguments found argument 'max' with varid 0. [varid0] dnsdist-2.0.0/protozero.hh:182:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-idstate.hh:55:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_start [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-idstate.hh:60:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_start [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-idstate.hh:66:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tv_sec [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-idstate.hh:72:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tv_sec [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-idstate.hh:79:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_start [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-idstate.hh:89:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_needRealTime [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-idstate.hh:264:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/tcpiohandler.hh:179:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable memory_order_acquire [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/tcpiohandler.hh:184:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable memory_order_release [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/tcpiohandler.hh:285:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHUT_RDWR [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/tcpiohandler.hh:405:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/tcpiohandler.hh:462:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist.hh:154:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_start [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist.hh:262:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_start [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist.hh:780:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable memory_order_relaxed [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist.hh:843:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable memory_order_relaxed [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-tcp.hh:237:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tcpQueryPipeFull [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-tcp.hh:252:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tcpCrossProtocolQueryPipeFull [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/ext/luawrapper/include/LuaContext.hpp:414:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/ext/luawrapper/include/LuaContext.hpp:428:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/ext/luawrapper/include/LuaContext.hpp:446:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/ext/luawrapper/include/LuaContext.hpp:453:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/ext/luawrapper/include/LuaContext.hpp:471:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/ext/luawrapper/include/LuaContext.hpp:478:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/ext/luawrapper/include/LuaContext.hpp:491:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/ext/luawrapper/include/LuaContext.hpp:544:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/ext/luawrapper/include/LuaContext.hpp:572:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/ext/luawrapper/include/LuaContext.hpp:600:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/ext/luawrapper/include/LuaContext.hpp:626:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/ext/luawrapper/include/LuaContext.hpp:732:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TData [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/ext/luawrapper/include/LuaContext.hpp:746:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TData [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/ext/luawrapper/include/LuaContext.hpp:757:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TData [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/ext/luawrapper/include/LuaContext.hpp:817:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable minSize [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/ext/luawrapper/include/LuaContext.hpp:844:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable minSize [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/ext/luawrapper/include/LuaContext.hpp:858:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable minSize [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/ext/luawrapper/include/LuaContext.hpp:868:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable minSize [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/ext/luawrapper/include/LuaContext.hpp:878:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable minSize [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/ext/luawrapper/include/LuaContext.hpp:889:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable minSize [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/ext/luawrapper/include/LuaContext.hpp:901:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable minSize [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/ext/luawrapper/include/LuaContext.hpp:950:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable minSize [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/ext/luawrapper/include/LuaContext.hpp:964:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable minSize [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/ext/luawrapper/include/LuaContext.hpp:974:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable minSize [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/ext/luawrapper/include/LuaContext.hpp:984:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable minSize [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/ext/luawrapper/include/LuaContext.hpp:995:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable minSize [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/ext/luawrapper/include/LuaContext.hpp:1022:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable minSize [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/ext/luawrapper/include/LuaContext.hpp:1032:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable minSize [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/ext/luawrapper/include/LuaContext.hpp:1042:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable minSize [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/ext/luawrapper/include/LuaContext.hpp:1096:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/ext/luawrapper/include/LuaContext.hpp:1146:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/ext/luawrapper/include/LuaContext.hpp:1164:146: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TOtherParams [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/ext/luawrapper/include/LuaContext.hpp:1198:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/ext/luawrapper/include/LuaContext.hpp:1369:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_ERRMEM [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/ext/luawrapper/include/LuaContext.hpp:1389:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_ERRMEM [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/ext/luawrapper/include/LuaContext.hpp:1412:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/ext/luawrapper/include/LuaContext.hpp:1463:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_ERRMEM [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/ext/luawrapper/include/LuaContext.hpp:1781:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TFirstType [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/ext/luawrapper/include/LuaContext.hpp:1803:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TFirstType [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/ext/luawrapper/include/LuaContext.hpp:1818:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/ext/luawrapper/include/LuaContext.hpp:1826:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/ext/luawrapper/include/LuaContext.hpp:1833:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/ext/luawrapper/include/LuaContext.hpp:1984:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable params [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/ext/luawrapper/include/LuaContext.hpp:2149:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable minSize [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/ext/luawrapper/include/LuaContext.hpp:2168:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable minSize [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/ext/luawrapper/include/LuaContext.hpp:2187:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable minSize [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/ext/luawrapper/include/LuaContext.hpp:2206:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable minSize [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/ext/luawrapper/include/LuaContext.hpp:2297:99: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TFunctionObject [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/ext/luawrapper/include/LuaContext.hpp:2340:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TFunctionObject [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/ext/luawrapper/include/LuaContext.hpp:2387:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable min [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/ext/luawrapper/include/LuaContext.hpp:2611:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable none [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/ext/luawrapper/include/LuaContext.hpp:2637:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable none [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/ext/luawrapper/include/LuaContext.hpp:2665:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable none [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/ext/luawrapper/include/LuaContext.hpp:2680:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable none [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/ext/luawrapper/include/LuaContext.hpp:2708:92: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable none [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/ext/luawrapper/include/LuaContext.hpp:2723:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable none [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/ext/luawrapper/include/LuaContext.hpp:2739:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable none [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/ext/luawrapper/include/LuaContext.hpp:2757:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable none [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/ext/luawrapper/include/LuaContext.hpp:2769:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable none [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/ext/luawrapper/include/LuaContext.hpp:2807:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable none [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/ext/luawrapper/include/LuaContext.hpp:2845:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable none [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/ext/luawrapper/include/LuaContext.hpp:2887:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable none [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/ext/luawrapper/include/LuaContext.hpp:2925:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable none [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/ext/luawrapper/include/LuaContext.hpp:2968:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable none [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/ext/luawrapper/include/LuaContext.hpp:2995:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable none [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-lua.hh:78:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-actions-factory.cc:915:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-actions-factory.cc:987:94: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s_EdnsUDPPayloadSize [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-actions-factory.cc:1098:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable memory_order_acquire [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-actions-factory.cc:1178:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable memory_order_release [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-actions-factory.cc:1211:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable memory_order_acquire [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-actions-factory.cc:1268:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable memory_order_release [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-actions-factory.cc:1364:83: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-actions-factory.cc:1462:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable none [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-actions-factory.cc:1524:387: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable none [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-actions-factory.cc:1674:87: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_snmpTrapsEnabled [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-actions-factory.cc:1733:294: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable none [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-actions-factory.cc:1892:87: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_snmpTrapsEnabled [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/ext/luawrapper/include/LuaContext.hpp:1533:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/ext/luawrapper/include/LuaContext.hpp:1738:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable none [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-actions-factory.cc:281:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] dnsdist-2.0.0/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-2.0.0/dnsdist-idstate.hh:197:12: warning:inconclusive: Member variable 'IDState::locked' is not assigned a value in 'IDState::operator='. [operatorEqVarError] dnsdist-2.0.0/dnsdist-tcp.hh:51:19: warning:inconclusive: Member variable 'ConnectionInfo::d_restricted' is not assigned a value in 'ConnectionInfo::operator='. [operatorEqVarError] dnsdist-2.0.0/ext/luawrapper/include/LuaContext.hpp:241:9: warning: Member variable 'ThreadID::state' is not initialized in the constructor. [uninitMemberVar] dnsdist-2.0.0/ext/luawrapper/include/LuaContext.hpp:1339:13: warning: Member variable 'Reader::buffer' is not initialized in the constructor. [uninitMemberVar] dnsdist-2.0.0/dnsdist-idstate.hh:53:8: style:inconclusive: Technically the member function 'StopWatch::start' can be const. [functionConst] dnsdist-2.0.0/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-2.0.0/dnsdist-idstate.hh:69:10: style:inconclusive: Technically the member function 'StopWatch::udiffAndSet' can be const. [functionConst] dnsdist-2.0.0/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-2.0.0/dnsdist-idstate.hh:89:23: debug: CheckClass::isMemberVar found used member variable 'd_needRealTime' with varid 0 [varid0] dnsdist-2.0.0/dnsdist-idstate.hh:121:8: performance:inconclusive: Technically the member function 'InternalQueryState::isXSK' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-2.0.0/doq.hh:115:8: performance:inconclusive: Technically the member function 'DOQFrontend::setup' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-2.0.0/doh3.hh:138:8: performance:inconclusive: Technically the member function 'DOH3Frontend::setup' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-2.0.0/dnsdist.hh:154:12: debug: CheckClass::isMemberVar found used member variable 'ids' with varid 0 [varid0] dnsdist-2.0.0/dnsdist.hh:262:21: debug: CheckClass::isMemberVar found used member variable 'd_prev' with varid 0 [varid0] dnsdist-2.0.0/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-2.0.0/dnsdist-kvs.hh:68:28: style:inconclusive: Technically the member function 'KeyValueLookupKeyQName::getKeys' can be const. [functionConst] dnsdist-2.0.0/snmp-agent.hh:22:8: performance:inconclusive: Technically the member function 'SNMPAgent::run' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-2.0.0/protozero.hh:147:5: style: Class 'Message' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/dnsdist-protobuf.hh:39:3: style: Class 'DNSDistProtoBufMessage' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/dnsdist-protobuf.hh:162:3: style: Class 'ProtoBufMetaKey' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/dnscrypt.hh:38:3: style: Class 'DNSCryptQuery' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/dnsdist-protocols.hh:45:3: style: Class 'Protocol' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/dnsdist-idstate.hh:48:3: style: Struct 'StopWatch' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/dnsdist-idstate.hh:241:5: style: Class 'StateGuard' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/stat_t.hh:38:5: style: Class 'stat_t_trait' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/tcpiohandler.hh:146:3: style: Class 'TLSFrontend' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/tcpiohandler.hh:150:3: style: Class 'TLSFrontend' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/dnsdist-doh-common.hh:88:3: style: Struct 'DOHFrontend' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/dnsdist.hh:215:3: style: Class 'BasicQPSLimiter' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/dnsdist.hh:658:3: style: Struct 'DownstreamState' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/dnsdist.hh:560:5: style: Struct 'BaseConfig' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/dnsdist.hh:628:5: style: Struct 'Config' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/dnsdist-tcp.hh:33:3: style: Struct 'ConnectionInfo' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/dnsdist-tcp.hh:138:3: style: Struct 'TCPResponse' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/dnsdist-async.hh:38:3: style: Class 'AsynchronousHolder' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/dnsdist-async.hh:78:5: style: Struct 'Data' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/dnsdist-dnsparser.hh:31:3: style: Class 'DNSPacketOverlay' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/ext/luawrapper/include/LuaContext.hpp:183:9: style: Class 'ExecutionErrorException' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/ext/luawrapper/include/LuaContext.hpp:195:9: style: Class 'SyntaxErrorException' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/ext/luawrapper/include/LuaContext.hpp:231:9: style: Struct 'LuaObject' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/ext/luawrapper/include/LuaContext.hpp:779:9: style: Struct 'PushedObject' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/ext/luawrapper/include/LuaContext.hpp:1339:13: style: Struct 'Reader' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/ext/luawrapper/include/LuaContext.hpp:1814:9: style: Struct 'ValueInRegistry' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/dnsdist-lua-ffi.hh:50:3: style: Struct 'dnsdist_ffi_dnsquestion_t' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/dnsdist-lua-ffi.hh:91:3: style: Struct 'dnsdist_ffi_dnsresponse_t' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/dnsdist-lua-ffi.hh:116:3: style: Struct 'dnsdist_ffi_server_t' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/dnsdist-lua-ffi.hh:140:3: style: Struct 'dnsdist_ffi_servers_list_t' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/dnsdist-kvs.hh:64:3: style: Class 'KeyValueLookupKeyQName' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/dnsdist-kvs.hh:123:3: style: Class 'KeyValueLookupKeyTag' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/remote_logger.hh:115:3: style: Class 'RemoteLogger' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/dnsdist-actions-factory.cc:102:3: style: Class 'QPSAction' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/dnsdist-actions-factory.cc:127:3: style: Class 'DelayAction' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/dnsdist-actions-factory.cc:516:3: style: Class 'LuaAction' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/dnsdist-actions-factory.cc:562:3: style: Class 'LuaResponseAction' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/dnsdist-actions-factory.cc:607:3: style: Class 'LuaFFIAction' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/dnsdist-actions-factory.cc:655:3: style: Class 'LuaFFIPerThreadAction' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/dnsdist-actions-factory.cc:726:3: style: Class 'LuaFFIResponseAction' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/dnsdist-actions-factory.cc:774:3: style: Class 'LuaFFIPerThreadResponseAction' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/dnsdist-actions-factory.cc:868:3: style: Class 'SpoofAction' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/dnsdist-actions-factory.cc:946:3: style: Class 'SetMacAddrAction' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/dnsdist-actions-factory.cc:1083:3: style: Class 'LogAction' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/dnsdist-actions-factory.cc:1196:3: style: Class 'LogResponseAction' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/dnsdist-actions-factory.cc:1334:3: style: Class 'SetTempFailureCacheTTLAction' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/dnsdist-actions-factory.cc:1381:3: style: Class 'SetECSOverrideAction' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/dnsdist-actions-factory.cc:1420:3: style: Class 'SetECSAction' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/dnsdist-actions-factory.cc:1600:3: style: Class 'RemoteLogAction' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/dnsdist-actions-factory.cc:1667:3: style: Class 'SNMPTrapAction' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/dnsdist-actions-factory.cc:1761:3: style: Class 'RemoteLogResponseAction' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/dnsdist-actions-factory.cc:1862:3: style: Class 'DelayResponseAction' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/dnsdist-actions-factory.cc:1885:3: style: Class 'SNMPTrapResponseAction' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/dnsdist-actions-factory.cc:1935:3: style: Class 'ClearRecordTypesResponseAction' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/dnsdist-actions-factory.cc:1962:3: style: Class 'ContinueAction' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/dnsdist-actions-factory.cc:2121:3: style: Class 'SetMaxReturnedTTLAction' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/dnsdist-actions-factory.cc:2145:3: style: Class 'SetMaxReturnedTTLResponseAction' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/dnsdist-actions-factory.cc:2209:3: style: Class 'SetProxyProtocolValuesAction' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/dnsdist-actions-factory.cc:2273:3: style: Class 'SetReducedTTLResponseAction' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/dnsdist-actions-factory.cc:2359:3: style: Class 'LimitTTLResponseAction' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/channel.hh:76:5: style: Class 'Sender < ConnectionInfo , std :: default_delete < ConnectionInfo > >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/channel.hh:76:5: style: Class 'Sender < CrossProtocolQuery , std :: default_delete < CrossProtocolQuery > >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/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-2.0.0/remote_logger.hh:67:12: note: Virtual destructor in base class dnsdist-2.0.0/remote_logger.hh:119:4: note: Destructor in derived class dnsdist-2.0.0/tcpiohandler.hh:228:15: performance: Function 'getRequestedProvider()' should return member 'd_provider' by const reference. [returnByReference] dnsdist-2.0.0/dnsdist-actions-factory.cc:1985:36: style: Condition 'd_action' is always true [knownConditionTrueFalse] dnsdist-2.0.0/dnsdist-actions-factory.cc:272:11: style: The scope of the variable 'res' can be reduced. [variableScope] dnsdist-2.0.0/stat_t.hh:38:31: performance:inconclusive: Function parameter 'value' should be passed by const reference. [passedByValue] dnsdist-2.0.0/stat_t.hh:65:30: performance:inconclusive: Function parameter 'arg' should be passed by const reference. [passedByValue] dnsdist-2.0.0/stat_t.hh:68:30: performance:inconclusive: Function parameter 'arg' should be passed by const reference. [passedByValue] dnsdist-2.0.0/dnsdist-lua-ffi.hh:145:18: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-2.0.0/dnsdist-actions-factory.cc:2213:16: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-2.0.0/ext/luawrapper/include/LuaContext.hpp:105:31: style: Variable 'str' is assigned a value that is never used. [unreadVariable] dnsdist-2.0.0/dnsdist-actions-factory.cc:272:15: style: Variable 'res' is assigned a value that is never used. [unreadVariable] dnsdist-2.0.0/dnsdist-actions-factory.cc:1527:19: style: Variable 'lock' is assigned a value that is never used. [unreadVariable] dnsdist-2.0.0/dnsdist-actions-factory.cc:1633:17: style: Variable 'lock' is assigned a value that is never used. [unreadVariable] dnsdist-2.0.0/dnsdist-actions-factory.cc:1736:19: style: Variable 'lock' is assigned a value that is never used. [unreadVariable] dnsdist-2.0.0/dnsdist-actions-factory.cc:1797:17: style: Variable 'lock' is assigned a value that is never used. [unreadVariable] dnsdist-2.0.0/dnsdist-async.cc:44:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable data [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-async.cc:193:156: style:inconclusive: Function 'pickupExpired' argument 3 names different: declaration 'expiredEvents' definition 'events'. [funcArgNamesDifferent] dnsdist-2.0.0/dnsdist-async.hh:73:137: note: Function 'pickupExpired' argument 3 names different: declaration 'expiredEvents' definition 'events'. dnsdist-2.0.0/dnsdist-async.cc:193:156: note: Function 'pickupExpired' argument 3 names different: declaration 'expiredEvents' definition 'events'. dnsdist-2.0.0/dnsdist-async.cc:219:11: style: Variable 'ids' can be declared as reference to const [constVariableReference] dnsdist-2.0.0/dnsdist-async.cc:78:18: style: Variable 'content' is assigned a value that is never used. [unreadVariable] dnsdist-2.0.0/dnsdist-backend.cc:89:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable try_to_lock [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-backend.cc:245:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHUT_RDWR [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-backend.cc:254:85: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_hashPerturbation [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-backend.cc:414:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_randomizeUDPSocketsToBackend [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-backend.cc:448:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable downstreamTimeouts [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-backend.cc:500:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable map [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-backend.cc:543:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable map [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-backend.cc:602:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable map [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-backend.cc:641:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-backend.cc:830:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable memory_order_relaxed [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-backend.cc:950:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-backoff.hh:27:3: style: Class 'ExponentialBackOffTimer' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/dnsdist-nghttp2.hh:36:3: style: Class 'DoHClientCollection' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/dnsdist-rings.hh:107:13: style: Variable 'shard' can be declared as reference to const [constVariableReference] dnsdist-2.0.0/dnsdist-rings.hh:126:11: style: Variable 'shard' can be declared as reference to const [constVariableReference] dnsdist-2.0.0/dnsdist-rings.hh:138:13: style: Variable 'shard' can be declared as reference to const [constVariableReference] dnsdist-2.0.0/dnsdist-rings.hh:153:11: style: Variable 'shard' can be declared as reference to const [constVariableReference] dnsdist-2.0.0/dnsdist-rings.hh:160:16: style: Variable 'shard' can be declared as reference to const [constVariableReference] dnsdist-2.0.0/dnsdist-backend.cc:1081:60: style: Parameter 'server' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/dnsdist-backend.cc:382:8: style: Consider using std::fill algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-2.0.0/dnsdist-backend.cc:709:13: style: Consider using std::count_if algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-2.0.0/dnsdist-backend.cc:1022:7: style: Consider using std::count_if algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-2.0.0/dnsdist-backend.cc:240:16: style: Variable 'slock' is assigned a value that is never used. [unreadVariable] dnsdist-2.0.0/dnsdist-cache.cc:95:0: debug: Function::addArguments found argument 'map' with varid 0. [varid0] dnsdist-2.0.0/ednssubnet.hh:39:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sin_family [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-cache.cc:142:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable none [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-cache.cc:243:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable map [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-cache.cc:345:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable map [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-cache.cc:382:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable map [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-cache.cc:414:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable map [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-cache.cc:514:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable map [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-cache.cc:550:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable map [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-cache.cc:607:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable map [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-cache.hh:121:5: warning:inconclusive: Member variable 'CacheShard::d_entriesCount' is not assigned in the copy constructor. Should it be copied? [missingMemberCopy] dnsdist-2.0.0/dnsdist-cache.hh:57:3: style: Class 'DNSDistPacketCache' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/dnsdist-cache.cc:442:14: style: Variable 'shard' can be declared as reference to const [constVariableReference] dnsdist-2.0.0/dnsdist-cache.cc:443:11: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-2.0.0/dnsdist-carbon.cc:50:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_STREAM [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-carbon.cc:318:11: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] dnsdist-2.0.0/dnsdist-carbon.cc:274:19: style: The scope of the variable 'qname' can be reduced. [variableScope] dnsdist-2.0.0/dnsdist-concurrent-connections.cc:154:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bucketEndTime [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/connection-management.hh:29:0: debug: Function::addArguments found argument 'max' with varid 0. [varid0] dnsdist-2.0.0/connection-management.hh:34:0: debug: Function::addArguments found argument 'max' with varid 0. [varid0] dnsdist-2.0.0/dnsdist-console.cc:158:73: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_consoleOutputMsgMaxSize [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-console.cc:183:85: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_consoleKey [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-console.cc:231:84: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_consoleKey [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-console.cc:354:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cin [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-console.cc:411:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-console.cc:500:86: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_consoleKey [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-console.cc:638:89: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_consoleServerAddress [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/ext/json11/json11.hpp:93:5: style: Class 'Json' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/ext/json11/json11.hpp:94:5: style: Class 'Json' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/ext/json11/json11.hpp:95:5: style: Class 'Json' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/ext/json11/json11.hpp:96:5: style: Class 'Json' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/ext/json11/json11.hpp:97:5: style: Class 'Json' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/ext/json11/json11.hpp:98:5: style: Class 'Json' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/ext/json11/json11.hpp:99:5: style: Class 'Json' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/ext/json11/json11.hpp:100:5: style: Class 'Json' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/ext/json11/json11.hpp:101:5: style: Class 'Json' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/ext/json11/json11.hpp:102:5: style: Class 'Json' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/ext/json11/json11.hpp:106:5: style: Class 'Json' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/ext/json11/json11.hpp:113:5: style: Class 'Json' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/ext/json11/json11.hpp:119:5: style: Class 'Json' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/connection-management.hh:29:3: style: Class 'ConcurrentConnectionManager' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/dnsdist-console.cc:393:12: style: Unused variable: response [unusedVariable] dnsdist-2.0.0/dnsdist-crypto.cc:295:13: performance:inconclusive: Technically the member function 'dnsdist::crypto::authenticated::Nonce::init' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-2.0.0/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-2.0.0/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-2.0.0/dnsdist-crypto.cc:299:13: performance:inconclusive: Technically the member function 'dnsdist::crypto::authenticated::Nonce::merge' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-2.0.0/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-2.0.0/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-2.0.0/dnsdist-crypto.cc:303:13: performance:inconclusive: Technically the member function 'dnsdist::crypto::authenticated::Nonce::increment' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-2.0.0/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-2.0.0/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-2.0.0/dnsdist-crypto.cc:427:17: style: Variable 'iBitGroup' is assigned a value that is never used. [unreadVariable] dnsdist-2.0.0/dnsdist-crypto.cc:441:23: style: Variable 'cChar' is assigned a value that is never used. [unreadVariable] dnsdist-2.0.0/dnsdist-discovery.cc:189:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-discovery.cc:239:81: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_verbose [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-discovery.cc:354:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_STREAM [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-discovery.cc:205:10: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] dnsdist-2.0.0/dnsdist-discovery.cc:210:5: note: Found duplicate branches for 'if' and 'else'. dnsdist-2.0.0/dnsdist-discovery.cc:205:10: note: Found duplicate branches for 'if' and 'else'. dnsdist-2.0.0/dnsdist-discovery.cc:200:7: style:inconclusive: Statements following 'continue' will never be executed. [unreachableCode] dnsdist-2.0.0/dnsdist-discovery.cc:64:12: style: The scope of the variable 'rrtype' can be reduced. [variableScope] dnsdist-2.0.0/dnsdist-discovery.cc:65:12: style: The scope of the variable 'rrclass' can be reduced. [variableScope] dnsdist-2.0.0/dnsdist-discovery.cc:79:12: style: The scope of the variable 'blob' can be reduced. [variableScope] dnsdist-2.0.0/dnsdist-discovery.cc:112:12: style: The scope of the variable 'blob' can be reduced. [variableScope] dnsdist-2.0.0/dnsdist-discovery.cc:237:70: style:inconclusive: Function 'getDiscoveredConfig' argument 1 names different: declaration 'backend' definition 'upgradeableBackend'. [funcArgNamesDifferent] dnsdist-2.0.0/dnsdist-discovery.hh:69:61: note: Function 'getDiscoveredConfig' argument 1 names different: declaration 'backend' definition 'upgradeableBackend'. dnsdist-2.0.0/dnsdist-discovery.cc:237:70: note: Function 'getDiscoveredConfig' argument 1 names different: declaration 'backend' definition 'upgradeableBackend'. dnsdist-2.0.0/dnsdist-discovery.cc:70:12: style: Variable 'rrname' is assigned a value that is never used. [unreadVariable] dnsdist-2.0.0/dnsdist-discovery.cc:81:12: style: Variable 'rrname' is assigned a value that is never used. [unreadVariable] dnsdist-2.0.0/dnsdist-discovery.cc:104:12: style: Variable 'rrname' is assigned a value that is never used. [unreadVariable] dnsdist-2.0.0/dnswriter.hh:156:8: style:inconclusive: Either there is a missing 'override', or the member function 'GenericDNSPacketWriter < std :: vector < uint8_t , noinit_adaptor < std :: allocator < uint8_t > > > >::eof' can be const. [functionConst] dnsdist-2.0.0/dnswriter.hh:158:16: performance:inconclusive: Either there is a missing 'override', or the member function 'GenericDNSPacketWriter < std :: vector < uint8_t , noinit_adaptor < std :: allocator < uint8_t > > > >::getRemaining' can be static. [functionStatic] dnsdist-2.0.0/dnsdist-dnsparser.cc:114:12: style: Variable 'rrname' is assigned a value that is never used. [unreadVariable] dnsdist-2.0.0/dnsdist-dnsquestion.cc:29:71: debug: CheckClass::isMemberVar found used member variable 'data' with varid 0 [varid0] dnsdist-2.0.0/dnsdist-doh-common.cc:78:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-dynblocks.hh:335:73: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-dynblocks.cc:67:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-dynblocks.cc:211:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_dynBlockAction [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-dynblocks.cc:483:180: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-dynblocks.cc:524:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dynBlocked [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-dynblocks.cc:562:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable second [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-dynblocks.cc:589:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable second [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-dynblocks.cc:680:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable second [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-dynblocks.cc:774:81: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_dynBlocksPurgeInterval [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-dynblocks.hh:150:5: warning: Member variable 'DynBlockRule::d_cutOff' is not initialized in the constructor. [uninitMemberVar] dnsdist-2.0.0/dnsdist-dynblocks.hh:150:5: warning: Member variable 'DynBlockRule::d_minTime' is not initialized in the constructor. [uninitMemberVar] dnsdist-2.0.0/dnsdist-dynblocks.hh:151:5: warning: Member variable 'DynBlockRule::d_cutOff' is not initialized in the constructor. [uninitMemberVar] dnsdist-2.0.0/dnsdist-dynblocks.hh:151:5: warning: Member variable 'DynBlockRule::d_minTime' is not initialized in the constructor. [uninitMemberVar] dnsdist-2.0.0/iputils.hh:1316:3: warning:inconclusive: Member variable 'NetmaskTree < DynBlock , AddressAndPortRange >::d_size' is not assigned in the copy constructor. Should it be copied? [missingMemberCopy] dnsdist-2.0.0/iputils.hh:1200: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-2.0.0/iputils.hh:1348:12: style:inconclusive: Technically the member function 'NetmaskTree < DynBlock , AddressAndPortRange >::end' can be const. [functionConst] dnsdist-2.0.0/iputils.hh:1301:10: style:inconclusive: Technically the member function 'NetmaskTree < DynBlock , AddressAndPortRange >::Iterator::operator==' can be const. [functionConst] dnsdist-2.0.0/iputils.hh:1305:10: style:inconclusive: Technically the member function 'NetmaskTree < DynBlock , AddressAndPortRange >::Iterator::operator!=' can be const. [functionConst] dnsdist-2.0.0/dnsname.hh:509:8: style:inconclusive: Technically the member function 'SuffixMatchTree < DynBlock >::add' can be const. [functionConst] dnsdist-2.0.0/dnsdist-dynblocks.hh:189:17: warning: The struct 'DynBlockRatioRule' defines member function with name 'toString' also defined in its parent struct 'DynBlockRule'. [duplInheritedMember] dnsdist-2.0.0/dnsdist-dynblocks.hh:165:17: note: Parent function 'DynBlockRule::toString' dnsdist-2.0.0/dnsdist-dynblocks.hh:189:17: note: Derived function 'DynBlockRatioRule::toString' dnsdist-2.0.0/dnsdist-dynblocks.hh:205:10: warning: The struct 'DynBlockCacheMissRatioRule' defines member function with name 'ratioExceeded' also defined in its parent struct 'DynBlockRatioRule'. [duplInheritedMember] dnsdist-2.0.0/dnsdist-dynblocks.hh:187:10: note: Parent function 'DynBlockRatioRule::ratioExceeded' dnsdist-2.0.0/dnsdist-dynblocks.hh:205:10: note: Derived function 'DynBlockCacheMissRatioRule::ratioExceeded' dnsdist-2.0.0/dnsdist-dynblocks.hh:206:10: warning: The struct 'DynBlockCacheMissRatioRule' defines member function with name 'warningRatioExceeded' also defined in its parent struct 'DynBlockRatioRule'. [duplInheritedMember] dnsdist-2.0.0/dnsdist-dynblocks.hh:188:10: note: Parent function 'DynBlockRatioRule::warningRatioExceeded' dnsdist-2.0.0/dnsdist-dynblocks.hh:206:10: note: Derived function 'DynBlockCacheMissRatioRule::warningRatioExceeded' dnsdist-2.0.0/dnsdist-dynblocks.hh:207:17: warning: The struct 'DynBlockCacheMissRatioRule' defines member function with name 'toString' also defined in its parent struct 'DynBlockRatioRule'. [duplInheritedMember] dnsdist-2.0.0/dnsdist-dynblocks.hh:189:17: note: Parent function 'DynBlockRatioRule::toString' dnsdist-2.0.0/dnsdist-dynblocks.hh:207:17: note: Derived function 'DynBlockCacheMissRatioRule::toString' dnsdist-2.0.0/dnsdist-dynblocks.hh:207:17: warning: The struct 'DynBlockCacheMissRatioRule' defines member function with name 'toString' also defined in its parent struct 'DynBlockRule'. [duplInheritedMember] dnsdist-2.0.0/dnsdist-dynblocks.hh:165:17: note: Parent function 'DynBlockRule::toString' dnsdist-2.0.0/dnsdist-dynblocks.hh:207:17: note: Derived function 'DynBlockCacheMissRatioRule::toString' dnsdist-2.0.0/dnsname.hh:435:3: style: Struct 'SuffixMatchTree < DynBlock >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/dnsdist-dynblocks.cc:129:8: style: The scope of the variable 'updated' can be reduced. [variableScope] dnsdist-2.0.0/dnsdist-dynblocks.cc:494:12: style: The scope of the variable 'bpfBlocked' can be reduced. [variableScope] dnsdist-2.0.0/dnsdist-dynblocks.cc:123:73: style: Parameter 'statNodeRoot' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/dnsdist-dynblocks.cc:1049:38: style: Parameter 'luaCtx' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/dnsdist-dynbpf.hh:35:3: style: Class 'DynBPFFilter' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/dnsdist-dynbpf.hh:35:44: style: Parameter 'bpf' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/dnsdist-ecs.cc:34:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOENT [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-ecs.cc:250:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s_EdnsUDPPayloadSize [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-ecs.cc:323:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOENT [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-ecs.cc:395:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOENT [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-ecs.cc:577:81: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s_EdnsUDPPayloadSize [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-ecs.cc:680:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-ecs.cc:700:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-ecs.cc:768:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOENT [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-ecs.cc:910:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_addEDNSToSelfGeneratedResponses [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-ecs.cc:1028:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_addEDNSToSelfGeneratedResponses [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-ecs.cc:1044:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-ecs.cc:1093:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-ecs.cc:1114:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-ecs.cc:1194:91: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s_EdnsUDPPayloadSize [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-ecs.cc:1243:167: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_payloadSizeSelfGenAnswers [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-ecs.cc:335:12: style: The scope of the variable 'rrtype' can be reduced. [variableScope] dnsdist-2.0.0/dnsdist-ecs.cc:336:12: style: The scope of the variable 'rrclass' can be reduced. [variableScope] dnsdist-2.0.0/dnsdist-ecs.cc:1166:84: style:inconclusive: Function 'setEDNSOption' argument 3 names different: declaration 'data' definition 'ednsData'. [funcArgNamesDifferent] dnsdist-2.0.0/dnsdist-ecs.hh:54:84: note: Function 'setEDNSOption' argument 3 names different: declaration 'data' definition 'ednsData'. dnsdist-2.0.0/dnsdist-ecs.cc:1166:84: note: Function 'setEDNSOption' argument 3 names different: declaration 'data' definition 'ednsData'. dnsdist-2.0.0/dnsdist-ecs.cc:76:14: style: Variable 'rrname' is assigned a value that is never used. [unreadVariable] dnsdist-2.0.0/dnsdist-ecs.cc:191:14: style: Variable 'rrname' is assigned a value that is never used. [unreadVariable] dnsdist-2.0.0/dnsdist-ecs.cc:341:12: style: Variable 'rrname' is assigned a value that is never used. [unreadVariable] dnsdist-2.0.0/dnsdist-ecs.cc:350:12: style: Variable 'rrname' is assigned a value that is never used. [unreadVariable] dnsdist-2.0.0/dnsdist-ecs.cc:358:12: style: Variable 'rrname' is assigned a value that is never used. [unreadVariable] dnsdist-2.0.0/dnsdist-ecs.cc:813:14: style: Variable 'rrname' is assigned a value that is never used. [unreadVariable] dnsdist-2.0.0/dnsdist-edns.cc:38:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-edns.cc:73:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable infoCode [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-healthchecks.cc:66:93: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_verboseHealthChecks [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-healthchecks.cc:161:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_buffer [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-healthchecks.cc:176:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_networkErrors [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-healthchecks.cc:187:93: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_verboseHealthChecks [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-healthchecks.cc:296:95: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_verboseHealthChecks [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-healthchecks.cc:312:93: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_verboseHealthChecks [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-healthchecks.cc:461:93: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_verboseHealthChecks [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/tcpiohandler-mplexer.hh:21:3: style: Class 'IOStateHandler' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/tcpiohandler-mplexer.hh:179:3: style: Class 'IOStateGuard' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/dnsdist-healthchecks.cc:143:3: style: Class 'HealthCheckQuerySender' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/dnsdist-healthchecks.cc:310:121: style:inconclusive: Function 'queueHealthCheck' argument 3 names different: declaration 'initial' definition 'initialCheck'. [funcArgNamesDifferent] dnsdist-2.0.0/dnsdist-healthchecks.hh:28:121: note: Function 'queueHealthCheck' argument 3 names different: declaration 'initial' definition 'initialCheck'. dnsdist-2.0.0/dnsdist-healthchecks.cc:310:121: note: Function 'queueHealthCheck' argument 3 names different: declaration 'initial' definition 'initialCheck'. dnsdist-2.0.0/dnsdist-kvs.cc:28:53: style:inconclusive: Technically the member function 'KeyValueLookupKeySourceIP::getKeys' can be const. [functionConst] dnsdist-2.0.0/dnsdist-kvs.hh:43:28: note: Technically the member function 'KeyValueLookupKeySourceIP::getKeys' can be const. dnsdist-2.0.0/dnsdist-kvs.cc:28:53: note: Technically the member function 'KeyValueLookupKeySourceIP::getKeys' can be const. dnsdist-2.0.0/dnsdist-lbpolicies.cc:52:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable second [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-lbpolicies.cc:62:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable second [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-lbpolicies.cc:91:92: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_weightedBalancingFactor [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-lbpolicies.cc:125:92: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_weightedBalancingFactor [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-lbpolicies.cc:165:85: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_hashPerturbation [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-lbpolicies.cc:176:98: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_consistentHashBalancingFactor [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-lbpolicies.cc:229:85: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_hashPerturbation [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-lbpolicies.cc:250:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_roundrobinFailOnNoServer [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-lbpolicies.cc:301:82: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_pools [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-lbpolicies.cc:358:80: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_pools [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-lbpolicies.cc:169:103: style:inconclusive: Function 'chashedFromHash' argument 2 names different: declaration 'hash' definition 'qhash'. [funcArgNamesDifferent] dnsdist-2.0.0/dnsdist-lbpolicies.hh:110:108: note: Function 'chashedFromHash' argument 2 names different: declaration 'hash' definition 'qhash'. dnsdist-2.0.0/dnsdist-lbpolicies.cc:169:103: note: Function 'chashedFromHash' argument 2 names different: declaration 'hash' definition 'qhash'. dnsdist-2.0.0/dnsdist-lbpolicies.cc:172:0: warning: Redundant code: Found unused function. [constStatement] dnsdist-2.0.0/dnsdist-lbpolicies.cc:253:16: style: Variable 'd' can be declared as reference to const [constVariableReference] dnsdist-2.0.0/dnsdist-lbpolicies.cc:254:18: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-2.0.0/dnsdist-lbpolicies.cc:406:17: style: Variable 'lock' is assigned a value that is never used. [unreadVariable] dnsdist-2.0.0/dnsdist-lbpolicies.cc:415:19: style: Variable 'lock' is assigned a value that is never used. [unreadVariable] dnsdist-2.0.0/dnsdist-lua-actions.cc:121:10: debug: Failed to instantiate template "registerFunction". The checking continues anyway. [templateInstantiation] dnsdist-2.0.0/dnsdist-lua-actions.cc:224:0: debug: Function::addArguments found argument 'min' with varid 0. [varid0] dnsdist-2.0.0/dnsdist-lua-actions.cc:224:0: debug: Function::addArguments found argument 'max' with varid 0. [varid0] dnsdist-2.0.0/dnsdist-lua-actions.cc:235:0: debug: Function::addArguments found argument 'min' with varid 0. [varid0] dnsdist-2.0.0/dnsdist-lua-actions.cc:239:0: debug: Function::addArguments found argument 'max' with varid 0. [varid0] dnsdist-2.0.0/dnsdist-lua-actions.cc:243:0: debug: Function::addArguments found argument 'max' with varid 0. [varid0] dnsdist-2.0.0/dnsdist-lua-actions.cc:247:0: debug: Function::addArguments found argument 'max' with varid 0. [varid0] dnsdist-2.0.0/dnsdist-lua-actions.cc:101:85: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_ruleChains [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/ext/luawrapper/include/LuaContext.hpp:402:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pointer [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-lua-actions-generated-body.hh:11:75: performance: Function parameter 'data' should be passed by const reference. [passedByValue] dnsdist-2.0.0/dnsdist-lua-actions-generated-body.hh:17:62: performance: Function parameter 'code' should be passed by const reference. [passedByValue] dnsdist-2.0.0/dnsdist-lua-actions-generated-body.hh:23:51: performance: Function parameter 'pool_name' should be passed by const reference. [passedByValue] dnsdist-2.0.0/dnsdist-lua-actions-generated-body.hh:29:70: performance: Function parameter 'pool_name' should be passed by const reference. [passedByValue] dnsdist-2.0.0/dnsdist-lua-actions-generated-body.hh:32:98: performance: Function parameter 'value' should be passed by const reference. [passedByValue] dnsdist-2.0.0/dnsdist-lua-actions-generated-body.hh:59:53: performance: Function parameter 'tag' should be passed by const reference. [passedByValue] dnsdist-2.0.0/dnsdist-lua-actions-generated-body.hh:59:70: performance: Function parameter 'value' should be passed by const reference. [passedByValue] dnsdist-2.0.0/dnsdist-lua-response-actions-generated-body.hh:14:70: performance: Function parameter 'code' should be passed by const reference. [passedByValue] dnsdist-2.0.0/dnsdist-lua-response-actions-generated-body.hh:17:83: performance: Function parameter 'data' should be passed by const reference. [passedByValue] dnsdist-2.0.0/dnsdist-lua-response-actions-generated-body.hh:29:61: performance: Function parameter 'tag' should be passed by const reference. [passedByValue] dnsdist-2.0.0/dnsdist-lua-response-actions-generated-body.hh:29:78: performance: Function parameter 'value' should be passed by const reference. [passedByValue] dnsdist-2.0.0/dnsdist-lua-actions.cc:290:30: style: Variable 'remoteLoggerRef' can be declared as reference to const [constVariableReference] dnsdist-2.0.0/dnsdist-lua-actions.cc:332:30: style: Variable 'remoteLoggerRef' can be declared as reference to const [constVariableReference] dnsdist-2.0.0/dnsdist-lua-actions.cc:68:9: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-2.0.0/dnsdist-lua-actions.cc:164:15: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-2.0.0/dnsdist-lua-actions.cc:197:14: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-2.0.0/dnsdist-lua-bindings-dnsparser.cc:34:10: debug: Failed to instantiate template "registerMember". The checking continues anyway. [templateInstantiation] dnsdist-2.0.0/dnsdist-lua-bindings-dnsparser.cc:39:10: debug: Failed to instantiate template "registerFunction". The checking continues anyway. [templateInstantiation] dnsdist-2.0.0/dnsdist-lua-bindings-dnsparser.cc:46:9: style: Consider using std::count_if algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-2.0.0/dnsdist-lua-bindings-dnsquestion.cc:60:10: debug: Failed to instantiate template "registerMember". The checking continues anyway. [templateInstantiation] dnsdist-2.0.0/dnsdist-lua-bindings-dnsquestion.cc:147:10: debug: Failed to instantiate template "registerFunction". The checking continues anyway. [templateInstantiation] dnsdist-2.0.0/dnsdist-lua-bindings-dnsquestion.cc:342:5: style: Class 'AsynchronousObject' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/dnsdist-lua-bindings-dnsquestion.cc:168:35: style: Condition 'dnsQuestion.ednsOptions==nullptr' is always true [knownConditionTrueFalse] dnsdist-2.0.0/dnsdist-lua-bindings-dnsquestion.cc:166:33: note: Assuming that condition 'dnsQuestion.ednsOptions==nullptr' is not redundant dnsdist-2.0.0/dnsdist-lua-bindings-dnsquestion.cc:168:35: note: Condition 'dnsQuestion.ednsOptions==nullptr' is always true dnsdist-2.0.0/dnsdist-lua-bindings-dnsquestion.cc:483:35: style: Condition 'dnsQuestion.ednsOptions==nullptr' is always true [knownConditionTrueFalse] dnsdist-2.0.0/dnsdist-lua-bindings-dnsquestion.cc:481:33: note: Assuming that condition 'dnsQuestion.ednsOptions==nullptr' is not redundant dnsdist-2.0.0/dnsdist-lua-bindings-dnsquestion.cc:483:35: note: Condition 'dnsQuestion.ednsOptions==nullptr' is always true dnsdist-2.0.0/dnsdist-lua-bindings-dnsquestion.cc:165:86: warning:inconclusive: Found suspicious operator '>', result is not used. [constStatement] dnsdist-2.0.0/dnsdist-lua-bindings-dnsquestion.cc:234:60: warning:inconclusive: Found suspicious operator '>', result is not used. [constStatement] dnsdist-2.0.0/dnsdist-lua-bindings-dnsquestion.cc:480:86: warning:inconclusive: Found suspicious operator '>', result is not used. [constStatement] dnsdist-2.0.0/dnsdist-lua-bindings-dnsquestion.cc:518:60: warning:inconclusive: Found suspicious operator '>', result is not used. [constStatement] dnsdist-2.0.0/dnsdist-lua-bindings-dnsquestion.cc:690:105: warning:inconclusive: Found suspicious operator '>', result is not used. [constStatement] dnsdist-2.0.0/dnsdist-lua-bindings-dnsquestion.cc:61:123: style: Parameter 'dnsQuestion' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/dnsdist-lua-bindings-dnsquestion.cc:63:111: style: Parameter 'dnsQuestion' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/dnsdist-lua-bindings-dnsquestion.cc:65:112: style: Parameter 'dnsQuestion' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/dnsdist-lua-bindings-dnsquestion.cc:67:114: style: Parameter 'dnsQuestion' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/dnsdist-lua-bindings-dnsquestion.cc:80:126: style: Parameter 'dnsQuestion' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/dnsdist-lua-bindings-dnsquestion.cc:96:122: style: Parameter 'dnsQuestion' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/dnsdist-lua-bindings-dnsquestion.cc:98:106: style: Parameter 'dnsQuestion' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/dnsdist-lua-bindings-dnsquestion.cc:417:123: style: Parameter 'dnsQuestion' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/dnsdist-lua-bindings-dnsquestion.cc:419:111: style: Parameter 'dnsQuestion' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/dnsdist-lua-bindings-dnsquestion.cc:421:112: style: Parameter 'dnsQuestion' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/dnsdist-lua-bindings-dnsquestion.cc:423:114: style: Parameter 'dnsQuestion' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/dnsdist-lua-bindings-dnsquestion.cc:436:126: style: Parameter 'dnsQuestion' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/dnsdist-lua-bindings-dnsquestion.cc:451:122: style: Parameter 'dnsQuestion' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/dnsdist-lua-bindings-dnsquestion.cc:453:106: style: Parameter 'dnsQuestion' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/dnsdist-lua-bindings-dnsquestion.cc:694:88: style: Parameter 'dnsResponse' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/dnsdist-lua-bindings-dnsquestion.cc:698:90: style: Parameter 'dnsResponse' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/dnsdist-lua-bindings-dnsquestion.cc:278:14: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-2.0.0/dnsdist-lua-bindings-dnsquestion.cc:299:14: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-2.0.0/dnsdist-lua-bindings-dnsquestion.cc:309:14: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-2.0.0/dnsdist-lua-bindings-network.cc:45:10: debug: Failed to instantiate template "registerFunction". The checking continues anyway. [templateInstantiation] dnsdist-2.0.0/dnsdist-lua-network.hh:76:3: style: Class 'NetworkEndpoint' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/dnsdist-lua-bindings-packetcache.cc:64:9: debug: Failed to instantiate template "getOptionalValue". The checking continues anyway. [templateInstantiation] dnsdist-2.0.0/dnsdist-lua-bindings-packetcache.cc:104:10: debug: Failed to instantiate template "registerFunction". The checking continues anyway. [templateInstantiation] dnsdist-2.0.0/dnsdist-lua-bindings-packetcache.cc:37:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_maxEntries [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-lua-bindings-packetcache.cc:43:34: style: The scope of the variable 'ranks' can be reduced. [variableScope] dnsdist-2.0.0/dnsdist-lua-bindings-packetcache.cc:159:103: warning:inconclusive: Found suspicious operator '>', result is not used. [constStatement] dnsdist-2.0.0/dnsdist-lua-bindings-packetcache.cc:176:115: warning:inconclusive: Found suspicious operator '>', result is not used. [constStatement] dnsdist-2.0.0/dnsdist-lua-bindings-packetcache.cc:192:117: warning:inconclusive: Found suspicious operator '>', result is not used. [constStatement] dnsdist-2.0.0/dnsdist-lua-bindings-protobuf.cc:66:10: debug: Failed to instantiate template "registerFunction". The checking continues anyway. [templateInstantiation] dnsdist-2.0.0/remote_logger_pool.hh:34:3: style: Class 'RemoteLoggerPool' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/dnsdist-lua-bindings-rings.cc:88:10: debug: Failed to instantiate template "registerMember". The checking continues anyway. [templateInstantiation] dnsdist-2.0.0/dnsdist-lua-bindings-rings.cc:104:126: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable string [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-lua-bindings.cc:242:10: debug: Failed to instantiate template "registerMember". The checking continues anyway. [templateInstantiation] dnsdist-2.0.0/dnsdist-lua-bindings.cc:61:10: debug: Failed to instantiate template "registerFunction". The checking continues anyway. [templateInstantiation] dnsdist-2.0.0/dnsdist-lua-bindings.cc:403:0: debug: Function::addArguments found argument 'set' with varid 0. [varid0] dnsdist-2.0.0/dnsdist-lua-bindings.cc:552:0: debug: Function::addArguments found argument 'map' with varid 0. [varid0] dnsdist-2.0.0/dnsdist-lua-bindings.cc:1003:141: debug: Function::addArguments found argument 'resolvedHostname' with varid 0. [varid0] dnsdist-2.0.0/dnsdist-lua-bindings.cc:1003:186: debug: Function::addArguments found argument 'ips' with varid 0. [varid0] dnsdist-2.0.0/dnsdist-lua-bindings.cc:228:161: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable string [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-lua-bindings.cc:376:26: error:inconclusive: Returning object that points to local variable 'sin4' that will be invalid when returning. [returnDanglingLifetime] dnsdist-2.0.0/dnsdist-lua-bindings.cc:376:27: note: Address of variable taken here. dnsdist-2.0.0/dnsdist-lua-bindings.cc:376:27: note: Passed to constructor of 'ComboAddress'. dnsdist-2.0.0/dnsdist-lua-bindings.cc:369:19: note: Variable created here. dnsdist-2.0.0/dnsdist-lua-bindings.cc:376:26: note: Returning object that points to local variable 'sin4' that will be invalid when returning. dnsdist-2.0.0/dnsdist-lua-bindings.cc:386:26: error:inconclusive: Returning object that points to local variable 'sin6' that will be invalid when returning. [returnDanglingLifetime] dnsdist-2.0.0/dnsdist-lua-bindings.cc:386:27: note: Address of variable taken here. dnsdist-2.0.0/dnsdist-lua-bindings.cc:386:27: note: Passed to constructor of 'ComboAddress'. dnsdist-2.0.0/dnsdist-lua-bindings.cc:379:20: note: Variable created here. dnsdist-2.0.0/dnsdist-lua-bindings.cc:386:26: note: Returning object that points to local variable 'sin6' that will be invalid when returning. dnsdist-2.0.0/dnsdist-lua-bindings.cc:496:62: style: C-style reference casting [cstyleCast] dnsdist-2.0.0/dnsdist-lua-bindings.cc:498:72: style: C-style reference casting [cstyleCast] dnsdist-2.0.0/dnsdist-lua-bindings.cc:533:54: style: C-style reference casting [cstyleCast] dnsdist-2.0.0/dnsdist-lua-bindings.cc:559:59: style: C-style reference casting [cstyleCast] dnsdist-2.0.0/dnsdist-lua-bindings.cc:498:94: warning:inconclusive: Found suspicious operator '>', result is not used. [constStatement] dnsdist-2.0.0/dnsdist-lua-bindings.cc:924:74: warning:inconclusive: Found suspicious operator '>', result is not used. [constStatement] dnsdist-2.0.0/dnsdist-lua-bindings.cc:113:123: style: Parameter 'state' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/dnsdist-lua-bindings.cc:206:194: style: Parameter 'state' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/dnsdist-lua-bindings.cc:250:42: style: Parameter 'state' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/dnsdist-lua-bindings.cc:276:42: style: Parameter 'state' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/dnsdist-lua-bindings.cc:928:14: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-2.0.0/dnsdist-lua-bindings.cc:962:14: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-2.0.0/dnsdist-lua-bindings.cc:972:14: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-2.0.0/dnsdist-lua-bindings.cc:982:14: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-2.0.0/dnsdist-lua-bindings.cc:1007:16: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-2.0.0/dnsdist-lua-configuration-items.cc:185:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-lua-ffi.cc:701:0: debug: Function::addArguments found argument 'max' with varid 0. [varid0] dnsdist-2.0.0/dnsdist-lua-ffi.cc:787:0: debug: Function::addArguments found argument 'min' with varid 0. [varid0] dnsdist-2.0.0/dnsdist-lua-ffi.cc:792:0: debug: Function::addArguments found argument 'max' with varid 0. [varid0] dnsdist-2.0.0/dnsdist-lua-ffi.cc:797:0: debug: Function::addArguments found argument 'min' with varid 0. [varid0] dnsdist-2.0.0/dnsdist-lua-ffi.cc:797:0: debug: Function::addArguments found argument 'max' with varid 0. [varid0] dnsdist-2.0.0/dnsdist-lua-ffi.cc:804:0: debug: Function::addArguments found argument 'max' with varid 0. [varid0] dnsdist-2.0.0/dnsdist-lua-ffi.cc:236:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable none [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-lua-ffi.cc:586:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable none [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-lua-ffi.cc:649:85: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_snmpTrapsEnabled [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-lua-ffi.cc:670:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-lua-ffi.cc:681:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-lua-ffi.cc:731:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable second [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-lua-ffi.cc:1257:80: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_pools [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-lua-ffi.cc:1306:80: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_pools [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-lua-ffi.cc:1872:112: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-lua-ffi.cc:1880:115: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-lua-ffi.cc:1888:112: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-lua-ffi.cc:1896:107: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-lua-ffi.cc:2061:305: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_dynBlockAction [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-lua-ffi.cc:2080:87: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_dynBlockAction [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-lua-ffi.cc:399:29: style: Condition 'dq->dq->ednsOptions==nullptr' is always true [knownConditionTrueFalse] dnsdist-2.0.0/dnsdist-lua-ffi.cc:396:27: note: Assuming that condition 'dq->dq->ednsOptions==nullptr' is not redundant dnsdist-2.0.0/dnsdist-lua-ffi.cc:399:29: note: Condition 'dq->dq->ednsOptions==nullptr' is always true dnsdist-2.0.0/dnsdist-lua-ffi.cc:394:76: style:inconclusive: Function 'dnsdist_ffi_dnsquestion_get_edns_options' argument 1 names different: declaration 'ref' definition 'dq'. [funcArgNamesDifferent] dnsdist-2.0.0/dnsdist-lua-ffi-interface.h:101:76: note: Function 'dnsdist_ffi_dnsquestion_get_edns_options' argument 1 names different: declaration 'ref' definition 'dq'. dnsdist-2.0.0/dnsdist-lua-ffi.cc:394:76: note: Function 'dnsdist_ffi_dnsquestion_get_edns_options' argument 1 names different: declaration 'ref' definition 'dq'. dnsdist-2.0.0/dnsdist-lua-ffi.cc:477:73: style:inconclusive: Function 'dnsdist_ffi_dnsquestion_get_tag_array' argument 1 names different: declaration 'ref' definition 'dq'. [funcArgNamesDifferent] dnsdist-2.0.0/dnsdist-lua-ffi-interface.h:103:73: note: Function 'dnsdist_ffi_dnsquestion_get_tag_array' argument 1 names different: declaration 'ref' definition 'dq'. dnsdist-2.0.0/dnsdist-lua-ffi.cc:477:73: note: Function 'dnsdist_ffi_dnsquestion_get_tag_array' argument 1 names different: declaration 'ref' definition 'dq'. dnsdist-2.0.0/dnsdist-lua-ffi.cc:654:86: style:inconclusive: Function 'dnsdist_ffi_dnsquestion_spoof_packet' argument 2 names different: declaration 'rawresponse' definition 'raw'. [funcArgNamesDifferent] dnsdist-2.0.0/dnsdist-lua-ffi-interface.h:136:86: note: Function 'dnsdist_ffi_dnsquestion_spoof_packet' argument 2 names different: declaration 'rawresponse' definition 'raw'. dnsdist-2.0.0/dnsdist-lua-ffi.cc:654:86: note: Function 'dnsdist_ffi_dnsquestion_spoof_packet' argument 2 names different: declaration 'rawresponse' definition 'raw'. dnsdist-2.0.0/dnsdist-lua-ffi.cc:430:93: style: Parameter 'ref' can be declared as pointer to const [constParameterPointer] dnsdist-2.0.0/dnsdist-lua-ffi.cc:509:92: style: Parameter 'ref' can be declared as pointer to const [constParameterPointer] dnsdist-2.0.0/dnsdist-lua-ffi.cc:647:67: style: Parameter 'dq' can be declared as pointer to const [constParameterPointer] dnsdist-2.0.0/dnsdist-lua-ffi.cc:406:16: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-2.0.0/dnsdist-lua-ffi.cc:1777:7: style: Consider using std::count_if algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-2.0.0/dnsdist-lua-inspection-ffi.cc:70:3: error: Address of local auto-variable assigned to a function parameter. [autoVariables] dnsdist-2.0.0/dnsdist-lua-inspection.cc:278:9: debug: Failed to instantiate template "getOptionalValue". The checking continues anyway. [templateInstantiation] dnsdist-2.0.0/dnsdist-lua-inspection.cc:1066:10: debug: Failed to instantiate template "registerMember". The checking continues anyway. [templateInstantiation] dnsdist-2.0.0/dnsdist-lua-inspection.cc:901:10: debug: Failed to instantiate template "registerFunction". The checking continues anyway. [templateInstantiation] dnsdist-2.0.0/dnsdist-lua-inspection.cc:148:158: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-lua-inspection.cc:279:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-lua-inspection.cc:736:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/stat_t.hh:38:5: style: Class 'stat_t_trait < uint64_t >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/stat_t.hh:38:5: style: Class 'stat_t_trait < double >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/dnsdist-lua-inspection.cc:74:13: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-2.0.0/dnsdist-lua-inspection.cc:302:15: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-2.0.0/dnsdist-lua-inspection.cc:410:15: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-2.0.0/dnsdist-lua-inspection.cc:459:15: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-2.0.0/dnsdist-lua-inspection.cc:574:19: style: Consider using std::copy algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-2.0.0/dnsdist-lua-inspection.cc:580:21: style: Consider using std::copy algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-2.0.0/dnsdist-lua-inspection.cc:710:15: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-2.0.0/dnsdist-lua-network.cc:47:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHUT_RD [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-lua-network.cc:107:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-lua-network.cc:63:19: style: Condition 'packet.empty()' is always true [knownConditionTrueFalse] dnsdist-2.0.0/dnsdist-lua-network.cc:160:65: style:inconclusive: Function 'mainThread' argument 1 names different: declaration 'data' definition 'dataArg'. [funcArgNamesDifferent] dnsdist-2.0.0/dnsdist-lua-network.hh:61:57: note: Function 'mainThread' argument 1 names different: declaration 'data' definition 'dataArg'. dnsdist-2.0.0/dnsdist-lua-network.cc:160:65: note: Function 'mainThread' argument 1 names different: declaration 'data' definition 'dataArg'. dnsdist-2.0.0/dnsdist-lua-network.cc:160:65: style: Parameter 'dataArg' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/dnsdist-lua-rules.cc:360:10: debug: Failed to instantiate template "registerFunction". The checking continues anyway. [templateInstantiation] dnsdist-2.0.0/dnsdist-rules-factory.hh:960:0: debug: Function::addArguments found argument 'min' with varid 0. [varid0] dnsdist-2.0.0/dnsdist-rules-factory.hh:960:0: debug: Function::addArguments found argument 'max' with varid 0. [varid0] dnsdist-2.0.0/dnsdist-lua-selectors-generated-body.hh:59:0: debug: Function::addArguments found argument 'min' with varid 0. [varid0] dnsdist-2.0.0/dnsdist-lua-selectors-generated-body.hh:59:0: debug: Function::addArguments found argument 'max' with varid 0. [varid0] dnsdist-2.0.0/cachecleaner.hh:44:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/cachecleaner.hh:84:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-rules-factory.hh:70:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_shards [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-rules-factory.hh:99:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_cleanupDelay [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-rules-factory.hh:131:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-rules-factory.hh:285:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-rules-factory.hh:306:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-rules-factory.hh:323:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-lua-rules.cc:104:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-lua-rules.cc:137:81: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_ruleChains [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-lua-rules.cc:321:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable none [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-lua-rules.cc:386:85: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_ruleChains [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-rules-factory.hh:56:8: style:inconclusive: Technically the member function 'MaxQPSIPRule::clear' can be const. [functionConst] dnsdist-2.0.0/dnsdist-rules-factory.hh:70:24: debug: CheckClass::isMemberVar found used member variable 'd_shards' with varid 0 [varid0] dnsdist-2.0.0/dnsdist-rules-factory.hh:99:9: debug: CheckClass::isMemberVar found used member variable 'd_cleanupDelay' with varid 0 [varid0] dnsdist-2.0.0/dnsdist-rules-factory.hh:100:32: debug: CheckClass::isMemberVar found used member variable 'd_lastCleanup' with varid 0 [varid0] dnsdist-2.0.0/dnsdist-rules-factory.hh:101:24: debug: CheckClass::isMemberVar found used member variable 'd_cleanupDelay' with varid 0 [varid0] dnsdist-2.0.0/dnsdist-rules-factory.hh:105:15: debug: CheckClass::isMemberVar found used member variable 'd_cleaningUp' with varid 0 [varid0] dnsdist-2.0.0/dnsdist-rules-factory.hh:49:3: style: Class 'MaxQPSIPRule' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/dnsdist-rules-factory.hh:199:3: style: Class 'MaxQPSRule' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/dnsdist-rules-factory.hh:264:5: style: Struct 'IPv6' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/dnsdist-rules-factory.hh:435:3: style: Class 'AndRule' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/dnsdist-rules-factory.hh:469:3: style: Class 'OrRule' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/dnsdist-rules-factory.hh:503:3: style: Class 'RegexRule' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/dnsdist-rules-factory.hh:549:3: style: Class 'RE2Rule' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/dnsdist-rules-factory.hh:581:3: style: Class 'HTTPPathRule' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/dnsdist-rules-factory.hh:592:3: style: Class 'HTTPPathRegexRule' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/dnsdist-rules-factory.hh:604:3: style: Class 'SNIRule' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/dnsdist-rules-factory.hh:624:3: style: Class 'SuffixMatchNodeRule' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/dnsdist-rules-factory.hh:648:3: style: Class 'QNameRule' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/dnsdist-rules-factory.hh:669:3: style: Class 'QNameSetRule' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/dnsdist-rules-factory.hh:691:3: style: Class 'QTypeRule' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/dnsdist-rules-factory.hh:712:3: style: Class 'QClassRule' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/dnsdist-rules-factory.hh:732:3: style: Class 'OpcodeRule' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/dnsdist-rules-factory.hh:752:3: style: Class 'DSTPortRule' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/dnsdist-rules-factory.hh:772:3: style: Class 'TCPRule' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/dnsdist-rules-factory.hh:792:3: style: Class 'NotRule' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/dnsdist-rules-factory.hh:982:3: style: Class 'RCodeRule' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/dnsdist-rules-factory.hh:1002:3: style: Class 'ERCodeRule' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/dnsdist-rules-factory.hh:1033:3: style: Class 'EDNSVersionRule' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/dnsdist-rules-factory.hh:1058:3: style: Class 'EDNSOptionRule' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/dnsdist-rules-factory.hh:1112:3: style: Class 'ProbaRule' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/dnsdist-rules-factory.hh:1173:3: style: Class 'PoolAvailableRule' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/dnsdist-rules-factory.hh:1281:3: style: Class 'LuaRule' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/dnsdist-rules-factory.hh:1312:3: style: Class 'LuaFFIRule' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/dnsdist-rules-factory.hh:1344:3: style: Class 'LuaFFIPerThreadRule' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/dnsdist-rules-factory.hh:280:4: style: The destructor '~TimedIPSetRule' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] dnsdist-2.0.0/dnsdist-rules.hh:32:12: note: Virtual destructor in base class dnsdist-2.0.0/dnsdist-rules-factory.hh:280:4: note: Destructor in derived class dnsdist-2.0.0/dnsdist-rules-factory.hh:267:14: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] dnsdist-2.0.0/dnsdist-rules-factory.hh:133:11: style: The scope of the variable 'shard' can be reduced. [variableScope] dnsdist-2.0.0/dnsdist-lua-rules.cc:364:91: warning:inconclusive: Found suspicious operator '>', result is not used. [constStatement] dnsdist-2.0.0/dnsdist-lua-rules.cc:366:93: warning:inconclusive: Found suspicious operator '>', result is not used. [constStatement] dnsdist-2.0.0/dnsdist-lua-rules.cc:368:99: warning:inconclusive: Found suspicious operator '>', result is not used. [constStatement] dnsdist-2.0.0/dnsdist-lua-rules.cc:370:109: warning:inconclusive: Found suspicious operator '>', result is not used. [constStatement] dnsdist-2.0.0/dnsdist-lua-selectors-generated-body.hh:20:55: performance: Function parameter 'header' should be passed by const reference. [passedByValue] dnsdist-2.0.0/dnsdist-lua-selectors-generated-body.hh:20:75: performance: Function parameter 'expression' should be passed by const reference. [passedByValue] dnsdist-2.0.0/dnsdist-lua-selectors-generated-body.hh:23:53: performance: Function parameter 'path' should be passed by const reference. [passedByValue] dnsdist-2.0.0/dnsdist-lua-selectors-generated-body.hh:26:58: performance: Function parameter 'expression' should be passed by const reference. [passedByValue] dnsdist-2.0.0/dnsdist-lua-selectors-generated-body.hh:29:60: performance: Function parameter 'code' should be passed by const reference. [passedByValue] dnsdist-2.0.0/dnsdist-lua-selectors-generated-body.hh:41:56: performance: Function parameter 'comparison' should be passed by const reference. [passedByValue] dnsdist-2.0.0/dnsdist-lua-selectors-generated-body.hh:44:58: performance: Function parameter 'pool' should be passed by const reference. [passedByValue] dnsdist-2.0.0/dnsdist-lua-selectors-generated-body.hh:47:60: performance: Function parameter 'pool' should be passed by const reference. [passedByValue] dnsdist-2.0.0/dnsdist-lua-selectors-generated-body.hh:68:48: performance: Function parameter 'expression' should be passed by const reference. [passedByValue] dnsdist-2.0.0/dnsdist-lua-selectors-generated-body.hh:77:50: performance: Function parameter 'expression' should be passed by const reference. [passedByValue] dnsdist-2.0.0/dnsdist-lua-selectors-generated-body.hh:80:48: performance: Function parameter 'server_name' should be passed by const reference. [passedByValue] dnsdist-2.0.0/dnsdist-lua-rules.cc:75:51: style: Parameter 'identifier' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/dnsdist-rules-factory.hh:372:11: style: Consider using std::count_if algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-2.0.0/dnsdist-rules-factory.hh:378:11: style: Consider using std::count_if algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-2.0.0/dnsdist-rules-factory.hh:442:5: style: Consider using std::all_of or std::none_of algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-2.0.0/dnsdist-rules-factory.hh:476:5: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-2.0.0/dnsdist-rules-factory.hh:1229:42: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-2.0.0/dnsdist-rules-factory.hh:1412:96: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-2.0.0/dnsdist-lua-rules.cc:302:32: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-2.0.0/dnsdist-lua-rules.cc:310:34: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-2.0.0/dnsdist-lua-web.cc:41:10: debug: Failed to instantiate template "registerMember". The checking continues anyway. [templateInstantiation] dnsdist-2.0.0/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-2.0.0/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-2.0.0/dnsdist-lua-web.cc:41:158: style: Parameter 'req' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/dnsdist-lua-web.cc:42:144: style: Parameter 'req' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/dnsdist-lua-web.cc:43:158: style: Parameter 'req' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/dnsdist-lua-web.cc:44:154: style: Parameter 'req' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/dnsdist-lua-web.cc:51:26: style: Parameter 'req' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/dnsdist-lua-web.cc:58:26: style: Parameter 'req' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/dnsdist-lua-web.cc:65:26: style: Parameter 'req' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/dnsdist-lua.cc:136:9: debug: Failed to instantiate template "getOptionalValue". The checking continues anyway. [templateInstantiation] dnsdist-2.0.0/dnsdist-lua.cc:2669:10: debug: Failed to instantiate template "registerFunction". The checking continues anyway. [templateInstantiation] dnsdist-2.0.0/dnsdist-lua.cc:256:0: debug: Function::addArguments found argument 'max' with varid 0. [varid0] dnsdist-2.0.0/ext/luawrapper/include/LuaContext.hpp:331:0: debug: Function::addArguments found argument 'thread' with varid 0. [varid0] dnsdist-2.0.0/ext/luawrapper/include/LuaContext.hpp:354:0: debug: Function::addArguments found argument 'thread' with varid 0. [varid0] dnsdist-2.0.0/ext/luawrapper/include/LuaContext.hpp:375:0: debug: Function::addArguments found argument 'thread' with varid 0. [varid0] dnsdist-2.0.0/dnsdist-lua.cc:2725:0: debug: Function::addArguments found argument 'map' with varid 0. [varid0] dnsdist-2.0.0/ext/luawrapper/include/LuaContext.hpp:333:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable state [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/ext/luawrapper/include/LuaContext.hpp:356:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable thread [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/ext/luawrapper/include/LuaContext.hpp:377:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable state [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-lua.cc:119:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable indeterminate [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-lua.cc:274:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_BLOCK [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-lua.cc:900:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-lua.cc:1702:17: style: The scope of the variable 'timeFormat' can be reduced. [variableScope] dnsdist-2.0.0/dnsdist-lua.cc:1267:0: warning: Redundant code: Found unused function. [constStatement] dnsdist-2.0.0/dnsdist-lua.cc:1633:18: performance:inconclusive: Use const reference for 'defaultPolicyName' to avoid unnecessary data copying. [redundantCopyLocalConst] dnsdist-2.0.0/dnsdist-lua.cc:1022:18: style: Variable 'state' can be declared as reference to const [constVariableReference] dnsdist-2.0.0/dnsdist-lua.cc:2903:122: style: Parameter 'frontend' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/dnsdist-lua.cc:2913:139: style: Parameter 'frontend' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/dnsdist-lua.cc:2923:138: style: Parameter 'frontend' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/dnsdist-lua.cc:1004:11: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-2.0.0/dnsdist-lua.cc:1023:42: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-2.0.0/dnsdist-lua.cc:2731:17: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-2.0.0/dnsdist-mac-address.cc:32:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mac [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-mac-address.cc:30:80: style:inconclusive: Function 'get' argument 3 names different: declaration 'len' definition 'destLen'. [funcArgNamesDifferent] dnsdist-2.0.0/dnsdist-mac-address.hh:35:70: note: Function 'get' argument 3 names different: declaration 'len' definition 'destLen'. dnsdist-2.0.0/dnsdist-mac-address.cc:30:80: note: Function 'get' argument 3 names different: declaration 'len' definition 'destLen'. dnsdist-2.0.0/dnsdist-metrics.cc:210:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-metrics.cc:291:136: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-nghttp2.cc:1098:0: debug: Function::addArguments found argument 'max' with varid 0. [varid0] dnsdist-2.0.0/dnsdist-nghttp2.cc:1105:0: debug: Function::addArguments found argument 'max' with varid 0. [varid0] dnsdist-2.0.0/dnsdist-nghttp2.cc:1112:0: debug: Function::addArguments found argument 'max' with varid 0. [varid0] dnsdist-2.0.0/dnsdist-tcp-downstream.hh:140:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_lastDataReceivedTime [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-tcp-downstream.hh:150:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_ds [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-tcp-downstream.hh:167:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_ds [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-tcp-downstream.hh:182:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_ds [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-tcp-downstream.hh:197:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_ds [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-nghttp2.cc:971:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable outgoingDoHQueryPipeFull [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-nghttp2.cc:978:27: performance:inconclusive: Technically the member function 'DoHClientCollection::addThread' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-2.0.0/dnsdist-nghttp2.hh:44:8: note: Technically the member function 'DoHClientCollection::addThread' can be static (but you may consider moving to unnamed namespace). dnsdist-2.0.0/dnsdist-nghttp2.cc:978:27: note: Technically the member function 'DoHClientCollection::addThread' can be static (but you may consider moving to unnamed namespace). dnsdist-2.0.0/dnsdist-tcp-downstream.hh:73:8: style:inconclusive: Either there is a missing 'override', or the member function 'ConnectionToBackend::isFastOpenEnabled' can be const. [functionConst] dnsdist-2.0.0/dnsdist-tcp-downstream.hh:140:12: debug: CheckClass::isMemberVar found used member variable 'd_lastDataReceivedTime' with varid 0 [varid0] dnsdist-2.0.0/dnsdist-tcp-downstream.hh:150:9: debug: CheckClass::isMemberVar found used member variable 'd_ds' with varid 0 [varid0] dnsdist-2.0.0/dnsdist-tcp-downstream.hh:167:9: debug: CheckClass::isMemberVar found used member variable 'd_ds' with varid 0 [varid0] dnsdist-2.0.0/dnsdist-tcp-downstream.hh:182:9: debug: CheckClass::isMemberVar found used member variable 'd_ds' with varid 0 [varid0] dnsdist-2.0.0/dnsdist-tcp-downstream.hh:197:9: debug: CheckClass::isMemberVar found used member variable 'd_ds' with varid 0 [varid0] dnsdist-2.0.0/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-2.0.0/dnsdist-nghttp2.cc:936:3: style: Struct 'DoHWorkerThread' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/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-2.0.0/dnsdist-tcp-downstream.hh:16:12: note: Virtual destructor in base class dnsdist-2.0.0/dnsdist-tcp-downstream.hh:233:12: note: Destructor in derived class dnsdist-2.0.0/dnsdist-downstream-connection.hh:147:12: style: Local variable 'count' shadows outer function [shadowFunction] dnsdist-2.0.0/dnsdist-downstream-connection.hh:140:10: note: Shadowed declaration dnsdist-2.0.0/dnsdist-downstream-connection.hh:147:12: note: Shadow variable dnsdist-2.0.0/dnsdist-downstream-connection.hh:156:12: style: Local variable 'count' shadows outer function [shadowFunction] dnsdist-2.0.0/dnsdist-downstream-connection.hh:140:10: note: Shadowed declaration dnsdist-2.0.0/dnsdist-downstream-connection.hh:156:12: note: Shadow variable dnsdist-2.0.0/dnsdist-downstream-connection.hh:149:13: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-2.0.0/dnsdist-downstream-connection.hh:158:13: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-2.0.0/dnsdist-protobuf.cc:299:178: debug: Scope::checkVariable found variable 'data' with varid 0. [varid0] dnsdist-2.0.0/dnsdist-protobuf.cc:355:66: debug: Scope::checkVariable found variable 'result' with varid 0. [varid0] dnsdist-2.0.0/dnsdist-protobuf.cc:377:66: debug: Scope::checkVariable found variable 'result' with varid 0. [varid0] dnsdist-2.0.0/dnsdist-protobuf.cc:387:50: debug: Scope::checkVariable found variable 'tag' with varid 0. [varid0] dnsdist-2.0.0/dnsdist-protobuf.cc:342:152: debug: Function::addArguments found argument 'numericSubKey' with varid 0. [varid0] dnsdist-2.0.0/dnsdist-protobuf.cc:364:111: debug: Function::addArguments found argument 'subKey' with varid 0. [varid0] dnsdist-2.0.0/dnsdist-protobuf.cc:193:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tv_sec [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-protobuf.cc:99:59: style:inconclusive: Function 'setEDNSSubnet' argument 1 names different: declaration 'netmask' definition 'nm'. [funcArgNamesDifferent] dnsdist-2.0.0/dnsdist-protobuf.hh:56:37: note: Function 'setEDNSSubnet' argument 1 names different: declaration 'netmask' definition 'nm'. dnsdist-2.0.0/dnsdist-protobuf.cc:99:59: note: Function 'setEDNSSubnet' argument 1 names different: declaration 'netmask' definition 'nm'. dnsdist-2.0.0/dnsdist-protobuf.cc:120:120: style:inconclusive: Function 'addRR' argument 5 names different: declaration 'data' definition 'strBlob'. [funcArgNamesDifferent] dnsdist-2.0.0/dnsdist-protobuf.hh:60:98: note: Function 'addRR' argument 5 names different: declaration 'data' definition 'strBlob'. dnsdist-2.0.0/dnsdist-protobuf.cc:120:120: note: Function 'addRR' argument 5 names different: declaration 'data' definition 'strBlob'. dnsdist-2.0.0/dnsdist-proxy-protocol.cc:88:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable proxyProtocolInvalid [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-random.cc:87:0: warning: Redundant code: Found unused function. [constStatement] dnsdist-2.0.0/dnsdist-resolver.cc:32:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNSPEC [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-rings.cc:150:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-rings.cc:72:72: style:inconclusive: Technically the member function 'Rings::getTopBandwidth' can be const. [functionConst] dnsdist-2.0.0/dnsdist-rings.hh:76:67: note: Technically the member function 'Rings::getTopBandwidth' can be const. dnsdist-2.0.0/dnsdist-rings.cc:72:72: note: Technically the member function 'Rings::getTopBandwidth' can be const. dnsdist-2.0.0/dnsdist-rings.cc:60:15: style:inconclusive: Technically the member function 'Rings::numDistinctRequestors' can be const. [functionConst] dnsdist-2.0.0/dnsdist-rings.hh:77:10: note: Technically the member function 'Rings::numDistinctRequestors' can be const. dnsdist-2.0.0/dnsdist-rings.cc:60:15: note: Technically the member function 'Rings::numDistinctRequestors' can be const. dnsdist-2.0.0/dnsdist-rings.cc:97:13: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-2.0.0/dnsdist-selectors-factory-generated-body.hh:78:0: debug: Function::addArguments found argument 'min' with varid 0. [varid0] dnsdist-2.0.0/dnsdist-selectors-factory-generated-body.hh:78:0: debug: Function::addArguments found argument 'max' with varid 0. [varid0] dnsdist-2.0.0/dnsdist-secpoll.cc:92:81: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_verbose [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-secpoll.cc:199:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_VERSION [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-secpoll.cc:58:12: style: The scope of the variable 'rrtype' can be reduced. [variableScope] dnsdist-2.0.0/dnsdist-secpoll.cc:59:12: style: The scope of the variable 'rrclass' can be reduced. [variableScope] dnsdist-2.0.0/dnsdist-secpoll.cc:64:12: style: Variable 'rrname' is assigned a value that is never used. [unreadVariable] dnsdist-2.0.0/dnsdist-secpoll.cc:75:12: style: Variable 'rrname' is assigned a value that is never used. [unreadVariable] dnsdist-2.0.0/dnsdist-self-answers.cc:128:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-session-cache.cc:87:11: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-2.0.0/dnsdist-snmp.cc:397:24: performance:inconclusive: Technically the member function 'DNSDistSNMPAgent::sendBackendStatusChangeTrap' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-2.0.0/dnsdist-snmp.hh:34:8: note: Technically the member function 'DNSDistSNMPAgent::sendBackendStatusChangeTrap' can be static (but you may consider moving to unnamed namespace). dnsdist-2.0.0/dnsdist-snmp.cc:397:24: note: Technically the member function 'DNSDistSNMPAgent::sendBackendStatusChangeTrap' can be static (but you may consider moving to unnamed namespace). dnsdist-2.0.0/dnsdist-snmp.cc:435:24: performance:inconclusive: Technically the member function 'DNSDistSNMPAgent::sendCustomTrap' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-2.0.0/dnsdist-snmp.hh:35:8: note: Technically the member function 'DNSDistSNMPAgent::sendCustomTrap' can be static (but you may consider moving to unnamed namespace). dnsdist-2.0.0/dnsdist-snmp.cc:435:24: note: Technically the member function 'DNSDistSNMPAgent::sendCustomTrap' can be static (but you may consider moving to unnamed namespace). dnsdist-2.0.0/dnsdist-snmp.cc:457:24: performance:inconclusive: Technically the member function 'DNSDistSNMPAgent::sendDNSTrap' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-2.0.0/dnsdist-snmp.hh:36:8: note: Technically the member function 'DNSDistSNMPAgent::sendDNSTrap' can be static (but you may consider moving to unnamed namespace). dnsdist-2.0.0/dnsdist-snmp.cc:457:24: note: Technically the member function 'DNSDistSNMPAgent::sendDNSTrap' can be static (but you may consider moving to unnamed namespace). dnsdist-2.0.0/dnsdist-svc.cc:171:24: style: The if condition is the same as the previous if condition [duplicateCondition] dnsdist-2.0.0/dnsdist-svc.cc:163:24: note: First condition dnsdist-2.0.0/dnsdist-svc.cc:171:24: note: Second condition dnsdist-2.0.0/dnsdist-svc.cc:141:262: style:inconclusive: Function 'generateSVCResponse' argument 5 names different: declaration 'd_responseConfig' definition 'responseConfig'. [funcArgNamesDifferent] dnsdist-2.0.0/dnsdist-svc.hh:75:271: note: Function 'generateSVCResponse' argument 5 names different: declaration 'd_responseConfig' definition 'responseConfig'. dnsdist-2.0.0/dnsdist-svc.cc:141:262: note: Function 'generateSVCResponse' argument 5 names different: declaration 'd_responseConfig' definition 'responseConfig'. dnsdist-2.0.0/dnsdist-svc.cc:146:23: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-2.0.0/dnsdist-tcp-downstream.cc:874:0: debug: Function::addArguments found argument 'max' with varid 0. [varid0] dnsdist-2.0.0/dnsdist-tcp-downstream.cc:884:0: debug: Function::addArguments found argument 'max' with varid 0. [varid0] dnsdist-2.0.0/dnsdist-tcp-upstream.hh:44:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_releaseConnection [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-tcp-downstream.cc:76:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_STREAM [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-tcp-downstream.cc:310:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-tcp-downstream.cc:518:115: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-tcp-downstream.cc:613:81: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_ruleChains [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/channel.hh:109:5: style: Class 'Receiver < ConnectionInfo , std :: default_delete < ConnectionInfo > >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/channel.hh:109:5: style: Class 'Receiver < CrossProtocolQuery , std :: default_delete < CrossProtocolQuery > >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/channel.hh:109:5: style: Class 'Receiver < TCPCrossProtocolResponse , std :: default_delete < TCPCrossProtocolResponse > >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/channel.hh:76:5: style: Class 'Sender < TCPCrossProtocolResponse , std :: default_delete < TCPCrossProtocolResponse > >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/dnsdist-tcp-upstream.hh:50:12: style: The destructor '~IncomingTCPConnectionState' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] dnsdist-2.0.0/dnsdist-tcp.hh:164:12: note: Virtual destructor in base class dnsdist-2.0.0/dnsdist-tcp-upstream.hh:50:12: note: Destructor in derived class dnsdist-2.0.0/dnsdist-tcp-downstream.cc:596:3: warning:inconclusive: Access of moved variable 'd_pendingQueries'. [accessMoved] dnsdist-2.0.0/dnsdist-tcp-downstream.cc:595:25: note: Calling std::move(d_pendingQueries) dnsdist-2.0.0/dnsdist-tcp-downstream.cc:596:3: note: Access of moved variable 'd_pendingQueries'. dnsdist-2.0.0/dnsdist-tcp-downstream.cc:598:3: warning:inconclusive: Access of moved variable 'd_pendingResponses'. [accessMoved] dnsdist-2.0.0/dnsdist-tcp-downstream.cc:597:27: note: Calling std::move(d_pendingResponses) dnsdist-2.0.0/dnsdist-tcp-downstream.cc:598:3: note: Access of moved variable 'd_pendingResponses'. dnsdist-2.0.0/dnsdist-tcp-downstream.cc:719:5: warning:inconclusive: Access of moved variable 'd_responseBuffer'. [accessMoved] dnsdist-2.0.0/dnsdist-tcp-downstream.cc:689:25: note: Calling std::move(d_responseBuffer) dnsdist-2.0.0/dnsdist-tcp-downstream.cc:711:9: note: Assuming condition is false dnsdist-2.0.0/dnsdist-tcp-downstream.cc:719:5: note: Access of moved variable 'd_responseBuffer'. dnsdist-2.0.0/dnsdist-tcp.cc:137:100: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_tcpConnectionsOverloadThreshold [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-tcp.cc:188:93: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_tcpInternalPipeBufferSize [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-tcp.cc:333:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable none [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-tcp.cc:369:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable none [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-tcp.cc:606:130: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable useProxyProtocol [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-tcp.cc:753:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tcpCrossProtocolResponsePipeFull [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-tcp.cc:766:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nonCompliantQueries [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-tcp.cc:995:117: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-tcp.cc:1033:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable proxyProtocolInvalid [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-tcp.cc:1097:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-tcp.cc:1243:95: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_maxTCPConnectionDuration [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-tcp.cc:1401:81: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_ruleChains [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-tcp.cc:1771:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable aclDrops [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-tcp.cc:1203:3: style: Class 'HandlingIOGuard' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/dnsdist-tcp.cc:893:7: style: Condition 'streamID' is always false [knownConditionTrueFalse] dnsdist-2.0.0/dnsdist-tcp.cc:877:7: note: Assuming that condition 'streamID' is not redundant dnsdist-2.0.0/dnsdist-tcp.cc:887:14: note: Assuming condition is false dnsdist-2.0.0/dnsdist-tcp.cc:893:7: note: Condition 'streamID' is always false dnsdist-2.0.0/dnsdist-tcp.cc:1321:13: style: Condition '!d_lastIOBlocked' is always true [knownConditionTrueFalse] dnsdist-2.0.0/dnsdist-tcp.cc:1315:23: note: Assuming that condition '!d_lastIOBlocked' is not redundant dnsdist-2.0.0/dnsdist-tcp.cc:1321:13: note: Condition '!d_lastIOBlocked' is always true dnsdist-2.0.0/dnsdist-tcp.cc:1321:39: style: Condition 'active()' is always true [knownConditionTrueFalse] dnsdist-2.0.0/dnsdist-tcp.cc:1315:17: note: Assuming that condition 'active()' is not redundant dnsdist-2.0.0/dnsdist-tcp.cc:1321:39: note: Condition 'active()' is always true dnsdist-2.0.0/dnsdist-tcp.cc:1837:9: style: Condition 'tcpClientCountIncremented' is always false [knownConditionTrueFalse] dnsdist-2.0.0/dnsdist-tcp.cc:1752:31: note: Assignment 'tcpClientCountIncremented=false', assigned value is 0 dnsdist-2.0.0/dnsdist-tcp.cc:1837:9: note: Condition 'tcpClientCountIncremented' is always false dnsdist-2.0.0/dnsdist-tcp.cc:1548:9: style: The scope of the variable 'response' can be reduced. [variableScope] dnsdist-2.0.0/dnsdist-tcp.cc:762:106: style:inconclusive: Function 'handleQuery' argument 1 names different: declaration 'query' definition 'queryIn'. [funcArgNamesDifferent] dnsdist-2.0.0/dnsdist-tcp-upstream.hh:74:52: note: Function 'handleQuery' argument 1 names different: declaration 'query' definition 'queryIn'. dnsdist-2.0.0/dnsdist-tcp.cc:762:106: note: Function 'handleQuery' argument 1 names different: declaration 'query' definition 'queryIn'. dnsdist-2.0.0/dnsdist-tcp.cc:154:127: style: Parameter 'backend' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/dnsdist-tcp.cc:576:96: style: Parameter 'conn' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/dnsdist-tcp.cc:1527:39: warning: Access of moved variable 'query'. [accessMoved] dnsdist-2.0.0/dnsdist-tcp.cc:1524:33: note: Calling std::move(query) dnsdist-2.0.0/dnsdist-tcp.cc:1527:39: note: Access of moved variable 'query'. dnsdist-2.0.0/dnsdist-tcp.cc:226:18: style: Variable 'result' is assigned a value that is never used. [unreadVariable] dnsdist-2.0.0/dnsdist-web.cc:1912:0: debug: Function::addArguments found argument 'max' with varid 0. [varid0] dnsdist-2.0.0/dnsdist-web.cc:147:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-web.cc:246:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-web.cc:535:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable latency0_1 [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-web.cc:1079:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable memory_order_relaxed [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-web.cc:1299:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-web.cc:1654:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-web.cc:1805:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s_urlmap [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-web.cc:1873:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist-web.cc:1917:60: performance: Function parameter 'sock' should be passed by const reference. [passedByValue] dnsdist-2.0.0/dnsdist-web.cc:1500:36: style: Variable 'e' can be declared as reference to const [constVariableReference] dnsdist-2.0.0/dnsdist-web.cc:512:32: performance: Searching before insertion is not necessary. [stlFindInsert] dnsdist-2.0.0/dnsdist-web.cc:443:19: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-2.0.0/dnsdist-web.cc:1085:11: style: Consider using std::copy algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-2.0.0/dnsdist-web.cc:1730:25: style: Variable '(*handlers)[endpoint]' is assigned a value that is never used. [unreadVariable] dnsdist-2.0.0/delaypipe.hh:49:18: debug: Failed to instantiate template "Sender". The checking continues anyway. [templateInstantiation] dnsdist-2.0.0/dnsdist.cc:136:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist.cc:175:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable truncFail [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist.cc:203:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable latency0_1 [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist.cc:269:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nonCompliantResponses [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist.cc:311:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLAGS_RD_OFFSET [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist.cc:483:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ruleTruncated [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist.cc:628:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable frontendNXDomain [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist.cc:680:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable responses [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist.cc:857:83: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist.cc:910:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ruleDrop [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist.cc:1040:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dynBlocked [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist.cc:1214:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist.cc:1235:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_TRUNC [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist.cc:1302:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nonCompliantQueries [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist.cc:1368:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cacheHits [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist.cc:1396:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ruleNXDomain [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist.cc:1456:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable responses [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist.cc:1643:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_idstate [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist.cc:1772:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable downstreamSendErrors [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist.cc:2191:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nonCompliantQueries [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist.cc:2318:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pair [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist.cc:2389:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timeval [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist.cc:2529:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RLIMIT_NOFILE [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist.cc:2545:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_STREAM [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist.cc:2766:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist.cc:2836:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist.cc:2889:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist.cc:3022:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist.cc:3324:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_STREAM [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist.cc:3351:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist.cc:3407:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsdist.cc:2222:13: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] dnsdist-2.0.0/dnsdist.cc:2243:13: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] dnsdist-2.0.0/dnsdist.cc:2400:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] dnsdist-2.0.0/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-2.0.0/delaypipe.cc:91:20: performance:inconclusive: Technically the member function 'DelayPipe < DelayedPacket >::gettime' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-2.0.0/delaypipe.hh:83:8: note: Technically the member function 'DelayPipe < DelayedPacket >::gettime' can be static (but you may consider moving to unnamed namespace). dnsdist-2.0.0/delaypipe.cc:91:20: note: Technically the member function 'DelayPipe < DelayedPacket >::gettime' can be static (but you may consider moving to unnamed namespace). dnsdist-2.0.0/dnsdist.cc:686:46: style: Condition '!ids.isXSK()' is always true [knownConditionTrueFalse] dnsdist-2.0.0/dnsdist.cc:686:56: note: Calling function 'isXSK' returns 0 dnsdist-2.0.0/dnsdist.cc:686:46: note: Condition '!ids.isXSK()' is always true dnsdist-2.0.0/dnsdist.cc:697:11: style: Condition '!ids.isXSK()' is always true [knownConditionTrueFalse] dnsdist-2.0.0/dnsdist.cc:697:21: note: Calling function 'isXSK' returns 0 dnsdist-2.0.0/dnsdist.cc:697:11: note: Condition '!ids.isXSK()' is always true dnsdist-2.0.0/dnsdist.cc:1822:9: style: Condition 'dnsCryptResponse' is always false [knownConditionTrueFalse] dnsdist-2.0.0/dnsdist.cc:1821:47: note: Calling function 'checkDNSCryptQuery' returns 0 dnsdist-2.0.0/dnsdist.cc:1821:47: note: Assignment 'dnsCryptResponse=checkDNSCryptQuery(clientState,query,ids.dnsCryptQuery,ids.queryRealTime.d_start.tv_sec,false)', assigned value is 0 dnsdist-2.0.0/dnsdist.cc:1822:9: note: Condition 'dnsCryptResponse' is always false dnsdist-2.0.0/dnsdist.cc:1718:8: style: The scope of the variable 'failed' can be reduced. [variableScope] dnsdist-2.0.0/dnsdist.cc:1574:160: style:inconclusive: Function 'handleTimeoutResponseRules' argument 3 names different: declaration 'ds' definition 'd_ds'. [funcArgNamesDifferent] dnsdist-2.0.0/dnsdist.hh:1033:160: note: Function 'handleTimeoutResponseRules' argument 3 names different: declaration 'ds' definition 'd_ds'. dnsdist-2.0.0/dnsdist.cc:1574:160: note: Function 'handleTimeoutResponseRules' argument 3 names different: declaration 'ds' definition 'd_ds'. dnsdist-2.0.0/dnsdist.cc:895:97: style: Parameter 'ruleresult' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/dnsdist.cc:1278:88: style: Parameter 'query' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/dnsdist.cc:2319:15: style: Variable 'iter' can be declared as reference to const [constVariableReference] dnsdist-2.0.0/dnsdist.cc:2540:43: style: Parameter 'clientState' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/dnsdist.cc:1784:173: style: Parameter 'responsesVect' can be declared as pointer to const [constParameterPointer] dnsdist-2.0.0/dnsdist.cc:1784:202: style: Parameter 'queuedResponses' can be declared as pointer to const [constParameterPointer] dnsdist-2.0.0/dnsdist.cc:1784:233: style: Parameter 'respIOV' can be declared as pointer to const [constParameterPointer] dnsdist-2.0.0/dnsdist.cc:1784:259: style: Parameter 'respCBuf' can be declared as pointer to const [constParameterPointer] dnsdist-2.0.0/dnsdist.cc:2498:28: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-2.0.0/dnsdist.cc:3111:92: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-2.0.0/dnsdist.cc:1339:16: style: struct member 'mmsghdr::msg_len' is never used. [unusedStructMember] dnsdist-2.0.0/dnsdist.cc:446:36: style: Variable 'action' is assigned a value that is never used. [unreadVariable] dnsdist-2.0.0/dnsdist.cc:851:10: style: Unused variable: result [unusedVariable] dnsdist-2.0.0/dnsdist.cc:2437:35: style: Variable 'one' is assigned a value that is never used. [unreadVariable] dnsdist-2.0.0/dnsdist.cc:2437:31: style: Variable 'one' is assigned a value that is never used. [unreadVariable] dnsdist-2.0.0/dnsdist.cc:3228:29: style: Unused variable: tcpStates [unusedVariable] dnsdist-2.0.0/dnsdist.cc:3229:29: style: Unused variable: udpStates [unusedVariable] dnsdist-2.0.0/dnsname.cc:572:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu8 [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnswriter.hh:156:8: style:inconclusive: Either there is a missing 'override', or the member function 'GenericDNSPacketWriter::eof' can be const. [functionConst] dnsdist-2.0.0/dnswriter.hh:158:16: performance:inconclusive: Either there is a missing 'override', or the member function 'GenericDNSPacketWriter::getRemaining' can be static. [functionStatic] dnsdist-2.0.0/dnsname.cc:110:27: style: C-style pointer casting [cstyleCast] dnsdist-2.0.0/dnsname.cc:476:32: style: C-style pointer casting [cstyleCast] dnsdist-2.0.0/dnsname.cc:476:79: style: C-style pointer casting [cstyleCast] dnsdist-2.0.0/dnsname.cc:477:20: style: C-style pointer casting [cstyleCast] dnsdist-2.0.0/dnsname.cc:485:32: style: C-style pointer casting [cstyleCast] dnsdist-2.0.0/dnsname.cc:485:79: style: C-style pointer casting [cstyleCast] dnsdist-2.0.0/dnsname.cc:487:26: style: C-style pointer casting [cstyleCast] dnsdist-2.0.0/dnsname.cc:66:21: style: The scope of the variable 'lenpos' can be reduced. [variableScope] dnsdist-2.0.0/dnsname.cc:67:21: style: The scope of the variable 'labellen' can be reduced. [variableScope] dnsdist-2.0.0/dnsname.cc:132:17: style: The scope of the variable 'labellen' can be reduced. [variableScope] dnsdist-2.0.0/dnsname.cc:103:30: style:inconclusive: Function 'DNSName' argument 1 names different: declaration 'p' definition 'pos'. [funcArgNamesDifferent] dnsdist-2.0.0/dnsname.hh:110:23: note: Function 'DNSName' argument 1 names different: declaration 'p' definition 'pos'. dnsdist-2.0.0/dnsname.cc:103:30: note: Function 'DNSName' argument 1 names different: declaration 'p' definition 'pos'. dnsdist-2.0.0/dnsname.cc:128:91: style:inconclusive: Function 'parsePacketUncompressed' argument 2 names different: declaration 'position' definition 'pos'. [funcArgNamesDifferent] dnsdist-2.0.0/dnsname.hh:238:84: note: Function 'parsePacketUncompressed' argument 2 names different: declaration 'position' definition 'pos'. dnsdist-2.0.0/dnsname.cc:128:91: note: Function 'parsePacketUncompressed' argument 2 names different: declaration 'position' definition 'pos'. dnsdist-2.0.0/dnsname.cc:325:39: style:inconclusive: Function 'isPartOf' argument 1 names different: declaration 'rhs' definition 'parent'. [funcArgNamesDifferent] dnsdist-2.0.0/dnsname.hh:112:32: note: Function 'isPartOf' argument 1 names different: declaration 'rhs' definition 'parent'. dnsdist-2.0.0/dnsname.cc:325:39: note: Function 'isPartOf' argument 1 names different: declaration 'rhs' definition 'parent'. dnsdist-2.0.0/dnsname.cc:417:49: style:inconclusive: Function 'appendRawLabel' argument 1 names different: declaration 'str' definition 'label'. [funcArgNamesDifferent] dnsdist-2.0.0/dnsname.hh:123:42: note: Function 'appendRawLabel' argument 1 names different: declaration 'str' definition 'label'. dnsdist-2.0.0/dnsname.cc:417:49: note: Function 'appendRawLabel' argument 1 names different: declaration 'str' definition 'label'. dnsdist-2.0.0/dnsname.cc:443:50: style:inconclusive: Function 'prependRawLabel' argument 1 names different: declaration 'str' definition 'label'. [funcArgNamesDifferent] dnsdist-2.0.0/dnsname.hh:125:43: note: Function 'prependRawLabel' argument 1 names different: declaration 'str' definition 'label'. dnsdist-2.0.0/dnsname.cc:443:50: note: Function 'prependRawLabel' argument 1 names different: declaration 'str' definition 'label'. dnsdist-2.0.0/dnsname.cc:66:27: style: Variable 'lenpos' is assigned a value that is never used. [unreadVariable] dnsdist-2.0.0/dnsname.cc:67:29: style: Variable 'labellen' is assigned a value that is never used. [unreadVariable] dnsdist-2.0.0/dnsname.cc:132:26: style: Variable 'labellen' is assigned a value that is never used. [unreadVariable] dnsdist-2.0.0/dnsparser.cc:192:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable string [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsparser.cc:198:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable string [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsparser.cc:818:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnsparser.cc:57:9: warning: %x in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] dnsdist-2.0.0/dnsparser.cc:459:16: style: C-style pointer casting [cstyleCast] dnsdist-2.0.0/dnsparser.cc:723:18: style: C-style pointer casting [cstyleCast] dnsdist-2.0.0/dnsparser.cc:741:12: style: C-style pointer casting [cstyleCast] dnsdist-2.0.0/dnsparser.cc:741:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] dnsdist-2.0.0/dnsparser.cc:143:72: style:inconclusive: Function 'make' argument 3 names different: declaration 'zone' definition 'content'. [funcArgNamesDifferent] dnsdist-2.0.0/dnsparser.hh:199:96: note: Function 'make' argument 3 names different: declaration 'zone' definition 'content'. dnsdist-2.0.0/dnsparser.cc:143:72: note: Function 'make' argument 3 names different: declaration 'zone' definition 'content'. dnsdist-2.0.0/dnsparser.cc:153:106: style:inconclusive: Function 'make' argument 3 names different: declaration 'opcode' definition 'oc'. [funcArgNamesDifferent] dnsdist-2.0.0/dnsparser.hh:198:97: note: Function 'make' argument 3 names different: declaration 'opcode' definition 'oc'. dnsdist-2.0.0/dnsparser.cc:153:106: note: Function 'make' argument 3 names different: declaration 'opcode' definition 'oc'. dnsdist-2.0.0/dnsparser.cc:400:56: style:inconclusive: Function 'xfrNodeOrLocatorID' argument 1 names different: declaration 'val' definition 'ret'. [funcArgNamesDifferent] dnsdist-2.0.0/dnsparser.hh:85:44: note: Function 'xfrNodeOrLocatorID' argument 1 names different: declaration 'val' definition 'ret'. dnsdist-2.0.0/dnsparser.cc:400:56: note: Function 'xfrNodeOrLocatorID' argument 1 names different: declaration 'val' definition 'ret'. dnsdist-2.0.0/dnsparser.cc:409:42: style:inconclusive: Function 'xfr48BitInt' argument 1 names different: declaration 'val' definition 'ret'. [funcArgNamesDifferent] dnsdist-2.0.0/dnsparser.hh:86:30: note: Function 'xfr48BitInt' argument 1 names different: declaration 'val' definition 'ret'. dnsdist-2.0.0/dnsparser.cc:409:42: note: Function 'xfr48BitInt' argument 1 names different: declaration 'val' definition 'ret'. dnsdist-2.0.0/dnsparser.cc:572:54: style:inconclusive: Function 'xfrBlobNoSpaces' argument 2 names different: declaration 'len' definition 'length'. [funcArgNamesDifferent] dnsdist-2.0.0/dnsparser.hh:154:42: note: Function 'xfrBlobNoSpaces' argument 2 names different: declaration 'len' definition 'length'. dnsdist-2.0.0/dnsparser.cc:572:54: note: Function 'xfrBlobNoSpaces' argument 2 names different: declaration 'len' definition 'length'. dnsdist-2.0.0/dnsparser.cc:706:37: style:inconclusive: Function 'simpleCompress' argument 1 names different: declaration 'label' definition 'elabel'. [funcArgNamesDifferent] dnsdist-2.0.0/dnsparser.hh:530:37: note: Function 'simpleCompress' argument 1 names different: declaration 'label' definition 'elabel'. dnsdist-2.0.0/dnsparser.cc:706:37: note: Function 'simpleCompress' argument 1 names different: declaration 'label' definition 'elabel'. dnsdist-2.0.0/dnsparser.cc:983:32: style: Parameter 'packet' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/dnsparser.cc:347:3: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-2.0.0/dnstap.cc:85:92: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnswriter.cc:233:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnswriter.cc:322:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dnswriter.cc:85:39: style: C-style pointer casting [cstyleCast] dnsdist-2.0.0/dnswriter.cc:85:66: style: C-style pointer casting [cstyleCast] dnsdist-2.0.0/dnswriter.cc:137:21: style: C-style pointer casting [cstyleCast] dnsdist-2.0.0/dnswriter.cc:138:21: style: C-style pointer casting [cstyleCast] dnsdist-2.0.0/dnswriter.cc:251:21: style: C-style pointer casting [cstyleCast] dnsdist-2.0.0/dnswriter.cc:298:44: style: C-style pointer casting [cstyleCast] dnsdist-2.0.0/dnswriter.cc:300:104: style: C-style pointer casting [cstyleCast] dnsdist-2.0.0/dnswriter.cc:300:139: style: C-style pointer casting [cstyleCast] dnsdist-2.0.0/dnswriter.cc:348:39: style: C-style pointer casting [cstyleCast] dnsdist-2.0.0/dnswriter.cc:348:74: style: C-style pointer casting [cstyleCast] dnsdist-2.0.0/dnswriter.cc:55:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] dnsdist-2.0.0/dnswriter.cc:209:117: style:inconclusive: Function 'lookupName' argument 2 names different: declaration 'matchlen' definition 'matchLen'. [funcArgNamesDifferent] dnsdist-2.0.0/dnswriter.hh:165:54: note: Function 'lookupName' argument 2 names different: declaration 'matchlen' definition 'matchLen'. dnsdist-2.0.0/dnswriter.cc:209:117: note: Function 'lookupName' argument 2 names different: declaration 'matchlen' definition 'matchLen'. dnsdist-2.0.0/dnswriter.cc:231:25: style: Variable 'ba' can be declared as reference to const [constVariableReference] dnsdist-2.0.0/dnswriter.cc:278:27: style: Variable 'ba' can be declared as reference to const [constVariableReference] dnsdist-2.0.0/dnswriter.cc:415:19: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-2.0.0/doh3.cc:1120:23: performance:inconclusive: Technically the member function 'DOH3Unit::getHTTPPath' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-2.0.0/doh3.hh:127:29: note: Technically the member function 'DOH3Unit::getHTTPPath' can be static (but you may consider moving to unnamed namespace). dnsdist-2.0.0/doh3.cc:1120:23: note: Technically the member function 'DOH3Unit::getHTTPPath' can be static (but you may consider moving to unnamed namespace). dnsdist-2.0.0/doh3.cc:1125:23: performance:inconclusive: Technically the member function 'DOH3Unit::getHTTPQueryString' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-2.0.0/doh3.hh:128:29: note: Technically the member function 'DOH3Unit::getHTTPQueryString' can be static (but you may consider moving to unnamed namespace). dnsdist-2.0.0/doh3.cc:1125:23: note: Technically the member function 'DOH3Unit::getHTTPQueryString' can be static (but you may consider moving to unnamed namespace). dnsdist-2.0.0/doh3.cc:1130:23: performance:inconclusive: Technically the member function 'DOH3Unit::getHTTPHost' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-2.0.0/doh3.hh:129:29: note: Technically the member function 'DOH3Unit::getHTTPHost' can be static (but you may consider moving to unnamed namespace). dnsdist-2.0.0/doh3.cc:1130:23: note: Technically the member function 'DOH3Unit::getHTTPHost' can be static (but you may consider moving to unnamed namespace). dnsdist-2.0.0/doh3.cc:1135:23: performance:inconclusive: Technically the member function 'DOH3Unit::getHTTPScheme' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-2.0.0/doh3.hh:130:29: note: Technically the member function 'DOH3Unit::getHTTPScheme' can be static (but you may consider moving to unnamed namespace). dnsdist-2.0.0/doh3.cc:1135:23: note: Technically the member function 'DOH3Unit::getHTTPScheme' can be static (but you may consider moving to unnamed namespace). dnsdist-2.0.0/doh3.cc:1140:46: performance:inconclusive: Technically the member function 'DOH3Unit::getHTTPHeaders' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-2.0.0/doh3.hh:131:52: note: Technically the member function 'DOH3Unit::getHTTPHeaders' can be static (but you may consider moving to unnamed namespace). dnsdist-2.0.0/doh3.cc:1140:46: note: Technically the member function 'DOH3Unit::getHTTPHeaders' can be static (but you may consider moving to unnamed namespace). dnsdist-2.0.0/doh3.cc:1146:16: performance:inconclusive: Technically the member function 'DOH3Unit::setHTTPResponse' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-2.0.0/doh3.hh:132:8: note: Technically the member function 'DOH3Unit::setHTTPResponse' can be static (but you may consider moving to unnamed namespace). dnsdist-2.0.0/doh3.cc:1146:16: note: Technically the member function 'DOH3Unit::setHTTPResponse' can be static (but you may consider moving to unnamed namespace). dnsdist-2.0.0/dolog.cc:46:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISO8601 [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/dolog.cc:57:147: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Numeric [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/noinitvector.hh:25:3: style: Struct 'noinit_adaptor' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/ednscookies.cc:82:22: performance:inconclusive: Technically the member function 'EDNSCookiesOpt::isValid' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-2.0.0/ednscookies.hh:54:22: note: Technically the member function 'EDNSCookiesOpt::isValid' can be static (but you may consider moving to unnamed namespace). dnsdist-2.0.0/ednscookies.cc:82:22: note: Technically the member function 'EDNSCookiesOpt::isValid' can be static (but you may consider moving to unnamed namespace). dnsdist-2.0.0/ednscookies.cc:159:22: performance:inconclusive: Technically the member function 'EDNSCookiesOpt::makeServerCookie' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-2.0.0/ednscookies.hh:56:8: note: Technically the member function 'EDNSCookiesOpt::makeServerCookie' can be static (but you may consider moving to unnamed namespace). dnsdist-2.0.0/ednscookies.cc:159:22: note: Technically the member function 'EDNSCookiesOpt::makeServerCookie' can be static (but you may consider moving to unnamed namespace). dnsdist-2.0.0/ednscookies.hh:34:3: style: Struct 'EDNSCookiesOpt' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/ednscookies.hh:58:29: performance: Function 'getServer()' should return member 'server' by const reference. [returnByReference] dnsdist-2.0.0/ednscookies.hh:62:29: performance: Function 'getClient()' should return member 'client' by const reference. [returnByReference] dnsdist-2.0.0/ednsoptions.cc:49:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/ednsoptions.cc:101:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/ednsoptions.cc:162:14: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] dnsdist-2.0.0/ednsoptions.cc:163:14: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] dnsdist-2.0.0/ednsoptions.cc:138:12: style: The scope of the variable 'code' can be reduced. [variableScope] dnsdist-2.0.0/ednsoptions.cc:138:18: style: The scope of the variable 'len' can be reduced. [variableScope] dnsdist-2.0.0/ednssubnet.cc:64:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/ednssubnet.cc:100:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sin_family [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/epollmplexer.cc:107:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EPOLLIN [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/epollmplexer.cc:126:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EPOLL_CTL_ADD [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/epollmplexer.cc:137:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EPOLL_CTL_DEL [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/epollmplexer.cc:149:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EPOLL_CTL_MOD [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/epollmplexer.cc:158:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/epollmplexer.cc:174:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/epollmplexer.cc:39:3: style: Class 'EpollFDMultiplexer' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/epollmplexer.cc:167:45: style:inconclusive: Function 'run' argument 1 names different: declaration 'tv' definition 'now'. [funcArgNamesDifferent] dnsdist-2.0.0/epollmplexer.cc:47:27: note: Function 'run' argument 1 names different: declaration 'tv' definition 'now'. dnsdist-2.0.0/epollmplexer.cc:167:45: note: Function 'run' argument 1 names different: declaration 'tv' definition 'now'. dnsdist-2.0.0/ext/arc4random/arc4random.h:38:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/ext/arc4random/arc4random.c:228:34: style:inconclusive: Function 'arc4random_buf' argument 2 names different: declaration 'nbytes' definition 'n'. [funcArgNamesDifferent] dnsdist-2.0.0/ext/arc4random/includes.h:18:39: note: Function 'arc4random_buf' argument 2 names different: declaration 'nbytes' definition 'n'. dnsdist-2.0.0/ext/arc4random/arc4random.c:228:34: note: Function 'arc4random_buf' argument 2 names different: declaration 'nbytes' definition 'n'. dnsdist-2.0.0/ext/arc4random/arc4random.c:95:18: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] dnsdist-2.0.0/ext/arc4random/arc4random.c:147:19: style: Parameter 'dat' can be declared as pointer to const [constParameterPointer] dnsdist-2.0.0/ext/arc4random/arc4random_uniform.c:48:21: style: Opposite expression on both sides of '%'. [oppositeExpression] dnsdist-2.0.0/ext/arc4random/bsd-getentropy.c:62:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/ext/arc4random/explicit_bzero.c:45:32: style:inconclusive: Function 'explicit_bzero' argument 2 names different: declaration 'len' definition 'n'. [funcArgNamesDifferent] dnsdist-2.0.0/ext/arc4random/includes.h:24:36: note: Function 'explicit_bzero' argument 2 names different: declaration 'len' definition 'n'. dnsdist-2.0.0/ext/arc4random/explicit_bzero.c:45:32: note: Function 'explicit_bzero' argument 2 names different: declaration 'len' definition 'n'. dnsdist-2.0.0/ext/json11/json11.cpp:176:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_value [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/ext/json11/json11.cpp:177:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_value [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/ext/json11/json11.cpp:178:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_value [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/ext/json11/json11.cpp:179:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_value [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/ext/json11/json11.cpp:185:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_value [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/ext/json11/json11.cpp:186:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_value [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/ext/json11/json11.cpp:187:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_value [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/ext/json11/json11.cpp:188:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_value [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/ext/json11/json11.cpp:194:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_value [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/ext/json11/json11.cpp:200:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_value [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/ext/json11/json11.cpp:207:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_value [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/ext/json11/json11.cpp:215:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_value [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/ext/json11/json11.cpp:297:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_value [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/ext/json11/json11.cpp:596:85: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable digits10 [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/ext/json11/json11.cpp:458:10: performance:inconclusive: Technically the member function 'json11::::JsonParser::encode_utf8' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-2.0.0/ext/json11/json11.cpp:304:36: style:inconclusive: Function 'operator==' argument 1 names different: declaration 'rhs' definition 'other'. [funcArgNamesDifferent] dnsdist-2.0.0/ext/json11/json11.hpp:192:34: note: Function 'operator==' argument 1 names different: declaration 'rhs' definition 'other'. dnsdist-2.0.0/ext/json11/json11.cpp:304:36: note: Function 'operator==' argument 1 names different: declaration 'rhs' definition 'other'. dnsdist-2.0.0/ext/json11/json11.cpp:311:35: style:inconclusive: Function 'operator<' argument 1 names different: declaration 'rhs' definition 'other'. [funcArgNamesDifferent] dnsdist-2.0.0/ext/json11/json11.hpp:193:34: note: Function 'operator<' argument 1 names different: declaration 'rhs' definition 'other'. dnsdist-2.0.0/ext/json11/json11.cpp:311:35: note: Function 'operator<' argument 1 names different: declaration 'rhs' definition 'other'. dnsdist-2.0.0/ext/json11/json11.cpp:516:24: style: Local variable 'esc' shadows outer function [shadowFunction] dnsdist-2.0.0/ext/json11/json11.cpp:326:22: note: Shadowed declaration dnsdist-2.0.0/ext/json11/json11.cpp:516:24: note: Shadow variable dnsdist-2.0.0/ext/json11/json11.cpp:775:17: style: Variable 'item' can be declared as reference to const [constVariableReference] dnsdist-2.0.0/ext/json11/json11.cpp:776:56: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-2.0.0/ext/lmdb-safe/lmdb-safe.hh:132:0: error: #error "your compiler does not define byte order macros" [preprocessorErrorDirective] dnsdist-2.0.0/ext/lmdb-safe/lmdb-safe.hh:132:2: error: #error "your compiler does not define byte order macros" [preprocessorErrorDirective] dnsdist-2.0.0/ext/yahttp/yahttp/utility.hpp:82:0: error: #error define HAVE_LOCALTIME_R [preprocessorErrorDirective] dnsdist-2.0.0/ext/yahttp/yahttp/utility.hpp:82:9: error: #error define HAVE_LOCALTIME_R [preprocessorErrorDirective] dnsdist-2.0.0/fuzz_dnsdistcache.cc:37:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_maxEntries [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/iputils.cc:61:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/iputils.cc:71:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/iputils.cc:117:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/iputils.cc:154:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/iputils.cc:198:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/iputils.cc:279:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_IPV6 [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/iputils.cc:292:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/iputils.cc:318:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/iputils.cc:332:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable msghdr [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/iputils.cc:348:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sin_family [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/iputils.cc:443:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/iputils.cc:472:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_PEEK [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/iputils.cc:542:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOL_SOCKET [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/iputils.cc:555:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SO_RCVBUF [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/iputils.cc:560:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SO_SNDBUF [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/iputils.cc:85:56: style: C-style pointer casting [cstyleCast] dnsdist-2.0.0/iputils.cc:240:38: style: Parameter 'msgh' can be declared as pointer to const [constParameterPointer] dnsdist-2.0.0/iputils.cc:240:60: style: Parameter 'timeval' can be declared as pointer to const [constParameterPointer] dnsdist-2.0.0/kqueuemplexer.cc:91:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EVFILT_READ [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/kqueuemplexer.cc:107:86: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_ADD [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/kqueuemplexer.cc:127:86: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_DELETE [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/kqueuemplexer.cc:150:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/kqueuemplexer.cc:178:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/kqueuemplexer.cc:41:3: style: Class 'KqueueFDMultiplexer' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/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-2.0.0/mplexer.hh:73:12: note: Virtual destructor in base class dnsdist-2.0.0/kqueuemplexer.cc:42:4: note: Destructor in derived class dnsdist-2.0.0/kqueuemplexer.cc:167:46: style:inconclusive: Function 'run' argument 1 names different: declaration 'tv' definition 'now'. [funcArgNamesDifferent] dnsdist-2.0.0/kqueuemplexer.cc:49:27: note: Function 'run' argument 1 names different: declaration 'tv' definition 'now'. dnsdist-2.0.0/kqueuemplexer.cc:167:46: note: Function 'run' argument 1 names different: declaration 'tv' definition 'now'. dnsdist-2.0.0/kqueuemplexer.cc:163:9: style: Consider using std::copy algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-2.0.0/meson/atomics/atomic_add_fetch.cc:6:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __ATOMIC_RELAXED [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/meson/strerror/strerror_r.c:5:9: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] dnsdist-2.0.0/meson/timet-sign/timet_sign.cc:5:7: style: Variable 'foo' can be declared as const array [constVariable] dnsdist-2.0.0/meson/timet-sign/timet_sign.cc:6:9: error: Uninitialized variable: foo [legacyUninitvar] dnsdist-2.0.0/meson/timet-sign/timet_sign.cc:5:7: style: Variable 'foo' is not assigned a value. [unassignedVariable] dnsdist-2.0.0/misc.cc:84:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/misc.cc:109:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/misc.cc:126:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timeval [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/misc.cc:189:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/misc.cc:387:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLIN [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/misc.cc:416:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pollfd [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/misc.cc:448:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pollfd [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/misc.cc:520:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/misc.cc:558:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/misc.cc:701:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/misc.cc:714:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_LOCAL0 [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/misc.cc:737:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_LOCAL0 [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/misc.cc:808:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/misc.cc:866:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/misc.cc:897:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_un [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/misc.cc:933:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_ICASE [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/misc.cc:945:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/misc.cc:1024:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RLIMIT_NOFILE [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/misc.cc:1033:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RLIMIT_NOFILE [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/misc.cc:1063:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/misc.cc:1071:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/misc.cc:1095:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/misc.cc:1117:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/misc.cc:1141:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/misc.cc:1153:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFD [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/misc.cc:1268:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOENT [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/misc.cc:1519:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RUSAGE_SELF [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/misc.cc:1549:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RUSAGE_SELF [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/misc.cc:1556:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RUSAGE_SELF [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/misc.cc:1679:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOSYS [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/misc.cc:1698:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/misc.cc:1728:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/misc.cc:1747:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/misc.cc:1767:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hex [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/misc.cc:1855:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/misc.cc:1873:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/misc.cc:1588:25: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] dnsdist-2.0.0/misc.cc:1617:24: portability: Non reentrant function 'getgrnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrnam_r'. [prohibitedgetgrnamCalled] dnsdist-2.0.0/misc.cc:133:28: style: C-style pointer casting [cstyleCast] dnsdist-2.0.0/misc.cc:835:44: style: C-style pointer casting [cstyleCast] dnsdist-2.0.0/misc.cc:964:11: style: C-style pointer casting [cstyleCast] dnsdist-2.0.0/misc.cc:1829:38: style: C-style pointer casting [cstyleCast] dnsdist-2.0.0/misc.cc:1830:38: style: C-style pointer casting [cstyleCast] dnsdist-2.0.0/misc.cc:1056:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] dnsdist-2.0.0/misc.cc:1080:50: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] dnsdist-2.0.0/misc.cc:76:20: style:inconclusive: Function 'writen2' argument 1 names different: declaration 'fd' definition 'fileDesc'. [funcArgNamesDifferent] dnsdist-2.0.0/misc.hh:191:20: note: Function 'writen2' argument 1 names different: declaration 'fd' definition 'fileDesc'. dnsdist-2.0.0/misc.cc:76:20: note: Function 'writen2' argument 1 names different: declaration 'fd' definition 'fileDesc'. dnsdist-2.0.0/misc.cc:407:87: style:inconclusive: Function 'waitForMultiData' argument 4 names different: declaration 'fd' definition 'fdOut'. [funcArgNamesDifferent] dnsdist-2.0.0/misc.hh:112:87: note: Function 'waitForMultiData' argument 4 names different: declaration 'fd' definition 'fdOut'. dnsdist-2.0.0/misc.cc:407:87: note: Function 'waitForMultiData' argument 4 names different: declaration 'fd' definition 'fdOut'. dnsdist-2.0.0/misc.cc:445:68: style:inconclusive: Function 'waitFor2Data' argument 5 names different: declaration 'fd' definition 'fdPtr'. [funcArgNamesDifferent] dnsdist-2.0.0/misc.hh:111:68: note: Function 'waitFor2Data' argument 5 names different: declaration 'fd' definition 'fdPtr'. dnsdist-2.0.0/misc.cc:445:68: note: Function 'waitFor2Data' argument 5 names different: declaration 'fd' definition 'fdPtr'. dnsdist-2.0.0/misc.cc:941:59: style:inconclusive: Function 'addCMsgSrcAddr' argument 2 names different: declaration 'cbuf' definition 'cmsgbuf'. [funcArgNamesDifferent] dnsdist-2.0.0/misc.hh:602:59: note: Function 'addCMsgSrcAddr' argument 2 names different: declaration 'cbuf' definition 'cmsgbuf'. dnsdist-2.0.0/misc.cc:941:59: note: Function 'addCMsgSrcAddr' argument 2 names different: declaration 'cbuf' definition 'cmsgbuf'. dnsdist-2.0.0/misc.cc:1588:19: style: Variable 'pwd' can be declared as pointer to const [constVariablePointer] dnsdist-2.0.0/misc.cc:1617:18: style: Variable 'grp' can be declared as pointer to const [constVariablePointer] dnsdist-2.0.0/pollmplexer.cc:67:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLIN [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/pollmplexer.cc:112:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/pollmplexer.cc:136:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/pollmplexer.cc:31:3: style: Class 'PollFDMultiplexer' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/pollmplexer.cc:123:44: style:inconclusive: Function 'run' argument 1 names different: declaration 'tv' definition 'now'. [funcArgNamesDifferent] dnsdist-2.0.0/pollmplexer.cc:34:27: note: Function 'run' argument 1 names different: declaration 'tv' definition 'now'. dnsdist-2.0.0/pollmplexer.cc:123:44: note: Function 'run' argument 1 names different: declaration 'tv' definition 'now'. dnsdist-2.0.0/pollmplexer.cc:97:12: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] dnsdist-2.0.0/portsmplexer.cc:68:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLIN [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/portsmplexer.cc:79:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PORT_SOURCE_FD [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/portsmplexer.cc:86:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PORT_SOURCE_FD [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/portsmplexer.cc:105:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/portsmplexer.cc:164:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/portsmplexer.cc:20:3: style: Class 'PortsFDMultiplexer' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/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-2.0.0/mplexer.hh:73:12: note: Virtual destructor in base class dnsdist-2.0.0/portsmplexer.cc:21:4: note: Destructor in derived class dnsdist-2.0.0/portsmplexer.cc:148:45: style:inconclusive: Function 'run' argument 1 names different: declaration 'tv' definition 'now'. [funcArgNamesDifferent] dnsdist-2.0.0/portsmplexer.cc:26:27: note: Function 'run' argument 1 names different: declaration 'tv' definition 'now'. dnsdist-2.0.0/portsmplexer.cc:148:45: note: Function 'run' argument 1 names different: declaration 'tv' definition 'now'. dnsdist-2.0.0/protozero.cc:30:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/protozero.cc:43:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/protozero.cc:109:10: style: Variable 'rrname' is assigned a value that is never used. [unreadVariable] dnsdist-2.0.0/protozero.cc:118:14: style: Variable 'rrname' is assigned a value that is never used. [unreadVariable] dnsdist-2.0.0/proxy-protocol.cc:120:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s_addr [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/proxy-protocol.cc:124:11: style: The scope of the variable 'protocol' can be reduced. [variableScope] dnsdist-2.0.0/remote_logger.cc:52:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable iov_base [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/remote_logger.cc:122:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_STREAM [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/remote_logger.cc:152:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TooLarge [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/remote_logger.cc:241:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/snmp-agent.cc:117:17: performance:inconclusive: Technically the member function 'SNMPAgent::worker' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-2.0.0/snmp-agent.hh:45:8: note: Technically the member function 'SNMPAgent::worker' can be static (but you may consider moving to unnamed namespace). dnsdist-2.0.0/snmp-agent.cc:117:17: note: Technically the member function 'SNMPAgent::worker' can be static (but you may consider moving to unnamed namespace). dnsdist-2.0.0/standalone_fuzz_target_runner.cc:13:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/statnode.cc:6:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/svc-records.cc:92:13: style: Condition 'd_key==SvcParamKey::alpn' is always true [knownConditionTrueFalse] dnsdist-2.0.0/svc-records.cc:89:13: note: Assuming that condition 'd_key!=SvcParamKey::alpn' is not redundant dnsdist-2.0.0/svc-records.cc:92:13: note: Condition 'd_key==SvcParamKey::alpn' is always true dnsdist-2.0.0/svc-records.cc:102:13: style: Condition 'd_key==SvcParamKey::mandatory' is always true [knownConditionTrueFalse] dnsdist-2.0.0/svc-records.cc:99:13: note: Assuming that condition 'd_key!=SvcParamKey::mandatory' is not redundant dnsdist-2.0.0/svc-records.cc:102:13: note: Condition 'd_key==SvcParamKey::mandatory' is always true dnsdist-2.0.0/svc-records.cc:79:17: style: Unused variable: d [unusedVariable] dnsdist-2.0.0/tcpiohandler.cc:1923:19: performance:inconclusive: Technically the member function 'TLSFrontend::setupTLS' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-2.0.0/tcpiohandler.hh:154:8: note: Technically the member function 'TLSFrontend::setupTLS' can be static (but you may consider moving to unnamed namespace). dnsdist-2.0.0/tcpiohandler.cc:1923:19: note: Technically the member function 'TLSFrontend::setupTLS' can be static (but you may consider moving to unnamed namespace). dnsdist-2.0.0/test-channel.cc:94:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable runtime_error [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/test-channel.cc:103:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/test-channel.cc:139:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable runtime_error [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/channel.hh:109:5: style: Class 'Receiver < MyObject , std :: default_delete < MyObject > >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/channel.hh:76:5: style: Class 'Sender < MyObject , std :: default_delete < MyObject > >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/test-channel.cc:31:3: warning: Access of moved variable 'obj'. [accessMoved] dnsdist-2.0.0/test-channel.cc:30:3: note: Calling std::move(obj) dnsdist-2.0.0/test-channel.cc:31:3: note: Access of moved variable 'obj'. dnsdist-2.0.0/test-channel.cc:57:7: warning: Access of moved variable 'obj'. [accessMoved] dnsdist-2.0.0/test-channel.cc:52:28: note: Calling std::move(obj) dnsdist-2.0.0/test-channel.cc:57:7: note: Access of moved variable 'obj'. dnsdist-2.0.0/test-credentials_cc.cc:149:3: warning:inconclusive: Access of moved variable 'data'. [accessMoved] dnsdist-2.0.0/test-credentials_cc.cc:147:11: note: Calling std::move(data) dnsdist-2.0.0/test-credentials_cc.cc:149:3: note: Access of moved variable 'data'. dnsdist-2.0.0/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-2.0.0/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-2.0.0/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-2.0.0/delaypipe.cc:91:20: performance:inconclusive: Technically the member function 'DelayPipe < Work >::gettime' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-2.0.0/delaypipe.hh:83:8: note: Technically the member function 'DelayPipe < Work >::gettime' can be static (but you may consider moving to unnamed namespace). dnsdist-2.0.0/delaypipe.cc:91:20: note: Technically the member function 'DelayPipe < Work >::gettime' can be static (but you may consider moving to unnamed namespace). dnsdist-2.0.0/channel.hh:109:5: style: Class 'Receiver < int , std :: default_delete < int > >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/channel.hh:109:5: style: Class 'Receiver < Combo , std :: default_delete < Combo > >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/channel.hh:76:5: style: Class 'Sender < int , std :: default_delete < int > >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/channel.hh:76:5: style: Class 'Sender < Combo , std :: default_delete < Combo > >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/test-delaypipe_hh.cc:35:9: style: struct member 'Work::i' is never used. [unusedStructMember] dnsdist-2.0.0/test-delaypipe_hh.cc:64:9: style: struct member 'Work::i' is never used. [unusedStructMember] dnsdist-2.0.0/test-dnsdist-connections-cache.cc:62:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_lastDataReceivedTime [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/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-2.0.0/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-2.0.0/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-2.0.0/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-2.0.0/test-dnsdist-connections-cache.cc:192:16: style: Variable 'c' can be declared as reference to const [constVariableReference] dnsdist-2.0.0/test-dnsdist-connections-cache.cc:218:14: style: Variable 'c' can be declared as reference to const [constVariableReference] dnsdist-2.0.0/test-dnsdist-connections-cache.cc:234:14: style: Variable 'got' is assigned a value that is never used. [unreadVariable] dnsdist-2.0.0/test-dnsdist-dnsparser.cc:45:78: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/test-dnsdist-dnsparser.cc:94:82: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/test-dnsdist-dnsparser.cc:392:84: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/test-dnsdist-lua-ffi.cc:53:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/test-dnsdist-lua-ffi.cc:404:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/test-dnsdist-lua-ffi.cc:477:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_maxEntries [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/test-dnsdist-lua-ffi.cc:619:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/test-dnsdist-lua-ffi.cc:666:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/test-dnsdist-lua-ffi.cc:717:80: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/test-dnsdist-lua-ffi.cc:1019:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/test-dnsdist-lua-ffi.cc:1045:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/test-dnsdist-lua-ffi.cc:277:5: style: The comparison 'dq.getData().size() > oldData.size()' is always false because 'dq.getData().size()' and 'oldData.size()' represent the same value. [knownConditionTrueFalse] dnsdist-2.0.0/test-dnsdist-lua-ffi.cc:267:36: note: 'oldData' is assigned value 'dq.getData()' here. dnsdist-2.0.0/test-dnsdist-lua-ffi.cc:277:5: note: The comparison 'dq.getData().size() > oldData.size()' is always false because 'dq.getData().size()' and 'oldData.size()' represent the same value. dnsdist-2.0.0/test-dnsdist-lua-ffi.cc:384:12: style: Variable 'ids.cs' is reassigned a value before the old one has been used. [redundantAssignment] dnsdist-2.0.0/test-dnsdist-lua-ffi.cc:380:12: note: ids.cs is assigned dnsdist-2.0.0/test-dnsdist-lua-ffi.cc:384:12: note: ids.cs is overwritten dnsdist-2.0.0/test-dnsdist-lua-ffi.cc:394:12: style: Variable 'ids.cs' is reassigned a value before the old one has been used. [redundantAssignment] dnsdist-2.0.0/test-dnsdist-lua-ffi.cc:390:12: note: ids.cs is assigned dnsdist-2.0.0/test-dnsdist-lua-ffi.cc:394:12: note: ids.cs is overwritten dnsdist-2.0.0/test-dnsdist-lua-ffi.cc:180:0: warning: Redundant code: Found unused function. [constStatement] dnsdist-2.0.0/test-dnsdist-lua-ffi.cc:940:37: style: Variable 'endpoint' can be declared as pointer to const [constVariablePointer] dnsdist-2.0.0/test-dnsdist-lua-ffi.cc:467:3: warning: String literal compared with variable 'dnsdist_ffi_server_get_name(&server)'. Did you intend to use strcmp() instead? [literalWithCharPtrCompare] dnsdist-2.0.0/test-dnsdist-lua-ffi.cc:704:5: warning: String literal compared with variable 'out[0].value'. Did you intend to use strcmp() instead? [literalWithCharPtrCompare] dnsdist-2.0.0/test-dnsdist-lua-ffi.cc:706:5: warning: String literal compared with variable 'out[1].value'. Did you intend to use strcmp() instead? [literalWithCharPtrCompare] dnsdist-2.0.0/test-dnsdist-lua-ffi.cc:708:5: warning: String literal compared with variable 'out[2].value'. Did you intend to use strcmp() instead? [literalWithCharPtrCompare] dnsdist-2.0.0/test-dnsdist_cc.cc:168:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/test-dnsdist_cc.cc:195:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/test-dnsdist_cc.cc:273:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/test-dnsdist_cc.cc:353:84: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/test-dnsdist_cc.cc:404:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/test-dnsdist_cc.cc:455:84: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/test-dnsdist_cc.cc:508:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/test-dnsdist_cc.cc:551:89: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/test-dnsdist_cc.cc:595:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/test-dnsdist_cc.cc:633:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/test-dnsdist_cc.cc:691:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/test-dnsdist_cc.cc:748:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/test-dnsdist_cc.cc:806:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/test-dnsdist_cc.cc:864:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/test-dnsdist_cc.cc:923:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/test-dnsdist_cc.cc:977:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/test-dnsdist_cc.cc:1026:87: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/test-dnsdist_cc.cc:1057:87: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/test-dnsdist_cc.cc:1091:87: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/test-dnsdist_cc.cc:1125:87: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/test-dnsdist_cc.cc:1175:87: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/test-dnsdist_cc.cc:1228:87: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/test-dnsdist_cc.cc:1284:87: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/test-dnsdist_cc.cc:1337:87: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/test-dnsdist_cc.cc:1376:87: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/test-dnsdist_cc.cc:1418:87: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/test-dnsdist_cc.cc:1462:87: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/test-dnsdist_cc.cc:1533:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/test-dnsdist_cc.cc:1632:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/test-dnsdist_cc.cc:1695:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/test-dnsdist_cc.cc:1758:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/test-dnsdist_cc.cc:1882:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/test-dnsdist_cc.cc:1982:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/test-dnsdist_cc.cc:2132:84: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/test-dnsdist_cc.cc:2355:86: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/test-dnsdist_cc.cc:2425:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/test-dnsdist_cc.cc:108:24: performance:inconclusive: Technically the member function 'DNSDistSNMPAgent::sendBackendStatusChangeTrap' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-2.0.0/dnsdist-snmp.hh:34:8: note: Technically the member function 'DNSDistSNMPAgent::sendBackendStatusChangeTrap' can be static (but you may consider moving to unnamed namespace). dnsdist-2.0.0/test-dnsdist_cc.cc:108:24: note: Technically the member function 'DNSDistSNMPAgent::sendBackendStatusChangeTrap' can be static (but you may consider moving to unnamed namespace). dnsdist-2.0.0/test-dnsdist_cc.cc:68:160: style:inconclusive: Function 'handleTimeoutResponseRules' argument 3 names different: declaration 'ds' definition 'd_ds'. [funcArgNamesDifferent] dnsdist-2.0.0/dnsdist.hh:1033:160: note: Function 'handleTimeoutResponseRules' argument 3 names different: declaration 'ds' definition 'd_ds'. dnsdist-2.0.0/test-dnsdist_cc.cc:68:160: note: Function 'handleTimeoutResponseRules' argument 3 names different: declaration 'ds' definition 'd_ds'. dnsdist-2.0.0/test-dnsdist_cc.cc:46:56: style: Parameter 'dnsQuestion' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdist_cc.cc:46:103: style: Parameter 'selectedBackend' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdist_cc.cc:53:46: style: Parameter 'response' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdist_cc.cc:53:69: style: Parameter 'dnsResponse' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdist_cc.cc:61:112: style: Parameter 'dnsResponse' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdist_cc.cc:68:115: style: Parameter 'ids' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdist_cc.cc:87:72: style: Parameter 'downstream' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdist_cc.cc:87:115: style: Parameter 'dnsQuestion' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdist_cc.cc:87:142: style: Parameter 'query' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdist_cc.cc:99:73: style: Parameter 'dnsQuestion' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdist_cc.cc:125:63: style: Parameter 'dss' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdist_cc.cc:125:82: style: Parameter 'response' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdistasync.cc:52:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errorRaised [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/test-dnsdistasync.cc:107:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] dnsdist-2.0.0/test-dnsdistasync.cc:140:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] dnsdist-2.0.0/test-dnsdistasync.cc:176:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] dnsdist-2.0.0/test-dnsdistasync.cc:63:5: performance: Variable 'd_sender' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] dnsdist-2.0.0/test-dnsdistasync.cc:116:12: style: The scope of the variable 'asyncID' can be reduced. [variableScope] dnsdist-2.0.0/test-dnsdistasync.cc:117:12: style: The scope of the variable 'queryID' can be reduced. [variableScope] dnsdist-2.0.0/test-dnsdistasync.cc:152:12: style: The scope of the variable 'asyncID' can be reduced. [variableScope] dnsdist-2.0.0/test-dnsdistasync.cc:153:12: style: The scope of the variable 'queryID' can be reduced. [variableScope] dnsdist-2.0.0/test-dnsdistbackend_cc.cc:169:30: warning:inconclusive: Access of moved variable 'config'. [accessMoved] dnsdist-2.0.0/test-dnsdistbackend_cc.cc:135:22: note: Calling std::move(config) dnsdist-2.0.0/test-dnsdistbackend_cc.cc:169:30: note: Access of moved variable 'config'. dnsdist-2.0.0/test-dnsdistbackend_cc.cc:183:30: warning:inconclusive: Access of moved variable 'config'. [accessMoved] dnsdist-2.0.0/test-dnsdistbackend_cc.cc:135:22: note: Calling std::move(config) dnsdist-2.0.0/test-dnsdistbackend_cc.cc:183:30: note: Access of moved variable 'config'. dnsdist-2.0.0/test-dnsdistbackend_cc.cc:248:30: warning:inconclusive: Access of moved variable 'config'. [accessMoved] dnsdist-2.0.0/test-dnsdistbackend_cc.cc:240:22: note: Calling std::move(config) dnsdist-2.0.0/test-dnsdistbackend_cc.cc:248:30: note: Access of moved variable 'config'. dnsdist-2.0.0/test-dnsdistbackend_cc.cc:259:3: warning:inconclusive: Access of moved variable 'config'. [accessMoved] dnsdist-2.0.0/test-dnsdistbackend_cc.cc:240:22: note: Calling std::move(config) dnsdist-2.0.0/test-dnsdistbackend_cc.cc:259:3: note: Access of moved variable 'config'. dnsdist-2.0.0/test-dnsdistbackend_cc.cc:260:50: warning:inconclusive: Access of moved variable 'config'. [accessMoved] dnsdist-2.0.0/test-dnsdistbackend_cc.cc:240:22: note: Calling std::move(config) dnsdist-2.0.0/test-dnsdistbackend_cc.cc:260:50: note: Access of moved variable 'config'. dnsdist-2.0.0/test-dnsdistbackend_cc.cc:274:3: warning:inconclusive: Access of moved variable 'config'. [accessMoved] dnsdist-2.0.0/test-dnsdistbackend_cc.cc:240:22: note: Calling std::move(config) dnsdist-2.0.0/test-dnsdistbackend_cc.cc:274:3: note: Access of moved variable 'config'. dnsdist-2.0.0/test-dnsdistbackend_cc.cc:285:3: warning:inconclusive: Access of moved variable 'config'. [accessMoved] dnsdist-2.0.0/test-dnsdistbackend_cc.cc:240:22: note: Calling std::move(config) dnsdist-2.0.0/test-dnsdistbackend_cc.cc:285:3: note: Access of moved variable 'config'. dnsdist-2.0.0/test-dnsdistdynblocks_hh.cc:1301:113: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable none [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/test-dnsdistdynblocks_hh.cc:1518:73: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable second [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/test-dnsdistdynblocks_hh.cc:1581:83: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable second [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/iputils.hh:1316:3: warning:inconclusive: Member variable 'NetmaskTree < int , AddressAndPortRange >::d_size' is not assigned in the copy constructor. Should it be copied? [missingMemberCopy] dnsdist-2.0.0/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-2.0.0/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-2.0.0/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-2.0.0/test-dnsdistdynblocks_hh.cc:174: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-2.0.0/test-dnsdistdynblocks_hh.cc:174: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-2.0.0/test-dnsdistdynblocks_hh.cc:174: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-2.0.0/test-dnsdistdynblocks_hh.cc:277: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-2.0.0/test-dnsdistdynblocks_hh.cc:277: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-2.0.0/test-dnsdistdynblocks_hh.cc:277: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-2.0.0/test-dnsdistdynblocks_hh.cc:411: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-2.0.0/test-dnsdistdynblocks_hh.cc:411: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-2.0.0/test-dnsdistdynblocks_hh.cc:411: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-2.0.0/test-dnsdistdynblocks_hh.cc:478: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-2.0.0/test-dnsdistdynblocks_hh.cc:478: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-2.0.0/test-dnsdistdynblocks_hh.cc:478: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-2.0.0/test-dnsdistdynblocks_hh.cc:569: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-2.0.0/test-dnsdistdynblocks_hh.cc:569: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-2.0.0/test-dnsdistdynblocks_hh.cc:569: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-2.0.0/test-dnsdistdynblocks_hh.cc:665: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-2.0.0/test-dnsdistdynblocks_hh.cc:665: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-2.0.0/test-dnsdistdynblocks_hh.cc:665: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-2.0.0/test-dnsdistdynblocks_hh.cc:787: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-2.0.0/test-dnsdistdynblocks_hh.cc:787: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-2.0.0/test-dnsdistdynblocks_hh.cc:787: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-2.0.0/test-dnsdistdynblocks_hh.cc:863: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-2.0.0/test-dnsdistdynblocks_hh.cc:863: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-2.0.0/test-dnsdistdynblocks_hh.cc:863: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-2.0.0/test-dnsdistdynblocks_hh.cc:988: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-2.0.0/test-dnsdistdynblocks_hh.cc:988: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-2.0.0/test-dnsdistdynblocks_hh.cc:988: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-2.0.0/test-dnsdistdynblocks_hh.cc:1151: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-2.0.0/test-dnsdistdynblocks_hh.cc:1151: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-2.0.0/test-dnsdistdynblocks_hh.cc:1151: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-2.0.0/iputils.hh:1200: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-2.0.0/iputils.hh:1348:12: style:inconclusive: Technically the member function 'NetmaskTree < int , AddressAndPortRange >::end' can be const. [functionConst] dnsdist-2.0.0/iputils.hh:1301:10: style:inconclusive: Technically the member function 'NetmaskTree < int , AddressAndPortRange >::Iterator::operator==' can be const. [functionConst] dnsdist-2.0.0/iputils.hh:1305:10: style:inconclusive: Technically the member function 'NetmaskTree < int , AddressAndPortRange >::Iterator::operator!=' can be const. [functionConst] dnsdist-2.0.0/test-dnsdistdynblocks_hh.cc:421:12: style: The scope of the variable 'size' can be reduced. [variableScope] dnsdist-2.0.0/test-dnsdistdynblocks_hh.cc:424:16: style: The scope of the variable 'responseTime' can be reduced. [variableScope] dnsdist-2.0.0/test-dnsdistdynblocks_hh.cc:433:10: style: The scope of the variable 'numberOfSeconds' can be reduced. [variableScope] dnsdist-2.0.0/test-dnsdistdynblocks_hh.cc:434:10: style: The scope of the variable 'blockDuration' can be reduced. [variableScope] dnsdist-2.0.0/test-dnsdistdynblocks_hh.cc:680:10: style: The scope of the variable 'numberOfSeconds' can be reduced. [variableScope] dnsdist-2.0.0/test-dnsdistdynblocks_hh.cc:881:10: style: The scope of the variable 'numberOfSeconds' can be reduced. [variableScope] dnsdist-2.0.0/test-dnsdistdynblocks_hh.cc:1158:12: style: The scope of the variable 'size' can be reduced. [variableScope] dnsdist-2.0.0/test-dnsdistdynblocks_hh.cc:1587:10: style: Variable 'found' can be declared as pointer to const [constVariablePointer] dnsdist-2.0.0/test-dnsdistdynblocks_hh.cc:1604:10: style: Variable 'found' can be declared as pointer to const [constVariablePointer] dnsdist-2.0.0/test-dnsdistdynblocks_hh.cc:1646:12: style: Variable 'found' can be declared as pointer to const [constVariablePointer] dnsdist-2.0.0/test-dnsdistdynblocks_hh.cc:1672:12: style: Variable 'found' can be declared as pointer to const [constVariablePointer] dnsdist-2.0.0/test-dnsdistedns.cc:47:76: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/test-dnsdistlbpolicies_cc.cc:571:80: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_lbPolicy [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/test-dnsdistlbpolicies_cc.cc:30:19: performance:inconclusive: Technically the member function 'TLSFrontend::setupTLS' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-2.0.0/tcpiohandler.hh:154:8: note: Technically the member function 'TLSFrontend::setupTLS' can be static (but you may consider moving to unnamed namespace). dnsdist-2.0.0/test-dnsdistlbpolicies_cc.cc:30:19: note: Technically the member function 'TLSFrontend::setupTLS' can be static (but you may consider moving to unnamed namespace). dnsdist-2.0.0/test-dnsdistlbpolicies_cc.cc:36:24: performance:inconclusive: Technically the member function 'DNSDistSNMPAgent::sendDNSTrap' can be static (but you may consider moving to unnamed namespace). [functionStatic] dnsdist-2.0.0/dnsdist-snmp.hh:36:8: note: Technically the member function 'DNSDistSNMPAgent::sendDNSTrap' can be static (but you may consider moving to unnamed namespace). dnsdist-2.0.0/test-dnsdistlbpolicies_cc.cc:36:24: note: Technically the member function 'DNSDistSNMPAgent::sendDNSTrap' can be static (but you may consider moving to unnamed namespace). dnsdist-2.0.0/test-dnsdistlbpolicies_cc.cc:47:59: style:inconclusive: Function 'setupDoTProtocolNegotiation' argument 1 names different: declaration 'ctx' definition 'tlsCtx'. [funcArgNamesDifferent] dnsdist-2.0.0/tcpiohandler.hh:600:59: note: Function 'setupDoTProtocolNegotiation' argument 1 names different: declaration 'ctx' definition 'tlsCtx'. dnsdist-2.0.0/test-dnsdistlbpolicies_cc.cc:47:59: note: Function 'setupDoTProtocolNegotiation' argument 1 names different: declaration 'ctx' definition 'tlsCtx'. dnsdist-2.0.0/test-dnsdistlbpolicies_cc.cc:47:59: style: Parameter 'tlsCtx' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdistluanetwork.cc:73:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable runtime_error [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/test-dnsdistluanetwork.cc:115:10: style: The scope of the variable 'otherSocketPath' can be reduced. [variableScope] dnsdist-2.0.0/test-dnsdistluanetwork.cc:128:7: warning: String literal compared with variable 'e.what()'. Did you intend to use strcmp() instead? [literalWithCharPtrCompare] dnsdist-2.0.0/test-dnsdistpacketcache_cc.cc:26:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_maxEntries [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/test-dnsdistpacketcache_cc.cc:139:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_maxEntries [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/test-dnsdistpacketcache_cc.cc:249:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_maxEntries [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/test-dnsdistpacketcache_cc.cc:319:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_maxEntries [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/test-dnsdistpacketcache_cc.cc:375:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_maxEntries [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/test-dnsdistpacketcache_cc.cc:437:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_maxEntries [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/test-dnsdistpacketcache_cc.cc:500:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/test-dnsdistpacketcache_cc.cc:581:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/test-dnsdistpacketcache_cc.cc:759:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/test-dnsdistpacketcache_cc.cc:801:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/test-dnsdistpacketcache_cc.cc:857:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/test-dnsdistpacketcache_cc.cc:865:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_maxEntries [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/test-dnsdistpacketcache_cc.cc:1005:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_maxEntries [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/test-dnsdistpacketcache_cc.cc:1071:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_maxEntries [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/test-dnsdistpacketcache_cc.cc:1317:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_maxEntries [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/test-dnsdistpacketcache_cc.cc:33:10: style: The scope of the variable 'counter' can be reduced. [variableScope] dnsdist-2.0.0/test-dnsdistpacketcache_cc.cc:34:10: style: The scope of the variable 'skipped' can be reduced. [variableScope] dnsdist-2.0.0/test-dnsdistpacketcache_cc.cc:35:8: style: The scope of the variable 'dnssecOK' can be reduced. [variableScope] dnsdist-2.0.0/test-dnsdistpacketcache_cc.cc:151:10: style: The scope of the variable 'counter' can be reduced. [variableScope] dnsdist-2.0.0/test-dnsdistpacketcache_cc.cc:152:10: style: The scope of the variable 'skipped' can be reduced. [variableScope] dnsdist-2.0.0/test-dnsdistpacketcache_cc.cc:154:8: style: The scope of the variable 'dnssecOK' can be reduced. [variableScope] dnsdist-2.0.0/test-dnsdistpacketcache_cc.cc:260:8: style: The scope of the variable 'dnssecOK' can be reduced. [variableScope] dnsdist-2.0.0/test-dnsdistpacketcache_cc.cc:330:8: style: The scope of the variable 'dnssecOK' can be reduced. [variableScope] dnsdist-2.0.0/test-dnsdistpacketcache_cc.cc:384:8: style: The scope of the variable 'dnssecOK' can be reduced. [variableScope] dnsdist-2.0.0/test-dnsdistpacketcache_cc.cc:451:8: style: The scope of the variable 'dnssecOK' can be reduced. [variableScope] dnsdist-2.0.0/test-dnsdistpacketcache_cc.cc:804:8: style: The scope of the variable 'dnssecOK' can be reduced. [variableScope] dnsdist-2.0.0/test-dnsdistpacketcache_cc.cc:1024:12: style: The scope of the variable 'qid' can be reduced. [variableScope] dnsdist-2.0.0/test-dnsdistpacketcache_cc.cc:310:25: style: Variable 'e' can be declared as reference to const [constVariableReference] dnsdist-2.0.0/test-dnsdistpacketcache_cc.cc:366:25: style: Variable 'e' can be declared as reference to const [constVariableReference] dnsdist-2.0.0/test-dnsdistpacketcache_cc.cc:789:25: style: Variable 'e' can be declared as reference to const [constVariableReference] dnsdist-2.0.0/test-dnsdistpacketcache_cc.cc:822:25: style: Variable 'e' can be declared as reference to const [constVariableReference] dnsdist-2.0.0/test-dnsdistrings_cc.cc:162:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/test-dnsdistrings_cc.cc:182:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] dnsdist-2.0.0/test-dnsdistrings_cc.cc:147: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-2.0.0/test-dnsdistrings_cc.cc:236:28: note: You might need to cast the function pointer here dnsdist-2.0.0/test-dnsdistrings_cc.cc:147:37: note: Parameter 'rings' can be declared as reference to const dnsdist-2.0.0/test-dnsdistrules_cc.cc:15:0: debug: Function::addArguments found argument 'max' with varid 0. [varid0] dnsdist-2.0.0/test-dnsdistrules_cc.cc:123:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/test-dnsdistrules_cc.cc:298:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable runtime_error [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/test-dnsdistrules_cc.cc:137:20: style: Variable 'ids.origRemote' is assigned a value that is never used. [unreadVariable] dnsdist-2.0.0/test-dnsdistrules_cc.cc:165:22: style: Variable 'ids.origRemote' is assigned a value that is never used. [unreadVariable] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:387:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ready [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:450:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_STREAM [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:544:88: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_tcpRecvTimeout [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:808:88: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_tcpRecvTimeout [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:965:95: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:1938:88: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_tcpRecvTimeout [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:4168:88: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_tcpRecvTimeout [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:4475:95: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:157:3: style: Class 'MockupTLSConnection' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:161:4: style: The destructor '~MockupTLSConnection' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] dnsdist-2.0.0/tcpiohandler.hh:24:12: note: Virtual destructor in base class dnsdist-2.0.0/test-dnsdisttcp_cc.cc:161:4: note: Destructor in derived class dnsdist-2.0.0/test-dnsdisttcp_cc.cc:333:4: style: The destructor '~MockupTLSCtx' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] dnsdist-2.0.0/tcpiohandler.hh:76:12: note: Virtual destructor in base class dnsdist-2.0.0/test-dnsdisttcp_cc.cc:333:4: note: Destructor in derived class dnsdist-2.0.0/test-dnsdisttcp_cc.cc:375:4: style: The destructor '~MockupFDMultiplexer' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] dnsdist-2.0.0/mplexer.hh:73:12: note: Virtual destructor in base class dnsdist-2.0.0/test-dnsdisttcp_cc.cc:375:4: note: Destructor in derived class dnsdist-2.0.0/test-dnsdisttcp_cc.cc:2750:12: style: Condition '!timeout' is always true [knownConditionTrueFalse] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:2749:15: note: Assignment 'timeout=false', assigned value is 0 dnsdist-2.0.0/test-dnsdisttcp_cc.cc:2750:12: note: Condition '!timeout' is always true dnsdist-2.0.0/test-dnsdisttcp_cc.cc:3109:12: style: Condition '!timeout' is always true [knownConditionTrueFalse] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:3037:20: note: Assignment 'timeout=false', assigned value is 0 dnsdist-2.0.0/test-dnsdisttcp_cc.cc:3109:12: note: Condition '!timeout' is always true dnsdist-2.0.0/test-dnsdisttcp_cc.cc:3288:12: style: Condition '!timeout' is always true [knownConditionTrueFalse] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:3231:20: note: Assignment 'timeout=false', assigned value is 0 dnsdist-2.0.0/test-dnsdisttcp_cc.cc:3288:12: note: Condition '!timeout' is always true dnsdist-2.0.0/test-dnsdisttcp_cc.cc:3558:12: style: Condition '!timeout' is always true [knownConditionTrueFalse] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:3486:20: note: Assignment 'timeout=false', assigned value is 0 dnsdist-2.0.0/test-dnsdisttcp_cc.cc:3558:12: note: Condition '!timeout' is always true dnsdist-2.0.0/test-dnsdisttcp_cc.cc:39:44: style:inconclusive: Function 'checkDNSCryptQuery' argument 1 names different: declaration 'clientState' definition 'cs'. [funcArgNamesDifferent] dnsdist-2.0.0/dnsdist.hh:1006:44: note: Function 'checkDNSCryptQuery' argument 1 names different: declaration 'clientState' definition 'cs'. dnsdist-2.0.0/test-dnsdisttcp_cc.cc:39:44: note: Function 'checkDNSCryptQuery' argument 1 names different: declaration 'clientState' definition 'cs'. dnsdist-2.0.0/test-dnsdisttcp_cc.cc:62:194: style:inconclusive: Function 'handleResponseSent' argument 7 names different: declaration 'outgoingProtocol' definition 'protocol'. [funcArgNamesDifferent] dnsdist-2.0.0/dnsdist.hh:1032:194: note: Function 'handleResponseSent' argument 7 names different: declaration 'outgoingProtocol' definition 'protocol'. dnsdist-2.0.0/test-dnsdisttcp_cc.cc:62:194: note: Function 'handleResponseSent' argument 7 names different: declaration 'outgoingProtocol' definition 'protocol'. dnsdist-2.0.0/test-dnsdisttcp_cc.cc:39:62: style: Parameter 'query' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:39:101: style: Parameter 'dnsCryptQuery' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:49:72: style: Parameter 'clientState' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:575:38: style: Parameter 'dq' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:575:76: style: Parameter 'selectedBackend' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:599:38: style: Parameter 'dq' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:599:76: style: Parameter 'selectedBackend' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:633:38: style: Parameter 'dq' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:633:76: style: Parameter 'selectedBackend' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:663:38: style: Parameter 'dq' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:663:76: style: Parameter 'selectedBackend' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:692:38: style: Parameter 'dq' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:692:76: style: Parameter 'selectedBackend' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:716:38: style: Parameter 'dq' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:716:76: style: Parameter 'selectedBackend' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:756:38: style: Parameter 'dq' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:756:76: style: Parameter 'selectedBackend' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:794:38: style: Parameter 'dq' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:794:76: style: Parameter 'selectedBackend' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:857:38: style: Parameter 'dq' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:857:76: style: Parameter 'selectedBackend' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:892:38: style: Parameter 'dq' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:892:76: style: Parameter 'selectedBackend' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:924:38: style: Parameter 'dq' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:924:76: style: Parameter 'selectedBackend' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:1005:45: style: Parameter 'dq' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:1010:42: style: Parameter 'response' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:1010:65: style: Parameter 'dr' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:1049:45: style: Parameter 'dq' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:1054:42: style: Parameter 'response' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:1054:65: style: Parameter 'dr' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:1092:45: style: Parameter 'dq' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:1097:42: style: Parameter 'response' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:1097:65: style: Parameter 'dr' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:1139:45: style: Parameter 'dq' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:1144:42: style: Parameter 'response' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:1144:65: style: Parameter 'dr' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:1171:38: style: Parameter 'dq' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:1171:76: style: Parameter 'selectedBackend' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:1176:42: style: Parameter 'response' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:1176:65: style: Parameter 'dr' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:1213:45: style: Parameter 'dq' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:1218:42: style: Parameter 'response' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:1218:65: style: Parameter 'dr' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:1285:45: style: Parameter 'dq' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:1290:42: style: Parameter 'response' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:1290:65: style: Parameter 'dr' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:1356:45: style: Parameter 'dq' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:1361:42: style: Parameter 'response' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:1361:65: style: Parameter 'dr' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:1395:45: style: Parameter 'dq' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:1400:42: style: Parameter 'response' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:1400:65: style: Parameter 'dr' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:1445:45: style: Parameter 'dq' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:1450:42: style: Parameter 'response' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:1450:65: style: Parameter 'dr' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:1506:45: style: Parameter 'dq' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:1511:42: style: Parameter 'response' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:1511:65: style: Parameter 'dr' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:1566:45: style: Parameter 'dq' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:1571:42: style: Parameter 'response' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:1571:65: style: Parameter 'dr' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:1633:45: style: Parameter 'dq' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:1638:42: style: Parameter 'response' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:1638:65: style: Parameter 'dr' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:1689:45: style: Parameter 'dq' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:1694:42: style: Parameter 'response' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:1694:65: style: Parameter 'dr' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:1753:45: style: Parameter 'dq' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:1758:42: style: Parameter 'response' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:1758:65: style: Parameter 'dr' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:1798:45: style: Parameter 'dq' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:1803:42: style: Parameter 'response' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:1803:65: style: Parameter 'dr' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:1866:45: style: Parameter 'dq' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:1871:42: style: Parameter 'response' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:1871:65: style: Parameter 'dr' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:1919:42: style: Parameter 'response' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:1919:65: style: Parameter 'dr' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:2104:45: style: Parameter 'dq' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:2109:42: style: Parameter 'response' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:2109:65: style: Parameter 'dr' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:2246:42: style: Parameter 'response' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:2246:65: style: Parameter 'dr' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:2429:45: style: Parameter 'dq' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:2434:42: style: Parameter 'response' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:2434:65: style: Parameter 'dr' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:2506:54: style: Parameter 'dq' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:2515:42: style: Parameter 'response' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:2515:65: style: Parameter 'dr' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:2594:54: style: Parameter 'dq' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:2603:42: style: Parameter 'response' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:2603:65: style: Parameter 'dr' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:2720:45: style: Parameter 'dq' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:2725:42: style: Parameter 'response' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:2725:65: style: Parameter 'dr' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:2882:45: style: Parameter 'dq' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:2887:42: style: Parameter 'response' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:2887:65: style: Parameter 'dr' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:3095:45: style: Parameter 'dq' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:3100:42: style: Parameter 'response' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:3100:65: style: Parameter 'dr' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:3274:57: style: Parameter 'dq' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:3279:42: style: Parameter 'response' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:3279:65: style: Parameter 'dr' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:3544:45: style: Parameter 'dq' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:3549:42: style: Parameter 'response' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:3549:65: style: Parameter 'dr' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:3674:57: style: Parameter 'dq' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:3679:42: style: Parameter 'response' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:3679:65: style: Parameter 'dr' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:3763:57: style: Parameter 'dq' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:3768:42: style: Parameter 'response' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:3768:65: style: Parameter 'dr' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:3835:45: style: Parameter 'dq' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:3840:42: style: Parameter 'response' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:3840:65: style: Parameter 'dr' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:4036:46: style: Parameter 'dq' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:4041:42: style: Parameter 'response' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:4041:65: style: Parameter 'dr' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:4126:45: style: Parameter 'dq' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:4131:42: style: Parameter 'response' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:4131:65: style: Parameter 'dr' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:4369:45: style: Parameter 'dq' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:4374:42: style: Parameter 'response' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:4374:65: style: Parameter 'dr' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:4430:42: style: Parameter 'response' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsdisttcp_cc.cc:4430:65: style: Parameter 'dr' can be declared as reference to const [constParameterReference] dnsdist-2.0.0/test-dnsparser_cc.cc:25:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/test-dnsparser_cc.cc:106:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/test-dnsparser_cc.cc:162:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/test-dnsparser_cc.cc:363:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/test-dnsparser_cc.cc:458:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/test-dnsparser_cc.cc:498:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/test-dnsparser_cc.cc:565:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/test-iputils_hh.cc:21:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/test-iputils_hh.cc:76:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/test-iputils_hh.cc:469:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable second [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/test-iputils_hh.cc:526:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable second [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/test-iputils_hh.cc:538:76: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable second [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/test-iputils_hh.cc:587:86: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable second [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/test-iputils_hh.cc:659:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hex [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/iputils.hh:1316:3: warning:inconclusive: Member variable 'NetmaskTree < int , Netmask >::d_size' is not assigned in the copy constructor. Should it be copied? [missingMemberCopy] dnsdist-2.0.0/iputils.hh:1200: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-2.0.0/iputils.hh:1348:12: style:inconclusive: Technically the member function 'NetmaskTree < int , Netmask >::end' can be const. [functionConst] dnsdist-2.0.0/iputils.hh:1301:10: style:inconclusive: Technically the member function 'NetmaskTree < int , Netmask >::Iterator::operator==' can be const. [functionConst] dnsdist-2.0.0/iputils.hh:1305:10: style:inconclusive: Technically the member function 'NetmaskTree < int , Netmask >::Iterator::operator!=' can be const. [functionConst] dnsdist-2.0.0/test-iputils_hh.cc:136:16: style: C-style pointer casting [cstyleCast] dnsdist-2.0.0/test-iputils_hh.cc:139:16: style: C-style pointer casting [cstyleCast] dnsdist-2.0.0/test-iputils_hh.cc:194:35: style: C-style pointer casting [cstyleCast] dnsdist-2.0.0/test-iputils_hh.cc:197:35: style: C-style pointer casting [cstyleCast] dnsdist-2.0.0/test-iputils_hh.cc:922:5: style: Variable 'tests' can be declared as const array [constVariable] dnsdist-2.0.0/test-luawrapper.cc:29:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable increment [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/test-mplexer.cc:29:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s_maxevents [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/test-mplexer.cc:230:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s_maxevents [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/test-proxy_protocol_cc.cc:117:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable runtime_error [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/testrunner.cc:41:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable init_unit_test [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/threadname.cc:67:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERANGE [valueFlowBailoutIncompleteVar] dnsdist-2.0.0/threadname.cc:72:14: style: Condition 'retval!=0' is always false [knownConditionTrueFalse] dnsdist-2.0.0/threadname.cc:44:16: note: Assignment 'retval=0', assigned value is 0 dnsdist-2.0.0/threadname.cc:66:32: note: Calling function 'trySetThreadName' returns 0 dnsdist-2.0.0/threadname.cc:66:32: note: Assignment 'retval=trySetThreadName(threadName)', assigned value is 0 dnsdist-2.0.0/threadname.cc:72:14: note: Condition 'retval!=0' is always false diff: DONE