2024-04-21 00:15 ftp://ftp.de.debian.org/debian/pool/main/p/pdns-recursor/pdns-recursor_4.9.4.orig.tar.bz2 cppcheck-options: --library=posix --library=gnu --library=boost --library=openssl --library=bsd --library=libcurl --showtime=top5 --check-library --inconclusive --enable=style,information --inline-suppr --disable=missingInclude --suppress=unmatchedSuppression --template=daca2 --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning -D__GNUC__ --platform=unix64 -j1 platform: Linux-6.6.15-amd64-x86_64-with-glibc2.37 python: 3.11.8 client-version: 1.3.49 compiler: g++ (Debian 13.2.0-13) 13.2.0 cppcheck: head 2.13.0 head-info: fb15ac6 (2024-04-20 19:16:41 +0200) count: 2138 1282 elapsed-time: 228.2 239.5 head-timing-info: Tokenizer::simplifyTokens1::ValueFlow: 96.1125s (avg. 0.64505s - 149 result(s)) Tokenizer::simplifyTokens1::simplifyTokenList1: 52.5342s (avg. 0.350228s - 150 result(s)) Tokenizer::simplifyTokens1::simplifyTokenList1::simplifyTemplates: 23.3819s (avg. 0.156926s - 149 result(s)) valueFlowCondition(SimpleConditionHandler{}, tokenlist, symboldatabase, errorLogger, settings, skippedFunctions): 20.242s (avg. 0.0468564s - 432 result(s)) valueFlowAfterAssign(tokenlist, symboldatabase, errorLogger, settings, skippedFunctions): 19.4916s (avg. 0.0451193s - 432 result(s)) Overall time: 219.05s old-timing-info: Tokenizer::simplifyTokens1::ValueFlow: 104.134s (avg. 0.698888s - 149 result(s)) Tokenizer::simplifyTokens1::simplifyTokenList1: 54.3365s (avg. 0.362243s - 150 result(s)) valueFlowCondition(SimpleConditionHandler{}, tokenlist, symboldatabase, errorLogger, settings, skippedFunctions): 29.2404s (avg. 0.0678432s - 431 result(s)) Tokenizer::simplifyTokens1::simplifyTokenList1::simplifyTemplates: 24.5711s (avg. 0.164906s - 149 result(s)) valueFlowAfterAssign(tokenlist, symboldatabase, errorLogger, settings, skippedFunctions): 23.4794s (avg. 0.0544765s - 431 result(s)) Overall time: 230.535s head results: pdns-recursor-4.9.4/recursor_cache.hh:209:3: debug: Failed to parse 'typedef multi_index_container < CacheEntry , indexed_by < ordered_unique < tag < OrderedTag > , composite_key < CacheEntry , member < CacheEntry , DNSName , & CacheEntry :: d_qname > , member < CacheEntry , QType , & CacheEntry :: d_qtype > , member < CacheEntry , boost :: optional < std :: string > , & CacheEntry :: d_rtag > , member < CacheEntry , Netmask , & CacheEntry :: d_netmask > > , composite_key_compare < CanonDNSNameCompare , std :: less < QType > , std :: less < boost :: optional < std :: string > > , std :: less < Netmask > > > , sequenced < tag < SequencedTag > > , hashed_non_unique < tag < NameAndRTagOnlyHashedTag > , composite_key < CacheEntry , member < CacheEntry , DNSName , & CacheEntry :: d_qname > , member < CacheEntry , boost :: optional < std :: string > , & CacheEntry :: d_rtag > > > > > :: index < MemRecursorCache :: OrderedTag > :: type :: iterator OrderedTagIterator_t ;'. The checking continues anyway. [simplifyTypedef] pdns-recursor-4.9.4/recursor_cache.hh:210:3: debug: Failed to parse 'typedef multi_index_container < CacheEntry , indexed_by < ordered_unique < tag < OrderedTag > , composite_key < CacheEntry , member < CacheEntry , DNSName , & CacheEntry :: d_qname > , member < CacheEntry , QType , & CacheEntry :: d_qtype > , member < CacheEntry , boost :: optional < std :: string > , & CacheEntry :: d_rtag > , member < CacheEntry , Netmask , & CacheEntry :: d_netmask > > , composite_key_compare < CanonDNSNameCompare , std :: less < QType > , std :: less < boost :: optional < std :: string > > , std :: less < Netmask > > > , sequenced < tag < SequencedTag > > , hashed_non_unique < tag < NameAndRTagOnlyHashedTag > , composite_key < CacheEntry , member < CacheEntry , DNSName , & CacheEntry :: d_qname > , member < CacheEntry , boost :: optional < std :: string > , & CacheEntry :: d_rtag > > > > > :: index < MemRecursorCache :: NameAndRTagOnlyHashedTag > :: type :: iterator NameAndRTagOnlyHashedTagIterator_t ;'. The checking continues anyway. [simplifyTypedef] pdns-recursor-4.9.4/dnssecinfra.hh:173:5: debug: Failed to parse 'using maker_t = std :: unique_ptr < DNSCryptoKeyEngine > ( unsigned int ) ;'. The checking continues anyway. [simplifyUsing] pdns-recursor-4.9.4/misc.hh:735:18: debug: Failed to instantiate template "checked_conv". The checking continues anyway. [templateInstantiation] pdns-recursor-4.9.4/dnssecinfra.hh:173:5: debug: Failed to parse 'using maker_t = std :: unique_ptr < DNSCryptoKeyEngine > ( int ) ;'. The checking continues anyway. [simplifyUsing] pdns-recursor-4.9.4/misc.hh:114:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/misc.hh:134:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/misc.hh:151:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/misc.hh:230:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_set [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/misc.hh:234:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_set [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/misc.hh:242:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tv_sec [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/misc.hh:255:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tv_sec [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/misc.hh:453:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/misc.hh:671:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_integer [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/iputils.hh:94:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/iputils.hh:115:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/iputils.hh:132:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/iputils.hh:152:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/iputils.hh:165:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/iputils.hh:175:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/iputils.hh:183:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/iputils.hh:195:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_in6 [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/iputils.hh:199:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_in [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/iputils.hh:203:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_in6 [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/iputils.hh:211:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/iputils.hh:225:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/iputils.hh:229:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/iputils.hh:234:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/iputils.hh:255:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/iputils.hh:268:137: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NI_NUMERICHOST [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/iputils.hh:278:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/iputils.hh:299:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hex [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/iputils.hh:314:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/iputils.hh:324:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/iputils.hh:437:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/iputils.hh:451:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/iputils.hh:539:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/iputils.hh:558:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/iputils.hh:620:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/iputils.hh:625:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/dnsparser.hh:327:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/cachecleaner.hh:44:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/cachecleaner.hh:85:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/aggressive_nsec.cc:506:121: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable none [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/aggressive_nsec.cc:529:121: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable none [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/aggressive_nsec.cc:928:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRId64 [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/iputils.hh:1175:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable second [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/misc.hh:724:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_integer [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/dnsname.hh:468:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/dnsname.hh:536:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/dnsrecords.hh:906:3: warning: Member variable 'EUI48RecordContent::d_eui48' is not initialized in the constructor. [uninitMemberVar] pdns-recursor-4.9.4/dnsrecords.hh:921:3: warning: Member variable 'EUI64RecordContent::d_eui64' is not initialized in the constructor. [uninitMemberVar] pdns-recursor-4.9.4/dnssecinfra.hh:204:1: style: The struct 'DNSSECPrivateKey' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor] pdns-recursor-4.9.4/dnsname.hh:306:3: warning: Member variable 'SuffixMatchTree < bool >::d_value' is not initialized in the constructor. [uninitMemberVar] pdns-recursor-4.9.4/misc.hh:220:17: performance:inconclusive: Technically the member function 'DTime::time' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-recursor-4.9.4/misc.hh:240:22: note: Technically the member function 'DTime::time' can be static (but you may consider moving to unnamed namespace). pdns-recursor-4.9.4/misc.hh:220:17: note: Technically the member function 'DTime::time' can be static (but you may consider moving to unnamed namespace). pdns-recursor-4.9.4/misc.hh:221:15: performance:inconclusive: Technically the member function 'DTime::set' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-recursor-4.9.4/misc.hh:245:20: note: Technically the member function 'DTime::set' can be static (but you may consider moving to unnamed namespace). pdns-recursor-4.9.4/misc.hh:221:15: note: Technically the member function 'DTime::set' can be static (but you may consider moving to unnamed namespace). pdns-recursor-4.9.4/misc.hh:222:14: performance:inconclusive: Technically the member function 'DTime::udiff' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-recursor-4.9.4/misc.hh:250:19: note: Technically the member function 'DTime::udiff' can be static (but you may consider moving to unnamed namespace). pdns-recursor-4.9.4/misc.hh:222:14: note: Technically the member function 'DTime::udiff' can be static (but you may consider moving to unnamed namespace). pdns-recursor-4.9.4/misc.hh:228:8: performance:inconclusive: Technically the member function 'DTime::setTimeval' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-recursor-4.9.4/misc.hh:232:18: performance:inconclusive: Technically the member function 'DTime::getTimeval' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-recursor-4.9.4/iputils.hh:1481:3: style:inconclusive: Technically the member function 'SComboAddress::operatorconstComboAddress&' can be const. [functionConst] pdns-recursor-4.9.4/dnsparser.hh:167:8: performance:inconclusive: Technically the member function 'PacketReader::eof' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-recursor-4.9.4/dnsparser.hh:168:16: performance:inconclusive: Technically the member function 'PacketReader::getRemaining' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-recursor-4.9.4/dnsparser.hh:230:8: performance:inconclusive: Technically the member function 'DNSRecordContent::doRecordCheck' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-recursor-4.9.4/rcpgenerator.hh:109:8: performance:inconclusive: Technically the member function 'RecordTextWriter::eof' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-recursor-4.9.4/rcpgenerator.hh:113:16: performance:inconclusive: Technically the member function 'RecordTextWriter::getRemaining' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-recursor-4.9.4/dnssecinfra.hh:259:8: style:inconclusive: Technically the member function 'CanonicalCompare::operator()' can be const. [functionConst] pdns-recursor-4.9.4/stat_t.hh:48:12: style:inconclusive: Technically the member function 'stat_t_trait < uint64_t >::operator++' can be const. [functionConst] pdns-recursor-4.9.4/stat_t.hh:54:12: style:inconclusive: Technically the member function 'stat_t_trait < uint64_t >::operator--' can be const. [functionConst] pdns-recursor-4.9.4/iputils.hh:921:8: performance:inconclusive: Technically the member function 'NetmaskTree < bool , Netmask >::cleanup_tree' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-recursor-4.9.4/iputils.hh:1047:12: style:inconclusive: Technically the member function 'NetmaskTree < bool , Netmask >::end' can be const. [functionConst] pdns-recursor-4.9.4/iputils.hh:1014:10: style:inconclusive: Technically the member function 'NetmaskTree < bool , Netmask >::Iterator::operator==' can be const. [functionConst] pdns-recursor-4.9.4/iputils.hh:1018:10: style:inconclusive: Technically the member function 'NetmaskTree < bool , Netmask >::Iterator::operator!=' can be const. [functionConst] pdns-recursor-4.9.4/dnsname.hh:379:8: style:inconclusive: Technically the member function 'SuffixMatchTree < bool >::add' can be const. [functionConst] pdns-recursor-4.9.4/dnsname.hh:379:8: style:inconclusive: Technically the member function 'SuffixMatchTree < std :: shared_ptr < LockGuarded < ZoneEntry > > >::add' can be const. [functionConst] pdns-recursor-4.9.4/dnsrecords.hh:77:8: warning: The class 'ARecordContent' defines member function with name 'doRecordCheck' also defined in its parent class 'DNSRecordContent'. [duplInheritedMember] pdns-recursor-4.9.4/dnsparser.hh:230:8: note: Parent function 'DNSRecordContent::doRecordCheck' pdns-recursor-4.9.4/dnsrecords.hh:77:8: note: Derived function 'ARecordContent::doRecordCheck' pdns-recursor-4.9.4/dnsname.hh:204:5: style: Class 'RawLabelsVisitor' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/qtype.hh:46:3: style: Class 'QType' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/qtype.hh:169:13: style: Struct 'QClass' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/dns.hh:194:3: style: Class 'dnsheader_aligned' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/misc.hh:498:3: style: Class 'Regex' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/misc.hh:521:3: style: Class 'SimpleMatch' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/misc.hh:790:3: style: Struct 'FDWrapper' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/pdnsexception.hh:32:3: style: Class 'PDNSException' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/pdnsexception.hh:41:3: style: Class 'TimeoutException' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/iputils.hh:431:3: style: Class 'NetmaskException' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/iputils.hh:483:3: style: Class 'Netmask' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/iputils.hh:489:3: style: Class 'Netmask' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/iputils.hh:494:3: style: Class 'Netmask' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/iputils.hh:531:3: style: Class 'Netmask' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/iputils.hh:1475:3: style: Struct 'SComboAddress' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/iputils.hh:1490:3: style: Class 'NetworkError' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/iputils.hh:1492:3: style: Class 'NetworkError' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/svc-records.hh:48:3: style: Class 'SvcParam' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/dnsparser.hh:60:3: style: Class 'MOADNSException' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/dnsparser.hh:70:3: style: Class 'PacketReader' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/dnsparser.hh:433:3: style: Class 'UnknownRecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/lock.hh:104:3: style: Class 'ReadLock' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/lock.hh:108:3: style: Class 'ReadLock' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/lock.hh:119:3: style: Class 'ReadLock' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/lock.hh:129:3: style: Class 'WriteLock' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/lock.hh:133:3: style: Class 'WriteLock' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/lock.hh:144:3: style: Class 'WriteLock' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/lock.hh:154:3: style: Class 'TryReadLock' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/lock.hh:158:3: style: Class 'TryReadLock' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/lock.hh:171:3: style: Class 'TryReadLock' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/lock.hh:181:3: style: Class 'TryWriteLock' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/lock.hh:185:3: style: Class 'TryWriteLock' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/lock.hh:198:3: style: Class 'TryWriteLock' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/rcpgenerator.hh:36:3: style: Class 'RecordTextException' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/rcpgenerator.hh:43:3: style: Class 'RecordTextReader' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/rcpgenerator.hh:88:3: style: Class 'RecordTextWriter' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/dnsrecords.hh:54:3: style: Class 'NAPTRRecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/dnsrecords.hh:76:3: style: Class 'ARecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/dnsrecords.hh:92:3: style: Class 'AAAARecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/dnsrecords.hh:94:3: style: Class 'AAAARecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/dnsrecords.hh:111:3: style: Class 'MXRecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/dnsrecords.hh:131:3: style: Class 'KXRecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/dnsrecords.hh:143:3: style: Class 'IPSECKEYRecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/dnsrecords.hh:156:3: style: Class 'DHCIDRecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/dnsrecords.hh:168:3: style: Class 'SRVRecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/dnsrecords.hh:178:3: style: Class 'TSIGRecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/dnsrecords.hh:197:3: style: Class 'TXTRecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/dnsrecords.hh:216:3: style: Class 'ENTRecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/dnsrecords.hh:222:3: style: Class 'SPFRecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/dnsrecords.hh:236:3: style: Class 'NSRecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/dnsrecords.hh:254:3: style: Class 'PTRRecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/dnsrecords.hh:264:3: style: Class 'CNAMERecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/dnsrecords.hh:265:3: style: Class 'CNAMERecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/dnsrecords.hh:275:3: style: Class 'ALIASRecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/dnsrecords.hh:289:3: style: Class 'DNAMERecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/dnsrecords.hh:290:3: style: Class 'DNAMERecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/dnsrecords.hh:300:3: style: Class 'MBRecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/dnsrecords.hh:309:3: style: Class 'MGRecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/dnsrecords.hh:318:3: style: Class 'MRRecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/dnsrecords.hh:327:3: style: Class 'MINFORecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/dnsrecords.hh:338:3: style: Class 'OPTRecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/dnsrecords.hh:348:3: style: Class 'HINFORecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/dnsrecords.hh:357:3: style: Class 'RPRecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/dnsrecords.hh:368:3: style: Class 'DNSKEYRecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/dnsrecords.hh:386:3: style: Class 'CDNSKEYRecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/dnsrecords.hh:413:3: style: Class 'DSRecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/dnsrecords.hh:424:3: style: Class 'CDSRecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/dnsrecords.hh:435:3: style: Class 'DLVRecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/dnsrecords.hh:446:3: style: Class 'SSHFPRecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/dnsrecords.hh:456:3: style: Class 'KEYRecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/dnsrecords.hh:467:3: style: Class 'AFSDBRecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/dnsrecords.hh:482:3: style: Class 'CERTRecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/dnsrecords.hh:493:3: style: Class 'TLSARecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/dnsrecords.hh:503:3: style: Class 'SMIMEARecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/dnsrecords.hh:513:3: style: Class 'OPENPGPKEYRecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/dnsrecords.hh:550:3: style: Class 'SVCBRecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/dnsrecords.hh:557:3: style: Class 'HTTPSRecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/dnsrecords.hh:565:3: style: Class 'RRSIGRecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/dnsrecords.hh:590:3: style: Class 'RKEYRecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/dnsrecords.hh:599:3: style: Class 'SOARecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/dnsrecords.hh:610:3: style: Class 'ZONEMDRecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/dnsrecords.hh:706:3: style: Class 'NSECRecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/dnsrecords.hh:744:3: style: Class 'NSEC3RecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/dnsrecords.hh:791:3: style: Class 'CSYNCRecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/dnsrecords.hh:820:3: style: Class 'NSEC3PARAMRecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/dnsrecords.hh:845:3: style: Class 'LOCRecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/dnsrecords.hh:866:3: style: Class 'NIDRecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/dnsrecords.hh:876:3: style: Class 'L32RecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/dnsrecords.hh:886:3: style: Class 'L64RecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/dnsrecords.hh:896:3: style: Class 'LPRecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/dnsrecords.hh:949:3: style: Class 'APLRecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/dnsrecords.hh:960:3: style: Class 'TKEYRecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/dnsrecords.hh:979:5: style: Class 'URIRecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/dnsrecords.hh:987:5: style: Class 'CAARecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/logger.hh:40:3: style: Class 'Logger' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/aggressive_nsec.hh:48:3: style: Class 'AggressiveNSECCache' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/aggressive_nsec.hh:97:5: style: Struct 'ZoneEntry' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/recursor_cache.hh:50:3: style: Class 'MemRecursorCache' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/stat_t.hh:38:5: style: Class 'stat_t_trait < uint64_t >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/dnsname.hh:306:3: style: Struct 'SuffixMatchTree < bool >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/dnsname.hh:306:3: style: Struct 'SuffixMatchTree < std :: shared_ptr < LockGuarded < ZoneEntry > > >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/noinitvector.hh:24:3: style: Struct 'noinit_adaptor < std :: allocator < uint8_t > >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/noinitvector.hh:27:3: style: Struct 'noinit_adaptor < std :: allocator < uint8_t > >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/dnsrecords.hh:266:11: performance: Function 'getTarget()' should return member 'd_content' by const reference. [returnByReference] pdns-recursor-4.9.4/aggressive_nsec.cc:63:16: warning: Identical inner 'return' condition is always true. [identicalInnerCondition] pdns-recursor-4.9.4/aggressive_nsec.cc:60:16: note: outer condition: *got pdns-recursor-4.9.4/aggressive_nsec.cc:63:16: note: identical inner condition: *got pdns-recursor-4.9.4/aggressive_nsec.cc:77:16: warning: Identical inner 'return' condition is always true. [identicalInnerCondition] pdns-recursor-4.9.4/aggressive_nsec.cc:74:16: note: outer condition: *got pdns-recursor-4.9.4/aggressive_nsec.cc:77:16: note: identical inner condition: *got pdns-recursor-4.9.4/misc.hh:542:17: style: Condition 'mi==mend' is always false [knownConditionTrueFalse] pdns-recursor-4.9.4/misc.hh:543:17: style: Condition 'mi!=mend' is always true [knownConditionTrueFalse] pdns-recursor-4.9.4/dnsname.hh:349:20: style: Return value 'ret<0' is always false [knownConditionTrueFalse] pdns-recursor-4.9.4/dnsname.hh:345:15: note: Assuming that condition 'ret!=0' is not redundant pdns-recursor-4.9.4/dnsname.hh:349:20: note: Return value 'ret<0' is always false pdns-recursor-4.9.4/dnsname.hh:363:18: style: Return value 'ret<0' is always false [knownConditionTrueFalse] pdns-recursor-4.9.4/dnsname.hh:359:13: note: Assuming that condition 'ret!=0' is not redundant pdns-recursor-4.9.4/dnsname.hh:363:18: note: Return value 'ret<0' is always false pdns-recursor-4.9.4/dnsname.hh:149:22: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/dnsname.hh:241:33: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/dnsname.hh:242:28: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/dnsname.hh:243:33: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/dnsname.hh:244:28: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/dns.hh:217:24: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/misc.hh:363:32: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/iputils.hh:195:24: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/iputils.hh:199:24: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/iputils.hh:516:21: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/iputils.hh:563:26: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/iputils.hh:564:28: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/dnsparser.hh:591:36: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/dnsparser.hh:599:36: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/dnswriter.hh:110:20: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/noinitvector.hh:31:11: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/noinitvector.hh:36:11: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/dnssecinfra.hh:105:8: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] pdns-recursor-4.9.4/misc.hh:267:8: style: The scope of the variable 'c' can be reduced. [variableScope] pdns-recursor-4.9.4/misc.hh:290:19: style: The scope of the variable 'c' can be reduced. [variableScope] pdns-recursor-4.9.4/aggressive_nsec.cc:926:15: style: The scope of the variable 'ttl' can be reduced. [variableScope] pdns-recursor-4.9.4/dnssecinfra.hh:217:52: style: Parameter 'key' can be declared as reference to const [constParameterReference] pdns-recursor-4.9.4/aggressive_nsec.cc:85:104: style: Parameter 'zones' can be declared as reference to const [constParameterReference] pdns-recursor-4.9.4/iputils.hh:1149:16: style: Variable 'value' can be declared as reference to const [constVariableReference] pdns-recursor-4.9.4/iputils.hh:891:19: style: Variable 'prev_child' can be declared as pointer to const [constVariablePointer] pdns-recursor-4.9.4/dnsname.hh:133:8: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] pdns-recursor-4.9.4/dnsname.hh:485:13: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] pdns-recursor-4.9.4/arguments.cc:378:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/arguments.cc:494:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/arguments.cc:539:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/arguments.cc:567:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/arguments.cc:262:27: portability: Non reentrant function 'getgrnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrnam_r'. [prohibitedgetgrnamCalled] pdns-recursor-4.9.4/arguments.cc:283:28: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] pdns-recursor-4.9.4/arguments.cc:575:17: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] pdns-recursor-4.9.4/arguments.hh:97:8: style:inconclusive: Technically the member function 'ArgvMap::mustDo' can be const. [functionConst] pdns-recursor-4.9.4/arguments.cc:66:15: note: Technically the member function 'ArgvMap::mustDo' can be const. pdns-recursor-4.9.4/arguments.hh:97:8: note: Technically the member function 'ArgvMap::mustDo' can be const. pdns-recursor-4.9.4/arguments.hh:107:10: style:inconclusive: Technically the member function 'ArgvMap::helpstring' can be const. [functionConst] pdns-recursor-4.9.4/arguments.cc:124:17: note: Technically the member function 'ArgvMap::helpstring' can be const. pdns-recursor-4.9.4/arguments.hh:107:10: note: Technically the member function 'ArgvMap::helpstring' can be const. pdns-recursor-4.9.4/arguments.hh:114:17: style:inconclusive: Technically the member function 'ArgvMap::list' can be const. [functionConst] pdns-recursor-4.9.4/arguments.cc:71:24: note: Technically the member function 'ArgvMap::list' can be const. pdns-recursor-4.9.4/arguments.hh:114:17: note: Technically the member function 'ArgvMap::list' can be const. pdns-recursor-4.9.4/arguments.hh:115:10: style:inconclusive: Technically the member function 'ArgvMap::getHelp' can be const. [functionConst] pdns-recursor-4.9.4/arguments.cc:79:17: note: Technically the member function 'ArgvMap::getHelp' can be const. pdns-recursor-4.9.4/arguments.hh:115:10: note: Technically the member function 'ArgvMap::getHelp' can be const. pdns-recursor-4.9.4/arguments.hh:120:24: style:inconclusive: Technically the member function 'ArgvMap::getCommands' can be const. [functionConst] pdns-recursor-4.9.4/arguments.cc:449:31: note: Technically the member function 'ArgvMap::getCommands' can be const. pdns-recursor-4.9.4/arguments.hh:120:24: note: Technically the member function 'ArgvMap::getCommands' can be const. pdns-recursor-4.9.4/arguments.hh:129:8: performance:inconclusive: Technically the member function 'ArgvMap::warnIfDeprecated' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-recursor-4.9.4/arguments.cc:363:15: note: Technically the member function 'ArgvMap::warnIfDeprecated' can be static (but you may consider moving to unnamed namespace). pdns-recursor-4.9.4/arguments.hh:129:8: note: Technically the member function 'ArgvMap::warnIfDeprecated' can be static (but you may consider moving to unnamed namespace). pdns-recursor-4.9.4/arguments.hh:131:16: performance:inconclusive: Technically the member function 'ArgvMap::formatOne' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-recursor-4.9.4/arguments.cc:157:23: note: Technically the member function 'ArgvMap::formatOne' can be static (but you may consider moving to unnamed namespace). pdns-recursor-4.9.4/arguments.hh:131:16: note: Technically the member function 'ArgvMap::formatOne' can be static (but you may consider moving to unnamed namespace). pdns-recursor-4.9.4/arguments.cc:157:137: style:inconclusive: Function 'formatOne' argument 6 names different: declaration 'value' definition 'current'. [funcArgNamesDifferent] pdns-recursor-4.9.4/arguments.hh:131:130: note: Function 'formatOne' argument 6 names different: declaration 'value' definition 'current'. pdns-recursor-4.9.4/arguments.cc:157:137: note: Function 'formatOne' argument 6 names different: declaration 'value' definition 'current'. pdns-recursor-4.9.4/arguments.cc:191:35: style:inconclusive: Function 'configstring' argument 1 names different: declaration 'current' definition 'running'. [funcArgNamesDifferent] pdns-recursor-4.9.4/arguments.hh:108:28: note: Function 'configstring' argument 1 names different: declaration 'current' definition 'running'. pdns-recursor-4.9.4/arguments.cc:191:35: note: Function 'configstring' argument 1 names different: declaration 'current' definition 'running'. pdns-recursor-4.9.4/arguments.cc:233:38: style:inconclusive: Function 'asMode' argument 1 names different: declaration 'var' definition 'arg'. [funcArgNamesDifferent] pdns-recursor-4.9.4/arguments.hh:99:31: note: Function 'asMode' argument 1 names different: declaration 'var' definition 'arg'. pdns-recursor-4.9.4/arguments.cc:233:38: note: Function 'asMode' argument 1 names different: declaration 'var' definition 'arg'. pdns-recursor-4.9.4/arguments.cc:249:36: style:inconclusive: Function 'asGid' argument 1 names different: declaration 'var' definition 'arg'. [funcArgNamesDifferent] pdns-recursor-4.9.4/arguments.hh:101:29: note: Function 'asGid' argument 1 names different: declaration 'var' definition 'arg'. pdns-recursor-4.9.4/arguments.cc:249:36: note: Function 'asGid' argument 1 names different: declaration 'var' definition 'arg'. pdns-recursor-4.9.4/arguments.cc:270:36: style:inconclusive: Function 'asUid' argument 1 names different: declaration 'var' definition 'arg'. [funcArgNamesDifferent] pdns-recursor-4.9.4/arguments.hh:100:29: note: Function 'asUid' argument 1 names different: declaration 'var' definition 'arg'. pdns-recursor-4.9.4/arguments.cc:270:36: note: Function 'asUid' argument 1 names different: declaration 'var' definition 'arg'. pdns-recursor-4.9.4/arguments.cc:291:34: style:inconclusive: Function 'asNum' argument 1 names different: declaration 'var' definition 'arg'. [funcArgNamesDifferent] pdns-recursor-4.9.4/arguments.hh:98:27: note: Function 'asNum' argument 1 names different: declaration 'var' definition 'arg'. pdns-recursor-4.9.4/arguments.cc:291:34: note: Function 'asNum' argument 1 names different: declaration 'var' definition 'arg'. pdns-recursor-4.9.4/arguments.cc:312:37: style:inconclusive: Function 'isEmpty' argument 1 names different: declaration 'var' definition 'arg'. [funcArgNamesDifferent] pdns-recursor-4.9.4/arguments.hh:110:30: note: Function 'isEmpty' argument 1 names different: declaration 'var' definition 'arg'. pdns-recursor-4.9.4/arguments.cc:312:37: note: Function 'isEmpty' argument 1 names different: declaration 'var' definition 'arg'. pdns-recursor-4.9.4/arguments.cc:319:40: style:inconclusive: Function 'asDouble' argument 1 names different: declaration 'var' definition 'arg'. [funcArgNamesDifferent] pdns-recursor-4.9.4/arguments.hh:102:33: note: Function 'asDouble' argument 1 names different: declaration 'var' definition 'arg'. pdns-recursor-4.9.4/arguments.cc:319:40: note: Function 'asDouble' argument 1 names different: declaration 'var' definition 'arg'. pdns-recursor-4.9.4/arguments.cc:372:38: style:inconclusive: Function 'parseOne' argument 1 names different: declaration 'unparsed' definition 'arg'. [funcArgNamesDifferent] pdns-recursor-4.9.4/arguments.hh:130:31: note: Function 'parseOne' argument 1 names different: declaration 'unparsed' definition 'arg'. pdns-recursor-4.9.4/arguments.cc:372:38: note: Function 'parseOne' argument 1 names different: declaration 'unparsed' definition 'arg'. pdns-recursor-4.9.4/arguments.cc:454:26: style: Parameter 'argc' can be declared as reference to const [constParameterReference] pdns-recursor-4.9.4/arguments.cc:463:29: style: Parameter 'argc' can be declared as reference to const [constParameterReference] pdns-recursor-4.9.4/arguments.cc:262:19: style: Variable 'group' can be declared as pointer to const [constVariablePointer] pdns-recursor-4.9.4/arguments.cc:283:20: style: Variable 'pwent' can be declared as pointer to const [constVariablePointer] pdns-recursor-4.9.4/arguments.cc:378:6: performance: Inefficient usage of string::find() in condition; string::starts_with() could be faster. [stlIfStrFind] pdns-recursor-4.9.4/arguments.cc:384:11: performance: Inefficient usage of string::find() in condition; string::starts_with() could be faster. [stlIfStrFind] pdns-recursor-4.9.4/arguments.cc:389:11: performance: Inefficient usage of string::find() in condition; string::starts_with() could be faster. [stlIfStrFind] pdns-recursor-4.9.4/arguments.cc:467:8: performance: Inefficient usage of string::find() in condition; string::starts_with() could be faster. [stlIfStrFind] pdns-recursor-4.9.4/arguments.cc:498:16: performance: Ineffective call of function 'substr' because a prefix of the string is assigned to itself. Use resize() or pop_back() instead. [uselessCallsSubstr] pdns-recursor-4.9.4/arguments.cc:75:9: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] pdns-recursor-4.9.4/arguments.cc:115:3: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] pdns-recursor-4.9.4/arguments.cc:549:47: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] pdns-recursor-4.9.4/lock.hh:284:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/lock.hh:289:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/lock.hh:294:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/lock.hh:432:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/lock.hh:437:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/lock.hh:442:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/lock.hh:447:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/axfr-retriever.cc:77:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable iov_base [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/axfr-retriever.cc:199:86: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/resolver.hh:47:3: style: Class 'ResolverException' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/utility.hh:68:3: style: Class 'Semaphore' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/axfr-retriever.cc:199:29: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/axfr-retriever.cc:235:47: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/axfr-retriever.cc:176:7: style: The scope of the variable 'numread' can be reduced. [variableScope] pdns-recursor-4.9.4/axfr-retriever.cc:33:45: style:inconclusive: Function 'AXFRRetriever' argument 2 names different: declaration 'zone' definition 'domain'. [funcArgNamesDifferent] pdns-recursor-4.9.4/axfr-retriever.hh:33:34: note: Function 'AXFRRetriever' argument 2 names different: declaration 'zone' definition 'domain'. pdns-recursor-4.9.4/axfr-retriever.cc:33:45: note: Function 'AXFRRetriever' argument 2 names different: declaration 'zone' definition 'domain'. pdns-recursor-4.9.4/axfr-retriever.cc:153:11: style: Consider using std::count_if algorithm instead of a raw loop. [useStlAlgorithm] pdns-recursor-4.9.4/base64.cc:69:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BIO_FLAGS_BASE64_NO_NL [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/base64.cc:45:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BIO_FLAGS_BASE64_NO_NL [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/capabilities.cc:36:62: performance: Function parameter 'capabilitiesToKeep' should be passed by const reference. [passedByValue] pdns-recursor-4.9.4/credentials.cc:419:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCSAFLUSH [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/credentials.hh:30:3: style: Class 'SensitiveData' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/credentials.hh:31:3: style: Class 'SensitiveData' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/credentials.cc:287:7: style: Condition '!isPasswordHashed(hash)' is always true [knownConditionTrueFalse] pdns-recursor-4.9.4/credentials.cc:287:24: note: Calling function 'isPasswordHashed' returns 0 pdns-recursor-4.9.4/credentials.cc:287:7: note: Condition '!isPasswordHashed(hash)' is always true pdns-recursor-4.9.4/credentials.cc:356:9: style: Condition '!isPasswordHashed(d_credentials.getString())' is always true [knownConditionTrueFalse] pdns-recursor-4.9.4/credentials.cc:356:26: note: Calling function 'isPasswordHashed' returns 0 pdns-recursor-4.9.4/credentials.cc:356:9: note: Condition '!isPasswordHashed(d_credentials.getString())' is always true pdns-recursor-4.9.4/credentials.cc:220:63: style: Parameter 'salt' can be declared as reference to const [constParameterReference] pdns-recursor-4.9.4/credentials.cc:220:82: style: Parameter 'hashedPassword' can be declared as reference to const [constParameterReference] pdns-recursor-4.9.4/credentials.cc:220:108: style: Parameter 'workFactor' can be declared as reference to const [constParameterReference] pdns-recursor-4.9.4/credentials.cc:220:130: style: Parameter 'parallelFactor' can be declared as reference to const [constParameterReference] pdns-recursor-4.9.4/credentials.cc:220:156: style: Parameter 'blockSize' can be declared as reference to const [constParameterReference] pdns-recursor-4.9.4/dnsbackend.hh:236:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/decafsigners.cc:137:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DECAF_EDDSA_25519_PRIVATE_BYTES [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/decafsigners.cc:150:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DECAF_EDDSA_25519_PRIVATE_BYTES [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/decafsigners.cc:167:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DECAF_EDDSA_25519_PRIVATE_BYTES [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/decafsigners.cc:179:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DECAF_EDDSA_25519_PUBLIC_BYTES [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/decafsigners.cc:184:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DECAF_EDDSA_25519_PUBLIC_BYTES [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/decafsigners.cc:192:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DECAF_EDDSA_25519_PRIVATE_BYTES [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/decafsigners.cc:203:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DECAF_EDDSA_25519_SIGNATURE_BYTES [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/decafsigners.cc:343:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DECAF_EDDSA_448_PRIVATE_BYTES [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/decafsigners.cc:356:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DECAF_EDDSA_448_PRIVATE_BYTES [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/decafsigners.cc:373:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DECAF_EDDSA_448_PRIVATE_BYTES [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/decafsigners.cc:385:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DECAF_EDDSA_448_PUBLIC_BYTES [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/decafsigners.cc:390:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DECAF_EDDSA_448_PUBLIC_BYTES [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/decafsigners.cc:398:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DECAF_EDDSA_448_PRIVATE_BYTES [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/decafsigners.cc:409:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DECAF_EDDSA_448_SIGNATURE_BYTES [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/decafsigners.cc:18:12: warning: Member variable 'DecafED25519DNSCryptoKeyEngine::d_pubkey' is not initialized in the constructor. [uninitMemberVar] pdns-recursor-4.9.4/decafsigners.cc:18:12: warning: Member variable 'DecafED25519DNSCryptoKeyEngine::d_seckey' is not initialized in the constructor. [uninitMemberVar] pdns-recursor-4.9.4/decafsigners.cc:224:12: warning: Member variable 'DecafED448DNSCryptoKeyEngine::d_pubkey' is not initialized in the constructor. [uninitMemberVar] pdns-recursor-4.9.4/decafsigners.cc:224:12: warning: Member variable 'DecafED448DNSCryptoKeyEngine::d_seckey' is not initialized in the constructor. [uninitMemberVar] pdns-recursor-4.9.4/auth-catalogzone.hh:55:5: performance: Variable 'd_zone' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] pdns-recursor-4.9.4/dnsbackend.hh:463:17: style:inconclusive: Technically the member function 'DNSBackend::getPrefix' can be const. [functionConst] pdns-recursor-4.9.4/ednscookies.hh:32:3: style: Struct 'EDNSCookiesOpt' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/dnspacket.hh:55:3: style: Class 'DNSPacket' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/sha.hh:63:3: style: Class 'SHADigest' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/ext/json11/json11.hpp:92:5: style: Class 'Json' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/ext/json11/json11.hpp:93:5: style: Class 'Json' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/ext/json11/json11.hpp:94:5: style: Class 'Json' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/ext/json11/json11.hpp:95:5: style: Class 'Json' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/ext/json11/json11.hpp:96:5: style: Class 'Json' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/ext/json11/json11.hpp:97:5: style: Class 'Json' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/ext/json11/json11.hpp:98:5: style: Class 'Json' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/ext/json11/json11.hpp:99:5: style: Class 'Json' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/ext/json11/json11.hpp:100:5: style: Class 'Json' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/ext/json11/json11.hpp:101:5: style: Class 'Json' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/ext/json11/json11.hpp:102:5: style: Class 'Json' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/ext/json11/json11.hpp:106:5: style: Class 'Json' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/ext/json11/json11.hpp:113:5: style: Class 'Json' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/ext/json11/json11.hpp:119:5: style: Class 'Json' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/dnsbackend.hh:517:3: style: Class 'DBException' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/ueberbackend.hh:47:3: style: Class 'UeberBackend' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/dnsseckeeper.hh:177:3: style: Class 'DNSSECKeeper' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/ednscookies.hh:54:10: performance: Function 'getServer()' should return member 'server' by const reference. [returnByReference] pdns-recursor-4.9.4/ednscookies.hh:58:10: performance: Function 'getClient()' should return member 'client' by const reference. [returnByReference] pdns-recursor-4.9.4/dnspacket.hh:72:27: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/decafsigners.cc:150:27: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/decafsigners.cc:170:54: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/decafsigners.cc:179:17: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/decafsigners.cc:356:27: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/decafsigners.cc:376:59: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/decafsigners.cc:385:17: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/decafsigners.cc:182:77: style:inconclusive: Function 'fromPublicKeyString' argument 1 names different: declaration 'content' definition 'input'. [funcArgNamesDifferent] pdns-recursor-4.9.4/decafsigners.cc:60:47: note: Function 'fromPublicKeyString' argument 1 names different: declaration 'content' definition 'input'. pdns-recursor-4.9.4/decafsigners.cc:182:77: note: Function 'fromPublicKeyString' argument 1 names different: declaration 'content' definition 'input'. pdns-recursor-4.9.4/decafsigners.cc:388:75: style:inconclusive: Function 'fromPublicKeyString' argument 1 names different: declaration 'content' definition 'input'. [funcArgNamesDifferent] pdns-recursor-4.9.4/decafsigners.cc:266:47: note: Function 'fromPublicKeyString' argument 1 names different: declaration 'content' definition 'input'. pdns-recursor-4.9.4/decafsigners.cc:388:75: note: Function 'fromPublicKeyString' argument 1 names different: declaration 'content' definition 'input'. pdns-recursor-4.9.4/sstuff.hh:96:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/sstuff.hh:194:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/sstuff.hh:267:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/sstuff.hh:293:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/devpollmplexer.cc:80:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/devpollmplexer.cc:90:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLIN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/devpollmplexer.cc:115:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLREMOVE [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/devpollmplexer.cc:130:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DP_POLL [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/devpollmplexer.cc:151:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DP_POLL [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/mplexer.hh:230:8: style:inconclusive: Technically the member function 'FDMultiplexer::runForAllWatchedFDs' can be const. [functionConst] pdns-recursor-4.9.4/mplexer.hh:281:8: performance:inconclusive: Technically the member function 'FDMultiplexer::accountingAddFD' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-recursor-4.9.4/mplexer.hh:298:8: performance:inconclusive: Technically the member function 'FDMultiplexer::accountingRemoveFD' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-recursor-4.9.4/mplexer.hh:39:3: style: Class 'FDMultiplexerException' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/sstuff.hh:49:3: style: Class 'Socket' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/devpollmplexer.cc:43:4: style: The destructor '~DevPollFDMultiplexer' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] pdns-recursor-4.9.4/mplexer.hh:76:12: note: Virtual destructor in base class pdns-recursor-4.9.4/devpollmplexer.cc:43:4: note: Destructor in derived class pdns-recursor-4.9.4/sstuff.hh:237:13: style: The scope of the variable 'res' can be reduced. [variableScope] pdns-recursor-4.9.4/sstuff.hh:289:13: style: The scope of the variable 'ret' can be reduced. [variableScope] pdns-recursor-4.9.4/devpollmplexer.cc:141:47: style:inconclusive: Function 'run' argument 1 names different: declaration 'tv' definition 'now'. [funcArgNamesDifferent] pdns-recursor-4.9.4/devpollmplexer.cc:50:27: note: Function 'run' argument 1 names different: declaration 'tv' definition 'now'. pdns-recursor-4.9.4/devpollmplexer.cc:141:47: note: Function 'run' argument 1 names different: declaration 'tv' definition 'now'. pdns-recursor-4.9.4/dns.cc:105:55: style:inconclusive: Function 'hashQuestion' argument 2 names different: declaration 'len' definition 'packet_len'. [funcArgNamesDifferent] pdns-recursor-4.9.4/dns.hh:237:55: note: Function 'hashQuestion' argument 2 names different: declaration 'len' definition 'packet_len'. pdns-recursor-4.9.4/dns.cc:105:55: note: Function 'hashQuestion' argument 2 names different: declaration 'len' definition 'packet_len'. pdns-recursor-4.9.4/dns_random.cc:173:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/dns_random.cc:275:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/dns_random.cc:193:71: style:inconclusive: Function 'dns_random_init' argument 2 names different: declaration 'force_reinit' definition 'force'. [funcArgNamesDifferent] pdns-recursor-4.9.4/dns_random.hh:27:57: note: Function 'dns_random_init' argument 2 names different: declaration 'force_reinit' definition 'force'. pdns-recursor-4.9.4/dns_random.cc:193:71: note: Function 'dns_random_init' argument 2 names different: declaration 'force_reinit' definition 'force'. pdns-recursor-4.9.4/dns_random.cc:212:30: style:inconclusive: Function 'dns_random' argument 1 names different: declaration 'n' definition 'upper_bound'. [funcArgNamesDifferent] pdns-recursor-4.9.4/dns_random.hh:28:30: note: Function 'dns_random' argument 1 names different: declaration 'n' definition 'upper_bound'. pdns-recursor-4.9.4/dns_random.cc:212:30: note: Function 'dns_random' argument 1 names different: declaration 'n' definition 'upper_bound'. pdns-recursor-4.9.4/dnsname.cc:481:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu8 [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/dnsname.cc:110:28: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/dnsname.cc:120:29: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/dnsname.cc:137:40: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/dnsname.cc:144:23: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/dnsname.cc:153:23: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/dnsname.cc:167:15: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/dnsname.cc:174:16: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/dnsname.cc:391:33: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/dnsname.cc:392:21: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/dnsname.cc:400:33: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/dnsname.cc:402:27: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/dnsname.cc:65:21: style: The scope of the variable 'lenpos' can be reduced. [variableScope] pdns-recursor-4.9.4/dnsname.cc:66:21: style: The scope of the variable 'labellen' can be reduced. [variableScope] pdns-recursor-4.9.4/dnsname.cc:103:30: style:inconclusive: Function 'DNSName' argument 1 names different: declaration 'p' definition 'pos'. [funcArgNamesDifferent] pdns-recursor-4.9.4/dnsname.hh:103:23: note: Function 'DNSName' argument 1 names different: declaration 'p' definition 'pos'. pdns-recursor-4.9.4/dnsname.cc:103:30: note: Function 'DNSName' argument 1 names different: declaration 'p' definition 'pos'. pdns-recursor-4.9.4/dnsname.cc:118:40: style:inconclusive: Function 'packetParser' argument 1 names different: declaration 'p' definition 'qpos'. [funcArgNamesDifferent] pdns-recursor-4.9.4/dnsname.hh:219:33: note: Function 'packetParser' argument 1 names different: declaration 'p' definition 'qpos'. pdns-recursor-4.9.4/dnsname.cc:118:40: note: Function 'packetParser' argument 1 names different: declaration 'p' definition 'qpos'. pdns-recursor-4.9.4/dnsname.cc:251:39: style:inconclusive: Function 'isPartOf' argument 1 names different: declaration 'rhs' definition 'parent'. [funcArgNamesDifferent] pdns-recursor-4.9.4/dnsname.hh:105:32: note: Function 'isPartOf' argument 1 names different: declaration 'rhs' definition 'parent'. pdns-recursor-4.9.4/dnsname.cc:251:39: note: Function 'isPartOf' argument 1 names different: declaration 'rhs' definition 'parent'. pdns-recursor-4.9.4/dnsname.cc:339:49: style:inconclusive: Function 'appendRawLabel' argument 1 names different: declaration 'str' definition 'label'. [funcArgNamesDifferent] pdns-recursor-4.9.4/dnsname.hh:116:42: note: Function 'appendRawLabel' argument 1 names different: declaration 'str' definition 'label'. pdns-recursor-4.9.4/dnsname.cc:339:49: note: Function 'appendRawLabel' argument 1 names different: declaration 'str' definition 'label'. pdns-recursor-4.9.4/dnsname.cc:363:50: style:inconclusive: Function 'prependRawLabel' argument 1 names different: declaration 'str' definition 'label'. [funcArgNamesDifferent] pdns-recursor-4.9.4/dnsname.hh:118:43: note: Function 'prependRawLabel' argument 1 names different: declaration 'str' definition 'label'. pdns-recursor-4.9.4/dnsname.cc:363:50: note: Function 'prependRawLabel' argument 1 names different: declaration 'str' definition 'label'. pdns-recursor-4.9.4/dnsname.cc:65:27: style: Variable 'lenpos' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/dnsname.cc:66:29: style: Variable 'labellen' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/dnsparser.cc:799:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/dnsparser.cc:55:9: warning: %x in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] pdns-recursor-4.9.4/dnsparser.cc:453:17: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/dnsparser.cc:704:19: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/dnsparser.cc:722:12: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/dnsparser.cc:977:28: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/dnsparser.cc:1056:28: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/dnsparser.cc:1146:28: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/dnsparser.cc:140:62: style:inconclusive: Function 'mastermake' argument 3 names different: declaration 'zone' definition 'content'. [funcArgNamesDifferent] pdns-recursor-4.9.4/dnsparser.hh:197:102: note: Function 'mastermake' argument 3 names different: declaration 'zone' definition 'content'. pdns-recursor-4.9.4/dnsparser.cc:140:62: note: Function 'mastermake' argument 3 names different: declaration 'zone' definition 'content'. pdns-recursor-4.9.4/dnsparser.cc:150:112: style:inconclusive: Function 'mastermake' argument 3 names different: declaration 'opcode' definition 'oc'. [funcArgNamesDifferent] pdns-recursor-4.9.4/dnsparser.hh:196:103: note: Function 'mastermake' argument 3 names different: declaration 'opcode' definition 'oc'. pdns-recursor-4.9.4/dnsparser.cc:150:112: note: Function 'mastermake' argument 3 names different: declaration 'opcode' definition 'oc'. pdns-recursor-4.9.4/dnsparser.cc:394:56: style:inconclusive: Function 'xfrNodeOrLocatorID' argument 1 names different: declaration 'val' definition 'ret'. [funcArgNamesDifferent] pdns-recursor-4.9.4/dnsparser.hh:84:44: note: Function 'xfrNodeOrLocatorID' argument 1 names different: declaration 'val' definition 'ret'. pdns-recursor-4.9.4/dnsparser.cc:394:56: note: Function 'xfrNodeOrLocatorID' argument 1 names different: declaration 'val' definition 'ret'. pdns-recursor-4.9.4/dnsparser.cc:403:42: style:inconclusive: Function 'xfr48BitInt' argument 1 names different: declaration 'val' definition 'ret'. [funcArgNamesDifferent] pdns-recursor-4.9.4/dnsparser.hh:85:30: note: Function 'xfr48BitInt' argument 1 names different: declaration 'val' definition 'ret'. pdns-recursor-4.9.4/dnsparser.cc:403:42: note: Function 'xfr48BitInt' argument 1 names different: declaration 'val' definition 'ret'. pdns-recursor-4.9.4/dnsparser.cc:559:54: style:inconclusive: Function 'xfrBlobNoSpaces' argument 2 names different: declaration 'len' definition 'length'. [funcArgNamesDifferent] pdns-recursor-4.9.4/dnsparser.hh:153:42: note: Function 'xfrBlobNoSpaces' argument 2 names different: declaration 'len' definition 'length'. pdns-recursor-4.9.4/dnsparser.cc:559:54: note: Function 'xfrBlobNoSpaces' argument 2 names different: declaration 'len' definition 'length'. pdns-recursor-4.9.4/dnsparser.cc:687:37: style:inconclusive: Function 'simpleCompress' argument 1 names different: declaration 'label' definition 'elabel'. [funcArgNamesDifferent] pdns-recursor-4.9.4/dnsparser.hh:490:37: note: Function 'simpleCompress' argument 1 names different: declaration 'label' definition 'elabel'. pdns-recursor-4.9.4/dnsparser.cc:687:37: note: Function 'simpleCompress' argument 1 names different: declaration 'label' definition 'elabel'. pdns-recursor-4.9.4/dnsparser.cc:964:32: style: Parameter 'packet' can be declared as reference to const [constParameterReference] pdns-recursor-4.9.4/dnsparser.cc:341:3: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] pdns-recursor-4.9.4/dnsrecords.cc:114:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/dnsrecords.cc:125:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/dnsrecords.cc:601:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/dnsrecords.cc:731:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/dnsrecords.cc:275:1: warning: Member variable 'NAPTRRecordContent::d_order' is not initialized in the constructor. [uninitMemberVar] pdns-recursor-4.9.4/dnsrecords.cc:275:1: warning: Member variable 'NAPTRRecordContent::d_preference' is not initialized in the constructor. [uninitMemberVar] pdns-recursor-4.9.4/dnsrecords.cc:92:1: warning: Member variable 'ARecordContent::d_ip' is not initialized in the constructor. [uninitMemberVar] pdns-recursor-4.9.4/dnsrecords.cc:220:1: warning: Member variable 'MXRecordContent::d_preference' is not initialized in the constructor. [uninitMemberVar] pdns-recursor-4.9.4/dnsrecords.cc:225:1: warning: Member variable 'KXRecordContent::d_preference' is not initialized in the constructor. [uninitMemberVar] pdns-recursor-4.9.4/dnsrecords.cc:230:1: warning: Member variable 'IPSECKEYRecordContent::d_ip4' is not initialized in the constructor. [uninitMemberVar] pdns-recursor-4.9.4/dnsrecords.cc:230:1: warning: Member variable 'IPSECKEYRecordContent::d_preference' is not initialized in the constructor. [uninitMemberVar] pdns-recursor-4.9.4/dnsrecords.cc:230:1: warning: Member variable 'IPSECKEYRecordContent::d_gatewaytype' is not initialized in the constructor. [uninitMemberVar] pdns-recursor-4.9.4/dnsrecords.cc:230:1: warning: Member variable 'IPSECKEYRecordContent::d_algorithm' is not initialized in the constructor. [uninitMemberVar] pdns-recursor-4.9.4/dnsrecords.cc:286:1: warning: Member variable 'SRVRecordContent::d_weight' is not initialized in the constructor. [uninitMemberVar] pdns-recursor-4.9.4/dnsrecords.cc:286:1: warning: Member variable 'SRVRecordContent::d_port' is not initialized in the constructor. [uninitMemberVar] pdns-recursor-4.9.4/dnsrecords.cc:286:1: warning: Member variable 'SRVRecordContent::d_preference' is not initialized in the constructor. [uninitMemberVar] pdns-recursor-4.9.4/dnsrecords.cc:388:1: warning: Member variable 'SSHFPRecordContent::d_algorithm' is not initialized in the constructor. [uninitMemberVar] pdns-recursor-4.9.4/dnsrecords.cc:388:1: warning: Member variable 'SSHFPRecordContent::d_fptype' is not initialized in the constructor. [uninitMemberVar] pdns-recursor-4.9.4/dnsrecords.cc:306:1: warning: Member variable 'KEYRecordContent::d_flags' is not initialized in the constructor. [uninitMemberVar] pdns-recursor-4.9.4/dnsrecords.cc:306:1: warning: Member variable 'KEYRecordContent::d_protocol' is not initialized in the constructor. [uninitMemberVar] pdns-recursor-4.9.4/dnsrecords.cc:306:1: warning: Member variable 'KEYRecordContent::d_algorithm' is not initialized in the constructor. [uninitMemberVar] pdns-recursor-4.9.4/dnsrecords.cc:269:1: warning: Member variable 'AFSDBRecordContent::d_subtype' is not initialized in the constructor. [uninitMemberVar] pdns-recursor-4.9.4/dnsrecords.cc:320:1: warning: Member variable 'CERTRecordContent::d_type' is not initialized in the constructor. [uninitMemberVar] pdns-recursor-4.9.4/dnsrecords.cc:320:1: warning: Member variable 'CERTRecordContent::d_tag' is not initialized in the constructor. [uninitMemberVar] pdns-recursor-4.9.4/dnsrecords.cc:320:1: warning: Member variable 'CERTRecordContent::d_algorithm' is not initialized in the constructor. [uninitMemberVar] pdns-recursor-4.9.4/dnsrecords.cc:329:1: warning: Member variable 'TLSARecordContent::d_certusage' is not initialized in the constructor. [uninitMemberVar] pdns-recursor-4.9.4/dnsrecords.cc:329:1: warning: Member variable 'TLSARecordContent::d_selector' is not initialized in the constructor. [uninitMemberVar] pdns-recursor-4.9.4/dnsrecords.cc:329:1: warning: Member variable 'TLSARecordContent::d_matchtype' is not initialized in the constructor. [uninitMemberVar] pdns-recursor-4.9.4/dnsrecords.cc:356:1: warning: Member variable 'SMIMEARecordContent::d_certusage' is not initialized in the constructor. [uninitMemberVar] pdns-recursor-4.9.4/dnsrecords.cc:356:1: warning: Member variable 'SMIMEARecordContent::d_selector' is not initialized in the constructor. [uninitMemberVar] pdns-recursor-4.9.4/dnsrecords.cc:356:1: warning: Member variable 'SMIMEARecordContent::d_matchtype' is not initialized in the constructor. [uninitMemberVar] pdns-recursor-4.9.4/dnsrecords.cc:340:1: warning: Member variable 'SVCBBaseRecordContent::d_priority' is not initialized in the constructor. Maybe it should be initialized directly in the class SVCBBaseRecordContent? [uninitDerivedMemberVar] pdns-recursor-4.9.4/dnsrecords.cc:348:1: warning: Member variable 'SVCBBaseRecordContent::d_priority' is not initialized in the constructor. Maybe it should be initialized directly in the class SVCBBaseRecordContent? [uninitDerivedMemberVar] pdns-recursor-4.9.4/dnsrecords.cc:296:1: warning: Member variable 'SOARecordContent::d_st' is not initialized in the constructor. [uninitMemberVar] pdns-recursor-4.9.4/dnsrecords.cc:313:1: warning: Member variable 'ZONEMDRecordContent::d_serial' is not initialized in the constructor. [uninitMemberVar] pdns-recursor-4.9.4/dnsrecords.cc:313:1: warning: Member variable 'ZONEMDRecordContent::d_scheme' is not initialized in the constructor. [uninitMemberVar] pdns-recursor-4.9.4/dnsrecords.cc:313:1: warning: Member variable 'ZONEMDRecordContent::d_hashalgo' is not initialized in the constructor. [uninitMemberVar] pdns-recursor-4.9.4/dnsrecords.cc:432:1: warning: Member variable 'NIDRecordContent::d_preference' is not initialized in the constructor. [uninitMemberVar] pdns-recursor-4.9.4/dnsrecords.cc:432:1: warning: Member variable 'NIDRecordContent::d_node_id' is not initialized in the constructor. [uninitMemberVar] pdns-recursor-4.9.4/dnsrecords.cc:436:1: warning: Member variable 'L32RecordContent::d_preference' is not initialized in the constructor. [uninitMemberVar] pdns-recursor-4.9.4/dnsrecords.cc:436:1: warning: Member variable 'L32RecordContent::d_locator' is not initialized in the constructor. [uninitMemberVar] pdns-recursor-4.9.4/dnsrecords.cc:440:1: warning: Member variable 'L64RecordContent::d_preference' is not initialized in the constructor. [uninitMemberVar] pdns-recursor-4.9.4/dnsrecords.cc:440:1: warning: Member variable 'L64RecordContent::d_locator' is not initialized in the constructor. [uninitMemberVar] pdns-recursor-4.9.4/dnsrecords.cc:444:1: warning: Member variable 'LPRecordContent::d_preference' is not initialized in the constructor. [uninitMemberVar] pdns-recursor-4.9.4/dnsrecords.cc:835:1: warning: Member variable 'URIRecordContent::d_priority' is not initialized in the constructor. [uninitMemberVar] pdns-recursor-4.9.4/dnsrecords.cc:835:1: warning: Member variable 'URIRecordContent::d_weight' is not initialized in the constructor. [uninitMemberVar] pdns-recursor-4.9.4/dnsrecords.cc:841:1: warning: Member variable 'CAARecordContent::d_flags' is not initialized in the constructor. [uninitMemberVar] pdns-recursor-4.9.4/dnsrecords.hh:77:8: performance:inconclusive: Technically the member function 'ARecordContent::doRecordCheck' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-recursor-4.9.4/dnsrecords.cc:132:22: note: Technically the member function 'ARecordContent::doRecordCheck' can be static (but you may consider moving to unnamed namespace). pdns-recursor-4.9.4/dnsrecords.hh:77:8: note: Technically the member function 'ARecordContent::doRecordCheck' can be static (but you may consider moving to unnamed namespace). pdns-recursor-4.9.4/dnsrecords.hh:216:3: performance:inconclusive: Technically the member function 'ENTRecordContent::xfrPacket' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-recursor-4.9.4/dnsrecords.cc:155:1: note: Technically the member function 'ENTRecordContent::xfrPacket' can be static (but you may consider moving to unnamed namespace). pdns-recursor-4.9.4/dnsrecords.hh:216:3: note: Technically the member function 'ENTRecordContent::xfrPacket' can be static (but you may consider moving to unnamed namespace). pdns-recursor-4.9.4/dnsrecords.hh:952:19: performance:inconclusive: Technically the member function 'APLRecordContent::parseAPLElement' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-recursor-4.9.4/dnsrecords.cc:585:35: note: Technically the member function 'APLRecordContent::parseAPLElement' can be static (but you may consider moving to unnamed namespace). pdns-recursor-4.9.4/dnsrecords.hh:952:19: note: Technically the member function 'APLRecordContent::parseAPLElement' can be static (but you may consider moving to unnamed namespace). pdns-recursor-4.9.4/dnsrecords.cc:132:22: warning: The class 'ARecordContent' defines member function with name 'doRecordCheck' also defined in its parent class 'DNSRecordContent'. [duplInheritedMember] pdns-recursor-4.9.4/dnsparser.hh:230:8: note: Parent function 'DNSRecordContent::doRecordCheck' pdns-recursor-4.9.4/dnsrecords.cc:132:22: note: Derived function 'ARecordContent::doRecordCheck' pdns-recursor-4.9.4/dnsrecords.cc:467:9: warning: %hhx in format string (no. 1) requires 'unsigned char *' but the argument type is 'const char *'. [invalidScanfArgType_int] pdns-recursor-4.9.4/dnsrecords.cc:467:9: warning: %hhx in format string (no. 2) requires 'unsigned char *' but the argument type is 'const char *'. [invalidScanfArgType_int] pdns-recursor-4.9.4/dnsrecords.cc:467:9: warning: %hhx in format string (no. 3) requires 'unsigned char *' but the argument type is 'const char *'. [invalidScanfArgType_int] pdns-recursor-4.9.4/dnsrecords.cc:467:9: warning: %hhx in format string (no. 4) requires 'unsigned char *' but the argument type is 'const char *'. [invalidScanfArgType_int] pdns-recursor-4.9.4/dnsrecords.cc:467:9: warning: %hhx in format string (no. 5) requires 'unsigned char *' but the argument type is 'const char *'. [invalidScanfArgType_int] pdns-recursor-4.9.4/dnsrecords.cc:467:9: warning: %hhx in format string (no. 6) requires 'unsigned char *' but the argument type is 'const char *'. [invalidScanfArgType_int] pdns-recursor-4.9.4/dnsrecords.cc:511:9: warning: %hhx in format string (no. 1) requires 'unsigned char *' but the argument type is 'const char *'. [invalidScanfArgType_int] pdns-recursor-4.9.4/dnsrecords.cc:511:9: warning: %hhx in format string (no. 2) requires 'unsigned char *' but the argument type is 'const char *'. [invalidScanfArgType_int] pdns-recursor-4.9.4/dnsrecords.cc:511:9: warning: %hhx in format string (no. 3) requires 'unsigned char *' but the argument type is 'const char *'. [invalidScanfArgType_int] pdns-recursor-4.9.4/dnsrecords.cc:511:9: warning: %hhx in format string (no. 4) requires 'unsigned char *' but the argument type is 'const char *'. [invalidScanfArgType_int] pdns-recursor-4.9.4/dnsrecords.cc:511:9: warning: %hhx in format string (no. 5) requires 'unsigned char *' but the argument type is 'const char *'. [invalidScanfArgType_int] pdns-recursor-4.9.4/dnsrecords.cc:511:9: warning: %hhx in format string (no. 6) requires 'unsigned char *' but the argument type is 'const char *'. [invalidScanfArgType_int] pdns-recursor-4.9.4/dnsrecords.cc:511:9: warning: %hhx in format string (no. 7) requires 'unsigned char *' but the argument type is 'const char *'. [invalidScanfArgType_int] pdns-recursor-4.9.4/dnsrecords.cc:511:9: warning: %hhx in format string (no. 8) requires 'unsigned char *' but the argument type is 'const char *'. [invalidScanfArgType_int] pdns-recursor-4.9.4/dnsrecords.cc:106:17: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/dnsrecords.cc:459:19: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/dnsrecords.cc:503:19: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/dnsrecords.cc:849:29: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/dnsrecords.cc:187:12: style: The scope of the variable 'code' can be reduced. [variableScope] pdns-recursor-4.9.4/dnsrecords.cc:187:18: style: The scope of the variable 'len' can be reduced. [variableScope] pdns-recursor-4.9.4/dnsrecords.cc:32:50: style:inconclusive: Function 'setContent' argument 1 names different: declaration 'content' definition 'cont'. [funcArgNamesDifferent] pdns-recursor-4.9.4/dns.hh:64:33: note: Function 'setContent' argument 1 names different: declaration 'content' definition 'cont'. pdns-recursor-4.9.4/dnsrecords.cc:32:50: note: Function 'setContent' argument 1 names different: declaration 'content' definition 'cont'. pdns-recursor-4.9.4/dnsrecords.cc:184:65: style:inconclusive: Function 'getData' argument 1 names different: declaration 'opts' definition 'options'. [funcArgNamesDifferent] pdns-recursor-4.9.4/dnsrecords.hh:339:49: note: Function 'getData' argument 1 names different: declaration 'opts' definition 'options'. pdns-recursor-4.9.4/dnsrecords.cc:184:65: note: Function 'getData' argument 1 names different: declaration 'opts' definition 'options'. pdns-recursor-4.9.4/dnsrecords.cc:672:72: style:inconclusive: Function 'make' argument 1 names different: declaration 'zonedata' definition 'zone'. [funcArgNamesDifferent] pdns-recursor-4.9.4/dnsrecords.hh:949:3: note: Function 'make' argument 1 names different: declaration 'zonedata' definition 'zone'. pdns-recursor-4.9.4/dnsrecords.cc:672:72: note: Function 'make' argument 1 names different: declaration 'zonedata' definition 'zone'. pdns-recursor-4.9.4/dnsrecords.cc:691:15: style: Variable 'ard' can be declared as reference to const [constVariableReference] pdns-recursor-4.9.4/dnsrecords.cc:606:7: performance: Inefficient usage of string::find() in condition; string::starts_with() could be faster. [stlIfStrFind] pdns-recursor-4.9.4/dnsrecords.cc:638:14: performance: Inefficient usage of string::find() in condition; string::starts_with() could be faster. [stlIfStrFind] pdns-recursor-4.9.4/dnsrecords.cc:196:12: performance: Constructing a std::string from the result of c_str() is slow and redundant. [stlcstrConstructor] pdns-recursor-4.9.4/dnssecinfra.cc:285:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/dnssecinfra.cc:310:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/dnssecinfra.cc:431:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/dnssecinfra.cc:661:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHA_DIGEST_LENGTH [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/dnssecinfra.cc:736:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EVP_MAX_MD_SIZE [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/gss_context.hh:94:8: performance:inconclusive: Technically the member function 'GssName::setName' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-recursor-4.9.4/gss_context.hh:119:8: style:inconclusive: Technically the member function 'GssName::operator==' can be const. [functionConst] pdns-recursor-4.9.4/gss_context.hh:145:8: performance:inconclusive: Technically the member function 'GssName::match' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-recursor-4.9.4/gss_context.hh:152:8: performance:inconclusive: Technically the member function 'GssName::valid' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-recursor-4.9.4/gss_context.hh:183:18: style:inconclusive: Technically the member function 'GssContext::getLabel' can be const. [functionConst] pdns-recursor-4.9.4/gss_context.hh:195:34: style:inconclusive: Technically the member function 'GssContext::getErrorStrings' can be const. [functionConst] pdns-recursor-4.9.4/gss_context.hh:72:3: style: Class 'GssName' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/gss_context.hh:174:3: style: Class 'GssContext' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/gss_context.hh:195:34: performance: Function 'getErrorStrings()' should return member 'd_gss_errors' by const reference. [returnByReference] pdns-recursor-4.9.4/dnssecinfra.cc:702:8: style: Condition 'c' is always true [knownConditionTrueFalse] pdns-recursor-4.9.4/dnssecinfra.cc:699:23: note: Assignment 'c=(unsigned char)raw[pos]', assigned value is greater than -1 pdns-recursor-4.9.4/dnssecinfra.cc:700:7: note: c is incremented', new value is 0 pdns-recursor-4.9.4/dnssecinfra.cc:702:8: note: Condition 'c' is always true pdns-recursor-4.9.4/dnssecinfra.cc:542:19: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/dnssecinfra.cc:544:19: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/dnssecinfra.cc:546:19: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/dnssecinfra.cc:550:19: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/dnssecinfra.cc:765:17: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/dnssecinfra.cc:816:24: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/dnssecinfra.cc:466:43: style: The scope of the variable 'udiffVerify' can be reduced. [variableScope] pdns-recursor-4.9.4/dnssecinfra.cc:207:75: style:inconclusive: Function 'make' argument 1 names different: declaration 'algorithm' definition 'algo'. [funcArgNamesDifferent] pdns-recursor-4.9.4/dnssecinfra.hh:167:66: note: Function 'make' argument 1 names different: declaration 'algorithm' definition 'algo'. pdns-recursor-4.9.4/dnssecinfra.cc:207:75: note: Function 'make' argument 1 names different: declaration 'algorithm' definition 'algo'. pdns-recursor-4.9.4/dnssecinfra.cc:259:46: style:inconclusive: Function 'report' argument 1 names different: declaration 'algorithm' definition 'algo'. [funcArgNamesDifferent] pdns-recursor-4.9.4/dnssecinfra.hh:175:37: note: Function 'report' argument 1 names different: declaration 'algorithm' definition 'algo'. pdns-recursor-4.9.4/dnssecinfra.cc:259:46: note: Function 'report' argument 1 names different: declaration 'algorithm' definition 'algo'. pdns-recursor-4.9.4/dnssecinfra.cc:425:50: style:inconclusive: Function 'testMakers' argument 1 names different: declaration 'algorithm' definition 'algo'. [funcArgNamesDifferent] pdns-recursor-4.9.4/dnssecinfra.hh:176:41: note: Function 'testMakers' argument 1 names different: declaration 'algorithm' definition 'algo'. pdns-recursor-4.9.4/dnssecinfra.cc:425:50: note: Function 'testMakers' argument 1 names different: declaration 'algorithm' definition 'algo'. pdns-recursor-4.9.4/dnssecinfra.cc:486:124: style:inconclusive: Function 'makeFromPublicKeyString' argument 2 names different: declaration 'raw' definition 'content'. [funcArgNamesDifferent] pdns-recursor-4.9.4/dnssecinfra.hh:166:115: note: Function 'makeFromPublicKeyString' argument 2 names different: declaration 'raw' definition 'content'. pdns-recursor-4.9.4/dnssecinfra.cc:486:124: note: Function 'makeFromPublicKeyString' argument 2 names different: declaration 'raw' definition 'content'. pdns-recursor-4.9.4/dnssecinfra.cc:418:28: style: Variable 'e' can be declared as reference to const [constVariableReference] pdns-recursor-4.9.4/dnssecinfra.cc:760:18: style: Variable 'out' can be declared as pointer to const [constVariablePointer] pdns-recursor-4.9.4/dnssecinfra.cc:804:10: style: Unused variable: message [unusedVariable] pdns-recursor-4.9.4/protozero.hh:78:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/dnstap.cc:40:92: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/protozero.hh:49:7: style: Class 'Message' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/dnswriter.cc:236:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/dnswriter.cc:325:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/dnswriter.cc:55:23: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/dnswriter.cc:85:40: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/dnswriter.cc:137:21: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/dnswriter.cc:138:21: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/dnswriter.cc:254:22: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/dnswriter.cc:301:45: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/dnswriter.cc:303:105: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/dnswriter.cc:351:40: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/dnswriter.cc:209:117: style:inconclusive: Function 'lookupName' argument 2 names different: declaration 'matchlen' definition 'matchLen'. [funcArgNamesDifferent] pdns-recursor-4.9.4/dnswriter.hh:164:54: note: Function 'lookupName' argument 2 names different: declaration 'matchlen' definition 'matchLen'. pdns-recursor-4.9.4/dnswriter.cc:209:117: note: Function 'lookupName' argument 2 names different: declaration 'matchlen' definition 'matchLen'. pdns-recursor-4.9.4/dnswriter.cc:322:94: style:inconclusive: Function 'xfrName' argument 1 names different: declaration 'label' definition 'name'. [funcArgNamesDifferent] pdns-recursor-4.9.4/dnswriter.hh:130:31: note: Function 'xfrName' argument 1 names different: declaration 'label' definition 'name'. pdns-recursor-4.9.4/dnswriter.cc:322:94: note: Function 'xfrName' argument 1 names different: declaration 'label' definition 'name'. pdns-recursor-4.9.4/dnswriter.cc:234:25: style: Variable 'ba' can be declared as reference to const [constVariableReference] pdns-recursor-4.9.4/dnswriter.cc:281:27: style: Variable 'ba' can be declared as reference to const [constVariableReference] pdns-recursor-4.9.4/ednscookies.hh:64:8: style: Unused private function: 'EDNSCookiesOpt::shouldRefresh' [unusedPrivateFunction] pdns-recursor-4.9.4/ednscookies.hh:51:8: performance:inconclusive: Technically the member function 'EDNSCookiesOpt::isValid' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-recursor-4.9.4/ednscookies.cc:77:22: note: Technically the member function 'EDNSCookiesOpt::isValid' can be static (but you may consider moving to unnamed namespace). pdns-recursor-4.9.4/ednscookies.hh:51:8: note: Technically the member function 'EDNSCookiesOpt::isValid' can be static (but you may consider moving to unnamed namespace). pdns-recursor-4.9.4/ednscookies.hh:52:8: performance:inconclusive: Technically the member function 'EDNSCookiesOpt::makeServerCookie' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-recursor-4.9.4/ednscookies.cc:142:22: note: Technically the member function 'EDNSCookiesOpt::makeServerCookie' can be static (but you may consider moving to unnamed namespace). pdns-recursor-4.9.4/ednscookies.hh:52:8: note: Technically the member function 'EDNSCookiesOpt::makeServerCookie' can be static (but you may consider moving to unnamed namespace). pdns-recursor-4.9.4/ednsoptions.cc:53:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/ednsoptions.cc:100:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/ednsoptions.cc:160:15: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/ednsoptions.cc:161:15: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/ednsoptions.cc:136:12: style: The scope of the variable 'code' can be reduced. [variableScope] pdns-recursor-4.9.4/ednsoptions.cc:136:18: style: The scope of the variable 'len' can be reduced. [variableScope] pdns-recursor-4.9.4/ednssubnet.cc:61:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/ednssubnet.cc:92:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sin_family [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/ednssubnet.cc:96:15: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/ednssubnet.cc:103:17: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/ednssubnet.cc:105:17: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/epollmplexer.cc:107:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EPOLLIN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/epollmplexer.cc:126:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EPOLL_CTL_ADD [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/epollmplexer.cc:137:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EPOLL_CTL_DEL [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/epollmplexer.cc:149:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EPOLL_CTL_MOD [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/epollmplexer.cc:158:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/epollmplexer.cc:176:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/epollmplexer.cc:39:3: style: Class 'EpollFDMultiplexer' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/epollmplexer.cc:40:4: style: The destructor '~EpollFDMultiplexer' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] pdns-recursor-4.9.4/mplexer.hh:76:12: note: Virtual destructor in base class pdns-recursor-4.9.4/epollmplexer.cc:40:4: note: Destructor in derived class pdns-recursor-4.9.4/epollmplexer.cc:167:45: style:inconclusive: Function 'run' argument 1 names different: declaration 'tv' definition 'now'. [funcArgNamesDifferent] pdns-recursor-4.9.4/epollmplexer.cc:47:27: note: Function 'run' argument 1 names different: declaration 'tv' definition 'now'. pdns-recursor-4.9.4/epollmplexer.cc:167:45: note: Function 'run' argument 1 names different: declaration 'tv' definition 'now'. pdns-recursor-4.9.4/ext/json11/json11.cpp:175:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_value [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/ext/json11/json11.cpp:176:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_value [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/ext/json11/json11.cpp:177:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_value [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/ext/json11/json11.cpp:178:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_value [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/ext/json11/json11.cpp:184:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_value [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/ext/json11/json11.cpp:185:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_value [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/ext/json11/json11.cpp:186:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_value [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/ext/json11/json11.cpp:187:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_value [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/ext/json11/json11.cpp:193:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_value [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/ext/json11/json11.cpp:199:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_value [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/ext/json11/json11.cpp:206:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_value [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/ext/json11/json11.cpp:214:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_value [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/ext/json11/json11.cpp:296:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_value [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/ext/json11/json11.cpp:595:85: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable digits10 [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/ext/json11/json11.cpp:457:10: performance:inconclusive: Technically the member function 'json11::::JsonParser::encode_utf8' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-recursor-4.9.4/ext/json11/json11.cpp:303:36: style:inconclusive: Function 'operator==' argument 1 names different: declaration 'rhs' definition 'other'. [funcArgNamesDifferent] pdns-recursor-4.9.4/ext/json11/json11.hpp:192:34: note: Function 'operator==' argument 1 names different: declaration 'rhs' definition 'other'. pdns-recursor-4.9.4/ext/json11/json11.cpp:303:36: note: Function 'operator==' argument 1 names different: declaration 'rhs' definition 'other'. pdns-recursor-4.9.4/ext/json11/json11.cpp:310:35: style:inconclusive: Function 'operator<' argument 1 names different: declaration 'rhs' definition 'other'. [funcArgNamesDifferent] pdns-recursor-4.9.4/ext/json11/json11.hpp:193:34: note: Function 'operator<' argument 1 names different: declaration 'rhs' definition 'other'. pdns-recursor-4.9.4/ext/json11/json11.cpp:310:35: note: Function 'operator<' argument 1 names different: declaration 'rhs' definition 'other'. pdns-recursor-4.9.4/ext/json11/json11.cpp:515:24: style: Local variable 'esc' shadows outer function [shadowFunction] pdns-recursor-4.9.4/ext/json11/json11.cpp:325:22: note: Shadowed declaration pdns-recursor-4.9.4/ext/json11/json11.cpp:515:24: note: Shadow variable pdns-recursor-4.9.4/ext/json11/json11.cpp:774:17: style: Variable 'item' can be declared as reference to const [constVariableReference] pdns-recursor-4.9.4/ext/json11/json11.cpp:775:56: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] pdns-recursor-4.9.4/ext/probds/murmur3.cc:33:27: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/ext/probds/murmur3.cc:45:30: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/ext/probds/murmur3.cc:63:29: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/ext/probds/murmur3.cc:85:4: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/ext/yahttp/yahttp/utility.hpp:73:0: error: #error define HAVE_LOCALTIME_R [preprocessorErrorDirective] pdns-recursor-4.9.4/filterpo.cc:378:0: debug: Function::addArguments found argument 'map' with varid 0. [varid0] pdns-recursor-4.9.4/filterpo.cc:432:0: debug: Function::addArguments found argument 'map' with varid 0. [varid0] pdns-recursor-4.9.4/filterpo.cc:398:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable second [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/filterpo.cc:695:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu32 [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/filterpo.cc:782:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu32 [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/filterpo.hh:368:17: style: Unused private function: 'Zone::findNamedPolicy' [unusedPrivateFunction] pdns-recursor-4.9.4/filterpo.hh:431:8: performance:inconclusive: Technically the member function 'DNSFilterEngine::getPostPolicy' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-recursor-4.9.4/filterpo.cc:323:23: note: Technically the member function 'DNSFilterEngine::getPostPolicy' can be static (but you may consider moving to unnamed namespace). pdns-recursor-4.9.4/filterpo.hh:431:8: note: Technically the member function 'DNSFilterEngine::getPostPolicy' can be static (but you may consider moving to unnamed namespace). pdns-recursor-4.9.4/filterpo.hh:361:10: style:inconclusive: Technically the member function 'DNSFilterEngine::Zone::addNameTrigger' can be const. [functionConst] pdns-recursor-4.9.4/filterpo.cc:378:29: note: Technically the member function 'DNSFilterEngine::Zone::addNameTrigger' can be const. pdns-recursor-4.9.4/filterpo.hh:361:10: note: Technically the member function 'DNSFilterEngine::Zone::addNameTrigger' can be const. pdns-recursor-4.9.4/filterpo.hh:362:10: style:inconclusive: Technically the member function 'DNSFilterEngine::Zone::addNetmaskTrigger' can be const. [functionConst] pdns-recursor-4.9.4/filterpo.cc:404:29: note: Technically the member function 'DNSFilterEngine::Zone::addNetmaskTrigger' can be const. pdns-recursor-4.9.4/filterpo.hh:362:10: note: Technically the member function 'DNSFilterEngine::Zone::addNetmaskTrigger' can be const. pdns-recursor-4.9.4/filterpo.hh:363:10: performance:inconclusive: Technically the member function 'DNSFilterEngine::Zone::rmNameTrigger' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-recursor-4.9.4/filterpo.cc:432:29: note: Technically the member function 'DNSFilterEngine::Zone::rmNameTrigger' can be static (but you may consider moving to unnamed namespace). pdns-recursor-4.9.4/filterpo.hh:363:10: note: Technically the member function 'DNSFilterEngine::Zone::rmNameTrigger' can be static (but you may consider moving to unnamed namespace). pdns-recursor-4.9.4/filterpo.hh:364:10: performance:inconclusive: Technically the member function 'DNSFilterEngine::Zone::rmNetmaskTrigger' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-recursor-4.9.4/filterpo.cc:467:29: note: Technically the member function 'DNSFilterEngine::Zone::rmNetmaskTrigger' can be static (but you may consider moving to unnamed namespace). pdns-recursor-4.9.4/filterpo.hh:364:10: note: Technically the member function 'DNSFilterEngine::Zone::rmNetmaskTrigger' can be static (but you may consider moving to unnamed namespace). pdns-recursor-4.9.4/iputils.hh:921:8: performance:inconclusive: Technically the member function 'NetmaskTree < Policy , Netmask >::cleanup_tree' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-recursor-4.9.4/iputils.hh:1047:12: style:inconclusive: Technically the member function 'NetmaskTree < Policy , Netmask >::end' can be const. [functionConst] pdns-recursor-4.9.4/iputils.hh:1014:10: style:inconclusive: Technically the member function 'NetmaskTree < Policy , Netmask >::Iterator::operator==' can be const. [functionConst] pdns-recursor-4.9.4/iputils.hh:1018:10: style:inconclusive: Technically the member function 'NetmaskTree < Policy , Netmask >::Iterator::operator!=' can be const. [functionConst] pdns-recursor-4.9.4/filterpo.hh:284:13: performance: Function 'getDomain()' should return member 'd_domain' by const reference. [returnByReference] pdns-recursor-4.9.4/filterpo.cc:149:137: style:inconclusive: Function 'getProcessingPolicy' argument 3 names different: declaration 'policy' definition 'pol'. [funcArgNamesDifferent] pdns-recursor-4.9.4/filterpo.hh:429:122: note: Function 'getProcessingPolicy' argument 3 names different: declaration 'policy' definition 'pol'. pdns-recursor-4.9.4/filterpo.cc:149:137: note: Function 'getProcessingPolicy' argument 3 names different: declaration 'policy' definition 'pol'. pdns-recursor-4.9.4/filterpo.cc:214:144: style:inconclusive: Function 'getProcessingPolicy' argument 3 names different: declaration 'policy' definition 'pol'. [funcArgNamesDifferent] pdns-recursor-4.9.4/filterpo.hh:430:129: note: Function 'getProcessingPolicy' argument 3 names different: declaration 'policy' definition 'pol'. pdns-recursor-4.9.4/filterpo.cc:214:144: note: Function 'getProcessingPolicy' argument 3 names different: declaration 'policy' definition 'pol'. pdns-recursor-4.9.4/filterpo.cc:234:135: style:inconclusive: Function 'getClientPolicy' argument 3 names different: declaration 'policy' definition 'pol'. [funcArgNamesDifferent] pdns-recursor-4.9.4/filterpo.hh:428:120: note: Function 'getClientPolicy' argument 3 names different: declaration 'policy' definition 'pol'. pdns-recursor-4.9.4/filterpo.cc:234:135: note: Function 'getClientPolicy' argument 3 names different: declaration 'policy' definition 'pol'. pdns-recursor-4.9.4/filterpo.cc:254:132: style:inconclusive: Function 'getQueryPolicy' argument 3 names different: declaration 'policy' definition 'pol'. [funcArgNamesDifferent] pdns-recursor-4.9.4/filterpo.hh:427:117: note: Function 'getQueryPolicy' argument 3 names different: declaration 'policy' definition 'pol'. pdns-recursor-4.9.4/filterpo.cc:254:132: note: Function 'getQueryPolicy' argument 3 names different: declaration 'policy' definition 'pol'. pdns-recursor-4.9.4/filterpo.cc:323:143: style:inconclusive: Function 'getPostPolicy' argument 3 names different: declaration 'policy' definition 'pol'. [funcArgNamesDifferent] pdns-recursor-4.9.4/filterpo.hh:431:128: note: Function 'getPostPolicy' argument 3 names different: declaration 'policy' definition 'pol'. pdns-recursor-4.9.4/filterpo.cc:323:143: note: Function 'getPostPolicy' argument 3 names different: declaration 'policy' definition 'pol'. pdns-recursor-4.9.4/filterpo.cc:334:134: style:inconclusive: Function 'getPostPolicy' argument 3 names different: declaration 'policy' definition 'pol'. [funcArgNamesDifferent] pdns-recursor-4.9.4/filterpo.hh:432:119: note: Function 'getPostPolicy' argument 3 names different: declaration 'policy' definition 'pol'. pdns-recursor-4.9.4/filterpo.cc:334:134: note: Function 'getPostPolicy' argument 3 names different: declaration 'policy' definition 'pol'. pdns-recursor-4.9.4/filterpo.cc:515:60: style:inconclusive: Function 'addQNameTrigger' argument 1 names different: declaration 'nm' definition 'n'. [funcArgNamesDifferent] pdns-recursor-4.9.4/filterpo.hh:312:41: note: Function 'addQNameTrigger' argument 1 names different: declaration 'nm' definition 'n'. pdns-recursor-4.9.4/filterpo.cc:515:60: note: Function 'addQNameTrigger' argument 1 names different: declaration 'nm' definition 'n'. pdns-recursor-4.9.4/filterpo.cc:520:57: style:inconclusive: Function 'addNSTrigger' argument 1 names different: declaration 'dn' definition 'n'. [funcArgNamesDifferent] pdns-recursor-4.9.4/filterpo.hh:313:38: note: Function 'addNSTrigger' argument 1 names different: declaration 'dn' definition 'n'. pdns-recursor-4.9.4/filterpo.cc:520:57: note: Function 'addNSTrigger' argument 1 names different: declaration 'dn' definition 'n'. pdns-recursor-4.9.4/filterpo.cc:540:59: style:inconclusive: Function 'rmQNameTrigger' argument 1 names different: declaration 'nm' definition 'n'. [funcArgNamesDifferent] pdns-recursor-4.9.4/filterpo.hh:318:40: note: Function 'rmQNameTrigger' argument 1 names different: declaration 'nm' definition 'n'. pdns-recursor-4.9.4/filterpo.cc:540:59: note: Function 'rmQNameTrigger' argument 1 names different: declaration 'nm' definition 'n'. pdns-recursor-4.9.4/filterpo.cc:545:56: style:inconclusive: Function 'rmNSTrigger' argument 1 names different: declaration 'dn' definition 'n'. [funcArgNamesDifferent] pdns-recursor-4.9.4/filterpo.hh:319:37: note: Function 'rmNSTrigger' argument 1 names different: declaration 'dn' definition 'n'. pdns-recursor-4.9.4/filterpo.cc:545:56: note: Function 'rmNSTrigger' argument 1 names different: declaration 'dn' definition 'n'. pdns-recursor-4.9.4/filterpo.cc:201:42: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] pdns-recursor-4.9.4/filterpo.cc:309:45: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] pdns-recursor-4.9.4/filterpo.cc:326:56: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] pdns-recursor-4.9.4/dolog.hh:90:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_PID [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/dolog.hh:119:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/remote_logger.hh:115:3: style: Class 'RemoteLogger' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/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] pdns-recursor-4.9.4/remote_logger.hh:67:12: note: Virtual destructor in base class pdns-recursor-4.9.4/remote_logger.hh:119:4: note: Destructor in derived class pdns-recursor-4.9.4/gss_context.hh:176:8: performance:inconclusive: Technically the member function 'GssContext::setLocalPrincipal' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-recursor-4.9.4/gss_context.cc:34:18: note: Technically the member function 'GssContext::setLocalPrincipal' can be static (but you may consider moving to unnamed namespace). pdns-recursor-4.9.4/gss_context.hh:176:8: note: Technically the member function 'GssContext::setLocalPrincipal' can be static (but you may consider moving to unnamed namespace). pdns-recursor-4.9.4/gss_context.hh:177:8: performance:inconclusive: Technically the member function 'GssContext::getLocalPrincipal' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-recursor-4.9.4/gss_context.cc:35:18: note: Technically the member function 'GssContext::getLocalPrincipal' can be static (but you may consider moving to unnamed namespace). pdns-recursor-4.9.4/gss_context.hh:177:8: note: Technically the member function 'GssContext::getLocalPrincipal' can be static (but you may consider moving to unnamed namespace). pdns-recursor-4.9.4/gss_context.hh:178:8: performance:inconclusive: Technically the member function 'GssContext::setPeerPrincipal' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-recursor-4.9.4/gss_context.cc:36:18: note: Technically the member function 'GssContext::setPeerPrincipal' can be static (but you may consider moving to unnamed namespace). pdns-recursor-4.9.4/gss_context.hh:178:8: note: Technically the member function 'GssContext::setPeerPrincipal' can be static (but you may consider moving to unnamed namespace). pdns-recursor-4.9.4/gss_context.hh:179:8: performance:inconclusive: Technically the member function 'GssContext::getPeerPrincipal' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-recursor-4.9.4/gss_context.cc:37:18: note: Technically the member function 'GssContext::getPeerPrincipal' can be static (but you may consider moving to unnamed namespace). pdns-recursor-4.9.4/gss_context.hh:179:8: note: Technically the member function 'GssContext::getPeerPrincipal' can be static (but you may consider moving to unnamed namespace). pdns-recursor-4.9.4/gss_context.hh:181:8: performance:inconclusive: Technically the member function 'GssContext::generateLabel' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-recursor-4.9.4/gss_context.cc:38:18: note: Technically the member function 'GssContext::generateLabel' can be static (but you may consider moving to unnamed namespace). pdns-recursor-4.9.4/gss_context.hh:181:8: note: Technically the member function 'GssContext::generateLabel' can be static (but you may consider moving to unnamed namespace). pdns-recursor-4.9.4/gss_context.hh:182:8: performance:inconclusive: Technically the member function 'GssContext::setLabel' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-recursor-4.9.4/gss_context.cc:39:18: note: Technically the member function 'GssContext::setLabel' can be static (but you may consider moving to unnamed namespace). pdns-recursor-4.9.4/gss_context.hh:182:8: note: Technically the member function 'GssContext::setLabel' can be static (but you may consider moving to unnamed namespace). pdns-recursor-4.9.4/gss_context.hh:185:8: performance:inconclusive: Technically the member function 'GssContext::init' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-recursor-4.9.4/gss_context.cc:40:18: note: Technically the member function 'GssContext::init' can be static (but you may consider moving to unnamed namespace). pdns-recursor-4.9.4/gss_context.hh:185:8: note: Technically the member function 'GssContext::init' can be static (but you may consider moving to unnamed namespace). pdns-recursor-4.9.4/gss_context.hh:186:8: performance:inconclusive: Technically the member function 'GssContext::accept' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-recursor-4.9.4/gss_context.cc:41:18: note: Technically the member function 'GssContext::accept' can be static (but you may consider moving to unnamed namespace). pdns-recursor-4.9.4/gss_context.hh:186:8: note: Technically the member function 'GssContext::accept' can be static (but you may consider moving to unnamed namespace). pdns-recursor-4.9.4/gss_context.hh:187:8: performance:inconclusive: Technically the member function 'GssContext::destroy' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-recursor-4.9.4/gss_context.cc:42:18: note: Technically the member function 'GssContext::destroy' can be static (but you may consider moving to unnamed namespace). pdns-recursor-4.9.4/gss_context.hh:187:8: note: Technically the member function 'GssContext::destroy' can be static (but you may consider moving to unnamed namespace). pdns-recursor-4.9.4/gss_context.hh:188:8: performance:inconclusive: Technically the member function 'GssContext::expired' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-recursor-4.9.4/gss_context.cc:43:18: note: Technically the member function 'GssContext::expired' can be static (but you may consider moving to unnamed namespace). pdns-recursor-4.9.4/gss_context.hh:188:8: note: Technically the member function 'GssContext::expired' can be static (but you may consider moving to unnamed namespace). pdns-recursor-4.9.4/gss_context.hh:189:8: performance:inconclusive: Technically the member function 'GssContext::valid' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-recursor-4.9.4/gss_context.cc:44:18: note: Technically the member function 'GssContext::valid' can be static (but you may consider moving to unnamed namespace). pdns-recursor-4.9.4/gss_context.hh:189:8: note: Technically the member function 'GssContext::valid' can be static (but you may consider moving to unnamed namespace). pdns-recursor-4.9.4/gss_context.hh:191:8: performance:inconclusive: Technically the member function 'GssContext::sign' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-recursor-4.9.4/gss_context.cc:45:18: note: Technically the member function 'GssContext::sign' can be static (but you may consider moving to unnamed namespace). pdns-recursor-4.9.4/gss_context.hh:191:8: note: Technically the member function 'GssContext::sign' can be static (but you may consider moving to unnamed namespace). pdns-recursor-4.9.4/gss_context.hh:192:8: performance:inconclusive: Technically the member function 'GssContext::verify' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-recursor-4.9.4/gss_context.cc:46:18: note: Technically the member function 'GssContext::verify' can be static (but you may consider moving to unnamed namespace). pdns-recursor-4.9.4/gss_context.hh:192:8: note: Technically the member function 'GssContext::verify' can be static (but you may consider moving to unnamed namespace). pdns-recursor-4.9.4/gss_context.hh:194:19: performance:inconclusive: Technically the member function 'GssContext::getError' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-recursor-4.9.4/gss_context.cc:47:29: note: Technically the member function 'GssContext::getError' can be static (but you may consider moving to unnamed namespace). pdns-recursor-4.9.4/gss_context.hh:194:19: note: Technically the member function 'GssContext::getError' can be static (but you may consider moving to unnamed namespace). pdns-recursor-4.9.4/gss_context.cc:542:7: style: Condition '!gssctx.valid()' is always true [knownConditionTrueFalse] pdns-recursor-4.9.4/gss_context.cc:542:20: note: Calling function 'valid' returns 0 pdns-recursor-4.9.4/gss_context.cc:542:7: note: Condition '!gssctx.valid()' is always true pdns-recursor-4.9.4/gss_context.cc:551:7: style: Condition '!gssctx.sign(message,tmp_mac)' is always true [knownConditionTrueFalse] pdns-recursor-4.9.4/gss_context.cc:551:19: note: Calling function 'sign' returns 0 pdns-recursor-4.9.4/gss_context.cc:551:7: note: Condition '!gssctx.sign(message,tmp_mac)' is always true pdns-recursor-4.9.4/gss_context.cc:566:7: style: Condition '!gssctx.valid()' is always true [knownConditionTrueFalse] pdns-recursor-4.9.4/gss_context.cc:566:20: note: Calling function 'valid' returns 0 pdns-recursor-4.9.4/gss_context.cc:566:7: note: Condition '!gssctx.valid()' is always true pdns-recursor-4.9.4/gss_context.cc:575:7: style: Condition '!gssctx.verify(message,mac)' is always true [knownConditionTrueFalse] pdns-recursor-4.9.4/gss_context.cc:575:21: note: Calling function 'verify' returns 0 pdns-recursor-4.9.4/gss_context.cc:575:7: note: Condition '!gssctx.verify(message,mac)' is always true pdns-recursor-4.9.4/iputils.cc:60:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/iputils.cc:70:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/iputils.cc:115:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/iputils.cc:152:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/iputils.cc:256:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_IPV6 [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/iputils.cc:268:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/iputils.cc:292:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/iputils.cc:306:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable msghdr [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/iputils.cc:322:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sin_family [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/iputils.cc:354:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable msghdr [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/iputils.cc:444:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_PEEK [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/iputils.cc:519:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOL_SOCKET [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/iputils.cc:532:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SO_RCVBUF [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/iputils.cc:537:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SO_SNDBUF [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/iputils.cc:84:56: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/iputils.cc:113:27: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/iputils.cc:125:29: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/iputils.cc:257:34: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/iputils.cc:325:13: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/iputils.cc:331:13: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/iputils.cc:217:38: style: Parameter 'msgh' can be declared as pointer to const [constParameterPointer] pdns-recursor-4.9.4/iputils.cc:217:60: style: Parameter 'tv' can be declared as pointer to const [constParameterPointer] pdns-recursor-4.9.4/iputils.cc:257:29: style: Variable 'i' can be declared as pointer to const [constVariablePointer] pdns-recursor-4.9.4/ixfr.cc:47:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_type [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/ixfr.cc:164:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_STREAM [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/ixfr.cc:161:15: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/ixfr.cc:162:15: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/ixfr.cc:127:133: style:inconclusive: Function 'getIXFRDeltas' argument 3 names different: declaration 'sr' definition 'oursr'. [funcArgNamesDifferent] pdns-recursor-4.9.4/ixfr.hh:29:85: note: Function 'getIXFRDeltas' argument 3 names different: declaration 'sr' definition 'oursr'. pdns-recursor-4.9.4/ixfr.cc:127:133: note: Function 'getIXFRDeltas' argument 3 names different: declaration 'sr' definition 'oursr'. pdns-recursor-4.9.4/ixfr.cc:128:92: style:inconclusive: Function 'getIXFRDeltas' argument 5 names different: declaration 'totalTime' definition 'totalTimeout'. [funcArgNamesDifferent] pdns-recursor-4.9.4/ixfr.hh:30:98: note: Function 'getIXFRDeltas' argument 5 names different: declaration 'totalTime' definition 'totalTimeout'. pdns-recursor-4.9.4/ixfr.cc:128:92: note: Function 'getIXFRDeltas' argument 5 names different: declaration 'totalTime' definition 'totalTimeout'. pdns-recursor-4.9.4/json.hh:39:3: style: Class 'JsonException' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/kqueuemplexer.cc:91:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EVFILT_READ [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/kqueuemplexer.cc:107:86: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_ADD [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/kqueuemplexer.cc:127:86: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_DELETE [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/kqueuemplexer.cc:150:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/kqueuemplexer.cc:180:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/kqueuemplexer.cc:41:3: style: Class 'KqueueFDMultiplexer' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/kqueuemplexer.cc:42:4: style: The destructor '~KqueueFDMultiplexer' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] pdns-recursor-4.9.4/mplexer.hh:76:12: note: Virtual destructor in base class pdns-recursor-4.9.4/kqueuemplexer.cc:42:4: note: Destructor in derived class pdns-recursor-4.9.4/kqueuemplexer.cc:167:46: style:inconclusive: Function 'run' argument 1 names different: declaration 'tv' definition 'now'. [funcArgNamesDifferent] pdns-recursor-4.9.4/kqueuemplexer.cc:49:27: note: Function 'run' argument 1 names different: declaration 'tv' definition 'now'. pdns-recursor-4.9.4/kqueuemplexer.cc:167:46: note: Function 'run' argument 1 names different: declaration 'tv' definition 'now'. pdns-recursor-4.9.4/kqueuemplexer.cc:163:9: style: Consider using std::copy algorithm instead of a raw loop. [useStlAlgorithm] pdns-recursor-4.9.4/logger.cc:49:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DAEMON [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/logger.cc:123:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/logger.hh:60:8: style:inconclusive: Technically the member function 'Logger::log' can be const. [functionConst] pdns-recursor-4.9.4/logger.cc:53:14: note: Technically the member function 'Logger::log' can be const. pdns-recursor-4.9.4/logger.hh:60:8: note: Technically the member function 'Logger::log' can be const. pdns-recursor-4.9.4/logger.hh:147:14: performance:inconclusive: Technically the member function 'Logger::getPerThread' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-recursor-4.9.4/logger.cc:165:28: note: Technically the member function 'Logger::getPerThread' can be static (but you may consider moving to unnamed namespace). pdns-recursor-4.9.4/logger.hh:147:14: note: Technically the member function 'Logger::getPerThread' can be static (but you may consider moving to unnamed namespace). pdns-recursor-4.9.4/logging.cc:37:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _level [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/logging.cc:42:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable none [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/logging.cc:47:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable none [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/logging.cc:52:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Absent [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/logging.cc:61:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _level [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/logging.cc:93:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Absent [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/logging.cc:112:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _name [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/logging.cc:132:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _verbosity [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/logging.cc:137:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _verbosity [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/ext/luawrapper/include/LuaContext.hpp:1953:20: debug: Failed to instantiate template "PusherMaxSize". The checking continues anyway. [templateInstantiation] pdns-recursor-4.9.4/ext/luawrapper/include/LuaContext.hpp:1933:20: debug: Failed to instantiate template "PusherTotalMaxSize". The checking continues anyway. [templateInstantiation] pdns-recursor-4.9.4/ext/luawrapper/include/LuaContext.hpp:1927:20: debug: Failed to instantiate template "PusherTotalMinSize". The checking continues anyway. [templateInstantiation] pdns-recursor-4.9.4/ext/luawrapper/include/LuaContext.hpp:1964:20: debug: Failed to instantiate template "FunctionArgumentsCounter". The checking continues anyway. [templateInstantiation] pdns-recursor-4.9.4/ext/luawrapper/include/LuaContext.hpp:402:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TPointerToMemberFunction [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/ext/luawrapper/include/LuaContext.hpp:414:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/ext/luawrapper/include/LuaContext.hpp:428:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/ext/luawrapper/include/LuaContext.hpp:440:74: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TPointerToMemberFunction [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/ext/luawrapper/include/LuaContext.hpp:446:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/ext/luawrapper/include/LuaContext.hpp:453:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/ext/luawrapper/include/LuaContext.hpp:465:80: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TPointerToMemberFunction [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/ext/luawrapper/include/LuaContext.hpp:471:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/ext/luawrapper/include/LuaContext.hpp:478:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/ext/luawrapper/include/LuaContext.hpp:491:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/ext/luawrapper/include/LuaContext.hpp:544:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/ext/luawrapper/include/LuaContext.hpp:572:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/ext/luawrapper/include/LuaContext.hpp:600:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/ext/luawrapper/include/LuaContext.hpp:626:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/ext/luawrapper/include/LuaContext.hpp:732:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TData [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/ext/luawrapper/include/LuaContext.hpp:746:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TData [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/ext/luawrapper/include/LuaContext.hpp:757:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TData [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/ext/luawrapper/include/LuaContext.hpp:817:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable minSize [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/ext/luawrapper/include/LuaContext.hpp:844:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable minSize [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/ext/luawrapper/include/LuaContext.hpp:858:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable minSize [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/ext/luawrapper/include/LuaContext.hpp:868:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable minSize [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/ext/luawrapper/include/LuaContext.hpp:878:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable minSize [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/ext/luawrapper/include/LuaContext.hpp:889:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable minSize [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/ext/luawrapper/include/LuaContext.hpp:901:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable minSize [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/ext/luawrapper/include/LuaContext.hpp:950:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable minSize [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/ext/luawrapper/include/LuaContext.hpp:964:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable minSize [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/ext/luawrapper/include/LuaContext.hpp:974:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable minSize [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/ext/luawrapper/include/LuaContext.hpp:984:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable minSize [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/ext/luawrapper/include/LuaContext.hpp:995:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable minSize [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/ext/luawrapper/include/LuaContext.hpp:1022:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable minSize [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/ext/luawrapper/include/LuaContext.hpp:1032:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable minSize [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/ext/luawrapper/include/LuaContext.hpp:1042:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable minSize [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/ext/luawrapper/include/LuaContext.hpp:1096:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/ext/luawrapper/include/LuaContext.hpp:1146:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/ext/luawrapper/include/LuaContext.hpp:1161:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TObject [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/ext/luawrapper/include/LuaContext.hpp:1173:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TObject [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/ext/luawrapper/include/LuaContext.hpp:1179:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TObject [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/ext/luawrapper/include/LuaContext.hpp:1185:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TObject [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/ext/luawrapper/include/LuaContext.hpp:1191:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TObject [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/ext/luawrapper/include/LuaContext.hpp:1198:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/ext/luawrapper/include/LuaContext.hpp:1369:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_ERRMEM [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/ext/luawrapper/include/LuaContext.hpp:1389:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_ERRMEM [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/ext/luawrapper/include/LuaContext.hpp:1412:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/ext/luawrapper/include/LuaContext.hpp:1463:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_ERRMEM [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/ext/luawrapper/include/LuaContext.hpp:1780:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TFirstType [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/ext/luawrapper/include/LuaContext.hpp:1802:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TFirstType [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/ext/luawrapper/include/LuaContext.hpp:1817:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/ext/luawrapper/include/LuaContext.hpp:1825:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/ext/luawrapper/include/LuaContext.hpp:1832:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/ext/luawrapper/include/LuaContext.hpp:1983:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable params [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/ext/luawrapper/include/LuaContext.hpp:2148:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable minSize [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/ext/luawrapper/include/LuaContext.hpp:2167:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable minSize [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/ext/luawrapper/include/LuaContext.hpp:2186:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable minSize [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/ext/luawrapper/include/LuaContext.hpp:2205:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable minSize [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/ext/luawrapper/include/LuaContext.hpp:2295:99: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TFunctionObject [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/ext/luawrapper/include/LuaContext.hpp:2338:105: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TFunctionObject [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/ext/luawrapper/include/LuaContext.hpp:2608:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable none [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/ext/luawrapper/include/LuaContext.hpp:2634:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable none [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/ext/luawrapper/include/LuaContext.hpp:2662:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable none [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/ext/luawrapper/include/LuaContext.hpp:2677:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable none [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/ext/luawrapper/include/LuaContext.hpp:2705:92: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable none [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/ext/luawrapper/include/LuaContext.hpp:2720:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable none [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/ext/luawrapper/include/LuaContext.hpp:2736:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable none [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/ext/luawrapper/include/LuaContext.hpp:2754:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable none [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/ext/luawrapper/include/LuaContext.hpp:2766:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable none [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/ext/luawrapper/include/LuaContext.hpp:2804:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable none [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/ext/luawrapper/include/LuaContext.hpp:2842:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable none [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/ext/luawrapper/include/LuaContext.hpp:2884:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable none [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/ext/luawrapper/include/LuaContext.hpp:2922:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable none [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/ext/luawrapper/include/LuaContext.hpp:2965:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable none [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/ext/luawrapper/include/LuaContext.hpp:2992:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable none [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/lua-base4.cc:25:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/lua-base4.cc:113:119: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/ext/luawrapper/include/LuaContext.hpp:1533:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/ext/luawrapper/include/LuaContext.hpp:1737:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable none [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/lua-base4.cc:140:62: error:inconclusive: Returning object that points to local variable 'sin4' that will be invalid when returning. [returnDanglingLifetime] pdns-recursor-4.9.4/lua-base4.cc:140:63: note: Address of variable taken here. pdns-recursor-4.9.4/lua-base4.cc:140:63: note: Passed to constructor of 'ComboAddress'. pdns-recursor-4.9.4/lua-base4.cc:133:62: note: Variable created here. pdns-recursor-4.9.4/lua-base4.cc:140:62: note: Returning object that points to local variable 'sin4' that will be invalid when returning. pdns-recursor-4.9.4/lua-base4.cc:150:62: error:inconclusive: Returning object that points to local variable 'sin6' that will be invalid when returning. [returnDanglingLifetime] pdns-recursor-4.9.4/lua-base4.cc:150:63: note: Address of variable taken here. pdns-recursor-4.9.4/lua-base4.cc:150:63: note: Passed to constructor of 'ComboAddress'. pdns-recursor-4.9.4/lua-base4.cc:143:63: note: Variable created here. pdns-recursor-4.9.4/lua-base4.cc:150:62: note: Returning object that points to local variable 'sin6' that will be invalid when returning. pdns-recursor-4.9.4/ext/luawrapper/include/LuaContext.hpp:2886: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] pdns-recursor-4.9.4/ext/luawrapper/include/LuaContext.hpp:241:9: warning: Member variable 'ThreadID::state' is not initialized in the constructor. [uninitMemberVar] pdns-recursor-4.9.4/ext/luawrapper/include/LuaContext.hpp:1339:13: warning: Member variable 'Reader::buffer' is not initialized in the constructor. [uninitMemberVar] pdns-recursor-4.9.4/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] pdns-recursor-4.9.4/ext/luawrapper/include/LuaContext.hpp:183:9: style: Class 'ExecutionErrorException' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/ext/luawrapper/include/LuaContext.hpp:195:9: style: Class 'SyntaxErrorException' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/ext/luawrapper/include/LuaContext.hpp:231:9: style: Struct 'LuaObject' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/ext/luawrapper/include/LuaContext.hpp:779:9: style: Struct 'PushedObject' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/ext/luawrapper/include/LuaContext.hpp:1339:13: style: Struct 'Reader' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/ext/luawrapper/include/LuaContext.hpp:1813:9: style: Struct 'ValueInRegistry' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/lua-base4.cc:124:56: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/lua-base4.cc:127:24: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/lua-base4.cc:198:54: style: C-style reference casting [cstyleCast] pdns-recursor-4.9.4/lua-base4.cc:217:59: style: C-style reference casting [cstyleCast] pdns-recursor-4.9.4/lua-base4.cc:51:70: style: Parameter 'dh' can be declared as reference to const [constParameterReference] pdns-recursor-4.9.4/lua-base4.cc:52:71: style: Parameter 'dh' can be declared as reference to const [constParameterReference] pdns-recursor-4.9.4/lua-base4.cc:53:71: style: Parameter 'dh' can be declared as reference to const [constParameterReference] pdns-recursor-4.9.4/lua-base4.cc:54:71: style: Parameter 'dh' can be declared as reference to const [constParameterReference] pdns-recursor-4.9.4/lua-base4.cc:55:71: style: Parameter 'dh' can be declared as reference to const [constParameterReference] pdns-recursor-4.9.4/lua-base4.cc:56:71: style: Parameter 'dh' can be declared as reference to const [constParameterReference] pdns-recursor-4.9.4/lua-base4.cc:57:71: style: Parameter 'dh' can be declared as reference to const [constParameterReference] pdns-recursor-4.9.4/lua-base4.cc:58:73: style: Parameter 'dh' can be declared as reference to const [constParameterReference] pdns-recursor-4.9.4/lua-base4.cc:59:74: style: Parameter 'dh' can be declared as reference to const [constParameterReference] pdns-recursor-4.9.4/lua-base4.cc:60:75: style: Parameter 'dh' can be declared as reference to const [constParameterReference] pdns-recursor-4.9.4/lua-base4.cc:61:75: style: Parameter 'dh' can be declared as reference to const [constParameterReference] pdns-recursor-4.9.4/lua-base4.cc:62:75: style: Parameter 'dh' can be declared as reference to const [constParameterReference] pdns-recursor-4.9.4/lua-base4.cc:63:75: style: Parameter 'dh' can be declared as reference to const [constParameterReference] pdns-recursor-4.9.4/lua-base4.cc:99:90: style: Parameter 'rec' can be declared as reference to const [constParameterReference] pdns-recursor-4.9.4/lua-base4.cc:100:97: style: Parameter 'rec' can be declared as reference to const [constParameterReference] pdns-recursor-4.9.4/lua-base4.cc:101:91: style: Parameter 'rec' can be declared as reference to const [constParameterReference] pdns-recursor-4.9.4/lua-base4.cc:102:96: style: Parameter 'rec' can be declared as reference to const [constParameterReference] pdns-recursor-4.9.4/lua-base4.cc:103:89: style: Parameter 'rec' can be declared as reference to const [constParameterReference] pdns-recursor-4.9.4/lua-base4.cc:104:93: style: Parameter 'rec' can be declared as reference to const [constParameterReference] pdns-recursor-4.9.4/lua-base4.cc:105:89: style: Parameter 'rec' can be declared as reference to const [constParameterReference] pdns-recursor-4.9.4/lua-base4.cc:106:91: style: Parameter 'rec' can be declared as reference to const [constParameterReference] pdns-recursor-4.9.4/lua-base4.cc:107:92: style: Parameter 'rec' can be declared as reference to const [constParameterReference] pdns-recursor-4.9.4/lua-base4.cc:108:94: style: Parameter 'rec' can be declared as reference to const [constParameterReference] pdns-recursor-4.9.4/lua-base4.cc:109:86: style: Parameter 'rec' can be declared as reference to const [constParameterReference] pdns-recursor-4.9.4/lua-base4.cc:110:90: style: Parameter 'rec' can be declared as reference to const [constParameterReference] pdns-recursor-4.9.4/lua-base4.cc:259:10: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] pdns-recursor-4.9.4/lua-base4.cc:280:10: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] pdns-recursor-4.9.4/ext/luawrapper/include/LuaContext.hpp:105:31: style: Variable 'str' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec_channel.hh:83:3: debug: Failed to parse 'using func_t = void ( ) ;'. The checking continues anyway. [simplifyUsing] pdns-recursor-4.9.4/logr.hh:168:0: debug: Function::addArguments found argument 'map' with varid 0. [varid0] pdns-recursor-4.9.4/ext/luawrapper/include/LuaContext.hpp:1164:146: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TOtherParams [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/rec-eventtrace.hh:179:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLOCK_MONOTONIC [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/rec-eventtrace.hh:200:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/rec-eventtrace.hh:231:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLOCK_MONOTONIC [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/tcpiohandler.hh:165:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable memory_order_acquire [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/tcpiohandler.hh:263:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHUT_RDWR [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/tcpiohandler.hh:383:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/tcpiohandler.hh:440:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/rec-protozero.hh:40:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_response [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/rec-protozero.hh:46:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_response [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/rec-protozero.hh:62:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_message [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/rec-main.hh:300:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable iov_base [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/lua-recursor4.cc:172:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rcode [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/lua-recursor4.cc:1065:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/histogram.hh:122:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_count [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/histogram.hh:167:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_name [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/mtasker.cc:212:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable highestStackSeen [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/mtasker.cc:226:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable context [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/mtasker.cc:254:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable startOfStack [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/mtasker.cc:295:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable startOfStack [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/mtasker.cc:327:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable startOfStack [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/mtasker.cc:427:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable startOfStack [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/lazy_allocator.hh:79:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _SC_PAGESIZE [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/lazy_allocator.hh:128:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _SC_PAGESIZE [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/lua-recursor4.cc:780:3: error: Address of local auto-variable assigned to a function parameter. [autoVariables] pdns-recursor-4.9.4/lua-recursor4.cc:1093:3: error: Address of local auto-variable assigned to a function parameter. [autoVariables] pdns-recursor-4.9.4/lua-recursor4.cc:1131:7: error: Address of local auto-variable assigned to a function parameter. [autoVariables] pdns-recursor-4.9.4/rec-eventtrace.hh:159:8: style:inconclusive: Technically the member function 'RecEventTrace::setEnabled' can be const. [functionConst] pdns-recursor-4.9.4/negcache.hh:142:12: performance:inconclusive: Technically the member function 'NegCache::MapCombo::LockedContent::invalidate' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-recursor-4.9.4/logr.hh:168:8: performance:inconclusive: Technically the member function 'Logr::Logger::mapArguments' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-recursor-4.9.4/logr.hh:174:8: performance:inconclusive: Technically the member function 'Logr::Logger::mapArguments' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-recursor-4.9.4/snmp-agent.hh:33:8: performance:inconclusive: Technically the member function 'SNMPAgent::run' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-recursor-4.9.4/recpacketcache.hh:170:12: performance:inconclusive: Technically the member function 'RecursorPacketCache::MapCombo::LockedContent::invalidate' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-recursor-4.9.4/lua-recursor4.cc:151:17: style:inconclusive: Technically the member function 'DynMetric::get' can be const. [functionConst] pdns-recursor-4.9.4/histogram.hh:180:25: performance:inconclusive: Technically the member function 'BaseHistogram < Bucket , uint64_t >::to125' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-recursor-4.9.4/mtasker.hh:102:8: performance:inconclusive: Technically the member function 'MTasker < std :: shared_ptr < PacketID > , std :: vector < uint8_t , noinit_adaptor < std :: allocator < uint8_t > > > , PacketIDCompare >::initMainStackBounds' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-recursor-4.9.4/mtasker.hh:146:16: performance:inconclusive: Technically the member function 'MTasker < std :: shared_ptr < PacketID > , std :: vector < uint8_t , noinit_adaptor < std :: allocator < uint8_t > > > , PacketIDCompare >::getUsec' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-recursor-4.9.4/mtasker.cc:431:77: note: Technically the member function 'MTasker < std :: shared_ptr < PacketID > , std :: vector < uint8_t , noinit_adaptor < std :: allocator < uint8_t > > > , PacketIDCompare >::getUsec' can be static (but you may consider moving to unnamed namespace). pdns-recursor-4.9.4/mtasker.hh:146:16: note: Technically the member function 'MTasker < std :: shared_ptr < PacketID > , std :: vector < uint8_t , noinit_adaptor < std :: allocator < uint8_t > > > , PacketIDCompare >::getUsec' can be static (but you may consider moving to unnamed namespace). pdns-recursor-4.9.4/lazy_allocator.hh:60:3: performance:inconclusive: Technically the member function 'lazy_allocator < char >::allocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-recursor-4.9.4/lazy_allocator.hh:118:3: performance:inconclusive: Technically the member function 'lazy_allocator < char >::deallocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-recursor-4.9.4/lazy_allocator.hh:139:8: performance:inconclusive: Technically the member function 'lazy_allocator < char >::construct' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-recursor-4.9.4/iputils.hh:921:8: performance:inconclusive: Technically the member function 'NetmaskTree < int , Netmask >::cleanup_tree' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-recursor-4.9.4/iputils.hh:1047:12: style:inconclusive: Technically the member function 'NetmaskTree < int , Netmask >::end' can be const. [functionConst] pdns-recursor-4.9.4/iputils.hh:1014:10: style:inconclusive: Technically the member function 'NetmaskTree < int , Netmask >::Iterator::operator==' can be const. [functionConst] pdns-recursor-4.9.4/iputils.hh:1018:10: style:inconclusive: Technically the member function 'NetmaskTree < int , Netmask >::Iterator::operator!=' can be const. [functionConst] pdns-recursor-4.9.4/iputils.hh:921:8: performance:inconclusive: Technically the member function 'NetmaskTree < SortListOrder , Netmask >::cleanup_tree' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-recursor-4.9.4/iputils.hh:1047:12: style:inconclusive: Technically the member function 'NetmaskTree < SortListOrder , Netmask >::end' can be const. [functionConst] pdns-recursor-4.9.4/iputils.hh:1014:10: style:inconclusive: Technically the member function 'NetmaskTree < SortListOrder , Netmask >::Iterator::operator==' can be const. [functionConst] pdns-recursor-4.9.4/iputils.hh:1018:10: style:inconclusive: Technically the member function 'NetmaskTree < SortListOrder , Netmask >::Iterator::operator!=' can be const. [functionConst] pdns-recursor-4.9.4/iputils.hh:921:8: performance:inconclusive: Technically the member function 'NetmaskTree < ProxyByTableValue , Netmask >::cleanup_tree' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-recursor-4.9.4/iputils.hh:1047:12: style:inconclusive: Technically the member function 'NetmaskTree < ProxyByTableValue , Netmask >::end' can be const. [functionConst] pdns-recursor-4.9.4/iputils.hh:1014:10: style:inconclusive: Technically the member function 'NetmaskTree < ProxyByTableValue , Netmask >::Iterator::operator==' can be const. [functionConst] pdns-recursor-4.9.4/iputils.hh:1018:10: style:inconclusive: Technically the member function 'NetmaskTree < ProxyByTableValue , Netmask >::Iterator::operator!=' can be const. [functionConst] pdns-recursor-4.9.4/lua-recursor4.hh:226:5: style: Struct 'PostResolveFFIHandle' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/lwres.hh:58:3: style: Class 'LWResException' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/negcache.hh:57:3: style: Class 'NegCache' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/tcpiohandler.hh:143:3: style: Class 'TLSFrontend' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/syncres.hh:233:5: style: Struct 'EDNSStatus' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/syncres.hh:880:3: style: Class 'ImmediateServFailException' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/sortlist.hh:34:3: style: Struct 'SortListOrderCmp' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/zonemd.hh:53:3: style: Class 'ZoneMD' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/rec-protozero.hh:43:5: style: Class 'RecMessage' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/recpacketcache.hh:59:3: style: Class 'RecursorPacketCache' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/lua-recursor4.cc:677:3: style: Struct 'pdns_ffi_param' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/lua-recursor4.cc:1058:3: style: Struct 'pdns_postresolve_ffi_handle' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/tcounters.hh:131:3: style: Class 'TLocalCounters < Counters >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/mtasker.hh:127:3: style: Class 'MTasker < std :: shared_ptr < PacketID > , std :: vector < uint8_t , noinit_adaptor < std :: allocator < uint8_t > > > , PacketIDCompare >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/lua-recursor4.hh:76:4: style: The destructor '~RecursorLua4' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] pdns-recursor-4.9.4/lua-base4.hh:19:12: note: Virtual destructor in base class pdns-recursor-4.9.4/lua-recursor4.hh:76:4: note: Destructor in derived class pdns-recursor-4.9.4/tcpiohandler.hh:209:15: performance: Function 'getRequestedProvider()' should return member 'd_provider' by const reference. [returnByReference] pdns-recursor-4.9.4/rec-main.hh:419:15: performance: Function 'getName()' should return member 'name' by const reference. [returnByReference] pdns-recursor-4.9.4/histogram.hh:105:15: performance: Function 'getName()' should return member 'd_name' by const reference. [returnByReference] pdns-recursor-4.9.4/rec-main.hh:300:21: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/rec-main.hh:302:21: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/lua-recursor4.cc:354:61: style: C-style reference casting [cstyleCast] pdns-recursor-4.9.4/mtasker.cc:212:6: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/mtasker.cc:213:41: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/lua-recursor4.cc:122:80: style:inconclusive: Function 'setRecords' argument 1 names different: declaration 'records' definition 'recs'. [funcArgNamesDifferent] pdns-recursor-4.9.4/lua-recursor4.hh:127:57: note: Function 'setRecords' argument 1 names different: declaration 'records' definition 'recs'. pdns-recursor-4.9.4/lua-recursor4.cc:122:80: note: Function 'setRecords' argument 1 names different: declaration 'records' definition 'recs'. pdns-recursor-4.9.4/lua-recursor4.cc:975:71: style:inconclusive: Function 'pdns_ffi_param_set_routingtag' argument 2 names different: declaration 'name' definition 'rtag'. [funcArgNamesDifferent] pdns-recursor-4.9.4/lua-recursor4-ffi.hh:95:73: note: Function 'pdns_ffi_param_set_routingtag' argument 2 names different: declaration 'name' definition 'rtag'. pdns-recursor-4.9.4/lua-recursor4.cc:975:71: note: Function 'pdns_ffi_param_set_routingtag' argument 2 names different: declaration 'name' definition 'rtag'. pdns-recursor-4.9.4/tcounters.hh:222:8: style: Local variable 'sum' shadows outer function [shadowFunction] pdns-recursor-4.9.4/tcounters.hh:98:8: note: Shadowed declaration pdns-recursor-4.9.4/tcounters.hh:222:8: note: Shadow variable pdns-recursor-4.9.4/syncres.hh:880:37: performance: Function parameter 'r' should be passed by const reference. [passedByValue] pdns-recursor-4.9.4/lua-recursor4.cc:55:52: performance: Function parameter 'flag' should be passed by const reference. However it seems that 'getEDNSFlag' is a callback function. [passedByValueCallback] pdns-recursor-4.9.4/lua-recursor4.cc:250:55: note: Function pointer used here. pdns-recursor-4.9.4/lua-recursor4.cc:55:52: note: Function parameter 'flag' should be passed by const reference. However it seems that 'getEDNSFlag' is a callback function. pdns-recursor-4.9.4/syncres.hh:452:96: style: Parameter 'servers' can be declared as reference to const [constParameterReference] pdns-recursor-4.9.4/lua-recursor4.cc:187:21: style: Parameter 'dq' can be declared as reference to const [constParameterReference] pdns-recursor-4.9.4/lua-recursor4.cc:198:21: style: Parameter 'dq' can be declared as reference to const [constParameterReference] pdns-recursor-4.9.4/lua-recursor4.cc:326:101: style: Parameter 'dq' can be declared as reference to const [constParameterReference] pdns-recursor-4.9.4/lua-recursor4.cc:465:101: style: Parameter 'event' can be declared as reference to const [constParameterReference] pdns-recursor-4.9.4/lua-recursor4.cc:810:54: style: Parameter 'ref' can be declared as pointer to const [constParameterPointer] pdns-recursor-4.9.4/lua-recursor4.cc:829:53: style: Parameter 'ref' can be declared as pointer to const [constParameterPointer] pdns-recursor-4.9.4/lua-recursor4.cc:1218:80: style: Parameter 'ref' can be declared as pointer to const [constParameterPointer] pdns-recursor-4.9.4/lazy_allocator.hh:134:11: style: Variable 'basePointer' can be declared as pointer to const [constVariablePointer] pdns-recursor-4.9.4/zonemd.hh:72:33: performance: Searching before insertion is not necessary. Instead of 'd_rrsigs[requestedType]={}' consider using 'd_rrsigs.try_emplace(requestedType, {});'. [stlFindInsert] pdns-recursor-4.9.4/rec-tcounters.hh:267:12: style: Consider using std::fill algorithm instead of a raw loop. [useStlAlgorithm] pdns-recursor-4.9.4/rec-tcounters.hh:271:12: style: Consider using std::fill algorithm instead of a raw loop. [useStlAlgorithm] pdns-recursor-4.9.4/rec-tcounters.hh:277:14: style: Consider using std::fill algorithm instead of a raw loop. [useStlAlgorithm] pdns-recursor-4.9.4/rec-tcounters.hh:281:12: style: Consider using std::fill algorithm instead of a raw loop. [useStlAlgorithm] pdns-recursor-4.9.4/zonemd.hh:83:11: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] pdns-recursor-4.9.4/lua-recursor4.cc:76:0: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] pdns-recursor-4.9.4/lua-recursor4.cc:106:14: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] pdns-recursor-4.9.4/lua-recursor4.cc:118:9: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] pdns-recursor-4.9.4/lua-recursor4.cc:126:13: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] pdns-recursor-4.9.4/lua-recursor4.cc:263:16: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] pdns-recursor-4.9.4/lua-recursor4.cc:320:15: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] pdns-recursor-4.9.4/lua-recursor4.cc:376:10: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] pdns-recursor-4.9.4/lua-recursor4.cc:460:15: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] pdns-recursor-4.9.4/lua-recursor4.cc:632:30: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] pdns-recursor-4.9.4/lua-recursor4.cc:886:16: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] pdns-recursor-4.9.4/tcounters.hh:208:9: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] pdns-recursor-4.9.4/tcounters.hh:242:9: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] pdns-recursor-4.9.4/lwres.cc:72:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/lwres.cc:294:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timeval [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/lwres.cc:449:86: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable none [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/mtasker.hh:102:8: performance:inconclusive: Technically the member function 'MTasker::initMainStackBounds' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-recursor-4.9.4/mtasker.hh:145:12: style:inconclusive: Technically the member function 'MTasker::getMaxStackUsage' can be const. [functionConst] pdns-recursor-4.9.4/mtasker.cc:425:73: note: Technically the member function 'MTasker::getMaxStackUsage' can be const. pdns-recursor-4.9.4/mtasker.hh:145:12: note: Technically the member function 'MTasker::getMaxStackUsage' can be const. pdns-recursor-4.9.4/mtasker.hh:146:16: performance:inconclusive: Technically the member function 'MTasker::getUsec' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-recursor-4.9.4/mtasker.cc:431:77: note: Technically the member function 'MTasker::getUsec' can be static (but you may consider moving to unnamed namespace). pdns-recursor-4.9.4/mtasker.hh:146:16: note: Technically the member function 'MTasker::getUsec' can be static (but you may consider moving to unnamed namespace). pdns-recursor-4.9.4/mtasker.hh:127:3: style: Class 'MTasker' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/lwres.cc:474:20: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/lwres.cc:651:457: style:inconclusive: Function 'asyncresolve' argument 13 names different: declaration 'res' definition 'lwr'. [funcArgNamesDifferent] pdns-recursor-4.9.4/lwres.hh:91:457: note: Function 'asyncresolve' argument 13 names different: declaration 'res' definition 'lwr'. pdns-recursor-4.9.4/lwres.cc:651:457: note: Function 'asyncresolve' argument 13 names different: declaration 'res' definition 'lwr'. pdns-recursor-4.9.4/lwres.cc:158:340: style: Parameter 'srcmask' can be declared as reference to const [constParameterReference] pdns-recursor-4.9.4/lwres.cc:165:14: style: Variable 'logger' can be declared as reference to const [constVariableReference] pdns-recursor-4.9.4/lwres.cc:215:329: style: Parameter 'srcmask' can be declared as reference to const [constParameterReference] pdns-recursor-4.9.4/lwres.cc:222:14: style: Variable 'logger' can be declared as reference to const [constVariableReference] pdns-recursor-4.9.4/lwres.cc:166:31: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] pdns-recursor-4.9.4/lwres.cc:223:33: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] pdns-recursor-4.9.4/malloctrace.cc:107:9: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] pdns-recursor-4.9.4/minicurl.cc:39:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ATOMIC_FLAG_INIT [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/minicurl.cc:60:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CURLOPT_USERAGENT [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/minicurl.cc:109:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/minicurl.cc:138:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/minicurl.cc:206:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CURLINFO_RESPONSE_CODE [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/minicurl.cc:220:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CURLOPT_POSTFIELDSIZE [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/minicurl.cc:279:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CURLOPT_HTTPHEADER [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/minicurl.cc:55:3: warning: Class 'MiniCurl' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] pdns-recursor-4.9.4/minicurl.hh:46:3: style: Class 'MiniCurl' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/minicurl.cc:216:101: style: Parameter 'headers' can be declared as reference to const [constParameterReference] pdns-recursor-4.9.4/minicurl.cc:266:16: style: Variable 'header' can be declared as reference to const [constVariableReference] pdns-recursor-4.9.4/minicurl.cc:97:15: style: Variable 'us' can be declared as pointer to const [constVariablePointer] pdns-recursor-4.9.4/minicurl.cc:143:15: performance: Ineffective call of function 'substr' because a prefix of the string is assigned to itself. Use resize() or pop_back() instead. [uselessCallsSubstr] pdns-recursor-4.9.4/misc.cc:82:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/misc.cc:106:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/misc.cc:122:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timeval [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/misc.cc:185:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/misc.cc:383:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLIN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/misc.cc:412:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pollfd [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/misc.cc:446:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pollfd [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/misc.cc:511:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/misc.cc:549:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/misc.cc:683:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/misc.cc:696:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_LOCAL0 [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/misc.cc:734:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/misc.cc:792:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/misc.cc:823:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_un [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/misc.cc:859:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_ICASE [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/misc.cc:871:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/misc.cc:950:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RLIMIT_NOFILE [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/misc.cc:959:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RLIMIT_NOFILE [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/misc.cc:989:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/misc.cc:997:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/misc.cc:1013:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/misc.cc:1037:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/misc.cc:1049:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFD [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/misc.cc:1164:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOENT [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/misc.cc:1416:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RUSAGE_SELF [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/misc.cc:1446:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RUSAGE_SELF [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/misc.cc:1453:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RUSAGE_SELF [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/misc.cc:1576:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOSYS [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/misc.cc:1595:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/misc.cc:1625:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/misc.cc:1644:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/misc.cc:1664:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hex [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/misc.cc:1485:25: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] pdns-recursor-4.9.4/misc.cc:1514:24: portability: Non reentrant function 'getgrnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrnam_r'. [prohibitedgetgrnamCalled] pdns-recursor-4.9.4/misc.cc:102:20: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/misc.cc:129:28: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/misc.cc:761:44: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/misc.cc:890:12: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/misc.cc:982:21: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/misc.cc:1006:50: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/misc.cc:1726:45: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/misc.cc:1727:45: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/misc.cc:100:11: style: The scope of the variable 'res' can be reduced. [variableScope] pdns-recursor-4.9.4/misc.cc:74:20: style:inconclusive: Function 'writen2' argument 1 names different: declaration 'fd' definition 'fileDesc'. [funcArgNamesDifferent] pdns-recursor-4.9.4/misc.hh:169:20: note: Function 'writen2' argument 1 names different: declaration 'fd' definition 'fileDesc'. pdns-recursor-4.9.4/misc.cc:74:20: note: Function 'writen2' argument 1 names different: declaration 'fd' definition 'fileDesc'. pdns-recursor-4.9.4/misc.cc:403:87: style:inconclusive: Function 'waitForMultiData' argument 4 names different: declaration 'fd' definition 'fdOut'. [funcArgNamesDifferent] pdns-recursor-4.9.4/misc.hh:96:87: note: Function 'waitForMultiData' argument 4 names different: declaration 'fd' definition 'fdOut'. pdns-recursor-4.9.4/misc.cc:403:87: note: Function 'waitForMultiData' argument 4 names different: declaration 'fd' definition 'fdOut'. pdns-recursor-4.9.4/misc.cc:867:59: style:inconclusive: Function 'addCMsgSrcAddr' argument 2 names different: declaration 'cbuf' definition 'cmsgbuf'. [funcArgNamesDifferent] pdns-recursor-4.9.4/misc.hh:573:59: note: Function 'addCMsgSrcAddr' argument 2 names different: declaration 'cbuf' definition 'cmsgbuf'. pdns-recursor-4.9.4/misc.cc:867:59: note: Function 'addCMsgSrcAddr' argument 2 names different: declaration 'cbuf' definition 'cmsgbuf'. pdns-recursor-4.9.4/misc.cc:1485:19: style: Variable 'pwd' can be declared as pointer to const [constVariablePointer] pdns-recursor-4.9.4/misc.cc:1514:18: style: Variable 'grp' can be declared as pointer to const [constVariablePointer] pdns-recursor-4.9.4/mtasker.cc:209:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Answer [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/mtasker.cc:246:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Answer [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/mtasker_ucontext.cc:120:9: portability: Obsolescent function 'swapcontext' called. Applications are recommended to be rewritten to use POSIX threads. [prohibitedswapcontextCalled] pdns-recursor-4.9.4/mtasker_ucontext.cc:136:9: portability: Obsolescent function 'getcontext' called. Applications are recommended to be rewritten to use POSIX threads. [prohibitedgetcontextCalled] pdns-recursor-4.9.4/negcache.cc:312:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRId64 [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/stat_t.hh:48:12: style:inconclusive: Technically the member function 'pdns::stat_t_trait::operator++' can be const. [functionConst] pdns-recursor-4.9.4/stat_t.hh:54:12: style:inconclusive: Technically the member function 'pdns::stat_t_trait::operator--' can be const. [functionConst] pdns-recursor-4.9.4/stat_t.hh:38:5: style: Class 'stat_t_trait' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/negcache.cc:291:5: error: Resource handle 'newfd' freed twice. [doubleFree] pdns-recursor-4.9.4/negcache.cc:289:51: note: Resource handle 'newfd' freed twice. pdns-recursor-4.9.4/negcache.cc:291:5: note: Resource handle 'newfd' freed twice. pdns-recursor-4.9.4/negcache.cc:100:126: style:inconclusive: Function 'get' argument 6 names different: declaration 'serverStale' definition 'serveStale'. [funcArgNamesDifferent] pdns-recursor-4.9.4/negcache.hh:97:126: note: Function 'get' argument 6 names different: declaration 'serverStale' definition 'serveStale'. pdns-recursor-4.9.4/negcache.cc:100:126: note: Function 'get' argument 6 names different: declaration 'serverStale' definition 'serveStale'. pdns-recursor-4.9.4/negcache.cc:235:43: style:inconclusive: Function 'wipeTyped' argument 1 names different: declaration 'name' definition 'qname'. [funcArgNamesDifferent] pdns-recursor-4.9.4/negcache.hh:105:35: note: Function 'wipeTyped' argument 1 names different: declaration 'name' definition 'qname'. pdns-recursor-4.9.4/negcache.cc:235:43: note: Function 'wipeTyped' argument 1 names different: declaration 'name' definition 'qname'. pdns-recursor-4.9.4/negcache.cc:40:10: style: Local variable 'count' shadows outer function [shadowFunction] pdns-recursor-4.9.4/negcache.hh:99:10: note: Shadowed declaration pdns-recursor-4.9.4/negcache.cc:40:10: note: Shadow variable pdns-recursor-4.9.4/negcache.cc:74:67: style: Parameter 'entry' can be declared as reference to const [constParameterReference] pdns-recursor-4.9.4/negcache.cc:308:11: style: Variable 'sidx' can be declared as reference to const [constVariableReference] pdns-recursor-4.9.4/negcache.cc:42:11: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] pdns-recursor-4.9.4/nod.cc:75:109: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/stable-bloom.hh:141:16: performance:inconclusive: Technically the member function 'bf::stableBF::optimalK' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-recursor-4.9.4/nod.hh:50:3: style: Class 'PersistentSBF' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/nod.hh:83:3: style: Class 'NODDB' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/nod.hh:117:3: style: Class 'UniqueResponseDB' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/noinitvector.hh:24:3: style: Struct 'noinit_adaptor < std :: allocator < uint32_t > >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/noinitvector.hh:27:3: style: Struct 'noinit_adaptor < std :: allocator < uint32_t > >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/stable-bloom.hh:92:14: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/stable-bloom.hh:94:14: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/stable-bloom.hh:95:14: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/stable-bloom.hh:99:14: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/stable-bloom.hh:100:14: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/stable-bloom.hh:109:13: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/stable-bloom.hh:113:13: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/stable-bloom.hh:118:13: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/stable-bloom.hh:122:13: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/stable-bloom.hh:61:16: style: Variable 'i' can be declared as reference to const [constVariableReference] pdns-recursor-4.9.4/stable-bloom.hh:68:16: style: Variable 'i' can be declared as reference to const [constVariableReference] pdns-recursor-4.9.4/stable-bloom.hh:78:16: style: Variable 'i' can be declared as reference to const [constVariableReference] pdns-recursor-4.9.4/stable-bloom.hh:85:16: style: Variable 'i' can be declared as reference to const [constVariableReference] pdns-recursor-4.9.4/stable-bloom.hh:69:0: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] pdns-recursor-4.9.4/stable-bloom.hh:79:51: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] pdns-recursor-4.9.4/nod.cc:145:23: style: Unused variable: ofile [unusedVariable] pdns-recursor-4.9.4/nsecrecords.cc:30:3: style: Class 'NSECBitmapGenerator' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/opensslsigners.cc:198:89: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BN_clear_free [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/opensslsigners.cc:332:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BN_clear_free [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/opensslsigners.cc:399:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSA_free [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/opensslsigners.cc:632:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHA_DIGEST_LENGTH [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/opensslsigners.cc:672:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHA_DIGEST_LENGTH [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/opensslsigners.cc:701:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NID_sha1 [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/opensslsigners.cc:867:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSA_free [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/opensslsigners.cc:954:174: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BN_clear_free [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/opensslsigners.cc:211:24: style: Virtual function 'getName' is called from constructor 'OpenSSLRSADNSCryptoKeyEngine(int algo)' at line 303. Dynamic binding is not used. [virtualCallInConstructor] pdns-recursor-4.9.4/opensslsigners.cc:303:25: note: Calling getName pdns-recursor-4.9.4/opensslsigners.cc:211:24: note: getName is a virtual function pdns-recursor-4.9.4/opensslsigners.cc:184:21: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/opensslsigners.cc:187:14: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/opensslsigners.cc:782:35: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/opensslsigners.cc:818:22: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/pdns_recursor.cc:108:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/pdns_recursor.cc:152:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_DGRAM [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/pdns_recursor.cc:234:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_DGRAM [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/pdns_recursor.cc:307:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/pdns_recursor.cc:502:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable counts [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/pdns_recursor.cc:852:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/pdns_recursor.cc:1080:191: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable none [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/pdns_recursor.cc:1974:93: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable content [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/pdns_recursor.cc:2102:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/pdns_recursor.cc:2379:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/pdns_recursor.cc:2594:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_DGRAM [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/pdns_recursor.cc:2694:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/pdns_recursor.cc:2720:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hash < Netmask > [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/pdns_recursor.cc:457:3: style: Class 'RunningResolveGuard' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/pdns_recursor.cc:107:21: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/pdns_recursor.cc:214:59: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/pdns_recursor.cc:1709:51: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/pdns_recursor.cc:1724:41: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/pdns_recursor.cc:2235:43: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/pdns_recursor.cc:2355:34: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/pdns_recursor.cc:2536:31: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/pdns_recursor.cc:2662:27: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/pdns_recursor.cc:1468:14: style: The scope of the variable 'udr' can be reduced. [variableScope] pdns-recursor-4.9.4/pdns_recursor.cc:1542:16: style: The scope of the variable 'remaining' can be reduced. [variableScope] pdns-recursor-4.9.4/pdns_recursor.cc:2105:10: style: The scope of the variable 'response' can be reduced. [variableScope] pdns-recursor-4.9.4/pdns_recursor.cc:2362:11: style: The scope of the variable 'len' can be reduced. [variableScope] pdns-recursor-4.9.4/pdns_recursor.cc:2376:10: style: The scope of the variable 'proxyProto' can be reduced. [variableScope] pdns-recursor-4.9.4/pdns_recursor.cc:267:46: style:inconclusive: Function 'asendto' argument 4 names different: declaration 'ip' definition 'toaddr'. [funcArgNamesDifferent] pdns-recursor-4.9.4/lwres.hh:86:87: note: Function 'asendto' argument 4 names different: declaration 'ip' definition 'toaddr'. pdns-recursor-4.9.4/pdns_recursor.cc:267:46: note: Function 'asendto' argument 4 names different: declaration 'ip' definition 'toaddr'. pdns-recursor-4.9.4/pdns_recursor.cc:318:87: style:inconclusive: Function 'arecvfrom' argument 3 names different: declaration 'ip' definition 'fromaddr'. [funcArgNamesDifferent] pdns-recursor-4.9.4/lwres.hh:88:81: note: Function 'arecvfrom' argument 3 names different: declaration 'ip' definition 'fromaddr'. pdns-recursor-4.9.4/pdns_recursor.cc:318:87: note: Function 'arecvfrom' argument 3 names different: declaration 'ip' definition 'fromaddr'. pdns-recursor-4.9.4/pdns_recursor.cc:2746:44: style:inconclusive: Function 'distributeAsyncFunction' argument 1 names different: declaration 'question' definition 'packet'. [funcArgNamesDifferent] pdns-recursor-4.9.4/syncres.hh:912:49: note: Function 'distributeAsyncFunction' argument 1 names different: declaration 'question' definition 'packet'. pdns-recursor-4.9.4/pdns_recursor.cc:2746:44: note: Function 'distributeAsyncFunction' argument 1 names different: declaration 'question' definition 'packet'. pdns-recursor-4.9.4/pdns_recursor.cc:713:40: style: Parameter 'rr' can be declared as reference to const [constParameterReference] pdns-recursor-4.9.4/pdns_recursor.cc:748:31: style: Parameter 'rr' can be declared as reference to const [constParameterReference] pdns-recursor-4.9.4/pdns_recursor.cc:2677:9: style: Variable 'targetInfo' can be declared as reference to const [constVariableReference] pdns-recursor-4.9.4/pdns_recursor.cc:2784:50: style: Parameter 'iter' can be declared as reference to const [constParameterReference] pdns-recursor-4.9.4/pdns_recursor.cc:2709:14: style: Variable 'mt' can be declared as pointer to const [constVariablePointer] pdns-recursor-4.9.4/pdns_recursor.cc:416:12: style: Consider using std::copy_if algorithm instead of a raw loop. [useStlAlgorithm] pdns-recursor-4.9.4/pdns_recursor.cc:705:9: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] pdns-recursor-4.9.4/pollmplexer.cc:70:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLIN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/pollmplexer.cc:115:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/pollmplexer.cc:141:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/pollmplexer.cc:31:3: style: Class 'PollFDMultiplexer' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/pollmplexer.cc:33:4: style: The destructor '~PollFDMultiplexer' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] pdns-recursor-4.9.4/mplexer.hh:76:12: note: Virtual destructor in base class pdns-recursor-4.9.4/pollmplexer.cc:33:4: note: Destructor in derived class pdns-recursor-4.9.4/pollmplexer.cc:126:44: style:inconclusive: Function 'run' argument 1 names different: declaration 'tv' definition 'now'. [funcArgNamesDifferent] pdns-recursor-4.9.4/pollmplexer.cc:37:27: note: Function 'run' argument 1 names different: declaration 'tv' definition 'now'. pdns-recursor-4.9.4/pollmplexer.cc:126:44: note: Function 'run' argument 1 names different: declaration 'tv' definition 'now'. pdns-recursor-4.9.4/pollmplexer.cc:100:12: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] pdns-recursor-4.9.4/portsmplexer.cc:68:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLIN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/portsmplexer.cc:79:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PORT_SOURCE_FD [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/portsmplexer.cc:86:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PORT_SOURCE_FD [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/portsmplexer.cc:105:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/portsmplexer.cc:166:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/portsmplexer.cc:20:3: style: Class 'PortsFDMultiplexer' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/portsmplexer.cc:21:4: style: The destructor '~PortsFDMultiplexer' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] pdns-recursor-4.9.4/mplexer.hh:76:12: note: Virtual destructor in base class pdns-recursor-4.9.4/portsmplexer.cc:21:4: note: Destructor in derived class pdns-recursor-4.9.4/portsmplexer.cc:148:45: style:inconclusive: Function 'run' argument 1 names different: declaration 'tv' definition 'now'. [funcArgNamesDifferent] pdns-recursor-4.9.4/portsmplexer.cc:26:27: note: Function 'run' argument 1 names different: declaration 'tv' definition 'now'. pdns-recursor-4.9.4/portsmplexer.cc:148:45: note: Function 'run' argument 1 names different: declaration 'tv' definition 'now'. pdns-recursor-4.9.4/protozero.cc:30:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/protozero.cc:43:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/protozero.hh:238:12: performance:inconclusive: Technically the member function 'pdns::ProtoZero::Message::encodeDNSName' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-recursor-4.9.4/protozero.cc:52:32: note: Technically the member function 'pdns::ProtoZero::Message::encodeDNSName' can be static (but you may consider moving to unnamed namespace). pdns-recursor-4.9.4/protozero.hh:238:12: note: Technically the member function 'pdns::ProtoZero::Message::encodeDNSName' can be static (but you may consider moving to unnamed namespace). pdns-recursor-4.9.4/protozero.cc:109:10: style: Variable 'rrname' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/protozero.cc:118:14: style: Variable 'rrname' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/proxy-protocol.cc:120:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s_addr [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/proxy-protocol.cc:124:11: style: The scope of the variable 'protocol' can be reduced. [variableScope] pdns-recursor-4.9.4/query-local-address.cc:35:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/query-local-address.cc:59:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/query-local-address.cc:92:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/query-local-address.cc:61:34: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] pdns-recursor-4.9.4/query-local-address.cc:68:34: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] pdns-recursor-4.9.4/rcpgenerator.cc:65:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/rcpgenerator.cc:198:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/rcpgenerator.cc:738:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/rcpgenerator.cc:855:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/rcpgenerator.hh:76:8: style:inconclusive: Technically the member function 'RecordTextReader::eof' can be const. [functionConst] pdns-recursor-4.9.4/rcpgenerator.cc:229:24: note: Technically the member function 'RecordTextReader::eof' can be const. pdns-recursor-4.9.4/rcpgenerator.hh:76:8: note: Technically the member function 'RecordTextReader::eof' can be const. pdns-recursor-4.9.4/rcpgenerator.cc:239:9: style: Condition 'val!=tmp' is always false [knownConditionTrueFalse] pdns-recursor-4.9.4/rcpgenerator.cc:238:6: note: val is assigned 'tmp' here. pdns-recursor-4.9.4/rcpgenerator.cc:239:9: note: Condition 'val!=tmp' is always false pdns-recursor-4.9.4/rcpgenerator.cc:248:9: style: Condition 'val!=tmp' is always false [knownConditionTrueFalse] pdns-recursor-4.9.4/rcpgenerator.cc:247:6: note: val is assigned 'tmp' here. pdns-recursor-4.9.4/rcpgenerator.cc:248:9: note: Condition 'val!=tmp' is always false pdns-recursor-4.9.4/rcpgenerator.cc:615:6: style: Condition '!val.empty()' is always false [knownConditionTrueFalse] pdns-recursor-4.9.4/rcpgenerator.cc:202:21: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/rcpgenerator.cc:212:46: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/rcpgenerator.cc:417:25: style: The scope of the variable 'len' can be reduced. [variableScope] pdns-recursor-4.9.4/rcpgenerator.cc:798:63: style:inconclusive: Function 'xfrBlobNoSpaces' argument 2 names different: declaration 'len' definition 'size'. [funcArgNamesDifferent] pdns-recursor-4.9.4/rcpgenerator.hh:105:47: note: Function 'xfrBlobNoSpaces' argument 2 names different: declaration 'len' definition 'size'. pdns-recursor-4.9.4/rcpgenerator.cc:798:63: note: Function 'xfrBlobNoSpaces' argument 2 names different: declaration 'len' definition 'size'. pdns-recursor-4.9.4/rcpgenerator.cc:744:78: style: Parameter 'val' can be declared as reference to const [constParameterReference] pdns-recursor-4.9.4/rcpgenerator.cc:754:48: style: Parameter 'val' can be declared as reference to const [constParameterReference] pdns-recursor-4.9.4/rec-carbon.cc:45:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_STREAM [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/rec-lua-conf.cc:883:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/rec-lua-conf.cc:901:20: style: Local variable 'rpzPrimary' shadows outer function [shadowFunction] pdns-recursor-4.9.4/rec-lua-conf.cc:268:13: note: Shadowed declaration pdns-recursor-4.9.4/rec-lua-conf.cc:901:20: note: Shadow variable pdns-recursor-4.9.4/rec-lua-conf.cc:815:98: performance: Function parameter 'targetqtypes' should be passed by const reference. [passedByValue] pdns-recursor-4.9.4/rec-lua-conf.cc:285:17: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] pdns-recursor-4.9.4/rec-lua-conf.cc:340:70: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] pdns-recursor-4.9.4/rec-lua-conf.cc:562:39: error: Uninitialized struct member: conf.d_local [uninitStructMember] pdns-recursor-4.9.4/webserver.hh:116:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable headers [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/rec-main.cc:140:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/rec-main.cc:177:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_slogStructured [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/rec-main.cc:345:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/rec-main.cc:478:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/rec-main.cc:551:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/rec-main.cc:711:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable app [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/rec-main.cc:819:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/rec-main.cc:1065:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_slogStructured [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/rec-main.cc:1159:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/rec-main.cc:1435:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/rec-main.cc:1518:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_slogStructured [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/rec-main.cc:1547:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_slogStructured [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/rec-main.cc:1658:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/rec-main.cc:1780:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/rec-main.cc:1845:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/rec-main.cc:2280:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable last_run [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/rec-main.cc:2300:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable last_run [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/rec-main.cc:2305:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tv_sec [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/rec-main.cc:2874:86: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SYSCONFDIR [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/rec-main.cc:3111:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/rec-main.cc:3157:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/rec-tcpout.hh:63:13: performance:inconclusive: Technically the member function 'TCPOutConnectionManager::getSize' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-recursor-4.9.4/webserver.hh:97:16: style:inconclusive: Technically the member function 'HttpException::response' can be const. [functionConst] pdns-recursor-4.9.4/rec-main.cc:2278:8: style:inconclusive: Technically the member function 'PeriodicTask::runIfDue' can be const. [functionConst] pdns-recursor-4.9.4/rec-main.cc:2298:8: performance:inconclusive: Technically the member function 'PeriodicTask::updateLastRun' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-recursor-4.9.4/rec-main.cc:2303:22: performance:inconclusive: Technically the member function 'PeriodicTask::hasRun' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-recursor-4.9.4/ws-recursor.hh:56:8: warning: The class 'AsyncWebServer' defines member function with name 'go' also defined in its parent class 'WebServer'. [duplInheritedMember] pdns-recursor-4.9.4/webserver.hh:219:8: note: Parent function 'WebServer::go' pdns-recursor-4.9.4/ws-recursor.hh:56:8: note: Derived function 'AsyncWebServer::go' pdns-recursor-4.9.4/ws-recursor.hh:60:8: warning: The class 'AsyncWebServer' defines member function with name 'serveConnection' also defined in its parent class 'WebServer'. [duplInheritedMember] pdns-recursor-4.9.4/webserver.hh:221:8: note: Parent function 'WebServer::serveConnection' pdns-recursor-4.9.4/ws-recursor.hh:60:8: note: Derived function 'AsyncWebServer::serveConnection' pdns-recursor-4.9.4/webserver.hh:38:3: style: Class 'HttpRequest' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/webserver.hh:65:3: style: Class 'HttpResponse' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/webserver.hh:87:3: style: Class 'HttpException' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/webserver.hh:109:3: style: Class 'HttpBadRequestException' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/webserver.hh:114:3: style: Class 'HttpUnauthorizedException' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/webserver.hh:123:3: style: Class 'HttpForbiddenException' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/webserver.hh:129:3: style: Class 'HttpNotFoundException' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/webserver.hh:135:3: style: Class 'HttpMethodNotAllowedException' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/webserver.hh:141:3: style: Class 'HttpConflictException' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/webserver.hh:147:3: style: Class 'HttpInternalServerErrorException' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/webserver.hh:153:3: style: Class 'ApiException' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/rec-main.cc:1038:17: style: The scope of the variable 'lastOutputTime' can be reduced. [variableScope] pdns-recursor-4.9.4/rec-main.cc:1039:19: style: The scope of the variable 'lastQueryCount' can be reduced. [variableScope] pdns-recursor-4.9.4/rec-main.cc:204:40: style:inconclusive: Function 'start' argument 1 names different: declaration 'id' definition 'tid'. [funcArgNamesDifferent] pdns-recursor-4.9.4/rec-main.hh:491:27: note: Function 'start' argument 1 names different: declaration 'id' definition 'tid'. pdns-recursor-4.9.4/rec-main.cc:204:40: note: Function 'start' argument 1 names different: declaration 'id' definition 'tid'. pdns-recursor-4.9.4/rec-main.cc:204:59: style:inconclusive: Function 'start' argument 2 names different: declaration 'name' definition 'tname'. [funcArgNamesDifferent] pdns-recursor-4.9.4/rec-main.hh:491:45: note: Function 'start' argument 2 names different: declaration 'name' definition 'tname'. pdns-recursor-4.9.4/rec-main.cc:204:59: note: Function 'start' argument 2 names different: declaration 'name' definition 'tname'. pdns-recursor-4.9.4/rec-main.cc:523:94: style:inconclusive: Function 'protobufLogResponse' argument 4 names different: declaration 'tv' definition 'tval'. [funcArgNamesDifferent] pdns-recursor-4.9.4/rec-main.hh:537:94: note: Function 'protobufLogResponse' argument 4 names different: declaration 'tv' definition 'tval'. pdns-recursor-4.9.4/rec-main.cc:523:94: note: Function 'protobufLogResponse' argument 4 names different: declaration 'tv' definition 'tval'. pdns-recursor-4.9.4/rec-main.cc:234:11: style: Local variable 'info' shadows outer function [shadowFunction] pdns-recursor-4.9.4/rec-main.hh:348:25: note: Shadowed declaration pdns-recursor-4.9.4/rec-main.cc:234:11: note: Shadow variable pdns-recursor-4.9.4/rec-main.cc:290:11: style: Local variable 'info' shadows outer function [shadowFunction] pdns-recursor-4.9.4/rec-main.hh:348:25: note: Shadowed declaration pdns-recursor-4.9.4/rec-main.cc:290:11: note: Shadow variable pdns-recursor-4.9.4/rec-main.cc:258:13: style: Local variable 'info' shadows outer function [shadowFunction] pdns-recursor-4.9.4/rec-main.hh:348:25: note: Shadowed declaration pdns-recursor-4.9.4/rec-main.cc:258:13: note: Shadow variable pdns-recursor-4.9.4/rec-main.cc:263:13: style: Local variable 'info' shadows outer function [shadowFunction] pdns-recursor-4.9.4/rec-main.hh:348:25: note: Shadowed declaration pdns-recursor-4.9.4/rec-main.cc:263:13: note: Shadow variable pdns-recursor-4.9.4/rec-main.cc:272:15: style: Local variable 'info' shadows outer function [shadowFunction] pdns-recursor-4.9.4/rec-main.hh:348:25: note: Shadowed declaration pdns-recursor-4.9.4/rec-main.cc:272:15: note: Shadow variable pdns-recursor-4.9.4/rec-main.cc:280:13: style: Local variable 'info' shadows outer function [shadowFunction] pdns-recursor-4.9.4/rec-main.hh:348:25: note: Shadowed declaration pdns-recursor-4.9.4/rec-main.cc:280:13: note: Shadow variable pdns-recursor-4.9.4/rec-main.cc:285:13: style: Local variable 'info' shadows outer function [shadowFunction] pdns-recursor-4.9.4/rec-main.hh:348:25: note: Shadowed declaration pdns-recursor-4.9.4/rec-main.cc:285:13: note: Shadow variable pdns-recursor-4.9.4/rec-main.cc:414:60: style: Parameter 'luaconfsLocal' can be declared as reference to const [constParameterReference] pdns-recursor-4.9.4/rec-main.cc:441:68: style: Parameter 'luaconfsLocal' can be declared as reference to const [constParameterReference] pdns-recursor-4.9.4/rec-main.cc:468:57: style: Parameter 'luaconfsLocal' can be declared as reference to const [constParameterReference] pdns-recursor-4.9.4/rec-main.cc:522:92: style: Parameter 'luaconfsLocal' can be declared as reference to const [constParameterReference] pdns-recursor-4.9.4/rec-main.cc:2528:46: style: Parameter 'threadInfo' can be declared as reference to const [constParameterReference] pdns-recursor-4.9.4/rec-main.cc:2553:46: style: Parameter 'threadInfo' can be declared as reference to const [constParameterReference] pdns-recursor-4.9.4/rec-main.cc:857:24: style: Variable '::arg().set("quiet")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2026:26: style: Variable '::arg().set("quiet")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2150:30: style: Variable '::arg().set("server-id")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2816:55: style: Variable '::arg().set("stack-size","stack size per mthread")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2818:75: style: Variable '::arg().set("stack-cache-size","Size of the stack cache, per mthread")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2820:74: style: Variable '::arg().setSwitch("devonly-regression-test-mode","internal use only")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2821:50: style: Variable '::arg().set("soa-minimum-ttl","Don't change")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2822:45: style: Variable '::arg().set("no-shuffle","Don't change")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2823:50: style: Variable '::arg().set("local-port","port to listen on")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2824:113: style: Variable '::arg().set("local-address","IP addresses to listen on, separated by spaces or commas. Also accepts ports.")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2825:123: style: Variable '::arg().setSwitch("non-local-bind","Enable binding to non-local addresses by using FREEBIND / BINDANY socket options")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2826:107: style: Variable '::arg().set("trace","if we should output heaps of logging. set to 'fail' to only log failing domains")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2827:101: style: Variable '::arg().set("dnssec","DNSSEC mode: off/process-no-validate/process (default)/log-fail/validate")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2828:67: style: Variable '::arg().set("dnssec-log-bogus","Log DNSSEC bogus validations")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2829:112: style: Variable '::arg().set("signature-inception-skew","Allow the signature inception to be off by this number of seconds")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2830:113: style: Variable '::arg().set("dnssec-disabled-algorithms","List of DNSSEC algorithm numbers that are considered unsupported")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2831:48: style: Variable '::arg().set("daemon","Operate as a daemon")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2832:54: style: Variable '::arg().setSwitch("write-pid","Write a PID file")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2833:84: style: Variable '::arg().set("loglevel","Amount of logging. Higher is more. Do not set below 3")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2834:120: style: Variable '::arg().set("disable-syslog","Disable logging to syslog, useful when running inside a supervisor that logs stdout")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2835:140: style: Variable '::arg().set("log-timestamp","Print timestamps in log lines, useful to disable when running with a tool that timestamps stdout already")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2836:77: style: Variable '::arg().set("log-common-errors","If we should log rather common errors")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2837:50: style: Variable '::arg().set("chroot","switch to chroot jail")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2844:5: style: Variable '::arg().set("setgid","If set, change group id to this gid for more security")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2850:5: style: Variable '::arg().set("setuid","If set, change user id to this uid for more security")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2851:86: style: Variable '::arg().set("network-timeout","Wait this number of milliseconds for network i/o")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2852:59: style: Variable '::arg().set("threads","Launch this number of threads")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2853:122: style: Variable '::arg().set("distributor-threads","Launch this number of distributor threads, distributing queries to other threads")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2854:93: style: Variable '::arg().set("processes","Launch this number of processes (EXPERIMENTAL, DO NOT CHANGE)")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2855:99: style: Variable '::arg().set("config-name","Name of this virtual configuration - will rename the binary image")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2856:85: style: Variable '::arg().set("api-config-dir","Directory where REST API stores config and zones")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2857:93: style: Variable '::arg().set("api-key","Static pre-shared authentication key for access to the REST API")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2858:70: style: Variable '::arg().setSwitch("webserver","Start a webserver (for REST API)")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2859:76: style: Variable '::arg().set("webserver-address","IP Address of webserver to listen on")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2860:67: style: Variable '::arg().set("webserver-port","Port of webserver to listen on")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2861:86: style: Variable '::arg().set("webserver-password","Password required for accessing the webserver")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2862:94: style: Variable '::arg().set("webserver-allow-from","Webserver access is only allowed from these subnets")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2863:100: style: Variable '::arg().set("webserver-loglevel","Amount of logging in the webserver (none, normal, detailed)")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2864:188: style: Variable '::arg().setSwitch("webserver-hash-plaintext-credentials","Whether to hash passwords and api keys supplied in plaintext, to prevent keeping the plaintext version in memory at runtime")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2865:93: style: Variable '::arg().set("carbon-ourname","If set, overrides our reported hostname for carbon stats")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2866:110: style: Variable '::arg().set("carbon-server","If set, send metrics in carbon (graphite) format to this server IP address")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2867:89: style: Variable '::arg().set("carbon-interval","Number of seconds between carbon (graphite) updates")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2868:92: style: Variable '::arg().set("carbon-namespace","If set overwrites the first part of the carbon string")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2869:81: style: Variable '::arg().set("carbon-instance","If set overwrites the instance name default")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2871:113: style: Variable '::arg().set("statistics-interval","Number of seconds between printing of recursor statistics, 0 to disable")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2872:69: style: Variable '::arg().set("quiet","Suppress logging of questions and answers")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2873:91: style: Variable '::arg().set("logging-facility","Facility to log messages as. 0 corresponds to local0")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2874:84: style: Variable '::arg().set("config-dir","Location of configuration directory (recursor.conf)")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2875:50: style: Variable '::arg().set("socket-owner","Owner of socket")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2876:50: style: Variable '::arg().set("socket-group","Group of socket")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2877:56: style: Variable '::arg().set("socket-mode","Permissions for socket")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2891:79: style: Variable '::arg().set("query-local-address","Source IP address for sending queries")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2892:87: style: Variable '::arg().set("client-tcp-timeout","Timeout in seconds when talking to TCP clients")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2893:81: style: Variable '::arg().set("max-mthreads","Maximum number of simultaneous Mtasker threads")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2894:80: style: Variable '::arg().set("max-tcp-clients","Maximum number of simultaneous TCP clients")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2895:131: style: Variable '::arg().set("max-concurrent-requests-per-tcp-connection","Maximum number of requests handled concurrently per TCP connection")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2896:144: style: Variable '::arg().set("server-down-max-fails","Maximum number of consecutive timeouts (and unreachables) to mark a server as down ( 0 => disabled )")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2897:128: style: Variable '::arg().set("server-down-throttle-time","Number of seconds to throttle all queries to a server after being marked as down")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2898:94: style: Variable '::arg().set("dont-throttle-names","Do not throttle nameservers with this name or suffix")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2899:93: style: Variable '::arg().set("dont-throttle-netmasks","Do not throttle nameservers with this IP netmask")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2900:136: style: Variable '::arg().set("non-resolving-ns-max-fails","Number of failed address resolves of a nameserver to start throttling it, 0 is disabled")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2901:126: style: Variable '::arg().set("non-resolving-ns-throttle-time","Number of seconds to throttle a nameserver with a name failing to resolve")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2903:70: style: Variable '::arg().set("hint-file","If set, load root hints from this file")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2904:91: style: Variable '::arg().set("max-cache-entries","If set, maximum number of entries in the main cache")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2905:106: style: Variable '::arg().set("max-negative-ttl","maximum number of seconds to keep a negative cached entry in memory")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2906:129: style: Variable '::arg().set("max-cache-bogus-ttl","maximum number of seconds to keep a Bogus (positive or negative) cached entry in memory")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2907:94: style: Variable '::arg().set("max-cache-ttl","maximum number of seconds to keep a cached entry in memory")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2908:101: style: Variable '::arg().set("packetcache-ttl","maximum number of seconds to keep a cached entry in packetcache")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2909:98: style: Variable '::arg().set("max-packetcache-entries","maximum number of entries to keep in the packetcache")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2910:119: style: Variable '::arg().set("packetcache-servfail-ttl","maximum number of seconds to keep a cached servfail entry in packetcache")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2911:129: style: Variable '::arg().set("packetcache-negative-ttl","maximum number of seconds to keep a cached NxDomain or NoData entry in packetcache")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2912:129: style: Variable '::arg().set("server-id","Returned when queried for 'id.server' TXT or NSID, defaults to hostname, set custom or 'disabled'")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2913:96: style: Variable '::arg().set("stats-ringbuffer-entries","maximum number of packets to store statistics for")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2914:84: style: Variable '::arg().set("version-string","string reported on version.pdns or version.bind")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2915:93: style: Variable '::arg().set("allow-from","If set, only allow these comma separated netmasks to recurse")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2916:82: style: Variable '::arg().set("allow-from-file","If set, load allowed netmasks from this file")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2917:94: style: Variable '::arg().set("allow-notify-for","If set, NOTIFY requests for these zones will be allowed")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2918:92: style: Variable '::arg().set("allow-notify-for-file","If set, load NOTIFY-allowed zones from this file")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2919:115: style: Variable '::arg().set("allow-notify-from","If set, NOTIFY requests from these comma separated netmasks will be allowed")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2920:96: style: Variable '::arg().set("allow-notify-from-file","If set, load NOTIFY-allowed netmasks from this file")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2921:72: style: Variable '::arg().set("entropy-source","If set, read entropy from this file")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2922:81: style: Variable '::arg().set("dont-query","If set, do not query these netmasks for DNS data")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2923:103: style: Variable '::arg().set("max-tcp-per-client","If set, maximum number of TCP sessions per client (IP address)")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2924:110: style: Variable '::arg().set("max-tcp-queries-per-connection","If set, maximum number of TCP queries in a TCP connection")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2925:97: style: Variable '::arg().set("spoof-nearmiss-max","If non-zero, assume spoofing after this many near misses")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2926:89: style: Variable '::arg().set("single-socket","If set, only use a single socket for outgoing queries")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2927:111: style: Variable '::arg().set("auth-zones","Zones for which we have authoritative data, comma separated domain=file pairs ")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2928:73: style: Variable '::arg().set("lua-config-file","More powerful configuration options")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2929:134: style: Variable '::arg().setSwitch("allow-trust-anchor-query","Allow queries for trustanchor.server CH TXT and negativetrustanchor.server CH TXT")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2931:103: style: Variable '::arg().set("forward-zones","Zones for which we forward queries, comma separated domain=ip pairs")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2932:130: style: Variable '::arg().set("forward-zones-recurse","Zones for which we forward queries with recursion bit, comma separated domain=ip pairs")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2933:84: style: Variable '::arg().set("forward-zones-file","File with (+)domain=ip pairs for forwarding")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2934:85: style: Variable '::arg().set("export-etc-hosts","If we should serve up contents from /etc/hosts")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2935:110: style: Variable '::arg().set("export-etc-hosts-search-suffix","Also serve up the contents of /etc/hosts with this suffix")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2936:57: style: Variable '::arg().set("etc-hosts-file","Path to 'hosts' file")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2937:95: style: Variable '::arg().set("serve-rfc1918","If we should be authoritative for RFC 1918 private IP space")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2938:121: style: Variable '::arg().set("lua-dns-script","Filename containing an optional 'lua' script that will be used to modify dns answers")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2939:125: style: Variable '::arg().set("lua-maintenance-interval","Number of seconds between calls to the lua user defined maintenance() function")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2940:105: style: Variable '::arg().set("latency-statistic-size","Number of latency values to calculate the qa-latency average")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2941:67: style: Variable '::arg().setSwitch("disable-packetcache","Disable packetcache")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2942:97: style: Variable '::arg().set("ecs-ipv4-bits","Number of bits of IPv4 address to pass for EDNS Client Subnet")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2943:99: style: Variable '::arg().set("ecs-ipv4-cache-bits","Maximum number of bits of IPv4 mask to cache ECS response")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2944:97: style: Variable '::arg().set("ecs-ipv6-bits","Number of bits of IPv6 address to pass for EDNS Client Subnet")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2945:99: style: Variable '::arg().set("ecs-ipv6-cache-bits","Maximum number of bits of IPv6 mask to cache ECS response")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2946:92: style: Variable '::arg().setSwitch("ecs-ipv4-never-cache","If we should never cache IPv4 ECS responses")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2947:92: style: Variable '::arg().setSwitch("ecs-ipv6-never-cache","If we should never cache IPv6 ECS responses")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2948:98: style: Variable '::arg().set("ecs-minimum-ttl-override","The minimum TTL for records in ECS-specific answers")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2949:75: style: Variable '::arg().set("ecs-cache-limit-ttl","Minimum TTL to cache ECS response")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2950:123: style: Variable '::arg().set("edns-subnet-whitelist","List of netmasks and domains that we should enable EDNS subnet for (deprecated)")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2951:111: style: Variable '::arg().set("edns-subnet-allow-list","List of netmasks and domains that we should enable EDNS subnet for")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2952:100: style: Variable '::arg().set("ecs-add-for","List of client netmasks for which EDNS Client Subnet will be added")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2953:154: style: Variable '::arg().set("ecs-scope-zero-address","Address to send to allow-listed authoritative servers for incoming queries with ECS prefix-length source of 0")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2954:103: style: Variable '::arg().setSwitch("use-incoming-edns-subnet","Pass along received EDNS Client Subnet information")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2955:110: style: Variable '::arg().setSwitch("pdns-distributes-queries","If PowerDNS itself should distribute queries over threads")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2956:117: style: Variable '::arg().setSwitch("root-nx-trust","If set, believe that an NXDOMAIN from the root means the TLD does not exist")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2957:84: style: Variable '::arg().setSwitch("any-to-tcp","Answer ANY queries with tc=1, shunting to TCP")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2958:84: style: Variable '::arg().setSwitch("lowercase-outgoing","Force outgoing questions to lowercase")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2959:122: style: Variable '::arg().setSwitch("gettag-needs-edns-options","If EDNS Options should be extracted before calling the gettag() hook")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2960:91: style: Variable '::arg().set("udp-truncation-threshold","Maximum UDP response size before we truncate")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2961:69: style: Variable '::arg().set("edns-outgoing-bufsize","Outgoing EDNS buffer size")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2962:58: style: Variable '::arg().set("minimum-ttl-override","The minimum TTL")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2963:66: style: Variable '::arg().set("max-qperq","Maximum outgoing queries per query")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2964:114: style: Variable '::arg().set("max-ns-per-resolve","Maximum number of NS records to consider to resolve a name, 0 is no limit")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2965:88: style: Variable '::arg().set("max-ns-address-qperq","Maximum outgoing NS address queries per query")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2966:109: style: Variable '::arg().set("max-total-msec","Maximum total wall-clock time per query in milliseconds, 0 for unlimited")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2967:111: style: Variable '::arg().set("max-recursion-depth","Maximum number of internal recursion calls per query, 0 for unlimited")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2968:151: style: Variable '::arg().set("max-udp-queries-per-round","Maximum number of UDP queries processed per recvmsg() round, before returning back to normal processing")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2969:189: style: Variable '::arg().set("protobuf-use-kernel-timestamp","Compute the latency of queries in protobuf messages by using the timestamp set by the kernel when the query was received (when available)")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2970:168: style: Variable '::arg().set("distribution-pipe-buffer-size","Size in bytes of the internal buffer of the pipe used by the distributor to pass incoming queries to a worker thread")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2972:74: style: Variable '::arg().set("include-dir","Include *.conf files from this directory")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2973:104: style: Variable '::arg().set("security-poll-suffix","Domain name from which to query security update notifications")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2978:118: style: Variable '::arg().setSwitch("reuseport","Enable SO_REUSEPORT allowing multiple recursors processes to listen to 1 address")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2980:72: style: Variable '::arg().setSwitch("snmp-agent","If set, register as an SNMP agent")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2981:132: style: Variable '::arg().set("snmp-master-socket","If set and snmp-agent is set, the socket to use to register to the SNMP daemon (deprecated)")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2982:119: style: Variable '::arg().set("snmp-daemon-socket","If set and snmp-agent is set, the socket to use to register to the SNMP daemon")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2993:151: style: Variable '::arg().set("stats-api-blacklist","List of statistics that are disabled when retrieving the complete list of statistics via the API (deprecated)")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2994:126: style: Variable '::arg().set("stats-carbon-blacklist","List of statistics that are prevented from being exported via Carbon (deprecated)")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2995:144: style: Variable '::arg().set("stats-rec-control-blacklist","List of statistics that are prevented from being exported via rec_control get-all (deprecated)")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2996:122: style: Variable '::arg().set("stats-snmp-blacklist","List of statistics that are prevented from being exported via SNMP (deprecated)")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2998:142: style: Variable '::arg().set("stats-api-disabled-list","List of statistics that are disabled when retrieving the complete list of statistics via the API")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:2999:117: style: Variable '::arg().set("stats-carbon-disabled-list","List of statistics that are prevented from being exported via Carbon")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:3000:135: style: Variable '::arg().set("stats-rec-control-disabled-list","List of statistics that are prevented from being exported via rec_control get-all")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:3001:113: style: Variable '::arg().set("stats-snmp-disabled-list","List of statistics that are prevented from being exported via SNMP")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:3003:143: style: Variable '::arg().set("tcp-fast-open","Enable TCP Fast Open support on the listening sockets, using the supplied numerical value as the queue size")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:3004:92: style: Variable '::arg().set("tcp-fast-open-connect","Enable TCP Fast Open support on outgoing sockets")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:3005:99: style: Variable '::arg().set("nsec3-max-iterations","Maximum number of iterations allowed for an NSEC3 record")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:3006:111: style: Variable '::arg().set("max-rrsigs-per-record","Maximum number of RRSIGs to consider when validating a given record")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:3007:124: style: Variable '::arg().set("max-nsec3s-per-record","Maximum number of NSEC3s to consider when validating a given denial of existence")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:3008:138: style: Variable '::arg().set("max-signature-validations-per-query","Maximum number of RRSIG signatures we are willing to validate per incoming query")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:3009:166: style: Variable '::arg().set("max-nsec3-hash-computations-per-query","Maximum number of NSEC3 hashes that we are willing to compute during DNSSEC validation, per incoming query")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:3010:151: style: Variable '::arg().set("aggressive-cache-max-nsec3-hash-cost","Maximum estimated NSEC3 cost for a given query to consider aggressive use of the NSEC3 cache")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:3011:134: style: Variable '::arg().set("max-dnskeys","Maximum number of DNSKEYs with the same algorithm and tag to consider when validating a given record")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:3012:87: style: Variable '::arg().set("max-ds-per-zone","Maximum number of DS records to consider per zone")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:3014:100: style: Variable '::arg().set("cpu-map","Thread to CPU mapping, space separated thread-id=cpu1,cpu2..cpuN pairs")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:3016:97: style: Variable '::arg().setSwitch("log-rpz-changes","Log additions and removals to RPZ zones at Info level")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:3018:100: style: Variable '::arg().set("proxy-protocol-from","A Proxy Protocol header is only allowed from these subnets")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:3019:120: style: Variable '::arg().set("proxy-protocol-maximum-size","The maximum size of a proxy protocol payload, including the TLV values")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:3021:47: style: Variable '::arg().set("dns64-prefix","DNS64 prefix")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:3023:69: style: Variable '::arg().set("udp-source-port-min","Minimum UDP port to bind on")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:3024:69: style: Variable '::arg().set("udp-source-port-max","Maximum UDP port to bind on")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:3025:92: style: Variable '::arg().set("udp-source-port-avoid","List of comma separated UDP port number to avoid")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:3026:132: style: Variable '::arg().set("rng","Specify random number generator to use. Valid values are auto,sodium,openssl,getrandom,arc4random,urandom.")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:3027:89: style: Variable '::arg().set("public-suffix-list-file","Path to the Public Suffix List file, if any")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:3028:123: style: Variable '::arg().set("distribution-load-factor","The load factor used when PowerDNS is distributing queries to worker threads")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:3030:74: style: Variable '::arg().setSwitch("qname-minimization","Use Query Name Minimization")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:3031:180: style: Variable '::arg().setSwitch("nothing-below-nxdomain","When an NXDOMAIN exists in cache for a name with fewer labels than the qname, send NXDOMAIN without doing a lookup (see RFC 8020)")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:3032:106: style: Variable '::arg().set("max-generate-steps","Maximum number of $GENERATE steps when loading a zone from a file")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:3033:101: style: Variable '::arg().set("max-include-depth","Maximum nested $INCLUDE depth when loading a zone from a file")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:3035:78: style: Variable '::arg().set("record-cache-shards","Number of shards in the record cache")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:3036:77: style: Variable '::arg().set("packetcache-shards","Number of shards in the packet cache")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:3038:130: style: Variable '::arg().set("refresh-on-ttl-perc","If a record is requested from the cache and only this % of original TTL remains, refetch")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:3039:127: style: Variable '::arg().set("record-cache-locked-ttl-perc","Replace records in record cache only after this % of original TTL has passed")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:3041:127: style: Variable '::arg().set("x-dnssec-names","Collect DNSSEC statistics for names or suffixes in this list in separate x-dnssec counters")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:3059:154: style: Variable '::arg().setSwitch("extended-resolution-errors","If set, send an EDNS Extended Error extension on resolution failures, like DNSSEC validation errors")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:3061:285: style: Variable '::arg().set("aggressive-nsec-cache-size","The number of records to cache in the aggressive cache. If set to a value greater than 0, and DNSSEC processing or validation is enabled, the recursor will cache NSEC and NSEC3 records to generate negative answers, as defined in rfc8198")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:3062:138: style: Variable '::arg().set("aggressive-cache-min-nsec3-hit-ratio","The minimum expected hit ratio to store NSEC3 records into the aggressive cache")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:3064:218: style: Variable '::arg().set("edns-padding-from","List of netmasks (proxy IP in case of proxy-protocol presence, client IP otherwise) for which EDNS padding will be enabled in responses, provided that 'edns-padding-mode' applies")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:3065:309: style: Variable '::arg().set("edns-padding-mode","Whether to add EDNS padding to all responses ('always') or only to responses for queries containing the EDNS padding option ('padded-queries-only', the default). In both modes, padding will only be added to responses for queries coming from `edns-padding-from`_ sources")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:3066:172: style: Variable '::arg().set("edns-padding-tag","Packetcache tag associated to responses sent with EDNS padding, to prevent sending these to clients for which padding is not enabled.")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:3067:97: style: Variable '::arg().setSwitch("edns-padding-out","Whether to add EDNS padding to outgoing DoT messages")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:3069:102: style: Variable '::arg().setSwitch("dot-to-port-853","Force DoT connection to target port 853 if DoT compiled in")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:3070:101: style: Variable '::arg().set("dot-to-auth-names","Use DoT to authoritative servers with these names or suffixes")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:3071:138: style: Variable '::arg().set("event-trace-enabled","If set, event traces are collected and send out via protobuf logging (1), logfile (2) or both(3)")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:3073:113: style: Variable '::arg().set("tcp-out-max-idle-ms","Time TCP/DoT connections are left idle in milliseconds or 0 if no limit")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:3074:161: style: Variable '::arg().set("tcp-out-max-idle-per-auth","Maximum number of idle TCP/DoT connections to a specific IP per thread, 0 means do not keep idle connections open")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:3075:114: style: Variable '::arg().set("tcp-out-max-queries","Maximum total number of queries per TCP/DoT connection, 0 means no limit")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:3076:103: style: Variable '::arg().set("tcp-out-max-idle-per-thread","Maximum number of idle TCP/DoT connections per thread")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:3077:72: style: Variable '::arg().setSwitch("structured-logging","Prefer structured logging")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:3078:75: style: Variable '::arg().set("structured-logging-backend","Structured logging backend")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:3079:98: style: Variable '::arg().setSwitch("save-parent-ns-set","Save parent NS set to be used if child NS set fails")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:3080:81: style: Variable '::arg().set("max-busy-dot-probes","Maximum number of concurrent DoT probes")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:3081:113: style: Variable '::arg().set("serve-stale-extensions","Number of times a record's ttl is extended by 30s to be served stale")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-main.cc:3352:35: style: Variable '::arg().set("lua-dns-script")' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-protozero.cc:150:92: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable trace [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/rec-responsestats.cc:34:11: style: Consider using std::fill algorithm instead of a raw loop. [useStlAlgorithm] pdns-recursor-4.9.4/rec-responsestats.cc:37:11: style: Consider using std::fill algorithm instead of a raw loop. [useStlAlgorithm] pdns-recursor-4.9.4/rec-snmp.hh:32:8: performance:inconclusive: Technically the member function 'RecursorSNMPAgent::sendCustomTrap' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-recursor-4.9.4/rec-snmp.cc:252:25: note: Technically the member function 'RecursorSNMPAgent::sendCustomTrap' can be static (but you may consider moving to unnamed namespace). pdns-recursor-4.9.4/rec-snmp.hh:32:8: note: Technically the member function 'RecursorSNMPAgent::sendCustomTrap' can be static (but you may consider moving to unnamed namespace). pdns-recursor-4.9.4/rec-snmp.cc:276:82: style:inconclusive: Function 'RecursorSNMPAgent' argument 2 names different: declaration 'daemonSocket' definition 'masterSocket'. [funcArgNamesDifferent] pdns-recursor-4.9.4/rec-snmp.hh:31:65: note: Function 'RecursorSNMPAgent' argument 2 names different: declaration 'daemonSocket' definition 'masterSocket'. pdns-recursor-4.9.4/rec-snmp.cc:276:82: note: Function 'RecursorSNMPAgent' argument 2 names different: declaration 'daemonSocket' definition 'masterSocket'. pdns-recursor-4.9.4/taskqueue.hh:58:3: debug: Failed to parse 'using TaskFunction = void ( * ) ( const struct timeval & now , bool logErrors , const ResolveTask & task ) ;'. The checking continues anyway. [simplifyUsing] pdns-recursor-4.9.4/rec-taskqueue.cc:43:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable time_t [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/rec-taskqueue.cc:34:3: style: Class 'TimedSet' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/rec-tcounters.cc:87:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/tcounters.hh:131:3: style: Class 'TLocalCounters' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/rec-tcp.cc:203:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/rec-tcp.cc:543:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable none [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/rec-tcp.cc:1047:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_STREAM [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/rec-tcp.cc:183:3: style: Class 'RunningTCPQuestionGuard' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/rec-tcp.cc:542:16: style: The scope of the variable 'response' can be reduced. [variableScope] pdns-recursor-4.9.4/rec-tcp.cc:252:16: style: Checking if unsigned expression 'used' is less than zero. [unsignedLessThanZero] pdns-recursor-4.9.4/rec-tcp.cc:1056:15: style: Variable 'err' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec-zonetocache.cc:271:138: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/zoneparser-tng.hh:34:3: style: Class 'ZoneParserTNG' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/rec-zonetocache.cc:212:3: style:inconclusive: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] pdns-recursor-4.9.4/rec-zonetocache.cc:388:5: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] pdns-recursor-4.9.4/rec-zonetocache.cc:392:5: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] pdns-recursor-4.9.4/rec_channel.cc:51:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/rec_channel.cc:110:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable iov_base [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/rec_channel.hh:69:34: performance:inconclusive: Technically the member function 'RecursorControlChannel::recv' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-recursor-4.9.4/rec_channel.cc:184:56: note: Technically the member function 'RecursorControlChannel::recv' can be static (but you may consider moving to unnamed namespace). pdns-recursor-4.9.4/rec_channel.hh:69:34: note: Technically the member function 'RecursorControlChannel::recv' can be static (but you may consider moving to unnamed namespace). pdns-recursor-4.9.4/rec_channel.cc:47:50: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/rec_channel.cc:57:18: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/rec_channel.cc:77:52: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/rec_channel.cc:84:25: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/rec_channel.cc:123:4: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/rec_channel.cc:38:50: style:inconclusive: Function 'listen' argument 1 names different: declaration 'filename' definition 'fname'. [funcArgNamesDifferent] pdns-recursor-4.9.4/rec_channel.hh:49:33: note: Function 'listen' argument 1 names different: declaration 'filename' definition 'fname'. pdns-recursor-4.9.4/rec_channel.cc:38:50: note: Function 'listen' argument 1 names different: declaration 'filename' definition 'fname'. pdns-recursor-4.9.4/rec_channel.cc:65:72: style:inconclusive: Function 'connect' argument 2 names different: declaration 'filename' definition 'fname'. [funcArgNamesDifferent] pdns-recursor-4.9.4/rec_channel.hh:50:60: note: Function 'connect' argument 2 names different: declaration 'filename' definition 'fname'. pdns-recursor-4.9.4/rec_channel.cc:65:72: note: Function 'connect' argument 2 names different: declaration 'filename' definition 'fname'. pdns-recursor-4.9.4/rec_channel.cc:130:39: style:inconclusive: Function 'send' argument 1 names different: declaration 'remote' definition 'fd'. [funcArgNamesDifferent] pdns-recursor-4.9.4/rec_channel.hh:68:17: note: Function 'send' argument 1 names different: declaration 'remote' definition 'fd'. pdns-recursor-4.9.4/rec_channel.cc:130:39: note: Function 'send' argument 1 names different: declaration 'remote' definition 'fd'. pdns-recursor-4.9.4/rec_channel_rec.cc:1167:0: debug: Function::addArguments found argument 'map' with varid 0. [varid0] pdns-recursor-4.9.4/rec_channel_rec.cc:291:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable iov_base [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/rec_channel_rec.cc:449:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/rec_channel_rec.cc:858:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RUSAGE_SELF [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/rec_channel_rec.cc:865:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RUSAGE_SELF [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/rec_channel_rec.cc:1102:105: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_count [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/rec_channel_rec.cc:1122:125: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_count [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/rec_channel_rec.cc:1143:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rcodeCounters [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/rec_channel_rec.cc:1264:74: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/rec_channel_rec.cc:309:13: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/rec_channel_rec.cc:649:8: style: The scope of the variable 'first' can be reduced. [variableScope] pdns-recursor-4.9.4/rec_channel_rec.cc:755:8: style: The scope of the variable 'first' can be reduced. [variableScope] pdns-recursor-4.9.4/rec_channel_rec.cc:1698:7: style: The scope of the variable 'limit' can be reduced. [variableScope] pdns-recursor-4.9.4/rec_channel_rec.cc:1698:18: style: The scope of the variable 'accounted' can be reduced. [variableScope] pdns-recursor-4.9.4/rec_channel_rec.cc:1769:7: style: The scope of the variable 'limit' can be reduced. [variableScope] pdns-recursor-4.9.4/rec_channel_rec.cc:1769:18: style: The scope of the variable 'accounted' can be reduced. [variableScope] pdns-recursor-4.9.4/rec_channel_rec.cc:396:25: style: Variable 'e' can be declared as reference to const [constVariableReference] pdns-recursor-4.9.4/rec_channel_rec.cc:1422:13: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] pdns-recursor-4.9.4/rec_channel_rec.cc:1451:15: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] pdns-recursor-4.9.4/rec_channel_rec.cc:1583:10: style: Consider using std::copy algorithm instead of a raw loop. [useStlAlgorithm] pdns-recursor-4.9.4/rec_channel_rec.cc:1595:10: style: Consider using std::copy algorithm instead of a raw loop. [useStlAlgorithm] pdns-recursor-4.9.4/rec_channel_rec.cc:1607:10: style: Consider using std::copy algorithm instead of a raw loop. [useStlAlgorithm] pdns-recursor-4.9.4/rec_channel_rec.cc:1623:10: style: Consider using std::copy algorithm instead of a raw loop. [useStlAlgorithm] pdns-recursor-4.9.4/rec_channel_rec.cc:1635:10: style: Consider using std::copy algorithm instead of a raw loop. [useStlAlgorithm] pdns-recursor-4.9.4/rec_channel_rec.cc:1647:10: style: Consider using std::copy algorithm instead of a raw loop. [useStlAlgorithm] pdns-recursor-4.9.4/rec_channel_rec.cc:1659:10: style: Consider using std::copy algorithm instead of a raw loop. [useStlAlgorithm] pdns-recursor-4.9.4/rec_channel_rec.cc:1671:10: style: Consider using std::copy algorithm instead of a raw loop. [useStlAlgorithm] pdns-recursor-4.9.4/rec_channel_rec.cc:153:14: style: Variable '(*dm)[str]' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rec_control.cc:43:84: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SYSCONFDIR [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/rec_control.cc:89:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_slogStructured [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/rec_control.cc:200:25: style: Variable 'ae' can be declared as reference to const [constVariableReference] pdns-recursor-4.9.4/recpacketcache.cc:158:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable none [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/recpacketcache.cc:292:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRId64 [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/recpacketcache.cc:268:5: error: Resource handle 'fdupped' freed twice. [doubleFree] pdns-recursor-4.9.4/recpacketcache.cc:266:59: note: Resource handle 'fdupped' freed twice. pdns-recursor-4.9.4/recpacketcache.cc:268:5: note: Resource handle 'fdupped' freed twice. pdns-recursor-4.9.4/recpacketcache.cc:27:11: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] pdns-recursor-4.9.4/recpacketcache.cc:38:11: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] pdns-recursor-4.9.4/recursor_cache.cc:114:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable none [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/recursor_cache.cc:243:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable none [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/recursor_cache.cc:355:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable none [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/recursor_cache.cc:546:82: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable none [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/recursor_cache.cc:803:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu32 [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/recursor_cache.cc:781:5: error: Resource handle 'newfd' freed twice. [doubleFree] pdns-recursor-4.9.4/recursor_cache.cc:779:51: note: Resource handle 'newfd' freed twice. pdns-recursor-4.9.4/recursor_cache.cc:781:5: note: Resource handle 'newfd' freed twice. pdns-recursor-4.9.4/recursor_cache.cc:413:10: style: The scope of the variable 'found' can be reduced. [variableScope] pdns-recursor-4.9.4/recursor_cache.cc:414:12: style: The scope of the variable 'ttd' can be reduced. [variableScope] pdns-recursor-4.9.4/recursor_cache.cc:143:373: style:inconclusive: Function 'handleHit' argument 11 names different: declaration 'authZone' definition 'fromAuthZone'. [funcArgNamesDifferent] pdns-recursor-4.9.4/recursor_cache.hh:281:339: note: Function 'handleHit' argument 11 names different: declaration 'authZone' definition 'fromAuthZone'. pdns-recursor-4.9.4/recursor_cache.cc:143:373: note: Function 'handleHit' argument 11 names different: declaration 'authZone' definition 'fromAuthZone'. pdns-recursor-4.9.4/recursor_cache.cc:230:108: style:inconclusive: Function 'getEntryUsingECSIndex' argument 1 names different: declaration 'content' definition 'map'. [funcArgNamesDifferent] pdns-recursor-4.9.4/recursor_cache.hh:279:74: note: Function 'getEntryUsingECSIndex' argument 1 names different: declaration 'content' definition 'map'. pdns-recursor-4.9.4/recursor_cache.cc:230:108: note: Function 'getEntryUsingECSIndex' argument 1 names different: declaration 'content' definition 'map'. pdns-recursor-4.9.4/recursor_cache.cc:295:81: style:inconclusive: Function 'getEntries' argument 1 names different: declaration 'content' definition 'map'. [funcArgNamesDifferent] pdns-recursor-4.9.4/recursor_cache.hh:278:47: note: Function 'getEntries' argument 1 names different: declaration 'content' definition 'map'. pdns-recursor-4.9.4/recursor_cache.cc:295:81: note: Function 'getEntries' argument 1 names different: declaration 'content' definition 'map'. pdns-recursor-4.9.4/recursor_cache.cc:207:93: style: Parameter 'entry' can be declared as reference to const [constParameterReference] pdns-recursor-4.9.4/recursor_cache.cc:308:77: style: Parameter 'entry' can be declared as reference to const [constParameterReference] pdns-recursor-4.9.4/recursor_cache.cc:321:74: style: Parameter 'entry' can be declared as reference to const [constParameterReference] pdns-recursor-4.9.4/recursor_cache.cc:66:11: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] pdns-recursor-4.9.4/recursor_cache.cc:104:13: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] pdns-recursor-4.9.4/reczones-helpers.cc:44:98: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable none [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/reczones-helpers.cc:226:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/reczones-helpers.cc:282:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/reczones-helpers.cc:306:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/reczones-helpers.cc:194:37: style: Parameter 'name' can be declared as reference to const [constParameterReference] pdns-recursor-4.9.4/reczones-helpers.cc:79:41: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] pdns-recursor-4.9.4/reczones.cc:77:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_slogStructured [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/reczones.cc:176:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dm [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/reczones.cc:220:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/reczones.cc:321:5: style: Same expression on both sides of '-' because 'newMap->size()' and 'before' represent the same value. [duplicateExpression] pdns-recursor-4.9.4/reczones.cc:270:35: note: 'before' is assigned value 'newMap->size()' here. pdns-recursor-4.9.4/reczones.cc:321:5: note: Same expression on both sides of '-' because 'newMap->size()' and 'before' represent the same value. pdns-recursor-4.9.4/remote_logger.cc:53:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable iov_base [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/remote_logger.cc:123:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_STREAM [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/remote_logger.cc:153:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TooLarge [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/remote_logger.cc:242:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/resolver.cc:60:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_STREAM [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/resolver.cc:105:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/resolver.cc:164:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/resolver.cc:237:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fd [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/resolver.cc:360:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable content [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/resolver.cc:79:25: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/resolver.cc:92:22: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/resolver.cc:188:50: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/resolver.cc:262:45: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/resolver.cc:270:27: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/resolver.cc:327:55: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/resolver.cc:130:86: style:inconclusive: Function 'sendResolve' argument 6 names different: declaration 'dnssecOk' definition 'dnssecOK'. [funcArgNamesDifferent] pdns-recursor-4.9.4/resolver.hh:66:133: note: Function 'sendResolve' argument 6 names different: declaration 'dnssecOk' definition 'dnssecOK'. pdns-recursor-4.9.4/resolver.cc:130:86: note: Function 'sendResolve' argument 6 names different: declaration 'dnssecOk' definition 'dnssecOK'. pdns-recursor-4.9.4/resolver.cc:230:41: style:inconclusive: Function 'tryGetSOASerial' argument 1 names different: declaration 'theirDomain' definition 'domain'. [funcArgNamesDifferent] pdns-recursor-4.9.4/resolver.hh:70:33: note: Function 'tryGetSOASerial' argument 1 names different: declaration 'theirDomain' definition 'domain'. pdns-recursor-4.9.4/resolver.cc:230:41: note: Function 'tryGetSOASerial' argument 1 names different: declaration 'theirDomain' definition 'domain'. pdns-recursor-4.9.4/resolver.cc:309:43: style:inconclusive: Function 'resolve' argument 1 names different: declaration 'ip' definition 'to'. [funcArgNamesDifferent] pdns-recursor-4.9.4/resolver.hh:61:35: note: Function 'resolve' argument 1 names different: declaration 'ip' definition 'to'. pdns-recursor-4.9.4/resolver.cc:309:43: note: Function 'resolve' argument 1 names different: declaration 'ip' definition 'to'. pdns-recursor-4.9.4/resolver.cc:309:97: style:inconclusive: Function 'resolve' argument 4 names different: declaration 'result' definition 'res'. [funcArgNamesDifferent] pdns-recursor-4.9.4/resolver.hh:61:79: note: Function 'resolve' argument 4 names different: declaration 'result' definition 'res'. pdns-recursor-4.9.4/resolver.cc:309:97: note: Function 'resolve' argument 4 names different: declaration 'result' definition 'res'. pdns-recursor-4.9.4/resolver.cc:342:43: style:inconclusive: Function 'resolve' argument 1 names different: declaration 'ip' definition 'ipport'. [funcArgNamesDifferent] pdns-recursor-4.9.4/resolver.hh:63:35: note: Function 'resolve' argument 1 names different: declaration 'ip' definition 'ipport'. pdns-recursor-4.9.4/resolver.cc:342:43: note: Function 'resolve' argument 1 names different: declaration 'ip' definition 'ipport'. pdns-recursor-4.9.4/resolver.cc:342:101: style:inconclusive: Function 'resolve' argument 4 names different: declaration 'result' definition 'res'. [funcArgNamesDifferent] pdns-recursor-4.9.4/resolver.hh:63:79: note: Function 'resolve' argument 4 names different: declaration 'result' definition 'res'. pdns-recursor-4.9.4/resolver.cc:342:101: note: Function 'resolve' argument 4 names different: declaration 'result' definition 'res'. pdns-recursor-4.9.4/resolver.cc:123:14: style: Variable 'iter' can be declared as reference to const [constVariableReference] pdns-recursor-4.9.4/rpzloader.cc:345:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/rpzloader.cc:58:21: style: Condition 'i==1' is always true [knownConditionTrueFalse] pdns-recursor-4.9.4/rpzloader.cc:56:40: note: Assuming that condition 'i>0' is not redundant pdns-recursor-4.9.4/rpzloader.cc:58:11: note: Assuming that condition 'i>1' is not redundant pdns-recursor-4.9.4/rpzloader.cc:58:21: note: Condition 'i==1' is always true pdns-recursor-4.9.4/rpzloader.cc:259:20: style: Variable '(*stats)[zone]' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/rpzloader.cc:345:13: style: Variable 'err' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/secpoll.cc:56:94: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] pdns-recursor-4.9.4/shuffle.cc:33:48: style: Parameter 'rrs' can be declared as reference to const [constParameterReference] pdns-recursor-4.9.4/shuffle.cc:76:45: style: Parameter 'rrs' can be declared as reference to const [constParameterReference] pdns-recursor-4.9.4/shuffle.cc:42:93: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] pdns-recursor-4.9.4/shuffle.cc:48:0: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] pdns-recursor-4.9.4/shuffle.cc:59:97: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] pdns-recursor-4.9.4/shuffle.cc:64:62: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] pdns-recursor-4.9.4/shuffle.cc:81:87: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] pdns-recursor-4.9.4/shuffle.cc:86:89: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] pdns-recursor-4.9.4/shuffle.cc:102:91: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] pdns-recursor-4.9.4/shuffle.cc:107:59: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] pdns-recursor-4.9.4/snmp-agent.hh:57:8: performance:inconclusive: Technically the member function 'SNMPAgent::worker' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-recursor-4.9.4/snmp-agent.cc:101:17: note: Technically the member function 'SNMPAgent::worker' can be static (but you may consider moving to unnamed namespace). pdns-recursor-4.9.4/snmp-agent.hh:57:8: note: Technically the member function 'SNMPAgent::worker' can be static (but you may consider moving to unnamed namespace). pdns-recursor-4.9.4/sodiumsigners.cc:71:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable crypto_sign_ed25519_SEEDBYTES [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/sodiumsigners.cc:133:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable crypto_sign_ed25519_SEEDBYTES [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/sodiumsigners.cc:149:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable crypto_sign_ed25519_SEEDBYTES [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/sodiumsigners.cc:164:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable crypto_sign_ed25519_SEEDBYTES [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/sodiumsigners.cc:175:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable crypto_sign_ed25519_PUBLICKEYBYTES [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/sodiumsigners.cc:180:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable crypto_sign_ed25519_PUBLICKEYBYTES [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/sodiumsigners.cc:188:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable crypto_sign_ed25519_BYTES [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/sodiumsigners.cc:200:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable crypto_sign_ed25519_BYTES [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/sodiumsigners.cc:16:12: warning: Member variable 'SodiumED25519DNSCryptoKeyEngine::d_pubkey' is not initialized in the constructor. [uninitMemberVar] pdns-recursor-4.9.4/sodiumsigners.cc:16:12: warning: Member variable 'SodiumED25519DNSCryptoKeyEngine::d_seckey' is not initialized in the constructor. [uninitMemberVar] pdns-recursor-4.9.4/sodiumsigners.cc:149:48: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/sodiumsigners.cc:175:17: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/sodiumsigners.cc:193:53: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/sodiumsigners.cc:195:12: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/sodiumsigners.cc:204:47: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/sodiumsigners.cc:178:78: style:inconclusive: Function 'fromPublicKeyString' argument 1 names different: declaration 'content' definition 'input'. [funcArgNamesDifferent] pdns-recursor-4.9.4/sodiumsigners.cc:57:47: note: Function 'fromPublicKeyString' argument 1 names different: declaration 'content' definition 'input'. pdns-recursor-4.9.4/sodiumsigners.cc:178:78: note: Function 'fromPublicKeyString' argument 1 names different: declaration 'content' definition 'input'. pdns-recursor-4.9.4/sortlist.cc:22:40: style:inconclusive: Function 'addEntry' argument 1 names different: declaration 'covers' definition 'formask'. [funcArgNamesDifferent] pdns-recursor-4.9.4/sortlist.hh:42:32: note: Function 'addEntry' argument 1 names different: declaration 'covers' definition 'formask'. pdns-recursor-4.9.4/sortlist.cc:22:40: note: Function 'addEntry' argument 1 names different: declaration 'covers' definition 'formask'. pdns-recursor-4.9.4/sortlist.cc:22:64: style:inconclusive: Function 'addEntry' argument 2 names different: declaration 'answermask' definition 'valmask'. [funcArgNamesDifferent] pdns-recursor-4.9.4/sortlist.hh:42:55: note: Function 'addEntry' argument 2 names different: declaration 'answermask' definition 'valmask'. pdns-recursor-4.9.4/sortlist.cc:22:64: note: Function 'addEntry' argument 2 names different: declaration 'answermask' definition 'valmask'. pdns-recursor-4.9.4/sortlist.cc:43:52: style:inconclusive: Function 'operator()' argument 1 names different: declaration 'a' definition 'ar'. [funcArgNamesDifferent] pdns-recursor-4.9.4/sortlist.hh:35:36: note: Function 'operator()' argument 1 names different: declaration 'a' definition 'ar'. pdns-recursor-4.9.4/sortlist.cc:43:52: note: Function 'operator()' argument 1 names different: declaration 'a' definition 'ar'. pdns-recursor-4.9.4/sortlist.cc:43:73: style:inconclusive: Function 'operator()' argument 2 names different: declaration 'b' definition 'br'. [funcArgNamesDifferent] pdns-recursor-4.9.4/sortlist.hh:35:56: note: Function 'operator()' argument 2 names different: declaration 'b' definition 'br'. pdns-recursor-4.9.4/sortlist.cc:43:73: note: Function 'operator()' argument 2 names different: declaration 'b' definition 'br'. pdns-recursor-4.9.4/sortlist.cc:16:13: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] pdns-recursor-4.9.4/svc-records.cc:92:13: style: Condition 'd_key==SvcParamKey::alpn' is always true [knownConditionTrueFalse] pdns-recursor-4.9.4/svc-records.cc:89:13: note: Assuming that condition 'd_key!=SvcParamKey::alpn' is not redundant pdns-recursor-4.9.4/svc-records.cc:92:13: note: Condition 'd_key==SvcParamKey::alpn' is always true pdns-recursor-4.9.4/svc-records.cc:102:13: style: Condition 'd_key==SvcParamKey::mandatory' is always true [knownConditionTrueFalse] pdns-recursor-4.9.4/svc-records.cc:99:13: note: Assuming that condition 'd_key!=SvcParamKey::mandatory' is not redundant pdns-recursor-4.9.4/svc-records.cc:102:13: note: Condition 'd_key==SvcParamKey::mandatory' is always true pdns-recursor-4.9.4/svc-records.cc:79:17: style: Unused variable: d [unusedVariable] pdns-recursor-4.9.4/syncres.cc:211:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/syncres.cc:217:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/syncres.cc:224:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/syncres.cc:416:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable time_t [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/syncres.cc:514:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/syncres.cc:903:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/syncres.cc:1319:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/syncres.cc:1359:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/syncres.cc:1403:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/syncres.cc:1445:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/syncres.cc:1709:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_name [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/syncres.cc:2417:115: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable none [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/syncres.cc:2762:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable none [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/syncres.cc:3048:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/syncres.cc:3079:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/syncres.cc:3242:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable counts [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/syncres.cc:3323:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Log [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/syncres.cc:3357:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Log [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/syncres.cc:3374:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Log [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/syncres.cc:3433:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Log [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/syncres.cc:3517:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Log [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/syncres.cc:3527:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Log [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/syncres.cc:3706:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Log [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/syncres.cc:3726:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Log [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/syncres.cc:3804:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Log [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/syncres.cc:3879:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Log [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/syncres.cc:3919:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Log [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/syncres.cc:4067:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Log [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/syncres.cc:4116:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/syncres.cc:4144:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Log [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/syncres.cc:4292:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Log [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/syncres.cc:4388:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Log [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/syncres.cc:4725:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Log [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/syncres.cc:4796:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Log [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/syncres.cc:5124:78: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/syncres.cc:5235:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Log [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/syncres.cc:5410:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Log [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/syncres.cc:5486:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Log [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/syncres.cc:5601:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Log [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/syncres.cc:5822:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable none [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/syncres.cc:5866:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable none [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/syncres.cc:5876:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable none [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/syncres.cc:314:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable time_t [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/syncres.cc:109:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable time_t [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/syncres.cc:164:3: style: Class 'DecayingEwmaCollection' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/syncres.cc:2058:3: style: Struct 'speedOrderCA' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/syncres.cc:51:5: style: Struct 'value_t' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/syncres.cc:3386:56: style: Condition 'd_outqueries>oldOutQueries' is always false [knownConditionTrueFalse] pdns-recursor-4.9.4/syncres.cc:3380:38: note: oldOutQueries is assigned 'd_outqueries' here. pdns-recursor-4.9.4/syncres.cc:3386:56: note: Condition 'd_outqueries>oldOutQueries' is always false pdns-recursor-4.9.4/syncres.cc:3938:45: style: Condition 'signer==qname' is always true [knownConditionTrueFalse] pdns-recursor-4.9.4/syncres.cc:3928:66: note: Assuming that condition 'signer==qname' is not redundant pdns-recursor-4.9.4/syncres.cc:3938:45: note: Condition 'signer==qname' is always true pdns-recursor-4.9.4/syncres.cc:3951:49: style: Condition 'signer==qname' is always true [knownConditionTrueFalse] pdns-recursor-4.9.4/syncres.cc:3928:66: note: Assuming that condition 'signer==qname' is not redundant pdns-recursor-4.9.4/syncres.cc:3951:49: note: Condition 'signer==qname' is always true pdns-recursor-4.9.4/syncres.cc:4957:27: style: Condition 'rec.d_type==QType::RRSIG' is always true [knownConditionTrueFalse] pdns-recursor-4.9.4/syncres.cc:4954:22: note: Assuming that condition 'rec.d_type!=QType::RRSIG' is not redundant pdns-recursor-4.9.4/syncres.cc:4957:27: note: Condition 'rec.d_type==QType::RRSIG' is always true pdns-recursor-4.9.4/syncres.cc:5482:14: style: Condition '*rcode!=RCode::NoError' is always false [knownConditionTrueFalse] pdns-recursor-4.9.4/syncres.cc:5481:34: note: Calling function 'updateCacheFromRecords' returns 0 pdns-recursor-4.9.4/syncres.cc:5481:34: note: Assignment '*rcode=updateCacheFromRecords(depth,prefix,lwr,qname,qtype,auth,wasForwarded,ednsmask,state,needWildcardProof,gatherWildcardProof,wildcardLabelsCount,sendRDQuery,remoteIP)', assigned value is 0 pdns-recursor-4.9.4/syncres.cc:5482:14: note: Condition '*rcode!=RCode::NoError' is always false pdns-recursor-4.9.4/syncres.cc:3392:7: style: Throwing a copy of the caught exception instead of rethrowing the original exception. [exceptRethrowCopy] pdns-recursor-4.9.4/syncres.cc:1142:5: error: Resource handle 'newfd' freed twice. [doubleFree] pdns-recursor-4.9.4/syncres.cc:1140:51: note: Resource handle 'newfd' freed twice. pdns-recursor-4.9.4/syncres.cc:1142:5: note: Resource handle 'newfd' freed twice. pdns-recursor-4.9.4/syncres.cc:1194:5: error: Resource handle 'newfd' freed twice. [doubleFree] pdns-recursor-4.9.4/syncres.cc:1192:51: note: Resource handle 'newfd' freed twice. pdns-recursor-4.9.4/syncres.cc:1194:5: note: Resource handle 'newfd' freed twice. pdns-recursor-4.9.4/syncres.cc:1261:5: error: Resource handle 'newfd' freed twice. [doubleFree] pdns-recursor-4.9.4/syncres.cc:1259:51: note: Resource handle 'newfd' freed twice. pdns-recursor-4.9.4/syncres.cc:1261:5: note: Resource handle 'newfd' freed twice. pdns-recursor-4.9.4/syncres.cc:1308:5: error: Resource handle 'newfd' freed twice. [doubleFree] pdns-recursor-4.9.4/syncres.cc:1306:51: note: Resource handle 'newfd' freed twice. pdns-recursor-4.9.4/syncres.cc:1308:5: note: Resource handle 'newfd' freed twice. pdns-recursor-4.9.4/syncres.cc:1348:5: error: Resource handle 'newfd' freed twice. [doubleFree] pdns-recursor-4.9.4/syncres.cc:1346:51: note: Resource handle 'newfd' freed twice. pdns-recursor-4.9.4/syncres.cc:1348:5: note: Resource handle 'newfd' freed twice. pdns-recursor-4.9.4/syncres.cc:1388:5: error: Resource handle 'newfd' freed twice. [doubleFree] pdns-recursor-4.9.4/syncres.cc:1386:51: note: Resource handle 'newfd' freed twice. pdns-recursor-4.9.4/syncres.cc:1388:5: note: Resource handle 'newfd' freed twice. pdns-recursor-4.9.4/syncres.cc:1433:5: error: Resource handle 'newfd' freed twice. [doubleFree] pdns-recursor-4.9.4/syncres.cc:1431:51: note: Resource handle 'newfd' freed twice. pdns-recursor-4.9.4/syncres.cc:1433:5: note: Resource handle 'newfd' freed twice. pdns-recursor-4.9.4/syncres.cc:2079:8: style: The scope of the variable 'seenV6' can be reduced. [variableScope] pdns-recursor-4.9.4/syncres.cc:2224:8: style: The scope of the variable 'brokeloop' can be reduced. [variableScope] pdns-recursor-4.9.4/syncres.cc:2879:8: style: The scope of the variable 'found' can be reduced. [variableScope] pdns-recursor-4.9.4/syncres.cc:2879:23: style: The scope of the variable 'expired' can be reduced. [variableScope] pdns-recursor-4.9.4/syncres.cc:2882:12: style: The scope of the variable 'ttl' can be reduced. [variableScope] pdns-recursor-4.9.4/syncres.cc:2883:12: style: The scope of the variable 'capTTL' can be reduced. [variableScope] pdns-recursor-4.9.4/syncres.cc:3369:10: style: The scope of the variable 'nonresolvingfails' can be reduced. [variableScope] pdns-recursor-4.9.4/syncres.cc:3924:8: style: The scope of the variable 'dsFailed' can be reduced. [variableScope] pdns-recursor-4.9.4/syncres.cc:5188:8: style: The scope of the variable 'truncated' can be reduced. [variableScope] pdns-recursor-4.9.4/syncres.cc:5189:8: style: The scope of the variable 'spoofed' can be reduced. [variableScope] pdns-recursor-4.9.4/syncres.cc:532:153: style:inconclusive: Function 'resolveAdditionals' argument 6 names different: declaration 'pushed' definition 'additionalsNotInCache'. [funcArgNamesDifferent] pdns-recursor-4.9.4/syncres.hh:611:141: note: Function 'resolveAdditionals' argument 6 names different: declaration 'pushed' definition 'additionalsNotInCache'. pdns-recursor-4.9.4/syncres.cc:532:153: note: Function 'resolveAdditionals' argument 6 names different: declaration 'pushed' definition 'additionalsNotInCache'. pdns-recursor-4.9.4/syncres.cc:629:94: style:inconclusive: Function 'addAdditionals' argument 3 names different: declaration 'addditionals' definition 'additionals'. [funcArgNamesDifferent] pdns-recursor-4.9.4/syncres.hh:612:87: note: Function 'addAdditionals' argument 3 names different: declaration 'addditionals' definition 'additionals'. pdns-recursor-4.9.4/syncres.cc:629:94: note: Function 'addAdditionals' argument 3 names different: declaration 'addditionals' definition 'additionals'. pdns-recursor-4.9.4/syncres.cc:629:246: style:inconclusive: Function 'addAdditionals' argument 7 names different: declaration 'adddepth' definition 'additionaldepth'. [funcArgNamesDifferent] pdns-recursor-4.9.4/syncres.hh:612:244: note: Function 'addAdditionals' argument 7 names different: declaration 'adddepth' definition 'additionaldepth'. pdns-recursor-4.9.4/syncres.cc:629:246: note: Function 'addAdditionals' argument 7 names different: declaration 'adddepth' definition 'additionaldepth'. pdns-recursor-4.9.4/syncres.cc:629:269: style:inconclusive: Function 'addAdditionals' argument 8 names different: declaration 'pushed' definition 'additionalsNotInCache'. [funcArgNamesDifferent] pdns-recursor-4.9.4/syncres.hh:612:260: note: Function 'addAdditionals' argument 8 names different: declaration 'pushed' definition 'additionalsNotInCache'. pdns-recursor-4.9.4/syncres.cc:629:269: note: Function 'addAdditionals' argument 8 names different: declaration 'pushed' definition 'additionalsNotInCache'. pdns-recursor-4.9.4/syncres.cc:3027:98: style:inconclusive: Function 'shuffleInSpeedOrder' argument 2 names different: declaration 'nameservers' definition 'tnameservers'. [funcArgNamesDifferent] pdns-recursor-4.9.4/syncres.hh:634:86: note: Function 'shuffleInSpeedOrder' argument 2 names different: declaration 'nameservers' definition 'tnameservers'. pdns-recursor-4.9.4/syncres.cc:3027:98: note: Function 'shuffleInSpeedOrder' argument 2 names different: declaration 'nameservers' definition 'tnameservers'. pdns-recursor-4.9.4/syncres.cc:3591:69: style:inconclusive: Function 'getDSRecords' argument 3 names different: declaration 'onlyTA' definition 'taOnly'. [funcArgNamesDifferent] pdns-recursor-4.9.4/syncres.hh:110:62: note: Function 'getDSRecords' argument 3 names different: declaration 'onlyTA' definition 'taOnly'. pdns-recursor-4.9.4/syncres.cc:3591:69: note: Function 'getDSRecords' argument 3 names different: declaration 'onlyTA' definition 'taOnly'. pdns-recursor-4.9.4/syncres.cc:3710:52: style:inconclusive: Function 'getValidationStatus' argument 1 names different: declaration 'subdomain' definition 'name'. [funcArgNamesDifferent] pdns-recursor-4.9.4/syncres.hh:670:45: note: Function 'getValidationStatus' argument 1 names different: declaration 'subdomain' definition 'name'. pdns-recursor-4.9.4/syncres.cc:3710:52: note: Function 'getValidationStatus' argument 1 names different: declaration 'subdomain' definition 'name'. pdns-recursor-4.9.4/syncres.cc:4312:335: style:inconclusive: Function 'updateCacheFromRecords' argument 13 names different: declaration 'sendRDQuery' definition 'rdQuery'. [funcArgNamesDifferent] pdns-recursor-4.9.4/syncres.hh:651:319: note: Function 'updateCacheFromRecords' argument 13 names different: declaration 'sendRDQuery' definition 'rdQuery'. pdns-recursor-4.9.4/syncres.cc:4312:335: note: Function 'updateCacheFromRecords' argument 13 names different: declaration 'sendRDQuery' definition 'rdQuery'. pdns-recursor-4.9.4/syncres.cc:4768:333: style:inconclusive: Function 'processRecords' argument 15 names different: declaration 'gatherwildcardProof' definition 'gatherWildcardProof'. [funcArgNamesDifferent] pdns-recursor-4.9.4/syncres.hh:652:326: note: Function 'processRecords' argument 15 names different: declaration 'gatherwildcardProof' definition 'gatherWildcardProof'. pdns-recursor-4.9.4/syncres.cc:4768:333: note: Function 'processRecords' argument 15 names different: declaration 'gatherwildcardProof' definition 'gatherWildcardProof'. pdns-recursor-4.9.4/syncres.cc:5114:87: performance: Function parameter 'nsname' should be passed by const reference. [passedByValue] pdns-recursor-4.9.4/syncres.cc:3027:98: style: Parameter 'tnameservers' can be declared as reference to const [constParameterReference] pdns-recursor-4.9.4/syncres.cc:3290:16: style: Variable 'dr' can be declared as reference to const [constVariableReference] pdns-recursor-4.9.4/syncres.cc:4879:45: style: Parameter 'rr' can be declared as reference to const [constParameterReference] pdns-recursor-4.9.4/syncres.cc:2291:11: warning:inconclusive: Access of moved variable 'answer'. [accessMoved] pdns-recursor-4.9.4/syncres.cc:2288:47: note: Calling std::move(answer) pdns-recursor-4.9.4/syncres.cc:2291:11: note: Access of moved variable 'answer'. pdns-recursor-4.9.4/syncres.cc:1751:39: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] pdns-recursor-4.9.4/syncres.cc:2525:75: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] pdns-recursor-4.9.4/syncres.cc:3188:3: style: Consider using std::all_of or std::none_of algorithm instead of a raw loop. [useStlAlgorithm] pdns-recursor-4.9.4/syncres.cc:3479:15: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] pdns-recursor-4.9.4/syncres.cc:3559:7: style: Consider using std::count_if algorithm instead of a raw loop. [useStlAlgorithm] pdns-recursor-4.9.4/syncres.cc:6021:3: style: Consider using std::all_of or std::none_of algorithm instead of a raw loop. [useStlAlgorithm] pdns-recursor-4.9.4/syncres.cc:5922:21: style: Variable 'msg' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/syncres.cc:5969:16: style: Variable 'msg' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/taskqueue.cc:34:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable second [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/tcpiohandler.hh:147:8: performance:inconclusive: Technically the member function 'TLSFrontend::setupTLS' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-recursor-4.9.4/tcpiohandler.cc:1820:19: note: Technically the member function 'TLSFrontend::setupTLS' can be static (but you may consider moving to unnamed namespace). pdns-recursor-4.9.4/tcpiohandler.hh:147:8: note: Technically the member function 'TLSFrontend::setupTLS' can be static (but you may consider moving to unnamed namespace). pdns-recursor-4.9.4/test-aggressive_nsec_cc.cc:11:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s_maxNSEC3CommonPrefix [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-aggressive_nsec_cc.cc:116:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-aggressive_nsec_cc.cc:202:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-aggressive_nsec_cc.cc:293:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-aggressive_nsec_cc.cc:397:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-aggressive_nsec_cc.cc:508:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-aggressive_nsec_cc.cc:540:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s_maxNSEC3CommonPrefix [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-aggressive_nsec_cc.cc:715:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-aggressive_nsec_cc.cc:733:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s_maxNSEC3CommonPrefix [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-aggressive_nsec_cc.cc:928:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-aggressive_nsec_cc.cc:1055:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-aggressive_nsec_cc.cc:1340:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s_maxNSEC3CommonPrefix [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-aggressive_nsec_cc.cc:1470:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-aggressive_nsec_cc.cc:1615:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s_maxNSEC3CommonPrefix [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-aggressive_nsec_cc.cc:1936:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s_maxNSEC3CommonPrefix [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-aggressive_nsec_cc.cc:1480:11: style: Redundant initialization for 'cache'. The initialized value is overwritten before it is read. [redundantInitialization] pdns-recursor-4.9.4/test-aggressive_nsec_cc.cc:1458:14: note: cache is initialized pdns-recursor-4.9.4/test-aggressive_nsec_cc.cc:1480:11: note: cache is overwritten pdns-recursor-4.9.4/test-aggressive_nsec_cc.cc:1641:11: style: Redundant initialization for 'cache'. The initialized value is overwritten before it is read. [redundantInitialization] pdns-recursor-4.9.4/test-aggressive_nsec_cc.cc:1616:14: note: cache is initialized pdns-recursor-4.9.4/test-aggressive_nsec_cc.cc:1641:11: note: cache is overwritten pdns-recursor-4.9.4/test-arguments_cc.cc:56:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-arguments_cc.cc:33:5: error: Resource leak: fd [resourceLeak] pdns-recursor-4.9.4/test-arguments_cc.cc:37:13: style: Local variable 'arg' shadows outer function [shadowFunction] pdns-recursor-4.9.4/arguments.hh:144:17: note: Shadowed declaration pdns-recursor-4.9.4/test-arguments_cc.cc:37:13: note: Shadow variable pdns-recursor-4.9.4/test-arguments_cc.cc:38:15: style: Variable 'a' can be declared as reference to const [constVariableReference] pdns-recursor-4.9.4/test-base32_cc.cc:28:28: style: Iterating over container 'cases' that is always empty. [knownEmptyContainer] pdns-recursor-4.9.4/test-credentials_cc.cc:146:3: warning:inconclusive: Access of moved variable 'data'. [accessMoved] pdns-recursor-4.9.4/test-credentials_cc.cc:144:11: note: Calling std::move(data) pdns-recursor-4.9.4/test-credentials_cc.cc:146:3: note: Access of moved variable 'data'. pdns-recursor-4.9.4/test-dnsname_cc.cc:156:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable runtime_error [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-dnsname_cc.cc:191:116: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable range_error [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-dnsname_cc.cc:203:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out_of_range [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-dnsname_cc.cc:285:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-dnsname_cc.cc:342:80: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable range_error [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-dnsname_cc.cc:531:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-dnsname_cc.cc:747:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable range_error [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-dnsname_cc.cc:779:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable range_error [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-dnsname_cc.cc:824:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable range_error [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-dnsname_cc.cc:843:74: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable range_error [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-dnsname_cc.cc:870:94: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable range_error [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-dnsname_cc.cc:899:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable range_error [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-dnsname_cc.cc:923:76: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable range_error [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-dnsname_cc.cc:930:76: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable range_error [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-dnsname_cc.cc:937:74: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable range_error [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-dnsname_cc.cc:954:86: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable range_error [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-dnsname_cc.cc:976:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out_of_range [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-dnsname_cc.cc:996:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out_of_range [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-dnsname_cc.cc:1031:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name5 [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/dnsname.hh:379:8: style:inconclusive: Technically the member function 'SuffixMatchTree < DNSName >::add' can be const. [functionConst] pdns-recursor-4.9.4/dnsname.hh:306:3: style: Struct 'SuffixMatchTree < DNSName >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/test-dnsname_cc.cc:282:15: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/test-dnsname_cc.cc:310:21: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/test-dnsname_cc.cc:332:13: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/test-dnsname_cc.cc:342:29: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/test-dnsname_cc.cc:456:14: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/test-dnsname_cc.cc:477:15: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/test-dnsname_cc.cc:482:15: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/test-dnsname_cc.cc:485:17: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/test-dnsrecords_cc.cc:440:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-dnsrecords_cc.cc:466:97: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-dnsrecords_cc.cc:501:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable invalidSVCB1 [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-dnsrecords_cc.cc:508:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-dnsrecords_cc.cc:520:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-dnsrecords_cc.cc:540:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-dnsrecords_cc.cc:588:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-dnsrecords_cc.cc:616:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-dnsrecords_cc.cc:640:74: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-dnsrecords_cc.cc:409:11: style: Condition 'success' is always false [knownConditionTrueFalse] pdns-recursor-4.9.4/test-dnsrecords_cc.cc:405:19: note: Assignment 'success=false', assigned value is 0 pdns-recursor-4.9.4/test-dnsrecords_cc.cc:409:11: note: Condition 'success' is always false pdns-recursor-4.9.4/test-dnsrecords_cc.cc:431:26: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/test-dnsrecords_cc.cc:394:7: style: Instance of 'std::string' object is destroyed immediately. [unusedScopedObject] pdns-recursor-4.9.4/test-ednsoptions_cc.cc:22:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-ednsoptions_cc.cc:101:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable content [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-ednsoptions_cc.cc:144:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-ednsoptions_cc.cc:206:99: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable runtime_error [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-ednsoptions_cc.cc:127:43: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] pdns-recursor-4.9.4/test-ednsoptions_cc.cc:49:19: style: Variable 'dnsname' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/test-ednsoptions_cc.cc:81:19: style: Variable 'dnsname' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/test-filterpo_cc.cc:283:5: style: Instance of 'std::string' object is destroyed immediately. [unusedScopedObject] pdns-recursor-4.9.4/test-filterpo_cc.cc:284:5: style: Instance of 'std::string' object is destroyed immediately. [unusedScopedObject] pdns-recursor-4.9.4/test-filterpo_cc.cc:290:5: style: Instance of 'std::string' object is destroyed immediately. [unusedScopedObject] pdns-recursor-4.9.4/test-filterpo_cc.cc:291:5: style: Instance of 'std::string' object is destroyed immediately. [unusedScopedObject] pdns-recursor-4.9.4/test-filterpo_cc.cc:297:5: style: Instance of 'std::string' object is destroyed immediately. [unusedScopedObject] pdns-recursor-4.9.4/test-filterpo_cc.cc:298:5: style: Instance of 'std::string' object is destroyed immediately. [unusedScopedObject] pdns-recursor-4.9.4/test-histogram_hh.cc:53:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_count [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/histogram.hh:180:25: performance:inconclusive: Technically the member function 'pdns::BaseHistogram::to125' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-recursor-4.9.4/test-histogram_hh.cc:50:12: style: Variable 'expected' can be declared as const array [constVariable] pdns-recursor-4.9.4/test-histogram_hh.cc:58:12: style: Variable 'cexpected' can be declared as const array [constVariable] pdns-recursor-4.9.4/test-iputils_hh.cc:17:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-iputils_hh.cc:398:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable second [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-iputils_hh.cc:455:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable second [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-iputils_hh.cc:467:76: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable second [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-iputils_hh.cc:516:86: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable second [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-iputils_hh.cc:588:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hex [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-iputils_hh.cc:93:16: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/test-iputils_hh.cc:96:16: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/test-iputils_hh.cc:151:35: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/test-iputils_hh.cc:154:35: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/test-iputils_hh.cc:851:5: style: Variable 'tests' can be declared as const array [constVariable] pdns-recursor-4.9.4/test-ixfr_cc.cc:19:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-ixfr_cc.cc:41:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-ixfr_cc.cc:88:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-ixfr_cc.cc:119:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-ixfr_cc.cc:162:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-ixfr_cc.cc:207:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-ixfr_cc.cc:228:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-ixfr_cc.cc:250:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-ixfr_cc.cc:266:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-ixfr_cc.cc:279:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-ixfr_cc.cc:296:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-luawrapper.cc:25:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable increment [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-misc_hh.cc:389:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable range_error [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-misc_hh.cc:77:28: style: Iterating over container 'cases' that is always empty. [knownEmptyContainer] pdns-recursor-4.9.4/test-misc_hh.cc:100:28: style: Iterating over container 'cases' that is always empty. [knownEmptyContainer] pdns-recursor-4.9.4/test-misc_hh.cc:127:14: style: Variable 'i' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/test-mplexer.cc:27:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s_maxevents [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-mplexer.cc:228:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s_maxevents [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-mtasker.cc:111:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable exception [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/mtasker.hh:127:3: warning: Member variable 'MTasker < int , int , std :: less < EventKey > >::d_waitval' is not initialized in the constructor. [uninitMemberVar] pdns-recursor-4.9.4/mtasker.hh:127:3: warning: Member variable 'MTasker < int , int , std :: less < EventKey > >::d_eventkey' is not initialized in the constructor. [uninitMemberVar] pdns-recursor-4.9.4/mtasker.hh:102:8: performance:inconclusive: Technically the member function 'MTasker < int , int , std :: less < EventKey > >::initMainStackBounds' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-recursor-4.9.4/mtasker.hh:146:16: performance:inconclusive: Technically the member function 'MTasker < int , int , std :: less < EventKey > >::getUsec' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-recursor-4.9.4/mtasker.cc:431:77: note: Technically the member function 'MTasker < int , int , std :: less < EventKey > >::getUsec' can be static (but you may consider moving to unnamed namespace). pdns-recursor-4.9.4/mtasker.hh:146:16: note: Technically the member function 'MTasker < int , int , std :: less < EventKey > >::getUsec' can be static (but you may consider moving to unnamed namespace). pdns-recursor-4.9.4/mtasker.hh:127:3: style: Class 'MTasker < int , int , std :: less < EventKey > >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-recursor-4.9.4/test-negcache_cc.cc:534:11: style: The scope of the variable 'read' can be reduced. [variableScope] pdns-recursor-4.9.4/test-packetcache_hh.cc:34:22: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/test-packetcache_hh.cc:42:22: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/test-packetcache_hh.cc:62:22: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/test-packetcache_hh.cc:76:22: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/test-packetcache_hh.cc:134:22: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/test-packetcache_hh.cc:149:22: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/test-packetcache_hh.cc:172:22: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/test-packetcache_hh.cc:188:22: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/test-packetcache_hh.cc:266:22: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/test-packetcache_hh.cc:293:22: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/test-packetcache_hh.cc:301:22: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/test-packetcache_hh.cc:321:22: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/test-packetcache_hh.cc:335:22: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/test-packetcache_hh.cc:358:22: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/test-packetcache_hh.cc:374:22: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/test-rec-tcounters_cc.cc:74:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable avg [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-rec-tcounters_cc.cc:131:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable avg [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-rec-zonetocache.cc:90:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RequireAuth [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-recpacketcache_cc.cc:105:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-recpacketcache_cc.cc:33:19: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/test-recpacketcache_cc.cc:42:19: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/test-recpacketcache_cc.cc:72:19: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/test-recpacketcache_cc.cc:99:19: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/test-recpacketcache_cc.cc:110:19: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/test-recpacketcache_cc.cc:146:19: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/test-recursorcache_cc.cc:29:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-recursorcache_cc.cc:406:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-recursorcache_cc.cc:449:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-recursorcache_cc.cc:497:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-recursorcache_cc.cc:591:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-recursorcache_cc.cc:767:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-recursorcache_cc.cc:926:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-recursorcache_cc.cc:1012:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-recursorcache_cc.cc:44:12: style: The scope of the variable 'counter' can be reduced. [variableScope] pdns-recursor-4.9.4/test-recursorcache_cc.cc:1042:12: style: The scope of the variable 'counter' can be reduced. [variableScope] pdns-recursor-4.9.4/test-reczones-helpers.cc:28:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-reczones-helpers.cc:33:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-reczones-helpers.cc:38:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-reczones-helpers.cc:46:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_records [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-reczones-helpers.cc:59:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_records [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-reczones-helpers.cc:131:102: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-reczones-helpers.cc:189:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-reczones-helpers.cc:236:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-reczones-helpers.cc:177:14: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] pdns-recursor-4.9.4/test-signers.cc:353:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-signers.cc:398:16: style: Variable 'errorMessage' can be declared as reference to const [constVariableReference] pdns-recursor-4.9.4/test-syncres_cc.cc:359:129: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable none [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc.cc:494:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable second [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc.cc:505:76: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable none [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc.cc:470:185: style:inconclusive: Function 'addNSEC3NarrowRecordToLW' argument 7 names different: declaration 'OptOut' definition 'optOut'. [funcArgNamesDifferent] pdns-recursor-4.9.4/test-syncres_cc.hh:68:190: note: Function 'addNSEC3NarrowRecordToLW' argument 7 names different: declaration 'OptOut' definition 'optOut'. pdns-recursor-4.9.4/test-syncres_cc.cc:470:185: note: Function 'addNSEC3NarrowRecordToLW' argument 7 names different: declaration 'OptOut' definition 'optOut'. pdns-recursor-4.9.4/test-syncres_cc.cc:337:49: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] pdns-recursor-4.9.4/test-syncres_cc1.cc:21:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc1.cc:72:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc1.cc:103:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc1.cc:127:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc1.cc:177:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc1.cc:236:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc1.cc:289:81: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc1.cc:346:85: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc1.cc:376:80: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc1.cc:406:81: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc1.cc:439:81: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc1.cc:479:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc1.cc:527:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc1.cc:573:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc1.cc:614:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc1.cc:658:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc1.cc:688:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable domainmap [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc1.cc:739:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable domainmap [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc1.cc:825:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc1.cc:873:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc1.cc:929:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc1.cc:998:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc1.cc:1048:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc1.cc:1125:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc1.cc:1162:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable none [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc1.cc:1234:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s_ecsqueries [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc1.cc:1262:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable none [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc1.cc:1306:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable none [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc1.cc:1376:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc1.cc:1421:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc1.cc:1464:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc1.cc:1510:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc1.cc:1571:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc1.cc:1617:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc1.cc:1685:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc1.cc:1730:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc1.cc:1771:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc1.cc:1782:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s_maxServedStaleExtensions [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc1.cc:1855:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s_maxtotusec [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc1.cc:1928:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc1.cc:2108:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc1.cc:2212:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc1.cc:2359:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc1.cc:2455:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc1.cc:2560:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc1.cc:393:66: style: Condition 'doTCP' is always true [knownConditionTrueFalse] pdns-recursor-4.9.4/test-syncres_cc1.cc:389:9: note: Assuming that condition '!doTCP' is not redundant pdns-recursor-4.9.4/test-syncres_cc1.cc:393:66: note: Condition 'doTCP' is always true pdns-recursor-4.9.4/test-syncres_cc1.cc:307:3: style: Statements following 'return' will never be executed. [unreachableCode] pdns-recursor-4.9.4/test-syncres_cc10.cc:13:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s_doIPv6 [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc10.cc:68:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s_doIPv6 [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc10.cc:106:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s_doIPv4 [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc10.cc:239:84: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc10.cc:358:85: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc10.cc:486:85: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc10.cc:634:85: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc10.cc:764:85: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc10.cc:885:85: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc10.cc:999:85: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc10.cc:1066:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s_maxServedStaleExtensions [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc10.cc:1203:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s_maxServedStaleExtensions [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc10.cc:1336:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s_maxServedStaleExtensions [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc10.cc:1478:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s_maxServedStaleExtensions [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc10.cc:1633:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s_maxServedStaleExtensions [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc10.cc:1785:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s_maxServedStaleExtensions [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc10.cc:1924:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc10.cc:1955:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s_locked_ttlperc [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc10.cc:2046:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s_locked_ttlperc [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc10.cc:2116:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc10.cc:2127:87: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc10.cc:2139:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc10.cc:1016:35: performance: Function parameter 'rem' should be passed by const reference. [passedByValue] pdns-recursor-4.9.4/test-syncres_cc2.cc:61:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s_maxdepth [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc2.cc:110:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s_doIPv6 [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc2.cc:176:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s_doIPv6 [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc2.cc:306:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s_nonresolvingnsmaxfails [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc2.cc:365:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s_maxqperq [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc2.cc:410:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tv_sec [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc2.cc:432:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tv_sec [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc2.cc:454:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tv_sec [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc2.cc:499:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc2.cc:546:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s_maxnegttl [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc2.cc:612:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc2.cc:673:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s_rootNXTrust [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc2.cc:697:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s_hardenNXD [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc2.cc:891:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc2.cc:967:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s_hardenNXD [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc2.cc:1041:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s_hardenNXD [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc2.cc:1136:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable none [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc2.cc:1181:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s_ecsipv4cachelimit [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc2.cc:1220:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s_ecsipv4cachelimit [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc2.cc:1259:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s_ecscachelimitttl [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc2.cc:1298:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s_ecscachelimitttl [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc2.cc:1338:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s_ecscachelimitttl [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc2.cc:1426:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc2.cc:1463:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tv_sec [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc2.cc:1505:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc2.cc:1544:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc2.cc:1569:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tv_sec [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc2.cc:1600:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc2.cc:1635:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tv_sec [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc2.cc:1683:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable none [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc2.cc:1757:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tv_sec [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc2.cc:1778:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s_refresh_ttlperc [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc3.cc:27:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tv_sec [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc3.cc:72:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc3.cc:97:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc3.cc:140:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tv_sec [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc3.cc:210:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tv_sec [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc3.cc:257:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc3.cc:282:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc3.cc:307:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc3.cc:332:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc3.cc:357:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc3.cc:379:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NONE [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc3.cc:400:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tv_sec [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc3.cc:425:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc3.cc:470:93: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc3.cc:615:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc3.cc:656:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc3.cc:698:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc3.cc:744:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc3.cc:763:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable domainmap [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc3.cc:824:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable domainmap [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc3.cc:873:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable domainmap [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc3.cc:933:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable domainmap [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc3.cc:979:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable domainmap [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc3.cc:1050:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable domainmap [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc3.cc:1154:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable domainmap [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc3.cc:1220:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable domainmap [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc3.cc:1289:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable domainmap [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc3.cc:1358:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable domainmap [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc3.cc:1426:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable domainmap [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc3.cc:1507:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc3.cc:1561:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc3.cc:1617:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc3.cc:1675:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc4.cc:47:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc4.cc:86:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc4.cc:144:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tv_sec [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc4.cc:226:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc4.cc:273:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc4.cc:328:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc4.cc:378:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc4.cc:428:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc4.cc:453:81: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable none [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc4.cc:517:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc4.cc:603:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc4.cc:669:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc4.cc:745:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc4.cc:821:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc4.cc:908:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc4.cc:1015:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc4.cc:1114:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc4.cc:1216:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc4.cc:1294:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc4.cc:1360:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s_maxcachettl [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc4.cc:1436:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s_maxcachettl [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc4.cc:1525:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc4.cc:1605:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc4.cc:1641:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tv_sec [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc4.cc:1713:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tv_sec [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc4.cc:1791:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tv_sec [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc4.cc:1889:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc4.cc:1964:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc4.cc:2038:73: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc4.cc:334:3: style: Instance of 'std::string' object is destroyed immediately. [unusedScopedObject] pdns-recursor-4.9.4/test-syncres_cc5.cc:34:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tv_sec [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc5.cc:148:84: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable none [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc5.cc:316:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc5.cc:417:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc5.cc:525:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc5.cc:614:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc5.cc:706:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc5.cc:822:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc5.cc:931:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc5.cc:1053:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc5.cc:1137:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc5.cc:1228:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc5.cc:1323:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc5.cc:1334:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s_maxnsec3iterationsperq [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc5.cc:1492:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc5.cc:1586:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc5.cc:1704:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc5.cc:1823:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc5.cc:1929:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc5.cc:1992:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc5.cc:2046:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc5.cc:2108:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc5.cc:2228:83: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc5.cc:2268:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tv_sec [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc5.cc:2379:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tv_sec [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc5.cc:2501:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tv_sec [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc6.cc:109:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc6.cc:227:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc6.cc:310:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc6.cc:366:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc6.cc:476:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc6.cc:570:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc6.cc:672:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc6.cc:788:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc6.cc:878:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc6.cc:966:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc6.cc:1073:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc6.cc:1193:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc6.cc:1299:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc6.cc:1362:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc6.cc:1428:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc6.cc:1555:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc6.cc:1654:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc6.cc:1753:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc6.cc:1865:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc6.cc:1955:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc7.cc:26:98: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable second [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc7.cc:229:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc7.cc:380:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc7.cc:503:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc7.cc:629:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc7.cc:725:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc7.cc:821:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc7.cc:917:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc7.cc:1038:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc7.cc:1071:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable second [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc7.cc:1167:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable second [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc7.cc:1298:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc7.cc:1354:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc7.cc:1415:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc7.cc:1490:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc7.cc:1565:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc7.cc:1627:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc7.cc:1749:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc7.cc:1872:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc7.cc:257:38: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] pdns-recursor-4.9.4/test-syncres_cc8.cc:432:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_name [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc8.cc:467:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_name [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc8.cc:524:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_name [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc8.cc:662:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_name [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc8.cc:804:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_name [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc8.cc:879:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_name [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc8.cc:920:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_name [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc8.cc:961:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_name [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc8.cc:1002:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_name [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc8.cc:1041:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tv_sec [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc8.cc:1109:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tv_sec [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc8.cc:1181:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tv_sec [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc8.cc:1272:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc8.cc:1337:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc8.cc:1401:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s_maxbogusttl [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc8.cc:1498:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc9.cc:62:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc9.cc:134:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc9.cc:206:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s_maxbogusttl [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc9.cc:311:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc9.cc:358:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tv_sec [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc9.cc:462:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc9.cc:522:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc9.cc:598:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s_maxbogusttl [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc9.cc:713:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc9.cc:921:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tv_sec [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc9.cc:1008:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tv_sec [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc9.cc:1061:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tv_sec [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc9.cc:1096:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tv_sec [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc9.cc:1155:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tv_sec [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc9.cc:1202:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tv_sec [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc9.cc:1289:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-syncres_cc9.cc:1377:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-tsig.cc:84:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANY [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-tsig.cc:160:101: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable runtime_error [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-tsig.cc:171:92: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable runtime_error [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-tsig.cc:182:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable runtime_error [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-tsig.cc:194:98: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable runtime_error [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-tsig.cc:206:107: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable runtime_error [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-tsig.cc:218:86: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable runtime_error [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-tsig.cc:229:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable runtime_error [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-tsig.cc:240:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable runtime_error [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/test-tsig.cc:71:175: style: Parameter 'overrideExtendedRCode' can be declared as pointer to const [constParameterPointer] pdns-recursor-4.9.4/test-tsig.cc:71:216: style: Parameter 'overrideOrigID' can be declared as pointer to const [constParameterPointer] pdns-recursor-4.9.4/test-tsig.cc:92:17: style: Variable 'keyName' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/testrunner.cc:85:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_slog [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/threadname.cc:67:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERANGE [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/threadname.cc:72:14: style: Condition 'retval!=0' is always false [knownConditionTrueFalse] pdns-recursor-4.9.4/threadname.cc:44:16: note: Assignment 'retval=0', assigned value is 0 pdns-recursor-4.9.4/threadname.cc:66:32: note: Calling function 'trySetThreadName' returns 0 pdns-recursor-4.9.4/threadname.cc:66:32: note: Assignment 'retval=trySetThreadName(threadName)', assigned value is 0 pdns-recursor-4.9.4/threadname.cc:72:14: note: Condition 'retval!=0' is always false pdns-recursor-4.9.4/unix_utility.cc:69:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/unix_utility.cc:145:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/unix_utility.cc:181:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/unix_utility.cc:281:84: style:inconclusive: Boolean expression 't->tm_mon>1' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] pdns-recursor-4.9.4/unix_utility.cc:154:23: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] pdns-recursor-4.9.4/unix_utility.cc:257:20: style: Condition 't->tm_mon==31+29' is always false [knownConditionTrueFalse] pdns-recursor-4.9.4/unix_utility.cc:256:18: note: Assuming that condition 't->tm_mon==1' is not redundant pdns-recursor-4.9.4/unix_utility.cc:257:20: note: Condition 't->tm_mon==31+29' is always false pdns-recursor-4.9.4/unix_utility.cc:125:42: style:inconclusive: Function 'sleep' argument 1 names different: declaration 'seconds' definition 'sec'. [funcArgNamesDifferent] pdns-recursor-4.9.4/utility.hh:137:43: note: Function 'sleep' argument 1 names different: declaration 'seconds' definition 'sec'. pdns-recursor-4.9.4/unix_utility.cc:125:42: note: Function 'sleep' argument 1 names different: declaration 'seconds' definition 'sec'. pdns-recursor-4.9.4/unix_utility.cc:228:41: style:inconclusive: Function 'timegm' argument 1 names different: declaration 'tm' definition 't'. [funcArgNamesDifferent] pdns-recursor-4.9.4/utility.hh:142:35: note: Function 'timegm' argument 1 names different: declaration 'tm' definition 't'. pdns-recursor-4.9.4/unix_utility.cc:228:41: note: Function 'timegm' argument 1 names different: declaration 'tm' definition 't'. pdns-recursor-4.9.4/validate.cc:87:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hash < Netmask > [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/validate.cc:1328:43: style:inconclusive: Function 'isSupportedDS' argument 1 names different: declaration 'dsRecordContent' definition 'dsrec'. [funcArgNamesDifferent] pdns-recursor-4.9.4/validate.hh:114:43: note: Function 'isSupportedDS' argument 1 names different: declaration 'dsRecordContent' definition 'dsrec'. pdns-recursor-4.9.4/validate.cc:1328:43: note: Function 'isSupportedDS' argument 1 names different: declaration 'dsRecordContent' definition 'dsrec'. pdns-recursor-4.9.4/validate.cc:1346:14: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] pdns-recursor-4.9.4/validate.cc:509:3: style: int result is returned as long value. If the return value is long to avoid loss of information, then you have loss of information. [truncLongCastReturn] pdns-recursor-4.9.4/version.cc:172:46: error: There is an unknown macro here somewhere. Configuration is required. If BUILD_HOST is a macro then please configure it. [unknownMacro] pdns-recursor-4.9.4/webserver.cc:50:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable body [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/webserver.cc:101:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable headers [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/webserver.cc:108:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable headers [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/webserver.cc:115:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable headers [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/webserver.cc:122:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable headers [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/webserver.cc:130:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable status [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/webserver.cc:136:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable status [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/webserver.cc:284:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/webserver.cc:59:65: style:inconclusive: Function 'compareAuthorization' argument 1 names different: declaration 'expectedCredentials' definition 'credentials'. [funcArgNamesDifferent] pdns-recursor-4.9.4/webserver.hh:49:54: note: Function 'compareAuthorization' argument 1 names different: declaration 'expectedCredentials' definition 'credentials'. pdns-recursor-4.9.4/webserver.cc:59:65: note: Function 'compareAuthorization' argument 1 names different: declaration 'expectedCredentials' definition 'credentials'. pdns-recursor-4.9.4/webserver.cc:89:85: style:inconclusive: Function 'compareHeader' argument 2 names different: declaration 'expectedCredentials' definition 'credentials'. [funcArgNamesDifferent] pdns-recursor-4.9.4/webserver.hh:50:74: note: Function 'compareHeader' argument 2 names different: declaration 'expectedCredentials' definition 'credentials'. pdns-recursor-4.9.4/webserver.cc:89:85: note: Function 'compareHeader' argument 2 names different: declaration 'expectedCredentials' definition 'credentials'. pdns-recursor-4.9.4/webserver.cc:127:73: style:inconclusive: Function 'setErrorResult' argument 2 names different: declaration 'status' definition 'status_'. [funcArgNamesDifferent] pdns-recursor-4.9.4/webserver.hh:71:61: note: Function 'setErrorResult' argument 2 names different: declaration 'status' definition 'status_'. pdns-recursor-4.9.4/webserver.cc:127:73: note: Function 'setErrorResult' argument 2 names different: declaration 'status' definition 'status_'. pdns-recursor-4.9.4/webserver.cc:133:75: style:inconclusive: Function 'setSuccessResult' argument 2 names different: declaration 'status' definition 'status_'. [funcArgNamesDifferent] pdns-recursor-4.9.4/webserver.hh:72:63: note: Function 'setSuccessResult' argument 2 names different: declaration 'status' definition 'status_'. pdns-recursor-4.9.4/webserver.cc:133:75: note: Function 'setSuccessResult' argument 2 names different: declaration 'status' definition 'status_'. pdns-recursor-4.9.4/webserver.cc:262:44: style:inconclusive: Function 'handleRequest' argument 1 names different: declaration 'request' definition 'req'. [funcArgNamesDifferent] pdns-recursor-4.9.4/webserver.hh:222:35: note: Function 'handleRequest' argument 1 names different: declaration 'request' definition 'req'. pdns-recursor-4.9.4/webserver.cc:262:44: note: Function 'handleRequest' argument 1 names different: declaration 'request' definition 'req'. pdns-recursor-4.9.4/webserver.cc:151:41: style: Parameter 'req' can be declared as pointer to const [constParameterPointer] pdns-recursor-4.9.4/webserver.cc:243:21: style: Variable 'msg' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/webserver.cc:623:16: style: Variable 'msg' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/webserver.cc:626:20: style: Variable 'acceptmsg' is assigned a value that is never used. [unreadVariable] pdns-recursor-4.9.4/ws-api.cc:66:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __trans_lower [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/ws-api.cc:162:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/ws-api.cc:324:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/ws-api.cc:394:117: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/ws-api.cc:67:31: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/ws-api.cc:68:31: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/ws-api.cc:73:25: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/ws-api.cc:82:41: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/ws-api.cc:84:32: style: C-style pointer casting [cstyleCast] pdns-recursor-4.9.4/ws-api.cc:80:33: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] pdns-recursor-4.9.4/ws-api.cc:363:39: style:inconclusive: Function 'apiZoneNameToId' argument 1 names different: declaration 'name' definition 'dname'. [funcArgNamesDifferent] pdns-recursor-4.9.4/ws-api.hh:36:39: note: Function 'apiZoneNameToId' argument 1 names different: declaration 'name' definition 'dname'. pdns-recursor-4.9.4/ws-api.cc:363:39: note: Function 'apiZoneNameToId' argument 1 names different: declaration 'name' definition 'dname'. pdns-recursor-4.9.4/ws-api.cc:398:51: style:inconclusive: Function 'apiCheckQNameAllowedCharacters' argument 1 names different: declaration 'name' definition 'qname'. [funcArgNamesDifferent] pdns-recursor-4.9.4/ws-api.hh:38:51: note: Function 'apiCheckQNameAllowedCharacters' argument 1 names different: declaration 'name' definition 'qname'. pdns-recursor-4.9.4/ws-api.cc:398:51: note: Function 'apiCheckQNameAllowedCharacters' argument 1 names different: declaration 'name' definition 'qname'. pdns-recursor-4.9.4/ws-api.cc:66:14: style: Variable 'cm' can be declared as pointer to const [constVariablePointer] pdns-recursor-4.9.4/ws-api.cc:112:32: style: Parameter 'req' can be declared as pointer to const [constParameterPointer] pdns-recursor-4.9.4/ws-api.cc:125:34: style: Parameter 'req' can be declared as pointer to const [constParameterPointer] pdns-recursor-4.9.4/ws-api.cc:139:29: style: Parameter 'req' can be declared as pointer to const [constParameterPointer] pdns-recursor-4.9.4/ws-api.cc:147:35: style: Parameter 'req' can be declared as pointer to const [constParameterPointer] pdns-recursor-4.9.4/ws-api.cc:154:35: style: Parameter 'req' can be declared as pointer to const [constParameterPointer] pdns-recursor-4.9.4/ws-api.cc:204:9: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] pdns-recursor-4.9.4/ws-recursor.cc:205:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/ws-recursor.cc:312:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable domainmap [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/ws-recursor.cc:379:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable domainmap [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/ws-recursor.cc:511:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/ws-recursor.cc:1217:81: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/ws-recursor.cc:1265:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_urlmap [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/ws-recursor.cc:1448:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timeval [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/rec_metrics.hh:45:3: warning: Member variable 'MetricDefinition::d_prometheusType' is not initialized in the constructor. [uninitMemberVar] pdns-recursor-4.9.4/rec_metrics.hh:57:8: performance:inconclusive: Technically the member function 'MetricDefinitionStorage::getMetricDetails' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-recursor-4.9.4/ws-recursor.cc:1521:22: warning: The class 'AsyncWebServer' defines member function with name 'go' also defined in its parent class 'WebServer'. [duplInheritedMember] pdns-recursor-4.9.4/webserver.hh:219:8: note: Parent function 'WebServer::go' pdns-recursor-4.9.4/ws-recursor.cc:1521:22: note: Derived function 'AsyncWebServer::go' pdns-recursor-4.9.4/ws-recursor.cc:1423:22: warning: The class 'AsyncWebServer' defines member function with name 'serveConnection' also defined in its parent class 'WebServer'. [duplInheritedMember] pdns-recursor-4.9.4/webserver.hh:221:8: note: Parent function 'WebServer::serveConnection' pdns-recursor-4.9.4/ws-recursor.cc:1423:22: note: Derived function 'AsyncWebServer::serveConnection' pdns-recursor-4.9.4/ws-recursor.cc:1441:16: style: The scope of the variable 'reply' can be reduced. [variableScope] pdns-recursor-4.9.4/ws-recursor.cc:1458:18: style: The scope of the variable 'data' can be reduced. [variableScope] pdns-recursor-4.9.4/ws-recursor.cc:431:44: style: Parameter 'req' can be declared as pointer to const. However it seems that 'apiServerRPZStats' is a callback function, if 'req' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pdns-recursor-4.9.4/ws-recursor.cc:1255:71: note: You might need to cast the function pointer here pdns-recursor-4.9.4/ws-recursor.cc:431:44: note: Parameter 'req' can be declared as pointer to const pdns-recursor-4.9.4/ws-recursor.cc:465:44: style: Parameter 'req' can be declared as pointer to const. However it seems that 'prometheusMetrics' is a callback function, if 'req' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pdns-recursor-4.9.4/ws-recursor.cc:1270:40: note: You might need to cast the function pointer here pdns-recursor-4.9.4/ws-recursor.cc:465:44: note: Parameter 'req' can be declared as pointer to const pdns-recursor-4.9.4/ws-recursor.cc:1211:9: performance: Inefficient usage of string::find() in condition; string::starts_with() could be faster. [stlIfStrFind] pdns-recursor-4.9.4/ws-recursor.cc:1214:9: performance: Inefficient usage of string::find() in condition; string::starts_with() could be faster. [stlIfStrFind] pdns-recursor-4.9.4/ws-recursor.cc:1217:9: performance: Inefficient usage of string::find() in condition; string::starts_with() could be faster. [stlIfStrFind] pdns-recursor-4.9.4/ws-recursor.cc:497:20: performance: Ineffective call of function 'substr' because a prefix of the string is assigned to itself. Use resize() or pop_back() instead. [uselessCallsSubstr] pdns-recursor-4.9.4/ws-recursor.cc:157:13: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] pdns-recursor-4.9.4/ws-recursor.cc:162:13: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] pdns-recursor-4.9.4/ws-recursor.cc:316:15: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] pdns-recursor-4.9.4/zoneparser-tng.cc:63:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/zoneparser-tng.cc:280:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/zoneparser-tng.cc:350:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] pdns-recursor-4.9.4/zoneparser-tng.hh:41:11: style:inconclusive: Technically the member function 'ZoneParserTNG::getZoneName' can be const. [functionConst] pdns-recursor-4.9.4/zoneparser-tng.cc:317:24: note: Technically the member function 'ZoneParserTNG::getZoneName' can be const. pdns-recursor-4.9.4/zoneparser-tng.hh:41:11: note: Technically the member function 'ZoneParserTNG::getZoneName' can be const. pdns-recursor-4.9.4/zoneparser-tng.hh:41:11: performance: Function 'getZoneName()' should return member 'd_zonename' by const reference. [returnByReference] pdns-recursor-4.9.4/zoneparser-tng.cc:256:11: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] pdns-recursor-4.9.4/zoneparser-tng.cc:85:5: error: Resource handle 'fd' freed twice. [doubleFree] pdns-recursor-4.9.4/zoneparser-tng.cc:82:14: note: Resource handle 'fd' freed twice. pdns-recursor-4.9.4/zoneparser-tng.cc:85:5: note: Resource handle 'fd' freed twice. pdns-recursor-4.9.4/zoneparser-tng.cc:473:44: warning: Either the condition 'd_parts.empty()' is redundant or expression 'd_parts[0]' causes access out of bounds. [containerOutOfBounds] pdns-recursor-4.9.4/zoneparser-tng.cc:489:19: note: Assuming that condition 'd_parts.empty()' is not redundant pdns-recursor-4.9.4/zoneparser-tng.cc:474:17: note: Assuming condition is false pdns-recursor-4.9.4/zoneparser-tng.cc:473:44: note: Access out of bounds pdns-recursor-4.9.4/zoneparser-tng.cc:227:16: performance: Constructing a std::string from the result of c_str() is slow and redundant. [stlcstrConstructor] diff: DONE