2025-08-28 11:18 ftp://ftp.de.debian.org/debian/pool/main/p/pdns/pdns_5.0.0.orig.tar.bz2 cppcheck-options: --library=posix --library=gnu --library=bsd --library=boost --library=openssl --library=sqlite3 --library=libcurl --library=bsd --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j1 platform: Linux-6.8.0-79-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04) 14.2.0 cppcheck: head 2.18.0 head-info: e3d2d90 (2025-08-27 11:11:05 +0200) count: 2798 2795 elapsed-time: 527.1 477.4 head-timing-info: old-timing-info: head results: pdns-5.0.0/ext/arc4random/arc4random.h:38:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pdns-5.0.0/ext/arc4random/arc4random.c:228:34: style:inconclusive: Function 'arc4random_buf' argument 2 names different: declaration 'nbytes' definition 'n'. [funcArgNamesDifferent] pdns-5.0.0/ext/arc4random/includes.h:18:39: note: Function 'arc4random_buf' argument 2 names different: declaration 'nbytes' definition 'n'. pdns-5.0.0/ext/arc4random/arc4random.c:228:34: note: Function 'arc4random_buf' argument 2 names different: declaration 'nbytes' definition 'n'. pdns-5.0.0/ext/arc4random/arc4random.c:95:18: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] pdns-5.0.0/ext/arc4random/arc4random.c:147:19: style: Parameter 'dat' can be declared as pointer to const [constParameterPointer] pdns-5.0.0/ext/arc4random/arc4random_uniform.c:48:21: style: Opposite expression on both sides of '%'. [oppositeExpression] pdns-5.0.0/ext/arc4random/bsd-getentropy.c:62:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] pdns-5.0.0/ext/arc4random/explicit_bzero.c:45:32: style:inconclusive: Function 'explicit_bzero' argument 2 names different: declaration 'len' definition 'n'. [funcArgNamesDifferent] pdns-5.0.0/ext/arc4random/includes.h:24:36: note: Function 'explicit_bzero' argument 2 names different: declaration 'len' definition 'n'. pdns-5.0.0/ext/arc4random/explicit_bzero.c:45:32: note: Function 'explicit_bzero' argument 2 names different: declaration 'len' definition 'n'. pdns-5.0.0/ext/json11/json11.cpp:176:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_value [valueFlowBailoutIncompleteVar] pdns-5.0.0/ext/json11/json11.cpp:177:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_value [valueFlowBailoutIncompleteVar] pdns-5.0.0/ext/json11/json11.cpp:178:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_value [valueFlowBailoutIncompleteVar] pdns-5.0.0/ext/json11/json11.cpp:179:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_value [valueFlowBailoutIncompleteVar] pdns-5.0.0/ext/json11/json11.cpp:185:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_value [valueFlowBailoutIncompleteVar] pdns-5.0.0/ext/json11/json11.cpp:186:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_value [valueFlowBailoutIncompleteVar] pdns-5.0.0/ext/json11/json11.cpp:187:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_value [valueFlowBailoutIncompleteVar] pdns-5.0.0/ext/json11/json11.cpp:188:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_value [valueFlowBailoutIncompleteVar] pdns-5.0.0/ext/json11/json11.cpp:194:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_value [valueFlowBailoutIncompleteVar] pdns-5.0.0/ext/json11/json11.cpp:200:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_value [valueFlowBailoutIncompleteVar] pdns-5.0.0/ext/json11/json11.cpp:207:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_value [valueFlowBailoutIncompleteVar] pdns-5.0.0/ext/json11/json11.cpp:215:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_value [valueFlowBailoutIncompleteVar] pdns-5.0.0/ext/json11/json11.cpp:297:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_value [valueFlowBailoutIncompleteVar] pdns-5.0.0/ext/json11/json11.cpp:596:85: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable digits10 [valueFlowBailoutIncompleteVar] pdns-5.0.0/ext/json11/json11.cpp:458:10: performance:inconclusive: Technically the member function 'json11::::JsonParser::encode_utf8' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-5.0.0/ext/json11/json11.hpp:93:5: style: Class 'Json' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/ext/json11/json11.hpp:94:5: style: Class 'Json' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/ext/json11/json11.hpp:95:5: style: Class 'Json' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/ext/json11/json11.hpp:96:5: style: Class 'Json' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/ext/json11/json11.hpp:97:5: style: Class 'Json' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/ext/json11/json11.hpp:98:5: style: Class 'Json' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/ext/json11/json11.hpp:99:5: style: Class 'Json' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/ext/json11/json11.hpp:100:5: style: Class 'Json' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/ext/json11/json11.hpp:101:5: style: Class 'Json' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/ext/json11/json11.hpp:102:5: style: Class 'Json' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/ext/json11/json11.hpp:106:5: style: Class 'Json' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/ext/json11/json11.hpp:113:5: style: Class 'Json' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/ext/json11/json11.hpp:119:5: style: Class 'Json' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/ext/json11/json11.cpp:304:36: style:inconclusive: Function 'operator==' argument 1 names different: declaration 'rhs' definition 'other'. [funcArgNamesDifferent] pdns-5.0.0/ext/json11/json11.hpp:192:34: note: Function 'operator==' argument 1 names different: declaration 'rhs' definition 'other'. pdns-5.0.0/ext/json11/json11.cpp:304:36: note: Function 'operator==' argument 1 names different: declaration 'rhs' definition 'other'. pdns-5.0.0/ext/json11/json11.cpp:311:35: style:inconclusive: Function 'operator<' argument 1 names different: declaration 'rhs' definition 'other'. [funcArgNamesDifferent] pdns-5.0.0/ext/json11/json11.hpp:193:34: note: Function 'operator<' argument 1 names different: declaration 'rhs' definition 'other'. pdns-5.0.0/ext/json11/json11.cpp:311:35: note: Function 'operator<' argument 1 names different: declaration 'rhs' definition 'other'. pdns-5.0.0/ext/json11/json11.cpp:516:24: style: Local variable 'esc' shadows outer function [shadowFunction] pdns-5.0.0/ext/json11/json11.cpp:326:22: note: Shadowed declaration pdns-5.0.0/ext/json11/json11.cpp:516:24: note: Shadow variable pdns-5.0.0/ext/json11/json11.cpp:775:17: style: Variable 'item' can be declared as reference to const [constVariableReference] pdns-5.0.0/ext/json11/json11.cpp:776:56: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/ext/lmdb-safe/lmdb-safe.hh:137:0: error: #error "your compiler does not define byte order macros" [preprocessorErrorDirective] pdns-5.0.0/ext/lmdb-safe/lmdb-safe.hh:137:2: error: #error "your compiler does not define byte order macros" [preprocessorErrorDirective] pdns-5.0.0/ext/yahttp/yahttp/utility.hpp:82:0: error: #error define HAVE_LOCALTIME_R [preprocessorErrorDirective] pdns-5.0.0/ext/yahttp/yahttp/utility.hpp:82:9: error: #error define HAVE_LOCALTIME_R [preprocessorErrorDirective] pdns-5.0.0/modules/bindbackend/bindbackend2.cc:161:3: debug: Failed to parse 'using nameindex_t = multi_index_container < BB2DomainInfo , indexed_by < ordered_unique < member < BB2DomainInfo , domainid_t , & BB2DomainInfo :: d_id > > , ordered_unique < tag < NameTag > , member < BB2DomainInfo , ZoneName , & BB2DomainInfo :: d_name > > > > :: index < NameTag > :: type ;'. The checking continues anyway. [simplifyUsing] pdns-5.0.0/modules/bindbackend/bindbackend2.hh:75:36: debug: simplifyOperatorName: found unsimplified operator name [debug] pdns-5.0.0/modules/bindbackend/bindbackend2.hh:67:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOA [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/bindbackend/bindbackend2.cc:210:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UnknownDomainID [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/bindbackend/bindbackend2.cc:254:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UnknownDomainID [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/bindbackend/bindbackend2.cc:275:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UnknownDomainID [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/bindbackend/bindbackend2.cc:351:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UnknownDomainID [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/bindbackend/bindbackend2.cc:399:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Primary [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/bindbackend/bindbackend2.cc:480:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Secondary [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/bindbackend/bindbackend2.cc:581:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSEC [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/bindbackend/bindbackend2.cc:611:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_log [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/bindbackend/bindbackend2.cc:691:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/bindbackend/bindbackend2.cc:734:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/bindbackend/bindbackend2.cc:758:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/bindbackend/bindbackend2.cc:779:102: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/bindbackend/bindbackend2.cc:822:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UnknownDomainID [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/bindbackend/bindbackend2.cc:873:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NS [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/bindbackend/bindbackend2.cc:918:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NS [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/bindbackend/bindbackend2.cc:966:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_log [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/bindbackend/bindbackend2.cc:1131:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_log [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/bindbackend/bindbackend2.cc:1164:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NS [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/bindbackend/bindbackend2.cc:1235:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_log [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/bindbackend/bindbackend2.cc:1300:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_log [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/bindbackend/bindbackend2.cc:1335:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_log [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/bindbackend/bindbackend2.cc:1376:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_log [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/bindbackend/bindbackend2.cc:1413:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/bindbackend/bindbackend2.cc:1439:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/bindbackend/bindbackend2.cc:1483:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Native [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/bindbackend/bindbackend2.cc:1497:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_log [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/bindbackend/bindbackend2.cc:1534:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_log [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/bindbackend/bindbackend2.cc:1617:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_log [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/bindbackend/bindbackend2.cc:88:3: performance: Variable 'd_lastcheck' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] pdns-5.0.0/modules/bindbackend/bindbackend2.cc:90:3: performance: Variable 'd_status' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] pdns-5.0.0/modules/bindbackend/bindbackend2.cc:800:3: performance: Variable 'd_getAllDomainMetadataQuery_stmt' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] pdns-5.0.0/modules/bindbackend/bindbackend2.cc:801:3: performance: Variable 'd_getDomainMetadataQuery_stmt' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] pdns-5.0.0/modules/bindbackend/bindbackend2.cc:802:3: performance: Variable 'd_deleteDomainMetadataQuery_stmt' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] pdns-5.0.0/modules/bindbackend/bindbackend2.cc:803:3: performance: Variable 'd_insertDomainMetadataQuery_stmt' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] pdns-5.0.0/modules/bindbackend/bindbackend2.cc:804:3: performance: Variable 'd_getDomainKeysQuery_stmt' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] pdns-5.0.0/modules/bindbackend/bindbackend2.cc:805:3: performance: Variable 'd_deleteDomainKeyQuery_stmt' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] pdns-5.0.0/modules/bindbackend/bindbackend2.cc:806:3: performance: Variable 'd_insertDomainKeyQuery_stmt' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] pdns-5.0.0/modules/bindbackend/bindbackend2.cc:807:3: performance: Variable 'd_GetLastInsertedKeyIdQuery_stmt' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] pdns-5.0.0/modules/bindbackend/bindbackend2.cc:808:3: performance: Variable 'd_activateDomainKeyQuery_stmt' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] pdns-5.0.0/modules/bindbackend/bindbackend2.cc:809:3: performance: Variable 'd_deactivateDomainKeyQuery_stmt' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] pdns-5.0.0/modules/bindbackend/bindbackend2.cc:810:3: performance: Variable 'd_getTSIGKeyQuery_stmt' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] pdns-5.0.0/modules/bindbackend/bindbackend2.cc:811:3: performance: Variable 'd_setTSIGKeyQuery_stmt' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] pdns-5.0.0/modules/bindbackend/bindbackend2.cc:812:3: performance: Variable 'd_deleteTSIGKeyQuery_stmt' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] pdns-5.0.0/modules/bindbackend/bindbackend2.cc:813:3: performance: Variable 'd_getTSIGKeysQuery_stmt' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] pdns-5.0.0/modules/bindbackend/bindbackend2.hh:181:3: style: Class 'Bind2Backend' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/modules/bindbackend/bindbackend2.hh:111:3: style: Class 'LookButDontTouch < multi_index_container < Bind2DNSRecord , indexed_by < ordered_non_unique < identity < Bind2DNSRecord > , Bind2DNSCompare > , hashed_non_unique < tag < UnorderedNameTag > , member < Bind2DNSRecord , DNSName , & Bind2DNSRecord :: qname > > , ordered_non_unique < tag < NSEC3Tag > , member < Bind2DNSRecord , std :: string , & Bind2DNSRecord :: nsec3hash > > > > >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/modules/bindbackend/bindbackend2.cc:868:8: style: The scope of the variable 'skip' can be reduced. [variableScope] pdns-5.0.0/modules/bindbackend/bindbackend2.cc:945:14: style: Variable 'nt' can be declared as reference to const [constVariableReference] pdns-5.0.0/modules/bindbackend/bindbackend2.cc:965:27: style: Variable 'ae' can be declared as reference to const [constVariableReference] pdns-5.0.0/modules/bindbackend/bindbackend2.cc:553:29: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/modules/bindbackend/bindbackend2.cc:234:10: style: Variable 'fd' is assigned a value that is never used. [unreadVariable] pdns-5.0.0/modules/bindbackend/bindbackend2.cc:239:8: style: Variable 'fd' is assigned a value that is never used. [unreadVariable] pdns-5.0.0/modules/bindbackend/bindbackend2.cc:906:13: style: Variable 'auth' is assigned a value that is never used. [unreadVariable] pdns-5.0.0/modules/bindbackend/bindbackend2.cc:1343:5: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] pdns-5.0.0/modules/bindbackend/bindbackend2.cc:1362:3: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] pdns-5.0.0/modules/bindbackend/bindbackend2.cc:1402:5: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] pdns-5.0.0/modules/bindbackend/bindbackend2.cc:1551:119: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] pdns-5.0.0/modules/bindbackend/binddnssec.cc:41:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAP_LIST [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/bindbackend/binddnssec.cc:128:20: performance:inconclusive: Either there is a missing 'override', or the member function 'Bind2Backend::setupStatements' can be static. [functionStatic] pdns-5.0.0/modules/bindbackend/bindbackend2.hh:242:8: note: Either there is a missing 'override', or the member function 'Bind2Backend::setupStatements' can be static. pdns-5.0.0/modules/bindbackend/binddnssec.cc:128:20: note: Either there is a missing 'override', or the member function 'Bind2Backend::setupStatements' can be static. pdns-5.0.0/modules/bindbackend/binddnssec.cc:132:20: performance:inconclusive: Either there is a missing 'override', or the member function 'Bind2Backend::freeStatements' can be static. [functionStatic] pdns-5.0.0/modules/bindbackend/bindbackend2.hh:243:8: note: Either there is a missing 'override', or the member function 'Bind2Backend::freeStatements' can be static. pdns-5.0.0/modules/bindbackend/binddnssec.cc:132:20: note: Either there is a missing 'override', or the member function 'Bind2Backend::freeStatements' can be static. pdns-5.0.0/modules/bindbackend/binddnssec.cc:48:20: style:inconclusive: Either there is a missing 'override', or the member function 'Bind2Backend::getNSEC3PARAM' can be const. [functionConst] pdns-5.0.0/modules/bindbackend/bindbackend2.hh:249:8: note: Either there is a missing 'override', or the member function 'Bind2Backend::getNSEC3PARAM' can be const. pdns-5.0.0/modules/bindbackend/binddnssec.cc:48:20: note: Either there is a missing 'override', or the member function 'Bind2Backend::getNSEC3PARAM' can be const. pdns-5.0.0/modules/bindbackend/binddnssec.cc:53:20: style:inconclusive: Either there is a missing 'override', or the member function 'Bind2Backend::getNSEC3PARAMuncached' can be const. [functionConst] pdns-5.0.0/modules/bindbackend/bindbackend2.hh:251:8: note: Either there is a missing 'override', or the member function 'Bind2Backend::getNSEC3PARAMuncached' can be const. pdns-5.0.0/modules/bindbackend/binddnssec.cc:53:20: note: Either there is a missing 'override', or the member function 'Bind2Backend::getNSEC3PARAMuncached' can be const. pdns-5.0.0/modules/geoipbackend/geoipbackend.cc:296:60: error: syntax error: operator [syntaxError] pdns-5.0.0/modules/geoipbackend/geoipbackend.hh:62:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAP_DNSSEC [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/geoipbackend/geoipbackend.hh:55:3: style: Class 'GeoIPBackend' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/modules/geoipbackend/geoipinterface.cc:42:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/gmysqlbackend/gmysqlbackend.cc:47:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_log [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/gmysqlbackend/gmysqlbackend.cc:191:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_log [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/gmysqlbackend/gmysqlbackend.hh:36:8: style: Virtual function 'reconnect' is called from constructor 'gMySQLBackend(const string&mode,const string&suffix)' at line 43. Dynamic binding is not used. [virtualCallInConstructor] pdns-5.0.0/modules/gmysqlbackend/gmysqlbackend.cc:43:5: note: Calling reconnect pdns-5.0.0/modules/gmysqlbackend/gmysqlbackend.hh:36:8: note: reconnect is a virtual function pdns-5.0.0/modules/gmysqlbackend/smysql.hh:32:3: style: Class 'SMySQL' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/modules/gmysqlbackend/gmysqlbackend.cc:71:3: style: Class 'gMySQLFactory' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/modules/gmysqlbackend/smysql.cc:98:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable buffer_type [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/gmysqlbackend/smysql.cc:120:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable buffer_type [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/gmysqlbackend/smysql.cc:138:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable buffer_type [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/gmysqlbackend/smysql.cc:156:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable buffer_type [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/gmysqlbackend/smysql.cc:169:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable buffer_type [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/gmysqlbackend/smysql.cc:183:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable buffer_type [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/gmysqlbackend/smysql.cc:200:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable buffer_type [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/gmysqlbackend/smysql.cc:213:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_log [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/gmysqlbackend/smysql.cc:283:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_log [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/gmysqlbackend/smysql.cc:297:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MYSQL_DATA_TRUNCATED [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/gmysqlbackend/smysql.cc:384:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable buffer [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/gmysqlbackend/smysql.cc:429:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MYSQL_BIND [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/gmysqlbackend/smysql.cc:443:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable buffer [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/gmysqlbackend/smysql.cc:511:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MYSQL_INIT_COMMAND [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/gmysqlbackend/smysql.cc:567:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_log [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/gmysqlbackend/smysql.cc:80:5: performance: Variable 'd_query' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] pdns-5.0.0/modules/gmysqlbackend/smysql.cc:100:7: style: C-style pointer casting [cstyleCast] pdns-5.0.0/modules/gmysqlbackend/smysql.cc:126:7: style: C-style pointer casting [cstyleCast] pdns-5.0.0/modules/gmysqlbackend/smysql.cc:145:7: style: C-style pointer casting [cstyleCast] pdns-5.0.0/modules/gmysqlbackend/smysql.cc:158:7: style: C-style pointer casting [cstyleCast] pdns-5.0.0/modules/gmysqlbackend/smysql.cc:172:7: style: C-style pointer casting [cstyleCast] pdns-5.0.0/modules/gmysqlbackend/smysql.cc:189:16: style: C-style pointer casting [cstyleCast] pdns-5.0.0/modules/gmysqlbackend/smysql.cc:213:54: style: C-style pointer casting [cstyleCast] pdns-5.0.0/modules/gmysqlbackend/smysql.cc:275:54: style: C-style pointer casting [cstyleCast] pdns-5.0.0/modules/gmysqlbackend/smysql.cc:283:54: style: C-style pointer casting [cstyleCast] pdns-5.0.0/modules/gmysqlbackend/smysql.cc:315:26: style: C-style pointer casting [cstyleCast] pdns-5.0.0/modules/gmysqlbackend/smysql.cc:385:20: style: C-style pointer casting [cstyleCast] pdns-5.0.0/modules/gmysqlbackend/smysql.cc:444:20: style: C-style pointer casting [cstyleCast] pdns-5.0.0/modules/gmysqlbackend/smysql.cc:454:20: style: C-style pointer casting [cstyleCast] pdns-5.0.0/modules/gmysqlbackend/smysql.cc:376:13: style: The comparison 'err > 0' is always false. [knownConditionTrueFalse] pdns-5.0.0/modules/gmysqlbackend/smysql.cc:369:15: note: 'err' is assigned value '0' here. pdns-5.0.0/modules/gmysqlbackend/smysql.cc:376:13: note: The comparison 'err > 0' is always false. pdns-5.0.0/modules/gmysqlbackend/smysql.cc:245:22: style: Variable 'fields' can be declared as pointer to const [constVariablePointer] pdns-5.0.0/modules/godbcbackend/godbcbackend.cc:44:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_log [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/godbcbackend/godbcbackend.cc:176:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_log [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/godbcbackend/godbcbackend.cc:58:3: style: Class 'gODBCFactory' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/modules/godbcbackend/sodbc.cc:31:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQL_SUCCESS [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/godbcbackend/sodbc.cc:75:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQL_NO_DATA [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/godbcbackend/sodbc.cc:96:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQL_VARCHAR [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/godbcbackend/sodbc.cc:144:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UDWORD [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/godbcbackend/sodbc.cc:155:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ULONG [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/godbcbackend/sodbc.cc:167:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQL_BIGINT [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/godbcbackend/sodbc.cc:187:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQL_VARCHAR [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/godbcbackend/sodbc.cc:203:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQL_NULL_DATA [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/godbcbackend/sodbc.cc:216:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_log [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/godbcbackend/sodbc.cc:244:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQL_NO_DATA [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/godbcbackend/sodbc.cc:265:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQL_VARCHAR [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/godbcbackend/sodbc.cc:299:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQL_HANDLE_STMT [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/godbcbackend/sodbc.cc:311:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQL_HANDLE_STMT [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/godbcbackend/sodbc.cc:362:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQL_SUCCESS [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/godbcbackend/sodbc.cc:414:88: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQL_OV_ODBC3 [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/godbcbackend/sodbc.cc:449:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQL_HANDLE_DBC [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/godbcbackend/sodbc.cc:490:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQL_HANDLE_DBC [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/godbcbackend/sodbc.cc:498:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQL_HANDLE_DBC [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/godbcbackend/sodbc.cc:510:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQL_HANDLE_DBC [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/godbcbackend/sodbc.cc:70:5: performance: Variable 'd_query' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] pdns-5.0.0/modules/godbcbackend/sodbc.cc:71:5: performance: Variable 'd_conn' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] pdns-5.0.0/modules/godbcbackend/sodbc.cc:75:5: performance: Variable 'd_result' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] pdns-5.0.0/modules/godbcbackend/sodbc.cc:76:5: performance: Variable 'd_statement' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] pdns-5.0.0/modules/godbcbackend/sodbc.cc:78:5: performance: Variable 'm_columncount' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] pdns-5.0.0/modules/godbcbackend/sodbc.cc:260:18: style: Virtual function 'reset' is called from destructor '~SODBCStatement()' at line 282. Dynamic binding is not used. [virtualCallInConstructor] pdns-5.0.0/modules/godbcbackend/sodbc.cc:282:5: note: Calling releaseStatement pdns-5.0.0/modules/godbcbackend/sodbc.cc:297:5: note: Calling reset pdns-5.0.0/modules/godbcbackend/sodbc.cc:260:18: note: reset is a virtual function pdns-5.0.0/modules/godbcbackend/sodbc.cc:182:27: style: C-style pointer casting [cstyleCast] pdns-5.0.0/modules/godbcbackend/sodbc.cc:183:16: style: C-style pointer casting [cstyleCast] pdns-5.0.0/modules/godbcbackend/sodbc.cc:184:6: style: C-style pointer casting [cstyleCast] pdns-5.0.0/modules/godbcbackend/sodbc.cc:266:18: style: C-style pointer casting [cstyleCast] pdns-5.0.0/modules/godbcbackend/sodbc.cc:314:38: style: C-style pointer casting [cstyleCast] pdns-5.0.0/modules/godbcbackend/sodbc.cc:264:16: style: Variable 'i' can be declared as reference to const [constVariableReference] pdns-5.0.0/modules/godbcbackend/sodbc.cc:346:10: style: struct member 'column_t::m_canBeNull' is never used. [unusedStructMember] pdns-5.0.0/modules/gpgsqlbackend/gpgsqlbackend.cc:53:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_log [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/gpgsqlbackend/gpgsqlbackend.cc:64:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_db [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/gpgsqlbackend/gpgsqlbackend.cc:199:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_log [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/gpgsqlbackend/spgsql.hh:50:8: style:inconclusive: Either there is a missing 'override', or the member function 'SPgSQL::usePrepared' can be const. [functionConst] pdns-5.0.0/modules/gpgsqlbackend/spgsql.hh:30:3: style: Class 'SPgSQL' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/modules/gpgsqlbackend/gpgsqlbackend.cc:83:3: style: Class 'gPgSQLFactory' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/modules/gpgsqlbackend/spgsql.cc:79:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_log [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/gpgsqlbackend/spgsql.cc:132:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_log [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/gpgsqlbackend/spgsql.cc:146:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_log [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/gpgsqlbackend/spgsql.cc:256:80: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PGRES_NONFATAL_ERROR [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/gpgsqlbackend/spgsql.cc:342:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONNECTION_BAD [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/gpgsqlbackend/spgsql.cc:376:76: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PGRES_NONFATAL_ERROR [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/gpgsqlbackend/spgsql.cc:407:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONNECTION_OK [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/gpgsqlbackend/spgsql.cc:40:5: performance: Variable 'd_query' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] pdns-5.0.0/modules/gpgsqlbackend/spgsql.cc:313:3: performance: Variable 'd_connectstr' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] pdns-5.0.0/modules/gpgsqlbackend/spgsql.cc:194:18: style: Virtual function 'reset' is called from destructor '~SPgSQLStatement()' at line 224. Dynamic binding is not used. [virtualCallInConstructor] pdns-5.0.0/modules/gpgsqlbackend/spgsql.cc:224:5: note: Calling releaseStatement pdns-5.0.0/modules/gpgsqlbackend/spgsql.cc:236:5: note: Calling reset pdns-5.0.0/modules/gpgsqlbackend/spgsql.cc:194:18: note: reset is a virtual function pdns-5.0.0/modules/gpgsqlbackend/spgsql.hh:36:17: style: Virtual function 'sPerrorException' is called from constructor 'SPgSQL(const string&database,const string&host="",const string&port="",const string&user="",const string&password="",const string&extra_connection_parameters="",const bool use_prepared=true)' at line 344. Dynamic binding is not used. [virtualCallInConstructor] pdns-5.0.0/modules/gpgsqlbackend/spgsql.cc:344:13: note: Calling sPerrorException pdns-5.0.0/modules/gpgsqlbackend/spgsql.hh:36:17: note: sPerrorException is a virtual function pdns-5.0.0/modules/gpgsqlbackend/spgsql.cc:79:54: style: C-style pointer casting [cstyleCast] pdns-5.0.0/modules/gpgsqlbackend/spgsql.cc:83:43: style: C-style pointer casting [cstyleCast] pdns-5.0.0/modules/gpgsqlbackend/spgsql.cc:115:54: style: C-style pointer casting [cstyleCast] pdns-5.0.0/modules/gpgsqlbackend/spgsql.cc:146:54: style: C-style pointer casting [cstyleCast] pdns-5.0.0/modules/gpgsqlbackend/spgsql.cc:196:9: style: The scope of the variable 'i' can be reduced. [variableScope] pdns-5.0.0/modules/gpgsqlbackend/spgsql.cc:164:15: style: Variable 'val' can be declared as pointer to const [constVariablePointer] pdns-5.0.0/modules/gsqlite3backend/gsqlite3backend.cc:57:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_log [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/gsqlite3backend/gsqlite3backend.cc:186:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_log [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/gsqlite3backend/gsqlite3backend.cc:69:3: style: Class 'gSQLite3Factory' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/modules/ldapbackend/ldapauthenticator.cc:51:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDAP_AUTH_SIMPLE [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/ldapbackend/ldapauthenticator.cc:79:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDAP_SUCCESS [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/ldapbackend/ldapauthenticator.cc:118:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_log [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/ldapbackend/ldapauthenticator.cc:141:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDAP_OPT_X_SASL_MECH [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/ldapbackend/ldapauthenticator.cc:203:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_log [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/ldapbackend/ldapauthenticator.cc:30:100: style:inconclusive: Function 'LdapSimpleAuthenticator' argument 3 names different: declaration 'timeout' definition 'tmout'. [funcArgNamesDifferent] pdns-5.0.0/modules/ldapbackend/ldapauthenticator_p.hh:38:77: note: Function 'LdapSimpleAuthenticator' argument 3 names different: declaration 'timeout' definition 'tmout'. pdns-5.0.0/modules/ldapbackend/ldapauthenticator.cc:30:100: note: Function 'LdapSimpleAuthenticator' argument 3 names different: declaration 'timeout' definition 'tmout'. pdns-5.0.0/modules/ldapbackend/ldapauthenticator.cc:82:69: style:inconclusive: Function 'LdapGssapiAuthenticator' argument 1 names different: declaration 'keytab' definition 'kt'. [funcArgNamesDifferent] pdns-5.0.0/modules/ldapbackend/ldapauthenticator_p.hh:65:46: note: Function 'LdapGssapiAuthenticator' argument 1 names different: declaration 'keytab' definition 'kt'. pdns-5.0.0/modules/ldapbackend/ldapauthenticator.cc:82:69: note: Function 'LdapGssapiAuthenticator' argument 1 names different: declaration 'keytab' definition 'kt'. pdns-5.0.0/modules/ldapbackend/ldapauthenticator.cc:82:92: style:inconclusive: Function 'LdapGssapiAuthenticator' argument 2 names different: declaration 'credsCache' definition 'ccache'. [funcArgNamesDifferent] pdns-5.0.0/modules/ldapbackend/ldapauthenticator_p.hh:65:73: note: Function 'LdapGssapiAuthenticator' argument 2 names different: declaration 'credsCache' definition 'ccache'. pdns-5.0.0/modules/ldapbackend/ldapauthenticator.cc:82:92: note: Function 'LdapGssapiAuthenticator' argument 2 names different: declaration 'credsCache' definition 'ccache'. pdns-5.0.0/modules/ldapbackend/ldapauthenticator.cc:119:10: style: Variable 'code' is assigned a value that is never used. [unreadVariable] pdns-5.0.0/modules/ldapbackend/utils.hh:131:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/ldapbackend/ldapbackend.hh:113:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAP_LIST [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/ldapbackend/ldapbackend.cc:72:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_log [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/ldapbackend/ldapbackend.cc:113:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_log [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/ldapbackend/ldapbackend.cc:121:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_log [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/ldapbackend/ldapbackend.cc:145:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_log [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/ldapbackend/ldapbackend.cc:186:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANY [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/ldapbackend/ldapbackend.cc:300:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_log [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/ldapbackend/ldapbackend.hh:109:3: style: Class 'LdapBackend' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/modules/ldapbackend/utils.hh:104:21: style: The scope of the variable 'defstr' can be reduced. [variableScope] pdns-5.0.0/modules/ldapbackend/ldapbackend.cc:36:16: style: The scope of the variable 'i' can be reduced. [variableScope] pdns-5.0.0/modules/ldapbackend/ldapbackend.cc:36:19: style: The scope of the variable 'idx' can be reduced. [variableScope] pdns-5.0.0/modules/ldapbackend/ldapbackend.cc:170:81: style:inconclusive: Function 'extract_entry_results' argument 2 names different: declaration 'result' definition 'result_template'. [funcArgNamesDifferent] pdns-5.0.0/modules/ldapbackend/ldapbackend.hh:106:70: note: Function 'extract_entry_results' argument 2 names different: declaration 'result' definition 'result_template'. pdns-5.0.0/modules/ldapbackend/ldapbackend.cc:170:81: note: Function 'extract_entry_results' argument 2 names different: declaration 'result' definition 'result_template'. pdns-5.0.0/modules/ldapbackend/ldapbackend.cc:90:23: style: Variable 'lt' can be declared as reference to const [constVariableReference] pdns-5.0.0/modules/ldapbackend/utils.hh:145:9: style: Variable 'tmp' can be declared as pointer to const [constVariablePointer] pdns-5.0.0/modules/ldapbackend/ldapbackend.cc:74:19: performance: Passing the result of c_str() to a function that takes std::string as argument no. 1 is slow and redundant. [stlcstrParam] pdns-5.0.0/modules/ldapbackend/ldaputils.cc:6:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDAP_OPT_SUCCESS [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/ldapbackend/ldaputils.cc:13:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDAP_OPT_SUCCESS [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/ldapbackend/ldaputils.cc:21:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDAP_OPT_ERROR_NUMBER [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/ldapbackend/ldaputils.cc:33:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDAP_MSG_ONE [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/ldapbackend/native.cc:92:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANY [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/ldapbackend/native.cc:131:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDAP_SCOPE_SUBTREE [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/ldapbackend/native.cc:158:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_log [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/ldapbackend/native.cc:174:94: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Error [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/ldapbackend/native.cc:208:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANY [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/ldapbackend/native.cc:250:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANY [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/ldapbackend/native.cc:273:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANY [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/ldapbackend/native.cc:303:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_log [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/ldapbackend/native.cc:398:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDAP_SCOPE_SUBTREE [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/ldapbackend/native.cc:131:89: style: C-style pointer casting [cstyleCast] pdns-5.0.0/modules/ldapbackend/native.cc:150:62: style: C-style pointer casting [cstyleCast] pdns-5.0.0/modules/ldapbackend/native.cc:383:10: style: The scope of the variable 'filter' can be reduced. [variableScope] pdns-5.0.0/modules/ldapbackend/native.cc:386:15: style: The scope of the variable 'attronly' can be reduced. [variableScope] pdns-5.0.0/modules/ldapbackend/powerldap.cc:60:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDAP_OPT_ERROR_NUMBER [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/ldapbackend/powerldap.cc:166:103: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/ldapbackend/powerldap.cc:232:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable method [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/ldapbackend/powerldap.cc:246:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDAP_AUTH_SIMPLE [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/ldapbackend/powerldap.cc:254:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDAP_SERVER_DOWN [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/ldapbackend/powerldap.cc:265:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDAP_SERVER_DOWN [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/ldapbackend/powerldap.cc:276:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDAP_SERVER_DOWN [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/ldapbackend/powerldap.cc:320:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDAP_RES_SEARCH_ENTRY [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/ldapbackend/powerldap.cc:135:3: performance: Variable 'd_hosts' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] pdns-5.0.0/modules/ldapbackend/powerldap.cc:203:31: style: C-style pointer casting [cstyleCast] pdns-5.0.0/modules/ldapbackend/powerldap.cc:208:31: style: C-style pointer casting [cstyleCast] pdns-5.0.0/modules/ldapbackend/powerldap.cc:50:19: style: The scope of the variable 'berval' can be reduced. [variableScope] pdns-5.0.0/modules/ldapbackend/powerldap.cc:309:19: style: The scope of the variable 'berval' can be reduced. [variableScope] pdns-5.0.0/modules/ldapbackend/powerldap.cc:395:46: style:inconclusive: Function 'escape' argument 1 names different: declaration 'tobe' definition 'str'. [funcArgNamesDifferent] pdns-5.0.0/modules/ldapbackend/powerldap.hh:97:44: note: Function 'escape' argument 1 names different: declaration 'tobe' definition 'str'. pdns-5.0.0/modules/ldapbackend/powerldap.cc:395:46: note: Function 'escape' argument 1 names different: declaration 'tobe' definition 'str'. pdns-5.0.0/modules/ldapbackend/powerldap.cc:196:25: style: Variable 'le' can be declared as reference to const [constVariableReference] pdns-5.0.0/modules/ldapbackend/powerldap.cc:401:41: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] pdns-5.0.0/modules/ldapbackend/primary.cc:39:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDAP_SCOPE_SUBTREE [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/ldapbackend/primary.cc:86:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDAP_SCOPE_SUBTREE [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/ldapbackend/primary.cc:119:18: style: C-style pointer casting [cstyleCast] pdns-5.0.0/modules/ldapbackend/primary.cc:29:10: style: The scope of the variable 'filter' can be reduced. [variableScope] pdns-5.0.0/modules/ldapbackend/primary.cc:32:15: style: The scope of the variable 'attronly' can be reduced. [variableScope] pdns-5.0.0/modules/ldapbackend/primary.cc:77:10: style: The scope of the variable 'filter' can be reduced. [variableScope] pdns-5.0.0/modules/ldapbackend/primary.cc:81:15: style: The scope of the variable 'attronly' can be reduced. [variableScope] pdns-5.0.0/modules/lmdbbackend/lmdbbackend.hh:35:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/lmdbbackend/lmdbbackend.hh:237:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_rootdnsname [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/lmdbbackend/lmdbbackend.cc:80:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mdb_env_close [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/lmdbbackend/lmdbbackend.cc:204:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LS_MIN_HEADER_SIZE [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/lmdbbackend/lmdbbackend.cc:251:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LS_MIN_HEADER_SIZE [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/lmdbbackend/lmdbbackend.cc:308:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LS_MIN_HEADER_SIZE [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/lmdbbackend/lmdbbackend.cc:380:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MDB_NOSUBDIR [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/lmdbbackend/lmdbbackend.cc:685:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MDB_NOSYNC [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/lmdbbackend/lmdbbackend.cc:839:83: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MDB_NOSUBDIR [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/lmdbbackend/lmdbbackend.cc:849:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAP_DNSSEC [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/lmdbbackend/lmdbbackend.cc:1083:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/lmdbbackend/lmdbbackend.cc:1139:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UnknownDomainID [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/lmdbbackend/lmdbbackend.cc:1195:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSEC3 [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/lmdbbackend/lmdbbackend.cc:1222:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSEC3 [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/lmdbbackend/lmdbbackend.cc:1261:85: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSEC3 [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/lmdbbackend/lmdbbackend.cc:1314:73: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENT [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/lmdbbackend/lmdbbackend.cc:1331:73: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENT [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/lmdbbackend/lmdbbackend.cc:1366:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANY [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/lmdbbackend/lmdbbackend.cc:1467:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_rootdnsname [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/lmdbbackend/lmdbbackend.cc:1500:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MDB_NOTFOUND [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/lmdbbackend/lmdbbackend.cc:1537:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MDB_NOTFOUND [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/lmdbbackend/lmdbbackend.cc:1611:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MDB_NOTFOUND [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/lmdbbackend/lmdbbackend.cc:1638:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MDB_NOSUBDIR [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/lmdbbackend/lmdbbackend.cc:1656:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MDB_NOSUBDIR [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/lmdbbackend/lmdbbackend.cc:1675:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/lmdbbackend/lmdbbackend.cc:1805:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_log [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/lmdbbackend/lmdbbackend.cc:1869:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_log [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/lmdbbackend/lmdbbackend.cc:1896:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSEC3 [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/lmdbbackend/lmdbbackend.cc:1980:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOA [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/lmdbbackend/lmdbbackend.cc:2189:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOA [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/lmdbbackend/lmdbbackend.cc:2228:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Producer [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/lmdbbackend/lmdbbackend.cc:2268:81: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Primary [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/lmdbbackend/lmdbbackend.cc:2476:81: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSEC3 [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/lmdbbackend/lmdbbackend.cc:2537:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSEC3 [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/lmdbbackend/lmdbbackend.cc:2647:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENT [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/lmdbbackend/lmdbbackend.cc:2810:83: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSEC3 [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/lmdbbackend/lmdbbackend.cc:2893:89: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENT [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/lmdbbackend/lmdbbackend.cc:3041:93: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/lmdbbackend/lmdbbackend.cc:3175:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_creationCount [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/lmdbbackend/lmdbbackend.cc:3209:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_log [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/lmdbbackend/lmdbbackend.cc:986:10: style:inconclusive: Boolean expression 'g.published' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] pdns-5.0.0/modules/lmdbbackend/lmdbbackend.hh:196:17: style:inconclusive: Technically the member function 'LMDBBackend::compoundOrdername::operator()' can be const. [functionConst] pdns-5.0.0/modules/lmdbbackend/lmdbbackend.hh:268:5: style: Class 'LMDBResourceRecord' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/modules/lmdbbackend/lmdbbackend.hh:303:5: style: Struct 'RecordsROTransaction' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/modules/lmdbbackend/lmdbbackend.hh:311:5: style: Struct 'RecordsRWTransaction' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/modules/lmdbbackend/lmdbbackend.cc:125:17: style: C-style pointer casting [cstyleCast] pdns-5.0.0/modules/lmdbbackend/lmdbbackend.cc:126:24: style: C-style pointer casting [cstyleCast] pdns-5.0.0/modules/lmdbbackend/lmdbbackend.cc:152:28: style: C-style pointer casting [cstyleCast] pdns-5.0.0/modules/lmdbbackend/lmdbbackend.cc:161:17: style: C-style pointer casting [cstyleCast] pdns-5.0.0/modules/lmdbbackend/lmdbbackend.cc:162:24: style: C-style pointer casting [cstyleCast] pdns-5.0.0/modules/lmdbbackend/lmdbbackend.cc:185:21: style: C-style pointer casting [cstyleCast] pdns-5.0.0/modules/lmdbbackend/lmdbbackend.cc:323:22: style: C-style pointer casting [cstyleCast] pdns-5.0.0/modules/lmdbbackend/lmdbbackend.cc:331:12: style: C-style pointer casting [cstyleCast] pdns-5.0.0/modules/lmdbbackend/lmdbbackend.cc:335:12: style: C-style pointer casting [cstyleCast] pdns-5.0.0/modules/lmdbbackend/lmdbbackend.cc:341:20: style: C-style pointer casting [cstyleCast] pdns-5.0.0/modules/lmdbbackend/lmdbbackend.cc:343:21: style: C-style pointer casting [cstyleCast] pdns-5.0.0/modules/lmdbbackend/lmdbbackend.cc:584:19: style: C-style pointer casting [cstyleCast] pdns-5.0.0/modules/lmdbbackend/lmdbbackend.cc:596:12: style: C-style pointer casting [cstyleCast] pdns-5.0.0/modules/lmdbbackend/lmdbbackend.cc:609:21: style: C-style pointer casting [cstyleCast] pdns-5.0.0/modules/lmdbbackend/lmdbbackend.cc:620:19: style: C-style pointer casting [cstyleCast] pdns-5.0.0/modules/lmdbbackend/lmdbbackend.cc:627:23: style: C-style pointer casting [cstyleCast] pdns-5.0.0/modules/lmdbbackend/lmdbbackend.cc:633:21: style: C-style pointer casting [cstyleCast] pdns-5.0.0/modules/lmdbbackend/lmdbbackend.cc:1031:17: style: C-style pointer casting [cstyleCast] pdns-5.0.0/modules/lmdbbackend/lmdbbackend.cc:1869:54: style: C-style pointer casting [cstyleCast] pdns-5.0.0/modules/lmdbbackend/lmdbbackend.cc:1875:52: style: C-style pointer casting [cstyleCast] pdns-5.0.0/modules/lmdbbackend/lmdbbackend.hh:186:18: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pdns-5.0.0/modules/lmdbbackend/lmdbbackend.hh:200:18: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pdns-5.0.0/modules/lmdbbackend/lmdbbackend.cc:336:56: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pdns-5.0.0/modules/lmdbbackend/lmdbbackend.cc:605:47: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pdns-5.0.0/modules/lmdbbackend/lmdbbackend.cc:1024:17: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pdns-5.0.0/modules/lmdbbackend/lmdbbackend.cc:1090:47: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pdns-5.0.0/modules/lmdbbackend/lmdbbackend.cc:2706:9: style: The scope of the variable 'rc' can be reduced. [variableScope] pdns-5.0.0/modules/lmdbbackend/lmdbbackend.cc:1879:38: style:inconclusive: Function 'get' argument 1 names different: declaration 'dzr' definition 'zr'. [funcArgNamesDifferent] pdns-5.0.0/modules/lmdbbackend/lmdbbackend.hh:105:27: note: Function 'get' argument 1 names different: declaration 'dzr' definition 'zr'. pdns-5.0.0/modules/lmdbbackend/lmdbbackend.cc:1879:38: note: Function 'get' argument 1 names different: declaration 'dzr' definition 'zr'. pdns-5.0.0/modules/lmdbbackend/lmdbbackend.cc:2248:42: style:inconclusive: Function 'setNotified' argument 1 names different: declaration 'id' definition 'domain_id'. [funcArgNamesDifferent] pdns-5.0.0/modules/lmdbbackend/lmdbbackend.hh:114:31: note: Function 'setNotified' argument 1 names different: declaration 'id' definition 'domain_id'. pdns-5.0.0/modules/lmdbbackend/lmdbbackend.cc:2248:42: note: Function 'setNotified' argument 1 names different: declaration 'id' definition 'domain_id'. pdns-5.0.0/modules/lmdbbackend/lmdbbackend.cc:2650:79: style:inconclusive: Function 'getBeforeAndAfterNames' argument 2 names different: declaration 'zonename' definition 'zonenameU'. [funcArgNamesDifferent] pdns-5.0.0/modules/lmdbbackend/lmdbbackend.hh:163:68: note: Function 'getBeforeAndAfterNames' argument 2 names different: declaration 'zonename' definition 'zonenameU'. pdns-5.0.0/modules/lmdbbackend/lmdbbackend.cc:2650:79: note: Function 'getBeforeAndAfterNames' argument 2 names different: declaration 'zonename' definition 'zonenameU'. pdns-5.0.0/modules/lmdbbackend/lmdbbackend.cc:68:83: style: Parameter 'filename' can be declared as reference to const [constParameterReference] pdns-5.0.0/modules/lmdbbackend/lmdbbackend.cc:1479:90: style: Parameter 'exc' can be declared as reference to const [constParameterReference] pdns-5.0.0/modules/lmdbbackend/lmdbbackend.cc:3052:11: style: Variable 'cmd' can be declared as reference to const [constVariableReference] pdns-5.0.0/modules/lmdbbackend/lmdbbackend.cc:3070:13: style: Variable 'subcmd' can be declared as reference to const [constVariableReference] pdns-5.0.0/modules/lmdbbackend/lmdbbackend.hh:131:30: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/modules/lmdbbackend/lmdbbackend.cc:603:22: style: Variable 'sdata' is assigned a value that is never used. [unreadVariable] pdns-5.0.0/modules/lua2backend/lua2api2.hh:70:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_include_path [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/lua2backend/lua2api2.hh:128:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_log [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/lua2backend/lua2api2.hh:134:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAP_DIRECT [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/lua2backend/lua2api2.hh:177:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_log [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/lua2backend/lua2api2.hh:189:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_log [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/lua2backend/lua2api2.hh:218:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_log [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/lua2backend/lua2api2.hh:237:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/lua2backend/lua2api2.hh:253:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_log [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/lua2backend/lua2api2.hh:259:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UnknownDomainID [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/lua2backend/lua2api2.hh:290:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_log [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/lua2backend/lua2api2.hh:321:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_log [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/lua2backend/lua2api2.hh:336:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_log [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/lua2backend/lua2api2.hh:356:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_log [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/lua2backend/lua2api2.hh:374:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_log [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/lua2backend/lua2api2.hh:409:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_log [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/lua2backend/lua2api2.hh:68:3: style: Class 'Lua2BackendAPIv2' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/modules/lua2backend/lua2api2.hh:363:12: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/modules/lua2backend/lua2backend.cc:67:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_log [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/pipebackend/coprocess.cc:59:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/pipebackend/coprocess.cc:109:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WNOHANG [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/pipebackend/coprocess.cc:122:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WNOHANG [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/pipebackend/coprocess.cc:156:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/pipebackend/coprocess.cc:173:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/pipebackend/coprocess.cc:225:83: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/pipebackend/coprocess.cc:43:12: warning: Member variable 'CoProcess::d_fd1' is not initialized in the constructor. [uninitMemberVar] pdns-5.0.0/modules/pipebackend/coprocess.cc:43:12: warning: Member variable 'CoProcess::d_fd2' is not initialized in the constructor. [uninitMemberVar] pdns-5.0.0/modules/pipebackend/coprocess.hh:42:3: style: Class 'CoProcess' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/modules/pipebackend/coprocess.hh:64:3: style: Class 'UnixRemote' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/modules/pipebackend/coprocess.cc:81:12: style: Condition '!d_pid' is always true [knownConditionTrueFalse] pdns-5.0.0/modules/pipebackend/coprocess.cc:67:24: note: Assuming that condition '(d_pid=fork())<0' is not redundant pdns-5.0.0/modules/pipebackend/coprocess.cc:69:18: note: Assuming that condition 'd_pid>0' is not redundant pdns-5.0.0/modules/pipebackend/coprocess.cc:81:12: note: Condition '!d_pid' is always true pdns-5.0.0/modules/pipebackend/coprocess.cc:233:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pdns-5.0.0/modules/pipebackend/coprocess.cc:150:7: style: The scope of the variable 'bytes' can be reduced. [variableScope] pdns-5.0.0/modules/pipebackend/coprocess.cc:143:36: style:inconclusive: Function 'send' argument 1 names different: declaration 'send' definition 'snd'. [funcArgNamesDifferent] pdns-5.0.0/modules/pipebackend/coprocess.hh:46:27: note: Function 'send' argument 1 names different: declaration 'send' definition 'snd'. pdns-5.0.0/modules/pipebackend/coprocess.cc:143:36: note: Function 'send' argument 1 names different: declaration 'send' definition 'snd'. pdns-5.0.0/modules/pipebackend/coprocess.cc:162:33: style:inconclusive: Function 'receive' argument 1 names different: declaration 'rcv' definition 'received'. [funcArgNamesDifferent] pdns-5.0.0/modules/pipebackend/coprocess.hh:45:24: note: Function 'receive' argument 1 names different: declaration 'rcv' definition 'received'. pdns-5.0.0/modules/pipebackend/coprocess.cc:162:33: note: Function 'receive' argument 1 names different: declaration 'rcv' definition 'received'. pdns-5.0.0/modules/pipebackend/coprocess.cc:214:43: style:inconclusive: Function 'sendReceive' argument 1 names different: declaration 'send' definition 'snd'. [funcArgNamesDifferent] pdns-5.0.0/modules/pipebackend/coprocess.hh:44:34: note: Function 'sendReceive' argument 1 names different: declaration 'send' definition 'snd'. pdns-5.0.0/modules/pipebackend/coprocess.cc:214:43: note: Function 'sendReceive' argument 1 names different: declaration 'send' definition 'snd'. pdns-5.0.0/modules/pipebackend/coprocess.cc:214:56: style:inconclusive: Function 'sendReceive' argument 2 names different: declaration 'receive' definition 'rcv'. [funcArgNamesDifferent] pdns-5.0.0/modules/pipebackend/coprocess.hh:44:48: note: Function 'sendReceive' argument 2 names different: declaration 'receive' definition 'rcv'. pdns-5.0.0/modules/pipebackend/coprocess.cc:214:56: note: Function 'sendReceive' argument 2 names different: declaration 'receive' definition 'rcv'. pdns-5.0.0/modules/pipebackend/coprocess.cc:239:37: style:inconclusive: Function 'send' argument 1 names different: declaration 'send' definition 'line'. [funcArgNamesDifferent] pdns-5.0.0/modules/pipebackend/coprocess.hh:67:27: note: Function 'send' argument 1 names different: declaration 'send' definition 'line'. pdns-5.0.0/modules/pipebackend/coprocess.cc:239:37: note: Function 'send' argument 1 names different: declaration 'send' definition 'line'. pdns-5.0.0/modules/pipebackend/coprocess.cc:246:34: style:inconclusive: Function 'receive' argument 1 names different: declaration 'rcv' definition 'line'. [funcArgNamesDifferent] pdns-5.0.0/modules/pipebackend/coprocess.hh:66:24: note: Function 'receive' argument 1 names different: declaration 'rcv' definition 'line'. pdns-5.0.0/modules/pipebackend/coprocess.cc:246:34: note: Function 'receive' argument 1 names different: declaration 'rcv' definition 'line'. pdns-5.0.0/modules/pipebackend/coprocess.cc:253:44: style:inconclusive: Function 'sendReceive' argument 1 names different: declaration 'send' definition 'snd'. [funcArgNamesDifferent] pdns-5.0.0/modules/pipebackend/coprocess.hh:65:34: note: Function 'sendReceive' argument 1 names different: declaration 'send' definition 'snd'. pdns-5.0.0/modules/pipebackend/coprocess.cc:253:44: note: Function 'sendReceive' argument 1 names different: declaration 'send' definition 'snd'. pdns-5.0.0/modules/pipebackend/coprocess.cc:253:57: style:inconclusive: Function 'sendReceive' argument 2 names different: declaration 'receive' definition 'rcv'. [funcArgNamesDifferent] pdns-5.0.0/modules/pipebackend/coprocess.hh:65:48: note: Function 'sendReceive' argument 2 names different: declaration 'receive' definition 'rcv'. pdns-5.0.0/modules/pipebackend/coprocess.cc:253:57: note: Function 'sendReceive' argument 2 names different: declaration 'receive' definition 'rcv'. pdns-5.0.0/modules/pipebackend/pipebackend.hh:54:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAP_DIRECT [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/pipebackend/pipebackend.cc:82:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_log [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/pipebackend/pipebackend.cc:105:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_log [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/pipebackend/pipebackend.cc:114:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/pipebackend/pipebackend.cc:166:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_log [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/pipebackend/pipebackend.cc:219:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_log [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/pipebackend/pipebackend.cc:237:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_log [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/pipebackend/pipebackend.cc:260:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_log [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/pipebackend/pipebackend.cc:290:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_log [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/pipebackend/pipebackend.cc:387:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_log [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/pipebackend/pipebackend.cc:53:3: performance: Variable 'd_command' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] pdns-5.0.0/modules/pipebackend/pipebackend.hh:51:3: style: Class 'PipeBackend' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/modules/pipebackend/pipebackend.cc:194:25: style: Variable 'pe' can be declared as reference to const [constVariableReference] pdns-5.0.0/modules/pipebackend/pipebackend.cc:218:25: style: Variable 'ae' can be declared as reference to const [constVariableReference] pdns-5.0.0/modules/pipebackend/pipebackend.cc:345:23: style: Variable 'dbe' can be declared as reference to const [constVariableReference] pdns-5.0.0/modules/remotebackend/httpconnector.cc:365:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_log [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/remotebackend/httpconnector.cc:472:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_log [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/remotebackend/remotebackend.hh:80:3: style: Class 'UnixsocketConnector' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/modules/remotebackend/remotebackend.hh:99:3: style: Class 'HTTPConnector' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/modules/remotebackend/remotebackend.hh:145:3: style: Class 'PipeConnector' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/modules/remotebackend/remotebackend.hh:167:3: style: Class 'RemoteBackend' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/modules/remotebackend/httpconnector.cc:334:7: style: The scope of the variable 'fd' can be reduced. [variableScope] pdns-5.0.0/modules/remotebackend/httpconnector.cc:433:10: style: The scope of the variable 'time0' can be reduced. [variableScope] pdns-5.0.0/modules/remotebackend/httpconnector.cc:87:15: style: Unused variable: sparam [unusedVariable] pdns-5.0.0/modules/remotebackend/httpconnector.cc:115:15: style: Unused variable: sparam [unusedVariable] pdns-5.0.0/modules/remotebackend/httpconnector.cc:319:23: style: Unused variable: content [unusedVariable] pdns-5.0.0/modules/remotebackend/httpconnector.cc:336:28: style: Unused variable: members [unusedVariable] pdns-5.0.0/modules/remotebackend/httpconnector.cc:337:15: style: Unused variable: method [unusedVariable] pdns-5.0.0/modules/remotebackend/pipeconnector.cc:31:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_log [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/remotebackend/pipeconnector.cc:54:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WNOHANG [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/remotebackend/pipeconnector.cc:81:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/remotebackend/pipeconnector.cc:158:82: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/remotebackend/pipeconnector.cc:202:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WNOHANG [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/remotebackend/pipeconnector.cc:67:31: style: Condition 'checkStatus()' is always true [knownConditionTrueFalse] pdns-5.0.0/modules/remotebackend/pipeconnector.cc:67:31: note: Calling function 'checkStatus' returns 1 pdns-5.0.0/modules/remotebackend/pipeconnector.cc:67:31: note: Condition 'checkStatus()' is always true pdns-5.0.0/modules/remotebackend/pipeconnector.cc:106:18: style: Condition 'd_pid==0' is always true [knownConditionTrueFalse] pdns-5.0.0/modules/remotebackend/pipeconnector.cc:91:24: note: Assuming that condition '(d_pid=fork())<0' is not redundant pdns-5.0.0/modules/remotebackend/pipeconnector.cc:94:13: note: Assuming that condition 'd_pid>0' is not redundant pdns-5.0.0/modules/remotebackend/pipeconnector.cc:106:18: note: Condition 'd_pid==0' is always true pdns-5.0.0/modules/remotebackend/pipeconnector.cc:152:7: style: The scope of the variable 'bytes' can be reduced. [variableScope] pdns-5.0.0/modules/remotebackend/pipeconnector.cc:27:65: style:inconclusive: Function 'PipeConnector' argument 1 names different: declaration 'options' definition 'optionsMap'. [funcArgNamesDifferent] pdns-5.0.0/modules/remotebackend/remotebackend.hh:145:52: note: Function 'PipeConnector' argument 1 names different: declaration 'options' definition 'optionsMap'. pdns-5.0.0/modules/remotebackend/pipeconnector.cc:27:65: note: Function 'PipeConnector' argument 1 names different: declaration 'options' definition 'optionsMap'. pdns-5.0.0/modules/remotebackend/pipeconnector.cc:152:13: style: Variable 'bytes' is assigned a value that is never used. [unreadVariable] pdns-5.0.0/modules/remotebackend/remotebackend.cc:65:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_log [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/remotebackend/remotebackend.cc:143:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/remotebackend/remotebackend.cc:292:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/remotebackend/remotebackend.cc:547:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAP_DIRECT [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/remotebackend/remotebackend.cc:633:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UnknownDomainID [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/remotebackend/remotebackend.cc:687:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_log [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/remotebackend/remotebackend.cc:899:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/remotebackend/remotebackend.cc:998:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_log [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/remotebackend/remotebackend.cc:1010:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_log [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/remotebackend/remotebackend.cc:1020:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_log [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/remotebackend/remotebackend.cc:1052:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_log [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/remotebackend/remotebackend.cc:224:7: style: Condition '!this->send(query)' is always false [knownConditionTrueFalse] pdns-5.0.0/modules/remotebackend/remotebackend.cc:224:18: note: Calling function 'send' returns 1 pdns-5.0.0/modules/remotebackend/remotebackend.cc:224:7: note: Condition '!this->send(query)' is always false pdns-5.0.0/modules/remotebackend/remotebackend.cc:251:7: style: Condition '!this->send(query)' is always false [knownConditionTrueFalse] pdns-5.0.0/modules/remotebackend/remotebackend.cc:251:18: note: Calling function 'send' returns 1 pdns-5.0.0/modules/remotebackend/remotebackend.cc:251:7: note: Condition '!this->send(query)' is always false pdns-5.0.0/modules/remotebackend/remotebackend.cc:273:7: style: Condition '!this->send(query)' is always false [knownConditionTrueFalse] pdns-5.0.0/modules/remotebackend/remotebackend.cc:273:18: note: Calling function 'send' returns 1 pdns-5.0.0/modules/remotebackend/remotebackend.cc:273:7: note: Condition '!this->send(query)' is always false pdns-5.0.0/modules/remotebackend/remotebackend.cc:326:7: style: Condition '!this->send(query)' is always false [knownConditionTrueFalse] pdns-5.0.0/modules/remotebackend/remotebackend.cc:326:18: note: Calling function 'send' returns 1 pdns-5.0.0/modules/remotebackend/remotebackend.cc:326:7: note: Condition '!this->send(query)' is always false pdns-5.0.0/modules/remotebackend/remotebackend.cc:349:7: style: Condition '!this->send(query)' is always false [knownConditionTrueFalse] pdns-5.0.0/modules/remotebackend/remotebackend.cc:349:18: note: Calling function 'send' returns 1 pdns-5.0.0/modules/remotebackend/remotebackend.cc:349:7: note: Condition '!this->send(query)' is always false pdns-5.0.0/modules/remotebackend/remotebackend.cc:381:7: style: Condition '!this->send(query)' is always false [knownConditionTrueFalse] pdns-5.0.0/modules/remotebackend/remotebackend.cc:381:18: note: Calling function 'send' returns 1 pdns-5.0.0/modules/remotebackend/remotebackend.cc:381:7: note: Condition '!this->send(query)' is always false pdns-5.0.0/modules/remotebackend/remotebackend.cc:431:7: style: Condition '!this->send(query)' is always false [knownConditionTrueFalse] pdns-5.0.0/modules/remotebackend/remotebackend.cc:431:18: note: Calling function 'send' returns 1 pdns-5.0.0/modules/remotebackend/remotebackend.cc:431:7: note: Condition '!this->send(query)' is always false pdns-5.0.0/modules/remotebackend/remotebackend.cc:462:20: style: Return value 'this->send(query)' is always true [knownConditionTrueFalse] pdns-5.0.0/modules/remotebackend/remotebackend.cc:462:20: note: Calling function 'send' returns 1 pdns-5.0.0/modules/remotebackend/remotebackend.cc:462:20: note: Return value 'this->send(query)' is always true pdns-5.0.0/modules/remotebackend/remotebackend.cc:477:7: style: Condition '!this->send(query)' is always false [knownConditionTrueFalse] pdns-5.0.0/modules/remotebackend/remotebackend.cc:477:18: note: Calling function 'send' returns 1 pdns-5.0.0/modules/remotebackend/remotebackend.cc:477:7: note: Condition '!this->send(query)' is always false pdns-5.0.0/modules/remotebackend/remotebackend.cc:497:20: style: Return value 'this->send(query)' is always true [knownConditionTrueFalse] pdns-5.0.0/modules/remotebackend/remotebackend.cc:497:20: note: Calling function 'send' returns 1 pdns-5.0.0/modules/remotebackend/remotebackend.cc:497:20: note: Return value 'this->send(query)' is always true pdns-5.0.0/modules/remotebackend/remotebackend.cc:512:20: style: Return value 'this->send(query)' is always true [knownConditionTrueFalse] pdns-5.0.0/modules/remotebackend/remotebackend.cc:512:20: note: Calling function 'send' returns 1 pdns-5.0.0/modules/remotebackend/remotebackend.cc:512:20: note: Return value 'this->send(query)' is always true pdns-5.0.0/modules/remotebackend/remotebackend.cc:527:20: style: Return value 'this->send(query)' is always true [knownConditionTrueFalse] pdns-5.0.0/modules/remotebackend/remotebackend.cc:527:20: note: Calling function 'send' returns 1 pdns-5.0.0/modules/remotebackend/remotebackend.cc:527:20: note: Return value 'this->send(query)' is always true pdns-5.0.0/modules/remotebackend/remotebackend.cc:542:20: style: Return value 'this->send(query)' is always true [knownConditionTrueFalse] pdns-5.0.0/modules/remotebackend/remotebackend.cc:542:20: note: Calling function 'send' returns 1 pdns-5.0.0/modules/remotebackend/remotebackend.cc:542:20: note: Return value 'this->send(query)' is always true pdns-5.0.0/modules/remotebackend/remotebackend.cc:566:7: style: Condition '!this->send(query)' is always false [knownConditionTrueFalse] pdns-5.0.0/modules/remotebackend/remotebackend.cc:566:18: note: Calling function 'send' returns 1 pdns-5.0.0/modules/remotebackend/remotebackend.cc:566:7: note: Condition '!this->send(query)' is always false pdns-5.0.0/modules/remotebackend/remotebackend.cc:670:7: style: Condition '!this->send(query)' is always false [knownConditionTrueFalse] pdns-5.0.0/modules/remotebackend/remotebackend.cc:670:18: note: Calling function 'send' returns 1 pdns-5.0.0/modules/remotebackend/remotebackend.cc:670:7: note: Condition '!this->send(query)' is always false pdns-5.0.0/modules/remotebackend/remotebackend.cc:686:7: style: Condition '!this->send(query)' is always false [knownConditionTrueFalse] pdns-5.0.0/modules/remotebackend/remotebackend.cc:686:18: note: Calling function 'send' returns 1 pdns-5.0.0/modules/remotebackend/remotebackend.cc:686:7: note: Condition '!this->send(query)' is always false pdns-5.0.0/modules/remotebackend/remotebackend.cc:712:7: style: Condition '!this->send(query)' is always false [knownConditionTrueFalse] pdns-5.0.0/modules/remotebackend/remotebackend.cc:712:18: note: Calling function 'send' returns 1 pdns-5.0.0/modules/remotebackend/remotebackend.cc:712:7: note: Condition '!this->send(query)' is always false pdns-5.0.0/modules/remotebackend/remotebackend.cc:740:20: style: Return value 'this->send(query)' is always true [knownConditionTrueFalse] pdns-5.0.0/modules/remotebackend/remotebackend.cc:740:20: note: Calling function 'send' returns 1 pdns-5.0.0/modules/remotebackend/remotebackend.cc:740:20: note: Return value 'this->send(query)' is always true pdns-5.0.0/modules/remotebackend/remotebackend.cc:761:20: style: Return value 'this->send(query)' is always true [knownConditionTrueFalse] pdns-5.0.0/modules/remotebackend/remotebackend.cc:761:20: note: Calling function 'send' returns 1 pdns-5.0.0/modules/remotebackend/remotebackend.cc:761:20: note: Return value 'this->send(query)' is always true pdns-5.0.0/modules/remotebackend/remotebackend.cc:774:20: style: Return value 'this->send(query)' is always true [knownConditionTrueFalse] pdns-5.0.0/modules/remotebackend/remotebackend.cc:774:20: note: Calling function 'send' returns 1 pdns-5.0.0/modules/remotebackend/remotebackend.cc:774:20: note: Return value 'this->send(query)' is always true pdns-5.0.0/modules/remotebackend/remotebackend.cc:793:20: style: Return value 'this->send(query)' is always true [knownConditionTrueFalse] pdns-5.0.0/modules/remotebackend/remotebackend.cc:793:20: note: Calling function 'send' returns 1 pdns-5.0.0/modules/remotebackend/remotebackend.cc:793:20: note: Return value 'this->send(query)' is always true pdns-5.0.0/modules/remotebackend/remotebackend.cc:812:20: style: Return value 'this->send(query)' is always true [knownConditionTrueFalse] pdns-5.0.0/modules/remotebackend/remotebackend.cc:812:20: note: Calling function 'send' returns 1 pdns-5.0.0/modules/remotebackend/remotebackend.cc:812:20: note: Return value 'this->send(query)' is always true pdns-5.0.0/modules/remotebackend/remotebackend.cc:824:7: style: Condition '!this->send(query)' is always false [knownConditionTrueFalse] pdns-5.0.0/modules/remotebackend/remotebackend.cc:824:18: note: Calling function 'send' returns 1 pdns-5.0.0/modules/remotebackend/remotebackend.cc:824:7: note: Condition '!this->send(query)' is always false pdns-5.0.0/modules/remotebackend/remotebackend.cc:843:20: style: Return value 'this->send(query)' is always true [knownConditionTrueFalse] pdns-5.0.0/modules/remotebackend/remotebackend.cc:843:20: note: Calling function 'send' returns 1 pdns-5.0.0/modules/remotebackend/remotebackend.cc:843:20: note: Return value 'this->send(query)' is always true pdns-5.0.0/modules/remotebackend/remotebackend.cc:858:20: style: Return value 'this->send(query)' is always true [knownConditionTrueFalse] pdns-5.0.0/modules/remotebackend/remotebackend.cc:858:20: note: Calling function 'send' returns 1 pdns-5.0.0/modules/remotebackend/remotebackend.cc:858:20: note: Return value 'this->send(query)' is always true pdns-5.0.0/modules/remotebackend/remotebackend.cc:868:7: style: Condition '!this->send(query)' is always false [knownConditionTrueFalse] pdns-5.0.0/modules/remotebackend/remotebackend.cc:868:18: note: Calling function 'send' returns 1 pdns-5.0.0/modules/remotebackend/remotebackend.cc:868:7: note: Condition '!this->send(query)' is always false pdns-5.0.0/modules/remotebackend/remotebackend.cc:887:7: style: Condition '!this->send(query)' is always false [knownConditionTrueFalse] pdns-5.0.0/modules/remotebackend/remotebackend.cc:887:18: note: Calling function 'send' returns 1 pdns-5.0.0/modules/remotebackend/remotebackend.cc:887:7: note: Condition '!this->send(query)' is always false pdns-5.0.0/modules/remotebackend/remotebackend.cc:929:7: style: Condition '!this->send(query)' is always false [knownConditionTrueFalse] pdns-5.0.0/modules/remotebackend/remotebackend.cc:929:18: note: Calling function 'send' returns 1 pdns-5.0.0/modules/remotebackend/remotebackend.cc:929:7: note: Condition '!this->send(query)' is always false pdns-5.0.0/modules/remotebackend/remotebackend.cc:952:7: style: Condition '!this->send(query)' is always false [knownConditionTrueFalse] pdns-5.0.0/modules/remotebackend/remotebackend.cc:952:18: note: Calling function 'send' returns 1 pdns-5.0.0/modules/remotebackend/remotebackend.cc:952:7: note: Condition '!this->send(query)' is always false pdns-5.0.0/modules/remotebackend/remotebackend.cc:975:7: style: Condition '!this->send(query)' is always false [knownConditionTrueFalse] pdns-5.0.0/modules/remotebackend/remotebackend.cc:975:18: note: Calling function 'send' returns 1 pdns-5.0.0/modules/remotebackend/remotebackend.cc:975:7: note: Condition '!this->send(query)' is always false pdns-5.0.0/modules/remotebackend/remotebackend.cc:997:7: style: Condition '!this->send(query)' is always false [knownConditionTrueFalse] pdns-5.0.0/modules/remotebackend/remotebackend.cc:997:18: note: Calling function 'send' returns 1 pdns-5.0.0/modules/remotebackend/remotebackend.cc:997:7: note: Condition '!this->send(query)' is always false pdns-5.0.0/modules/remotebackend/remotebackend.cc:1009:7: style: Condition '!this->send(query)' is always false [knownConditionTrueFalse] pdns-5.0.0/modules/remotebackend/remotebackend.cc:1009:18: note: Calling function 'send' returns 1 pdns-5.0.0/modules/remotebackend/remotebackend.cc:1009:7: note: Condition '!this->send(query)' is always false pdns-5.0.0/modules/remotebackend/remotebackend.cc:743:91: style:inconclusive: Function 'replaceRRSet' argument 3 names different: declaration 'qt' definition 'qtype'. [funcArgNamesDifferent] pdns-5.0.0/modules/remotebackend/remotebackend.hh:192:78: note: Function 'replaceRRSet' argument 3 names different: declaration 'qt' definition 'qtype'. pdns-5.0.0/modules/remotebackend/remotebackend.cc:743:91: note: Function 'replaceRRSet' argument 3 names different: declaration 'qt' definition 'qtype'. pdns-5.0.0/modules/remotebackend/remotebackend.cc:764:57: style:inconclusive: Function 'feedRecord' argument 1 names different: declaration 'r' definition 'rr'. [funcArgNamesDifferent] pdns-5.0.0/modules/remotebackend/remotebackend.hh:193:44: note: Function 'feedRecord' argument 1 names different: declaration 'r' definition 'rr'. pdns-5.0.0/modules/remotebackend/remotebackend.cc:764:57: note: Function 'feedRecord' argument 1 names different: declaration 'r' definition 'rr'. pdns-5.0.0/modules/remotebackend/remotebackend.cc:43:28: style: Parameter 'value' can be declared as reference to const [constParameterReference] pdns-5.0.0/modules/remotebackend/remotebackend.cc:395:12: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/modules/remotebackend/remotebackend.cc:696:11: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/modules/remotebackend/remotebackend.cc:747:16: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/modules/remotebackend/remotebackend.cc:782:9: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/modules/remotebackend/remotebackend.cc:801:9: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/modules/remotebackend/test-remotebackend-zeromq.cc:101:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/remotebackend/test-remotebackend.cc:55:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOA [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/remotebackend/test-remotebackend.cc:69:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOA [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/remotebackend/test-remotebackend.cc:238:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/remotebackend/test-remotebackend.cc:257:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Native [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/remotebackend/test-remotebackend.cc:274:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Native [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/remotebackend/test-remotebackend.cc:286:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NS [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/remotebackend/test-remotebackend.cc:316:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOA [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/remotebackend/test-remotebackend.cc:337:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable A [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/remotebackend/test-remotebackend.cc:396:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Primary [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/remotebackend/test-remotebackend.cc:205:15: style: Unused variable: algorithm [unusedVariable] pdns-5.0.0/modules/remotebackend/test-remotebackend.cc:206:15: style: Unused variable: content [unusedVariable] pdns-5.0.0/modules/remotebackend/test-remotebackend.cc:223:15: style: Unused variable: algorithm [unusedVariable] pdns-5.0.0/modules/remotebackend/test-remotebackend.cc:224:15: style: Unused variable: content [unusedVariable] pdns-5.0.0/modules/remotebackend/unixconnector.cc:36:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_log [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/remotebackend/unixconnector.cc:121:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/remotebackend/unixconnector.cc:166:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_log [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/remotebackend/unixconnector.cc:33:77: style:inconclusive: Function 'UnixsocketConnector' argument 1 names different: declaration 'options' definition 'optionsMap'. [funcArgNamesDifferent] pdns-5.0.0/modules/remotebackend/remotebackend.hh:80:58: note: Function 'UnixsocketConnector' argument 1 names different: declaration 'options' definition 'optionsMap'. pdns-5.0.0/modules/remotebackend/unixconnector.cc:33:77: note: Function 'UnixsocketConnector' argument 1 names different: declaration 'options' definition 'optionsMap'. pdns-5.0.0/modules/tinydnsbackend/tinydnsbackend.hh:97:3: debug: Failed to parse 'typedef multi_index_container < TinyDomainInfo , indexed_by < hashed_unique < tag < tag_zone > , member < TinyDomainInfo , ZoneName , & TinyDomainInfo :: zone > > , hashed_unique < tag < tag_domainid > , member < TinyDomainInfo , domainid_t , & TinyDomainInfo :: id > > > > :: index < tag_zone > :: type TDIByZone_t ;'. The checking continues anyway. [simplifyTypedef] pdns-5.0.0/modules/tinydnsbackend/tinydnsbackend.hh:98:3: debug: Failed to parse 'typedef multi_index_container < TinyDomainInfo , indexed_by < hashed_unique < tag < tag_zone > , member < TinyDomainInfo , ZoneName , & TinyDomainInfo :: zone > > , hashed_unique < tag < tag_domainid > , member < TinyDomainInfo , domainid_t , & TinyDomainInfo :: id > > > > :: index < tag_domainid > :: type TDIById_t ;'. The checking continues anyway. [simplifyTypedef] pdns-5.0.0/modules/tinydnsbackend/tinydnsbackend.hh:71:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAP_LIST [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/tinydnsbackend/tinydnsbackend.cc:48:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s_addr [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/tinydnsbackend/tinydnsbackend.cc:145:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_log [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/tinydnsbackend/tinydnsbackend.cc:162:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UnknownDomainID [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/tinydnsbackend/tinydnsbackend.cc:255:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_log [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/tinydnsbackend/tinydnsbackend.cc:270:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_log [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/tinydnsbackend/tinydnsbackend.cc:323:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOA [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/tinydnsbackend/tinydnsbackend.cc:447:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_log [valueFlowBailoutIncompleteVar] pdns-5.0.0/modules/tinydnsbackend/tinydnsbackend.hh:56:8: style:inconclusive: Technically the member function 'TDI_SerialModifier::operator()' can be const. [functionConst] pdns-5.0.0/modules/tinydnsbackend/tinydnsbackend.hh:53:3: style: Struct 'TDI_SerialModifier' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/modules/tinydnsbackend/tinydnsbackend.hh:69:3: style: Class 'TinyDNSBackend' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/modules/tinydnsbackend/tinydnsbackend.cc:107:62: style:inconclusive: Function 'getUpdatedPrimaries' argument 1 names different: declaration 'domains' definition 'retDomains'. [funcArgNamesDifferent] pdns-5.0.0/modules/tinydnsbackend/tinydnsbackend.hh:79:48: note: Function 'getUpdatedPrimaries' argument 1 names different: declaration 'domains' definition 'retDomains'. pdns-5.0.0/modules/tinydnsbackend/tinydnsbackend.cc:107:62: note: Function 'getUpdatedPrimaries' argument 1 names different: declaration 'domains' definition 'retDomains'. pdns-5.0.0/pdns/misc.hh:766:18: debug: Failed to instantiate template "checked_conv". The checking continues anyway. [templateInstantiation] pdns-5.0.0/pdns/misc.hh:130:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/misc.hh:172:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/misc.hh:251:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_set [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/misc.hh:255:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_set [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/misc.hh:263:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tv_sec [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/misc.hh:276:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tv_sec [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/misc.hh:339:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/misc.hh:477:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/misc.hh:702:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_integer [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/iputils.hh:96:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/iputils.hh:118:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/iputils.hh:134:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/iputils.hh:153:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/iputils.hh:176:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/iputils.hh:190:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/iputils.hh:199:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/iputils.hh:207:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/iputils.hh:222:88: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_in6 [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/iputils.hh:228:88: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_in [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/iputils.hh:233:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_in6 [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/iputils.hh:243:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/iputils.hh:258:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/iputils.hh:262:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/iputils.hh:267:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/iputils.hh:300:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/iputils.hh:315:132: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NI_NUMERICHOST [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/iputils.hh:328:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/iputils.hh:358:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hex [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/iputils.hh:372:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/iputils.hh:383:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/iputils.hh:510:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/iputils.hh:524:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/iputils.hh:537:88: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_in6 [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/iputils.hh:543:88: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_in [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/iputils.hh:549:88: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_un [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/iputils.hh:554:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_un [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/iputils.hh:563:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/iputils.hh:585:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/iputils.hh:589:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/iputils.hh:593:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNIX [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/iputils.hh:598:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNIX [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/iputils.hh:615:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNIX [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/iputils.hh:641:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/iputils.hh:656:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/iputils.hh:766:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/iputils.hh:786:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/iputils.hh:864:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/iputils.hh:869:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/arguments.cc:370:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/arguments.cc:388:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/arguments.cc:503:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/arguments.cc:548:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/arguments.cc:589:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/iputils.hh:1495:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable second [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/misc.hh:755:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_integer [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/dnsname.hh:548:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/dnsname.hh:616:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/arguments.cc:261:27: portability: Non reentrant function 'getgrnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrnam_r'. [prohibitedgetgrnamCalled] pdns-5.0.0/pdns/arguments.cc:282:28: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] pdns-5.0.0/pdns/iputils.hh:1317:3: warning:inconclusive: Member variable 'NetmaskTree < bool , Netmask >::d_size' is not assigned in the copy constructor. Should it be copied? [missingMemberCopy] pdns-5.0.0/pdns/misc.hh:261:22: performance:inconclusive: Technically the member function 'DTime::time' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-5.0.0/pdns/misc.hh:241:17: note: Technically the member function 'DTime::time' can be static (but you may consider moving to unnamed namespace). pdns-5.0.0/pdns/misc.hh:261:22: note: Technically the member function 'DTime::time' can be static (but you may consider moving to unnamed namespace). pdns-5.0.0/pdns/misc.hh:266:20: performance:inconclusive: Technically the member function 'DTime::set' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-5.0.0/pdns/misc.hh:242:15: note: Technically the member function 'DTime::set' can be static (but you may consider moving to unnamed namespace). pdns-5.0.0/pdns/misc.hh:266:20: note: Technically the member function 'DTime::set' can be static (but you may consider moving to unnamed namespace). pdns-5.0.0/pdns/misc.hh:271:19: performance:inconclusive: Technically the member function 'DTime::udiff' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-5.0.0/pdns/misc.hh:243:14: note: Technically the member function 'DTime::udiff' can be static (but you may consider moving to unnamed namespace). pdns-5.0.0/pdns/misc.hh:271:19: note: Technically the member function 'DTime::udiff' can be static (but you may consider moving to unnamed namespace). pdns-5.0.0/pdns/misc.hh:249:8: performance:inconclusive: Technically the member function 'DTime::setTimeval' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-5.0.0/pdns/misc.hh:253:18: performance:inconclusive: Technically the member function 'DTime::getTimeval' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-5.0.0/pdns/arguments.cc:346:15: style:inconclusive: Technically the member function 'ArgvMap::parmIsset' can be const. [functionConst] pdns-5.0.0/pdns/arguments.hh:93:8: note: Technically the member function 'ArgvMap::parmIsset' can be const. pdns-5.0.0/pdns/arguments.cc:346:15: note: Technically the member function 'ArgvMap::parmIsset' can be const. pdns-5.0.0/pdns/arguments.cc:69:15: style:inconclusive: Technically the member function 'ArgvMap::mustDo' can be const. [functionConst] pdns-5.0.0/pdns/arguments.hh:94:8: note: Technically the member function 'ArgvMap::mustDo' can be const. pdns-5.0.0/pdns/arguments.cc:69:15: note: Technically the member function 'ArgvMap::mustDo' can be const. pdns-5.0.0/pdns/arguments.cc:457:32: style:inconclusive: Technically the member function 'ArgvMap::getCommands' can be const. [functionConst] pdns-5.0.0/pdns/arguments.hh:127:25: note: Technically the member function 'ArgvMap::getCommands' can be const. pdns-5.0.0/pdns/arguments.cc:457:32: note: Technically the member function 'ArgvMap::getCommands' can be const. pdns-5.0.0/pdns/arguments.cc:570:15: style:inconclusive: Technically the member function 'ArgvMap::gatherIncludes' can be const. [functionConst] pdns-5.0.0/pdns/arguments.hh:128:8: note: Technically the member function 'ArgvMap::gatherIncludes' can be const. pdns-5.0.0/pdns/arguments.cc:570:15: note: Technically the member function 'ArgvMap::gatherIncludes' can be const. pdns-5.0.0/pdns/arguments.cc:366:15: performance:inconclusive: Technically the member function 'ArgvMap::warnIfDeprecated' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-5.0.0/pdns/arguments.hh:129:8: note: Technically the member function 'ArgvMap::warnIfDeprecated' can be static (but you may consider moving to unnamed namespace). pdns-5.0.0/pdns/arguments.cc:366:15: note: Technically the member function 'ArgvMap::warnIfDeprecated' can be static (but you may consider moving to unnamed namespace). pdns-5.0.0/pdns/iputils.hh:1201: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-5.0.0/pdns/iputils.hh:1349:12: style:inconclusive: Technically the member function 'NetmaskTree < bool , Netmask >::end' can be const. [functionConst] pdns-5.0.0/pdns/iputils.hh:1302:10: style:inconclusive: Technically the member function 'NetmaskTree < bool , Netmask >::Iterator::operator==' can be const. [functionConst] pdns-5.0.0/pdns/iputils.hh:1306:10: style:inconclusive: Technically the member function 'NetmaskTree < bool , Netmask >::Iterator::operator!=' can be const. [functionConst] pdns-5.0.0/pdns/dnsname.hh:459:8: style:inconclusive: Technically the member function 'SuffixMatchTree < bool >::add' can be const. [functionConst] pdns-5.0.0/pdns/qtype.hh:46:3: style: Class 'QType' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/qtype.hh:180:13: style: Struct 'QClass' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/dnsname.hh:225:5: style: Class 'RawLabelsVisitor' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/dns.hh:220:3: style: Class 'dnsheader_aligned' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/misc.hh:520:3: style: Class 'Regex' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/misc.hh:543:3: style: Class 'SimpleMatch' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/misc.hh:821:3: style: Struct 'FDWrapper' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/pdnsexception.hh:33:3: style: Class 'PDNSException' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/pdnsexception.hh:43:3: style: Class 'TimeoutException' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/iputils.hh:634:3: style: Class 'NetmaskException' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/iputils.hh:692:3: style: Class 'Netmask' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/iputils.hh:699:3: style: Class 'Netmask' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/iputils.hh:705:3: style: Class 'Netmask' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/iputils.hh:748:3: style: Class 'Netmask' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/iputils.hh:1837:3: style: Struct 'SComboAddress' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/iputils.hh:1853:3: style: Class 'NetworkError' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/iputils.hh:1856:3: style: Class 'NetworkError' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/logger.hh:40:3: style: Class 'Logger' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/dnsname.hh:385:3: style: Struct 'SuffixMatchTree < bool >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/misc.hh:565:17: style: Condition 'mi==mend' is always false [knownConditionTrueFalse] pdns-5.0.0/pdns/misc.hh:566:17: style: Condition 'mi!=mend' is always true [knownConditionTrueFalse] pdns-5.0.0/pdns/dnsname.hh:429:20: style: Return value 'ret<0' is always false [knownConditionTrueFalse] pdns-5.0.0/pdns/dnsname.hh:425:15: note: Assuming that condition 'ret!=0' is not redundant pdns-5.0.0/pdns/dnsname.hh:429:20: note: Return value 'ret<0' is always false pdns-5.0.0/pdns/dnsname.hh:443:18: style: Return value 'ret<0' is always false [knownConditionTrueFalse] pdns-5.0.0/pdns/dnsname.hh:439:13: note: Assuming that condition 'ret!=0' is not redundant pdns-5.0.0/pdns/dnsname.hh:443:18: note: Return value 'ret<0' is always false pdns-5.0.0/pdns/misc.hh:377:31: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/misc.hh:377:71: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/misc.hh:288:8: style: The scope of the variable 'c' can be reduced. [variableScope] pdns-5.0.0/pdns/arguments.cc:570:49: style:inconclusive: Function 'gatherIncludes' argument 1 names different: declaration 'dir' definition 'directory'. [funcArgNamesDifferent] pdns-5.0.0/pdns/arguments.hh:128:42: note: Function 'gatherIncludes' argument 1 names different: declaration 'dir' definition 'directory'. pdns-5.0.0/pdns/arguments.cc:570:49: note: Function 'gatherIncludes' argument 1 names different: declaration 'dir' definition 'directory'. pdns-5.0.0/pdns/arguments.cc:462:26: style: Parameter 'argc' can be declared as reference to const [constParameterReference] pdns-5.0.0/pdns/arguments.cc:471:29: style: Parameter 'argc' can be declared as reference to const [constParameterReference] pdns-5.0.0/pdns/iputils.hh:1465:16: style: Variable 'value' can be declared as reference to const [constVariableReference] pdns-5.0.0/pdns/arguments.cc:261:19: style: Variable 'group' can be declared as pointer to const [constVariablePointer] pdns-5.0.0/pdns/arguments.cc:282:20: style: Variable 'pwent' can be declared as pointer to const [constVariablePointer] pdns-5.0.0/pdns/iputils.hh:1169:19: style: Variable 'prev_child' can be declared as pointer to const [constVariablePointer] pdns-5.0.0/pdns/arguments.cc:388:7: performance: Inefficient usage of string::find() in condition; string::starts_with() could be faster. [stlIfStrFind] pdns-5.0.0/pdns/arguments.cc:394:12: performance: Inefficient usage of string::find() in condition; string::starts_with() could be faster. [stlIfStrFind] pdns-5.0.0/pdns/arguments.cc:399:12: performance: Inefficient usage of string::find() in condition; string::starts_with() could be faster. [stlIfStrFind] pdns-5.0.0/pdns/arguments.cc:475:9: performance: Inefficient usage of string::find() in condition; string::starts_with() could be faster. [stlIfStrFind] pdns-5.0.0/pdns/arguments.cc:507: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-5.0.0/pdns/dnsname.hh:143:8: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/iputils.hh:1816:11: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/arguments.cc:79:9: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/arguments.cc:558:47: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/dnsname.hh:565:13: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/auth-packetcache.hh:138:0: debug: Function::addArguments found argument 'map' with varid 0. [varid0] pdns-5.0.0/pdns/ednssubnet.hh:39:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sin_family [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/dnsparser.hh:344:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/auth-packetcache.hh:79:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable map [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/auth-packetcache.hh:140:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable map [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/dnsrecords.hh:1121:3: warning: Member variable 'EUI48RecordContent::d_eui48' is not initialized in the constructor. [uninitMemberVar] pdns-5.0.0/pdns/dnsrecords.hh:1140:3: warning: Member variable 'EUI64RecordContent::d_eui64' is not initialized in the constructor. [uninitMemberVar] pdns-5.0.0/pdns/dnsparser.hh:168:8: performance:inconclusive: Technically the member function 'PacketReader::eof' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-5.0.0/pdns/dnsparser.hh:169:16: performance:inconclusive: Technically the member function 'PacketReader::getRemaining' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-5.0.0/pdns/dnsparser.hh:240:8: performance:inconclusive: Technically the member function 'DNSRecordContent::doRecordCheck' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-5.0.0/pdns/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-5.0.0/pdns/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-5.0.0/pdns/auth-querycache.hh:49:10: style:inconclusive: Either there is a missing 'override', or the member function 'AuthQueryCache::size' can be const. [functionConst] pdns-5.0.0/pdns/dnswriter.hh:156:8: style:inconclusive: Either there is a missing 'override', or the member function 'GenericDNSPacketWriter < std :: vector < uint8_t > >::eof' can be const. [functionConst] pdns-5.0.0/pdns/dnswriter.hh:158:16: performance:inconclusive: Either there is a missing 'override', or the member function 'GenericDNSPacketWriter < std :: vector < uint8_t > >::getRemaining' can be static. [functionStatic] pdns-5.0.0/pdns/dnsrecords.hh:86:8: warning: The class 'ARecordContent' defines member function with name 'doRecordCheck' also defined in its parent class 'DNSRecordContent'. [duplInheritedMember] pdns-5.0.0/pdns/dnsparser.hh:240:8: note: Parent function 'DNSRecordContent::doRecordCheck' pdns-5.0.0/pdns/dnsrecords.hh:86:8: note: Derived function 'ARecordContent::doRecordCheck' pdns-5.0.0/pdns/dnsrecords.hh:890:44: warning: The class 'NSECRecordContent' defines member function with name 'make' also defined in its parent class 'DNSRecordContent'. [duplInheritedMember] pdns-5.0.0/pdns/dnsparser.hh:197:44: note: Parent function 'DNSRecordContent::make' pdns-5.0.0/pdns/dnsrecords.hh:890:44: note: Derived function 'NSECRecordContent::make' pdns-5.0.0/pdns/dnsrecords.hh:931:44: warning: The class 'NSEC3RecordContent' defines member function with name 'make' also defined in its parent class 'DNSRecordContent'. [duplInheritedMember] pdns-5.0.0/pdns/dnsparser.hh:197:44: note: Parent function 'DNSRecordContent::make' pdns-5.0.0/pdns/dnsrecords.hh:931:44: note: Derived function 'NSEC3RecordContent::make' pdns-5.0.0/pdns/dnsrecords.hh:981:44: warning: The class 'CSYNCRecordContent' defines member function with name 'make' also defined in its parent class 'DNSRecordContent'. [duplInheritedMember] pdns-5.0.0/pdns/dnsparser.hh:197:44: note: Parent function 'DNSRecordContent::make' pdns-5.0.0/pdns/dnsrecords.hh:981:44: note: Derived function 'CSYNCRecordContent::make' pdns-5.0.0/pdns/dnsrecords.hh:1014:44: warning: The class 'NSEC3PARAMRecordContent' defines member function with name 'make' also defined in its parent class 'DNSRecordContent'. [duplInheritedMember] pdns-5.0.0/pdns/dnsparser.hh:197:44: note: Parent function 'DNSRecordContent::make' pdns-5.0.0/pdns/dnsrecords.hh:1014:44: note: Derived function 'NSEC3PARAMRecordContent::make' pdns-5.0.0/pdns/dnsrecords.hh:1042:44: warning: The class 'LOCRecordContent' defines member function with name 'make' also defined in its parent class 'DNSRecordContent'. [duplInheritedMember] pdns-5.0.0/pdns/dnsparser.hh:197:44: note: Parent function 'DNSRecordContent::make' pdns-5.0.0/pdns/dnsrecords.hh:1042:44: note: Derived function 'LOCRecordContent::make' pdns-5.0.0/pdns/dnsrecords.hh:1123:44: warning: The class 'EUI48RecordContent' defines member function with name 'make' also defined in its parent class 'DNSRecordContent'. [duplInheritedMember] pdns-5.0.0/pdns/dnsparser.hh:197:44: note: Parent function 'DNSRecordContent::make' pdns-5.0.0/pdns/dnsrecords.hh:1123:44: note: Derived function 'EUI48RecordContent::make' pdns-5.0.0/pdns/dnsrecords.hh:1142:44: warning: The class 'EUI64RecordContent' defines member function with name 'make' also defined in its parent class 'DNSRecordContent'. [duplInheritedMember] pdns-5.0.0/pdns/dnsparser.hh:197:44: note: Parent function 'DNSRecordContent::make' pdns-5.0.0/pdns/dnsrecords.hh:1142:44: note: Derived function 'EUI64RecordContent::make' pdns-5.0.0/pdns/ednscookies.hh:34:3: style: Struct 'EDNSCookiesOpt' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/utility.hh:67:3: style: Class 'Semaphore' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/svc-records.hh:48:3: style: Class 'SvcParam' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/dnsparser.hh:61:3: style: Class 'MOADNSException' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/dnsparser.hh:71:3: style: Class 'PacketReader' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/dnsparser.hh:469:3: style: Class 'UnknownRecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/lock.hh:104:3: style: Class 'ReadLock' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/lock.hh:109:3: style: Class 'ReadLock' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/lock.hh:125:3: style: Class 'ReadLock' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/lock.hh:136:3: style: Class 'WriteLock' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/lock.hh:141:3: style: Class 'WriteLock' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/lock.hh:157:3: style: Class 'WriteLock' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/lock.hh:168:3: style: Class 'TryReadLock' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/lock.hh:173:3: style: Class 'TryReadLock' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/lock.hh:190:3: style: Class 'TryReadLock' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/lock.hh:201:3: style: Class 'TryWriteLock' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/lock.hh:206:3: style: Class 'TryWriteLock' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/lock.hh:223:3: style: Class 'TryWriteLock' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/rcpgenerator.hh:36:3: style: Class 'RecordTextException' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/rcpgenerator.hh:43:3: style: Class 'RecordTextReader' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/rcpgenerator.hh:88:3: style: Class 'RecordTextWriter' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/dnsrecords.hh:59:3: style: Class 'NAPTRRecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/dnsrecords.hh:85:3: style: Class 'ARecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/dnsrecords.hh:105:3: style: Class 'AAAARecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/dnsrecords.hh:107:3: style: Class 'AAAARecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/dnsrecords.hh:128:3: style: Class 'MXRecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/dnsrecords.hh:151:3: style: Class 'KXRecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/dnsrecords.hh:167:3: style: Class 'IPSECKEYRecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/dnsrecords.hh:184:3: style: Class 'DHCIDRecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/dnsrecords.hh:200:3: style: Class 'SRVRecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/dnsrecords.hh:214:3: style: Class 'TSIGRecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/dnsrecords.hh:237:3: style: Class 'TXTRecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/dnsrecords.hh:265:3: style: Class 'ENTRecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/dnsrecords.hh:275:3: style: Class 'SPFRecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/dnsrecords.hh:293:3: style: Class 'NSRecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/dnsrecords.hh:314:3: style: Class 'PTRRecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/dnsrecords.hh:328:3: style: Class 'CNAMERecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/dnsrecords.hh:329:5: style: Class 'CNAMERecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/dnsrecords.hh:344:3: style: Class 'ALIASRecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/dnsrecords.hh:362:3: style: Class 'DNAMERecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/dnsrecords.hh:363:5: style: Class 'DNAMERecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/dnsrecords.hh:378:3: style: Class 'MBRecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/dnsrecords.hh:391:3: style: Class 'MGRecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/dnsrecords.hh:404:3: style: Class 'MRRecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/dnsrecords.hh:417:3: style: Class 'MINFORecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/dnsrecords.hh:432:3: style: Class 'OPTRecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/dnsrecords.hh:446:3: style: Class 'HINFORecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/dnsrecords.hh:459:3: style: Class 'RPRecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/dnsrecords.hh:473:3: style: Class 'DNSKEYRecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/dnsrecords.hh:495:3: style: Class 'CDNSKEYRecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/dnsrecords.hh:526:3: style: Class 'DSRecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/dnsrecords.hh:541:3: style: Class 'CDSRecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/dnsrecords.hh:556:3: style: Class 'DLVRecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/dnsrecords.hh:571:3: style: Class 'SSHFPRecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/dnsrecords.hh:585:3: style: Class 'KEYRecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/dnsrecords.hh:600:3: style: Class 'AFSDBRecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/dnsrecords.hh:619:3: style: Class 'CERTRecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/dnsrecords.hh:634:3: style: Class 'TLSARecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/dnsrecords.hh:648:3: style: Class 'SMIMEARecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/dnsrecords.hh:662:3: style: Class 'OPENPGPKEYRecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/dnsrecords.hh:708:3: style: Class 'SVCBRecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/dnsrecords.hh:715:3: style: Class 'HTTPSRecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/dnsrecords.hh:723:3: style: Class 'RRSIGRecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/dnsrecords.hh:752:3: style: Class 'RKEYRecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/dnsrecords.hh:765:3: style: Class 'SOARecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/dnsrecords.hh:780:3: style: Class 'ZONEMDRecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/dnsrecords.hh:888:3: style: Class 'NSECRecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/dnsrecords.hh:929:3: style: Class 'NSEC3RecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/dnsrecords.hh:979:3: style: Class 'CSYNCRecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/dnsrecords.hh:1012:3: style: Class 'NSEC3PARAMRecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/dnsrecords.hh:1040:3: style: Class 'LOCRecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/dnsrecords.hh:1065:3: style: Class 'NIDRecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/dnsrecords.hh:1079:3: style: Class 'L32RecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/dnsrecords.hh:1093:3: style: Class 'L64RecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/dnsrecords.hh:1107:3: style: Class 'LPRecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/dnsrecords.hh:1172:3: style: Class 'APLRecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/dnsrecords.hh:1187:3: style: Class 'TKEYRecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/dnsrecords.hh:1210:5: style: Class 'URIRecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/dnsrecords.hh:1222:3: style: Class 'CAARecordContent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/dnspacket.hh:52:3: style: Class 'DNSPacket' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/auth-querycache.hh:43:3: style: Class 'AuthQueryCache' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/auth-packetcache.hh:58:3: style: Class 'AuthPacketCache' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/noinitvector.hh:25:3: style: Struct 'noinit_adaptor < std :: allocator < uint8_t > >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/noinitvector.hh:28:3: style: Struct 'noinit_adaptor < std :: allocator < uint8_t > >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/ednscookies.hh:58:29: performance: Function 'getServer()' should return member 'server' by const reference. [returnByReference] pdns-5.0.0/pdns/ednscookies.hh:62:29: performance: Function 'getClient()' should return member 'client' by const reference. [returnByReference] pdns-5.0.0/pdns/dnswriter.hh:110:19: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/noinitvector.hh:32:11: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/noinitvector.hh:37:11: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/dnsparser.hh:631:35: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pdns-5.0.0/pdns/dnsparser.hh:639:35: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pdns-5.0.0/pdns/dnspacket.hh:70:27: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pdns-5.0.0/pdns/dnssecinfra.hh:174:5: debug: Failed to parse 'using maker_t = std :: unique_ptr < DNSCryptoKeyEngine > ( unsigned int ) ;'. The checking continues anyway. [simplifyUsing] pdns-5.0.0/pdns/dnssecinfra.hh:174:5: debug: Failed to parse 'using maker_t = std :: unique_ptr < DNSCryptoKeyEngine > ( int ) ;'. The checking continues anyway. [simplifyUsing] pdns-5.0.0/pdns/sstuff.hh:102:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/sstuff.hh:212:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/sstuff.hh:284:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/sstuff.hh:310:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/communicator.hh:282:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_DGRAM [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/channel.hh:246:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIPE_BUF [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/channel.hh:315:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/channel.hh:340:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/distributor.hh:63:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/distributor.hh:141:83: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/distributor.hh:163:76: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/distributor.hh:221:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/distributor.hh:288:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/distributor.hh:339:154: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/auth-carbon.cc:75:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_STREAM [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/iputils.hh:1317:3: warning:inconclusive: Member variable 'NetmaskTree < std :: string , Netmask >::d_size' is not assigned in the copy constructor. Should it be copied? [missingMemberCopy] pdns-5.0.0/pdns/auth-catalogzone.hh:54:5: performance: Variable 'd_zone' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] pdns-5.0.0/pdns/communicator.hh:163:5: performance: Variable 'd_tickinterval' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] pdns-5.0.0/pdns/sstuff.hh:152:8: performance:inconclusive: Technically the member function 'Socket::setFastOpenConnect' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-5.0.0/pdns/auth-zonecache.hh:64:10: style:inconclusive: Either there is a missing 'override', or the member function 'AuthZoneCache::size' can be const. [functionConst] pdns-5.0.0/pdns/auth-zonecache.hh:103:10: style:inconclusive: Either there is a missing 'override', or the member function 'AuthZoneCache::getMapIndex' can be const. [functionConst] pdns-5.0.0/pdns/dnssecinfra.hh:260:8: style:inconclusive: Technically the member function 'CanonicalCompare::operator()' can be const. [functionConst] pdns-5.0.0/pdns/dnsbackend.hh:516:17: style:inconclusive: Technically the member function 'DNSBackend::getPrefix' can be const. [functionConst] pdns-5.0.0/pdns/dns_random.hh:66:15: style:inconclusive: Technically the member function 'pdns::dns_random_engine::operator()' can be const. [functionConst] pdns-5.0.0/pdns/communicator.hh:129:10: style:inconclusive: Technically the member function 'NotificationQueue::earliest' can be const. [functionConst] pdns-5.0.0/pdns/communicator.hh:277:8: performance:inconclusive: Technically the member function 'FindNS::resolve_name' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-5.0.0/pdns/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-5.0.0/pdns/gss_context.hh:119:8: style:inconclusive: Technically the member function 'GssName::operator==' can be const. [functionConst] pdns-5.0.0/pdns/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-5.0.0/pdns/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-5.0.0/pdns/gss_context.hh:183:18: style:inconclusive: Technically the member function 'GssContext::getLabel' can be const. [functionConst] pdns-5.0.0/pdns/gss_context.hh:195:34: style:inconclusive: Technically the member function 'GssContext::getErrorStrings' can be const. [functionConst] pdns-5.0.0/pdns/nameserver.hh:84:15: style:inconclusive: Technically the member function 'UDPNameserver::canReusePort' can be const. [functionConst] pdns-5.0.0/pdns/histogram.hh:180:25: performance:inconclusive: Technically the member function 'pdns::BaseHistogram < AtomicBucket , stat_t_trait < uint64_t > >::to125' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-5.0.0/pdns/iputils.hh:1201:8: performance:inconclusive: Technically the member function 'NetmaskTree < std :: string , Netmask >::cleanup_tree' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-5.0.0/pdns/iputils.hh:1349:12: style:inconclusive: Technically the member function 'NetmaskTree < std :: string , Netmask >::end' can be const. [functionConst] pdns-5.0.0/pdns/iputils.hh:1302:10: style:inconclusive: Technically the member function 'NetmaskTree < std :: string , Netmask >::Iterator::operator==' can be const. [functionConst] pdns-5.0.0/pdns/iputils.hh:1306:10: style:inconclusive: Technically the member function 'NetmaskTree < std :: string , Netmask >::Iterator::operator!=' can be const. [functionConst] pdns-5.0.0/pdns/sstuff.hh:51:3: style: Class 'Socket' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/auth-zonecache.hh:35:3: style: Class 'AuthZoneCache' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/sha.hh:71:3: style: Class 'SHADigest' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/dnsbackend.hh:572:3: style: Class 'DBException' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/ueberbackend.hh:47:3: style: Class 'UeberBackend' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/dnsseckeeper.hh:178:3: style: Class 'DNSSECKeeper' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/lua-auth4.hh:15:3: style: Class 'AuthLua4' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/channel.hh:76:5: style: Class 'Sender' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/channel.hh:109:5: style: Class 'Receiver' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/channel.hh:170:5: style: Class 'Notifier' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/channel.hh:199:5: style: Class 'Waiter' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/gss_context.hh:72:3: style: Class 'GssName' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/gss_context.hh:174:3: style: Class 'GssContext' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/distributor.hh:94:3: style: Class 'MultiThreadDistributor' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/distributor.hh:104:5: style: Struct 'QuestionData' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/nameserver.hh:81:3: style: Class 'UDPNameserver' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/stat_t.hh:38:5: style: Class 'stat_t_trait < uint64_t >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/statbag.hh:36:3: style: Class 'StatRing < std :: string , CIStringCompare >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/statbag.hh:36:3: style: Class 'StatRing < SComboAddress , std :: less < SComboAddress > >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/statbag.hh:36:3: style: Class 'StatRing < std :: tuple < DNSName , QType > , std :: less < std :: tuple < DNSName , QType > > >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/gss_context.hh:195:34: performance: Function 'getErrorStrings()' should return member 'd_gss_errors' by const reference. [returnByReference] pdns-5.0.0/pdns/histogram.hh:105:15: performance: Function 'getName()' should return member 'd_name' by const reference. [returnByReference] pdns-5.0.0/pdns/dnssecinfra.hh:106:8: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] pdns-5.0.0/pdns/distributor.hh:159:130: style:inconclusive: Function 'MultiThreadDistributor' argument 1 names different: declaration 'n' definition 'numberOfThreads'. [funcArgNamesDifferent] pdns-5.0.0/pdns/distributor.hh:94:30: note: Function 'MultiThreadDistributor' argument 1 names different: declaration 'n' definition 'numberOfThreads'. pdns-5.0.0/pdns/distributor.hh:159:130: note: Function 'MultiThreadDistributor' argument 1 names different: declaration 'n' definition 'numberOfThreads'. pdns-5.0.0/pdns/distributor.hh:185:123: style:inconclusive: Function 'distribute' argument 1 names different: declaration 'n' definition 'ournum'. [funcArgNamesDifferent] pdns-5.0.0/pdns/distributor.hh:97:23: note: Function 'distribute' argument 1 names different: declaration 'n' definition 'ournum'. pdns-5.0.0/pdns/distributor.hh:185:123: note: Function 'distribute' argument 1 names different: declaration 'n' definition 'ournum'. pdns-5.0.0/pdns/auth-carbon.cc:39:18: style: Local variable 'S' shadows outer variable [shadowVariable] pdns-5.0.0/pdns/distributor.hh:44:16: note: Shadowed declaration pdns-5.0.0/pdns/auth-carbon.cc:39:18: note: Shadow variable pdns-5.0.0/pdns/dns_random.hh:83:0: warning: Redundant code: Found unused function. [constStatement] pdns-5.0.0/pdns/dnssecinfra.hh:218:52: style: Parameter 'key' can be declared as reference to const [constParameterReference] pdns-5.0.0/pdns/communicator.hh:288:26: style: Variable 'address' can be declared as pointer to const [constVariablePointer] pdns-5.0.0/pdns/communicator.hh:112:37: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/communicator.hh:133:13: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/auth-catalogzone.cc:98:15: style: Consider using std::copy algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/webserver.hh:129:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable headers [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/auth-main.cc:145:82: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SYSCONFDIR [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/auth-main.cc:362:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RUSAGE_SELF [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/auth-main.cc:387:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/auth-main.cc:548:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/auth-main.cc:611:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/auth-main.cc:766:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/auth-main.cc:965:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/auth-main.cc:980:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/auth-main.cc:994:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOCALSTATEDIR [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/auth-main.cc:1079:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/auth-main.cc:1265:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/distributor.hh:200:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_queued [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/distributor.hh:328:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_nextid [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/distributor.hh:279:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable b [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/auth-main.cc:806:7: warning: Return value of function gethostbyname() is not used. [ignoredReturnValue] pdns-5.0.0/pdns/auth-main.cc:806:7: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] pdns-5.0.0/pdns/webserver.hh:110:16: style:inconclusive: Technically the member function 'HttpException::response' can be const. [functionConst] pdns-5.0.0/pdns/webserver.hh:276:12: style:inconclusive: Either there is a missing 'override', or the member function 'WebServer::getLogLevel' can be const. [functionConst] pdns-5.0.0/pdns/credentials.hh:33:3: style: Class 'SensitiveData' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/credentials.hh:34:3: style: Class 'SensitiveData' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/webserver.hh:50:3: style: Class 'HttpRequest' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/webserver.hh:78:3: style: Class 'HttpResponse' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/webserver.hh:100:3: style: Class 'HttpException' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/webserver.hh:122:3: style: Class 'HttpBadRequestException' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/webserver.hh:127:3: style: Class 'HttpUnauthorizedException' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/webserver.hh:136:3: style: Class 'HttpForbiddenException' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/webserver.hh:142:3: style: Class 'HttpNotFoundException' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/webserver.hh:148:3: style: Class 'HttpMethodNotAllowedException' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/webserver.hh:154:3: style: Class 'HttpConflictException' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/webserver.hh:160:3: style: Class 'HttpInternalServerErrorException' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/webserver.hh:166:3: style: Class 'ApiException' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/auth-main.cc:1039:25: style: Variable 'ae' can be declared as reference to const [constVariableReference] pdns-5.0.0/pdns/auth-main.cc:521:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] pdns-5.0.0/pdns/auth-main.cc:1279:15: performance: Passing the result of c_str() to a function that takes std::string as argument no. 1 is slow and redundant. [stlcstrParam] pdns-5.0.0/pdns/auth-main.cc:1396:21: performance: Passing the result of c_str() to a function that takes std::string as argument no. 1 is slow and redundant. [stlcstrParam] pdns-5.0.0/pdns/auth-main.cc:1476:15: performance: Passing the result of c_str() to a function that takes std::string as argument no. 1 is slow and redundant. [stlcstrParam] pdns-5.0.0/pdns/auth-packetcache.cc:211:0: debug: Function::addArguments found argument 'map' with varid 0. [varid0] pdns-5.0.0/pdns/cachecleaner.hh:44:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/cachecleaner.hh:84:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/auth-packetcache.cc:58:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable map [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/auth-packetcache.cc:99:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable map [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/auth-packetcache.cc:174:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable map [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/auth-packetcache.cc:244:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable map [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/auth-packetcache.cc:275:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable map [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/auth-packetcache.cc:299:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable map [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/auth-packetcache.cc:324:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable map [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/auth-packetcache.cc:346:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable map [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/auth-packetcache.cc:67:33: performance:inconclusive: Technically the member function 'AuthPacketCache::MapCombo::reserve' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-5.0.0/pdns/auth-packetcache.hh:131:10: note: Technically the member function 'AuthPacketCache::MapCombo::reserve' can be static (but you may consider moving to unnamed namespace). pdns-5.0.0/pdns/auth-packetcache.cc:67:33: note: Technically the member function 'AuthPacketCache::MapCombo::reserve' can be static (but you may consider moving to unnamed namespace). pdns-5.0.0/pdns/auth-packetcache.cc:126:76: style: Parameter 'iter' can be declared as reference to const [constParameterReference] pdns-5.0.0/pdns/auth-primarycommunicator.cc:63:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/auth-primarycommunicator.cc:118:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/auth-primarycommunicator.cc:131:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/auth-primarycommunicator.cc:143:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/auth-primarycommunicator.cc:198:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/auth-primarycommunicator.cc:234:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/auth-primarycommunicator.cc:304:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/auth-primarycommunicator.cc:355:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/resolver.hh:47:3: style: Class 'ResolverException' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/auth-primarycommunicator.cc:225:65: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pdns-5.0.0/pdns/auth-primarycommunicator.cc:325:50: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pdns-5.0.0/pdns/auth-primarycommunicator.cc:50:16: style: The scope of the variable 'nsset' can be reduced. [variableScope] pdns-5.0.0/pdns/auth-primarycommunicator.cc:290:10: style: The scope of the variable 'tsigsecret64' can be reduced. [variableScope] pdns-5.0.0/pdns/auth-primarycommunicator.cc:291:10: style: The scope of the variable 'tsigsecret' can be reduced. [variableScope] pdns-5.0.0/pdns/auth-primarycommunicator.cc:132:29: style: Variable 'nr' can be declared as reference to const [constVariableReference] pdns-5.0.0/pdns/auth-querycache.cc:118:0: debug: Function::addArguments found argument 'map' with varid 0. [varid0] pdns-5.0.0/pdns/auth-querycache.cc:63:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable map [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/auth-querycache.cc:91:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable map [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/auth-querycache.cc:120:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable map [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/auth-querycache.cc:143:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable map [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/auth-querycache.cc:47:32: performance:inconclusive: Technically the member function 'AuthQueryCache::MapCombo::reserve' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-5.0.0/pdns/auth-querycache.hh:100:10: note: Technically the member function 'AuthQueryCache::MapCombo::reserve' can be static (but you may consider moving to unnamed namespace). pdns-5.0.0/pdns/auth-querycache.cc:47:32: note: Technically the member function 'AuthQueryCache::MapCombo::reserve' can be static (but you may consider moving to unnamed namespace). pdns-5.0.0/pdns/communicator.hh:74:1: debug: Failed to parse 'using domains_by_name_t = multi_index_container < SuckRequest , indexed_by < ordered_unique < member < SuckRequest , std :: pair < SuckRequest :: RequestPriority , uint64_t > , & SuckRequest :: priorityAndOrder > > , ordered_unique < tag < IDTag > , identity < SuckRequest > > > > :: index < IDTag > :: type ;'. The checking continues anyway. [simplifyUsing] pdns-5.0.0/pdns/auth-secondarycommunicator.cc:67:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable priorityAndOrder [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/auth-secondarycommunicator.cc:129:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/auth-secondarycommunicator.cc:342:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/auth-secondarycommunicator.cc:445:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/auth-secondarycommunicator.cc:598:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/auth-secondarycommunicator.cc:653:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/auth-secondarycommunicator.cc:1130:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/inflighter.cc:47:3: warning: Member variable 'Inflighter < std :: vector < DomainNotificationInfo > , SecondarySenderReceiver >::d_iter' is not initialized in the constructor. [uninitMemberVar] pdns-5.0.0/pdns/auth-secondarycommunicator.cc:1049:8: performance:inconclusive: Technically the member function 'SecondarySenderReceiver::deliverTimeout' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-5.0.0/pdns/inflighter.cc:67:12: style:inconclusive: Technically the member function 'Inflighter < std :: vector < DomainNotificationInfo > , SecondarySenderReceiver >::getTimeouts' can be const. [functionConst] pdns-5.0.0/pdns/inflighter.cc:72:12: style:inconclusive: Technically the member function 'Inflighter < std :: vector < DomainNotificationInfo > , SecondarySenderReceiver >::getUnexpecteds' can be const. [functionConst] pdns-5.0.0/pdns/auth-secondarycommunicator.cc:976:23: style: Condition 'transaction' is always false [knownConditionTrueFalse] pdns-5.0.0/pdns/auth-secondarycommunicator.cc:658:22: note: Assignment 'transaction=false', assigned value is 0 pdns-5.0.0/pdns/auth-secondarycommunicator.cc:976:23: note: Condition 'transaction' is always false pdns-5.0.0/pdns/auth-secondarycommunicator.cc:983:23: style: Condition 'transaction' is always false [knownConditionTrueFalse] pdns-5.0.0/pdns/auth-secondarycommunicator.cc:658:22: note: Assignment 'transaction=false', assigned value is 0 pdns-5.0.0/pdns/auth-secondarycommunicator.cc:983:23: note: Condition 'transaction' is always false pdns-5.0.0/pdns/auth-secondarycommunicator.cc:990:23: style: Condition 'transaction' is always false [knownConditionTrueFalse] pdns-5.0.0/pdns/auth-secondarycommunicator.cc:658:22: note: Assignment 'transaction=false', assigned value is 0 pdns-5.0.0/pdns/auth-secondarycommunicator.cc:990:23: note: Condition 'transaction' is always false pdns-5.0.0/pdns/auth-secondarycommunicator.cc:1011:23: style: Condition 'transaction' is always false [knownConditionTrueFalse] pdns-5.0.0/pdns/auth-secondarycommunicator.cc:658:22: note: Assignment 'transaction=false', assigned value is 0 pdns-5.0.0/pdns/auth-secondarycommunicator.cc:1011:23: note: Condition 'transaction' is always false pdns-5.0.0/pdns/auth-secondarycommunicator.cc:1018:23: style: Condition 'transaction' is always false [knownConditionTrueFalse] pdns-5.0.0/pdns/auth-secondarycommunicator.cc:658:22: note: Assignment 'transaction=false', assigned value is 0 pdns-5.0.0/pdns/auth-secondarycommunicator.cc:1018:23: note: Condition 'transaction' is always false pdns-5.0.0/pdns/auth-secondarycommunicator.cc:95:8: style: The scope of the variable 'doTransaction' can be reduced. [variableScope] pdns-5.0.0/pdns/auth-secondarycommunicator.cc:98:38: style: The scope of the variable 'clearCache' can be reduced. [variableScope] pdns-5.0.0/pdns/auth-secondarycommunicator.cc:99:23: style: The scope of the variable 'retrieve' can be reduced. [variableScope] pdns-5.0.0/pdns/inflighter.cc:132:9: style: The scope of the variable 'processed' can be reduced. [variableScope] pdns-5.0.0/pdns/auth-secondarycommunicator.cc:93:28: style: Local variable 'Communicator' shadows outer variable [shadowVariable] pdns-5.0.0/pdns/auth-main.hh:44:26: note: Shadowed declaration pdns-5.0.0/pdns/auth-secondarycommunicator.cc:93:28: note: Shadow variable pdns-5.0.0/pdns/auth-secondarycommunicator.cc:281:18: style: Variable 'ret' can be declared as reference to const [constVariableReference] pdns-5.0.0/pdns/auth-secondarycommunicator.cc:164:25: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/auth-secondarycommunicator.cc:503:17: style: Consider using std::copy algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/auth-secondarycommunicator.cc:1094:60: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/auth-secondarycommunicator.cc:1404:9: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/auth-secondarycommunicator.cc:124:29: warning: Either the condition 'db!=fromDB.end()' is redundant or there is possible dereference of an invalid iterator: db. [derefInvalidIteratorRedundantCheck] pdns-5.0.0/pdns/auth-secondarycommunicator.cc:117:19: note: Assuming that condition 'db!=fromDB.end()' is not redundant pdns-5.0.0/pdns/auth-secondarycommunicator.cc:124:29: note: Dereference of an invalid iterator pdns-5.0.0/pdns/auth-secondarycommunicator.cc:322:29: style: Unused variable: ret [unusedVariable] pdns-5.0.0/pdns/auth-zonecache.cc:51:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable map [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/auth-zonecache.cc:185:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable map [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/auth-zonecache.cc:226:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable map [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/auth-zonecache.cc:253:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable map [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/auth-zonecache.cc:276:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable map [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/auth-zonecache.cc:284:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable map [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/auth-zonecache.cc:137:77: style:inconclusive: Function 'replace' argument 1 names different: declaration 'zone' definition 'zone_indices'. [funcArgNamesDifferent] pdns-5.0.0/pdns/auth-zonecache.hh:40:64: note: Function 'replace' argument 1 names different: declaration 'zone' definition 'zone_indices'. pdns-5.0.0/pdns/auth-zonecache.cc:137:77: note: Function 'replace' argument 1 names different: declaration 'zone' definition 'zone_indices'. pdns-5.0.0/pdns/axfr-retriever.cc:79:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable iov_base [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/axfr-retriever.cc:212:86: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/axfr-retriever.cc:212:28: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pdns-5.0.0/pdns/axfr-retriever.cc:248:47: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pdns-5.0.0/pdns/axfr-retriever.cc:155:11: style: Consider using std::count_if algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/backends/gsql/gsqlbackend.cc:409:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_log [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/backends/gsql/gsqlbackend.cc:440:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/backends/gsql/gsqlbackend.cc:546:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/backends/gsql/gsqlbackend.cc:646:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Producer [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/backends/gsql/gsqlbackend.cc:877:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAP_COMMENTS [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/backends/gsql/gsqlbackend.cc:1506:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_log [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/backends/gsql/gsqlbackend.cc:1743:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Secondary [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/backends/gsql/gsqlbackend.cc:1796:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_log [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/backends/gsql/gsqlbackend.cc:1956:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/backends/gsql/gsqlbackend.cc:2236:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/backends/gsql/ssql.hh:39:10: style:inconclusive: Technically the member function 'SSqlException::txtReason' can be const. [functionConst] pdns-5.0.0/pdns/backends/gsql/gsqlbackend.hh:129:16: style: Virtual function 'freeStatements' is called from destructor '~GSQLBackend()' at line 41. Dynamic binding is not used. [virtualCallInConstructor] pdns-5.0.0/pdns/backends/gsql/gsqlbackend.hh:41:5: note: Calling freeStatements pdns-5.0.0/pdns/backends/gsql/gsqlbackend.hh:129:16: note: freeStatements is a virtual function pdns-5.0.0/pdns/backends/gsql/ssql.hh:34:3: style: Class 'SSqlException' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/backends/gsql/ssql.hh:39:10: performance: Function 'txtReason()' should return member 'd_reason' by const reference. [returnByReference] pdns-5.0.0/pdns/backends/gsql/gsqlbackend.cc:1532:10: style: The scope of the variable 'wildzone' can be reduced. [variableScope] pdns-5.0.0/pdns/backends/gsql/gsqlbackend.cc:422:64: style:inconclusive: Function 'getUnfreshSecondaryInfos' argument 1 names different: declaration 'domains' definition 'unfreshDomains'. [funcArgNamesDifferent] pdns-5.0.0/pdns/backends/gsql/gsqlbackend.hh:222:53: note: Function 'getUnfreshSecondaryInfos' argument 1 names different: declaration 'domains' definition 'unfreshDomains'. pdns-5.0.0/pdns/backends/gsql/gsqlbackend.cc:422:64: note: Function 'getUnfreshSecondaryInfos' argument 1 names different: declaration 'domains' definition 'unfreshDomains'. pdns-5.0.0/pdns/backends/gsql/gsqlbackend.cc:999:83: style:inconclusive: Function 'addDomainKey' argument 3 names different: declaration 'id' definition 'keyId'. [funcArgNamesDifferent] pdns-5.0.0/pdns/backends/gsql/gsqlbackend.hh:240:72: note: Function 'addDomainKey' argument 3 names different: declaration 'id' definition 'keyId'. pdns-5.0.0/pdns/backends/gsql/gsqlbackend.cc:999:83: note: Function 'addDomainKey' argument 3 names different: declaration 'id' definition 'keyId'. pdns-5.0.0/pdns/backends/gsql/gsqlbackend.cc:1657:177: style:inconclusive: Function 'autoPrimaryBackend' argument 6 names different: declaration 'db' definition 'ddb'. [funcArgNamesDifferent] pdns-5.0.0/pdns/backends/gsql/gsqlbackend.hh:219:166: note: Function 'autoPrimaryBackend' argument 6 names different: declaration 'db' definition 'ddb'. pdns-5.0.0/pdns/backends/gsql/gsqlbackend.cc:1657:177: note: Function 'autoPrimaryBackend' argument 6 names different: declaration 'db' definition 'ddb'. pdns-5.0.0/pdns/backends/gsql/gsqlbackend.cc:2327:79: style:inconclusive: Function 'extractRecord' argument 2 names different: declaration 'rr' definition 'r'. [funcArgNamesDifferent] pdns-5.0.0/pdns/backends/gsql/gsqlbackend.hh:267:68: note: Function 'extractRecord' argument 2 names different: declaration 'rr' definition 'r'. pdns-5.0.0/pdns/backends/gsql/gsqlbackend.cc:2327:79: note: Function 'extractRecord' argument 2 names different: declaration 'rr' definition 'r'. pdns-5.0.0/pdns/backends/gsql/gsqlbackend.cc:2378:70: style:inconclusive: Function 'extractComment' argument 2 names different: declaration 'c' definition 'comment'. [funcArgNamesDifferent] pdns-5.0.0/pdns/backends/gsql/gsqlbackend.hh:268:59: note: Function 'extractComment' argument 2 names different: declaration 'c' definition 'comment'. pdns-5.0.0/pdns/backends/gsql/gsqlbackend.cc:2378:70: note: Function 'extractComment' argument 2 names different: declaration 'c' definition 'comment'. pdns-5.0.0/pdns/backends/gsql/gsqlbackend.cc:414:26: style: Variable 'ae' can be declared as reference to const [constVariableReference] pdns-5.0.0/pdns/backends/gsql/gsqlbackend.cc:458:27: style: Variable 'ae' can be declared as reference to const [constVariableReference] pdns-5.0.0/pdns/backends/gsql/gsqlbackend.cc:574:27: style: Variable 'ae' can be declared as reference to const [constVariableReference] pdns-5.0.0/pdns/backends/gsql/gsqlbackend.cc:586:27: style: Variable 'ae' can be declared as reference to const [constVariableReference] pdns-5.0.0/pdns/backends/gsql/gsqlbackend.cc:1050:25: style: Variable 'e' can be declared as reference to const [constVariableReference] pdns-5.0.0/pdns/backends/gsql/gsqlbackend.cc:261:17: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/backends/gsql/gsqlbackend.cc:1692:17: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/backends/gsql/gsqlbackend.cc:1716:10: style: Unused variable: name [unusedVariable] pdns-5.0.0/pdns/base64.cc:69:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BIO_FLAGS_BASE64_NO_NL [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/base64.cc:45:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BIO_FLAGS_BASE64_NO_NL [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/base64.cc:31:63: style:inconclusive: Function 'B64Decode < std :: string >' argument 1 names different: declaration 'strInput' definition 'src'. [funcArgNamesDifferent] pdns-5.0.0/pdns/base64.hh:25:63: note: Function 'B64Decode < std :: string >' argument 1 names different: declaration 'strInput' definition 'src'. pdns-5.0.0/pdns/base64.cc:31:63: note: Function 'B64Decode < std :: string >' argument 1 names different: declaration 'strInput' definition 'src'. pdns-5.0.0/pdns/base64.cc:31:79: style:inconclusive: Function 'B64Decode < std :: string >' argument 2 names different: declaration 'strOutput' definition 'dst'. [funcArgNamesDifferent] pdns-5.0.0/pdns/base64.hh:25:84: note: Function 'B64Decode < std :: string >' argument 2 names different: declaration 'strOutput' definition 'dst'. pdns-5.0.0/pdns/base64.cc:31:79: note: Function 'B64Decode < std :: string >' argument 2 names different: declaration 'strOutput' definition 'dst'. bindlexer.c:790:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] bindlexer.c:1320:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] bindlexer.c:1617:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bindlexer.c:1888:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bindlexer.c:1621:2: warning: Possible null pointer dereference: b [nullPointer] bindlexer.c:1514:18: note: Calling function 'yy_init_buffer', 1st argument '(yy_buffer_stack)?(yy_buffer_stack)[yy_buffer_stack_top]:NULL' value is 0 bindlexer.c:1621:2: note: Null pointer dereference bindlexer.c:1622:2: warning: Possible null pointer dereference: b [nullPointer] bindlexer.c:1514:18: note: Calling function 'yy_init_buffer', 1st argument '(yy_buffer_stack)?(yy_buffer_stack)[yy_buffer_stack_top]:NULL' value is 0 bindlexer.c:1622:2: note: Null pointer dereference bindlexer.c:1320:3: style: Redundant initialization for 'c'. The initialized value is overwritten before it is read. [redundantInitialization] bindlexer.c:1320:3: note: c is initialized bindlexer.c:1320:3: note: c is overwritten bindlexer.c:1399:59: style:inconclusive: Function 'yy_try_NUL_trans' argument 1 names different: declaration 'current_state' definition 'yy_current_state'. [funcArgNamesDifferent] bindlexer.c:340:55: note: Function 'yy_try_NUL_trans' argument 1 names different: declaration 'current_state' definition 'yy_current_state'. bindlexer.c:1399:59: note: Function 'yy_try_NUL_trans' argument 1 names different: declaration 'current_state' definition 'yy_current_state'. bindlexer.c:1806:46: style:inconclusive: Function 'yy_scan_string' argument 1 names different: declaration 'yy_str' definition 'yystr'. [funcArgNamesDifferent] bindlexer.c:295:46: note: Function 'yy_scan_string' argument 1 names different: declaration 'yy_str' definition 'yystr'. bindlexer.c:1806:46: note: Function 'yy_scan_string' argument 1 names different: declaration 'yy_str' definition 'yystr'. bindlexer.c:1819:46: style:inconclusive: Function 'yy_scan_bytes' argument 1 names different: declaration 'bytes' definition 'yybytes'. [funcArgNamesDifferent] bindlexer.c:296:45: note: Function 'yy_scan_bytes' argument 1 names different: declaration 'bytes' definition 'yybytes'. bindlexer.c:1819:46: note: Function 'yy_scan_bytes' argument 1 names different: declaration 'bytes' definition 'yybytes'. bindlexer.c:1819:60: style:inconclusive: Function 'yy_scan_bytes' argument 2 names different: declaration 'len' definition '_yybytes_len'. [funcArgNamesDifferent] bindlexer.c:296:56: note: Function 'yy_scan_bytes' argument 2 names different: declaration 'len' definition '_yybytes_len'. bindlexer.c:1819:60: note: Function 'yy_scan_bytes' argument 2 names different: declaration 'len' definition '_yybytes_len'. bindlexer.c:1984:24: style:inconclusive: Function 'yyset_debug' argument 1 names different: declaration 'debug_flag' definition '_bdebug'. [funcArgNamesDifferent] bindlexer.c:607:24: note: Function 'yyset_debug' argument 1 names different: declaration 'debug_flag' definition '_bdebug'. bindlexer.c:1984:24: note: Function 'yyset_debug' argument 1 names different: declaration 'debug_flag' definition '_bdebug'. bindlexer.c:1232:8: style: Variable 'source' can be declared as pointer to const [constVariablePointer] bindparser.yy:52:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bindparser.yy:68:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_dir [valueFlowBailoutIncompleteVar] bindparser.yy:82:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_dir [valueFlowBailoutIncompleteVar] bindparser.yy:87:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_zonedomains [valueFlowBailoutIncompleteVar] bindparser.yy:92:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_verbose [valueFlowBailoutIncompleteVar] bindparser.yy:100:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_dir [valueFlowBailoutIncompleteVar] bindparser.cc:993:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bindparser.cc:1020:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bindparser.cc:1082:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bindparser.cc:1145:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bindparser.yy:59:37: style: C-style pointer casting [cstyleCast] bindparser.cc:1166:3: style: The comparison '0 <= yystate' is always true. [knownConditionTrueFalse] bindparser.cc:1108:31: note: 'yystate' is assigned value '0' here. bindparser.cc:1166:3: note: The comparison '0 <= yystate' is always true. bindparser.cc:1658:12: style: The comparison 'yyss != yyssa' is always false because 'yyss' and 'yyssa' represent the same value. [knownConditionTrueFalse] bindparser.cc:1120:24: note: 'yyss' is assigned value 'yyssa' here. bindparser.cc:1658:12: note: The comparison 'yyss != yyssa' is always false because 'yyss' and 'yyssa' represent the same value. bindparser.cc:991:51: style: Parameter 'yytop' can be declared as pointer to const [constParameterPointer] bindparser.cc:1014:30: style: Parameter 'yyssp' can be declared as pointer to const [constParameterPointer] pdns-5.0.0/pdns/calidns.cc:68:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLIN [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/calidns.cc:205:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/calidns.cc:228:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/calidns.cc:324:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/calidns.cc:501:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] pdns-5.0.0/pdns/calidns.cc:180:45: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/calidns.cc:73:7: style: The scope of the variable 'err' can be reduced. [variableScope] pdns-5.0.0/pdns/calidns.cc:204:44: style: Parameter 'desc' can be declared as reference to const [constParameterReference] pdns-5.0.0/pdns/calidns.cc:411:25: style: Variable 'e' can be declared as reference to const [constVariableReference] pdns-5.0.0/pdns/calidns.cc:128:22: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour. See condition at line 127. [shiftTooManyBitsSigned] pdns-5.0.0/pdns/calidns.cc:127:12: note: Assuming that condition 'bits>0' is not redundant pdns-5.0.0/pdns/calidns.cc:128:22: note: Shift pdns-5.0.0/pdns/calidns.cc:167:21: style: struct member 'Unit::cbuf' is never used. [unusedStructMember] pdns-5.0.0/pdns/calidns.cc:158:15: style: Variable 'nsec.tv_nsec' is assigned a value that is never used. [unreadVariable] pdns-5.0.0/pdns/calidns.cc:169:29: style: Unused variable: units [unusedVariable] pdns-5.0.0/pdns/cdb.cc:35:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/cdb.hh:32:3: style: Class 'CDB' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/cdb.hh:60:3: style: Class 'CDBWriter' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/cdb.cc:138:37: style: Parameter 'key' can be declared as reference to const [constParameterReference] pdns-5.0.0/pdns/cdb.cc:111:13: style: Variable 'p' can be declared as pointer to const [constVariablePointer] pdns-5.0.0/pdns/channel.cc:42:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/channel.cc:73:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/channel.cc:100:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/zoneparser-tng.hh:48:0: debug: Function::addArguments found argument 'max' with varid 0. [varid0] pdns-5.0.0/pdns/zoneparser-tng.hh:52:0: debug: Function::addArguments found argument 'max' with varid 0. [varid0] pdns-5.0.0/pdns/comfun.cc:76:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/comfun.cc:97:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/comfun.cc:116:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/comfun.cc:155:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/comfun.cc:162:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/comfun.cc:207:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/comfun.cc:229:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/comfun.cc:250:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/comfun.cc:290:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/comfun.cc:299:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/comfun.cc:313:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/comfun.cc:345:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/comfun.cc:373:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/comfun.cc:410:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/comfun.cc:455:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/comfun.cc:68:3: warning: Member variable 'SendReceive::d_errors' is not initialized in the constructor. [uninitMemberVar] pdns-5.0.0/pdns/comfun.cc:68:3: warning: Member variable 'SendReceive::d_nxdomains' is not initialized in the constructor. [uninitMemberVar] pdns-5.0.0/pdns/comfun.cc:68:3: warning: Member variable 'SendReceive::d_nodatas' is not initialized in the constructor. [uninitMemberVar] pdns-5.0.0/pdns/comfun.cc:68:3: warning: Member variable 'SendReceive::d_oks' is not initialized in the constructor. [uninitMemberVar] pdns-5.0.0/pdns/comfun.cc:68:3: warning: Member variable 'SendReceive::d_unknowns' is not initialized in the constructor. [uninitMemberVar] pdns-5.0.0/pdns/comfun.cc:68:3: warning: Member variable 'SendReceive::d_received' is not initialized in the constructor. [uninitMemberVar] pdns-5.0.0/pdns/comfun.cc:68:3: warning: Member variable 'SendReceive::d_receiveerrors' is not initialized in the constructor. [uninitMemberVar] pdns-5.0.0/pdns/comfun.cc:68:3: warning: Member variable 'SendReceive::d_senderrors' is not initialized in the constructor. [uninitMemberVar] pdns-5.0.0/pdns/comfun.cc:201:3: warning: Member variable 'SendReceiveRes::d_errors' is not initialized in the constructor. [uninitMemberVar] pdns-5.0.0/pdns/comfun.cc:201:3: warning: Member variable 'SendReceiveRes::d_nxdomains' is not initialized in the constructor. [uninitMemberVar] pdns-5.0.0/pdns/comfun.cc:201:3: warning: Member variable 'SendReceiveRes::d_nodatas' is not initialized in the constructor. [uninitMemberVar] pdns-5.0.0/pdns/comfun.cc:201:3: warning: Member variable 'SendReceiveRes::d_oks' is not initialized in the constructor. [uninitMemberVar] pdns-5.0.0/pdns/comfun.cc:201:3: warning: Member variable 'SendReceiveRes::d_unknowns' is not initialized in the constructor. [uninitMemberVar] pdns-5.0.0/pdns/comfun.cc:201:3: warning: Member variable 'SendReceiveRes::d_received' is not initialized in the constructor. [uninitMemberVar] pdns-5.0.0/pdns/comfun.cc:201:3: warning: Member variable 'SendReceiveRes::d_receiveerrors' is not initialized in the constructor. [uninitMemberVar] pdns-5.0.0/pdns/comfun.cc:201:3: warning: Member variable 'SendReceiveRes::d_senderrors' is not initialized in the constructor. [uninitMemberVar] pdns-5.0.0/pdns/inflighter.cc:47:3: warning: Member variable 'Inflighter < std :: vector < DNSName > , SendReceiveRes >::d_iter' is not initialized in the constructor. [uninitMemberVar] pdns-5.0.0/pdns/inflighter.cc:47:3: warning: Member variable 'Inflighter < std :: vector < NSQuery > , SendReceive >::d_iter' is not initialized in the constructor. [uninitMemberVar] pdns-5.0.0/pdns/inflighter.cc:67:12: style:inconclusive: Technically the member function 'Inflighter < std :: vector < DNSName > , SendReceiveRes >::getTimeouts' can be const. [functionConst] pdns-5.0.0/pdns/inflighter.cc:72:12: style:inconclusive: Technically the member function 'Inflighter < std :: vector < DNSName > , SendReceiveRes >::getUnexpecteds' can be const. [functionConst] pdns-5.0.0/pdns/inflighter.cc:67:12: style:inconclusive: Technically the member function 'Inflighter < std :: vector < NSQuery > , SendReceive >::getTimeouts' can be const. [functionConst] pdns-5.0.0/pdns/inflighter.cc:72:12: style:inconclusive: Technically the member function 'Inflighter < std :: vector < NSQuery > , SendReceive >::getUnexpecteds' can be const. [functionConst] pdns-5.0.0/pdns/zoneparser-tng.hh:34:3: style: Class 'ZoneParserTNG' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/comfun.cc:68:3: style: Struct 'SendReceive' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/comfun.cc:105:63: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pdns-5.0.0/pdns/comfun.cc:118:56: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pdns-5.0.0/pdns/comfun.cc:208:27: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pdns-5.0.0/pdns/comfun.cc:252:56: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pdns-5.0.0/pdns/comfun.cc:87:28: style: Parameter 'domain' can be declared as reference to const [constParameterReference] pdns-5.0.0/pdns/comfun.cc:219:29: style: Parameter 'domain' can be declared as reference to const [constParameterReference] pdns-5.0.0/pdns/comfun.cc:296:31: style: Parameter 'domain' can be declared as reference to const [constParameterReference] pdns-5.0.0/pdns/comfun.cc:553:22: style: Variable 'pe' can be declared as reference to const [constVariableReference] pdns-5.0.0/pdns/comfun.cc:180:16: style: struct member 'SendReceive::d_errors' is never used. [unusedStructMember] pdns-5.0.0/pdns/comfun.cc:180:26: style: struct member 'SendReceive::d_nxdomains' is never used. [unusedStructMember] pdns-5.0.0/pdns/comfun.cc:180:39: style: struct member 'SendReceive::d_nodatas' is never used. [unusedStructMember] pdns-5.0.0/pdns/comfun.cc:180:50: style: struct member 'SendReceive::d_oks' is never used. [unusedStructMember] pdns-5.0.0/pdns/comfun.cc:180:57: style: struct member 'SendReceive::d_unknowns' is never used. [unusedStructMember] pdns-5.0.0/pdns/comfun.cc:304:16: style: struct member 'SendReceiveRes::d_errors' is never used. [unusedStructMember] pdns-5.0.0/pdns/comfun.cc:304:26: style: struct member 'SendReceiveRes::d_nxdomains' is never used. [unusedStructMember] pdns-5.0.0/pdns/comfun.cc:304:39: style: struct member 'SendReceiveRes::d_nodatas' is never used. [unusedStructMember] pdns-5.0.0/pdns/comfun.cc:304:50: style: struct member 'SendReceiveRes::d_oks' is never used. [unusedStructMember] pdns-5.0.0/pdns/comfun.cc:304:57: style: struct member 'SendReceiveRes::d_unknowns' is never used. [unusedStructMember] pdns-5.0.0/pdns/communicator.cc:77:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/communicator.cc:89:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/communicator.cc:125:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/communicator.cc:131:12: style: The scope of the variable 'next' can be reduced. [variableScope] pdns-5.0.0/pdns/credentials.cc:420:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCSAFLUSH [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/credentials.cc:288:7: style: Condition '!isPasswordHashed(hash)' is always true [knownConditionTrueFalse] pdns-5.0.0/pdns/credentials.cc:288:24: note: Calling function 'isPasswordHashed' returns 0 pdns-5.0.0/pdns/credentials.cc:288:7: note: Condition '!isPasswordHashed(hash)' is always true pdns-5.0.0/pdns/credentials.cc:357:9: style: Condition '!isPasswordHashed(d_credentials.getString())' is always true [knownConditionTrueFalse] pdns-5.0.0/pdns/credentials.cc:357:26: note: Calling function 'isPasswordHashed' returns 0 pdns-5.0.0/pdns/credentials.cc:357:9: note: Condition '!isPasswordHashed(d_credentials.getString())' is always true pdns-5.0.0/pdns/dbdnsseckeeper.cc:351:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/dbdnsseckeeper.cc:929:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/dbdnsseckeeper.cc:125:71: style: Return value 'clearKeyCache(name)' is always true [knownConditionTrueFalse] pdns-5.0.0/pdns/dbdnsseckeeper.cc:125:71: note: Calling function 'clearKeyCache' returns 1 pdns-5.0.0/pdns/dbdnsseckeeper.cc:125:71: note: Return value 'clearKeyCache(name)' is always true pdns-5.0.0/pdns/dbdnsseckeeper.cc:162:69: style: Return value 'clearKeyCache(name)' is always true [knownConditionTrueFalse] pdns-5.0.0/pdns/dbdnsseckeeper.cc:162:69: note: Calling function 'clearKeyCache' returns 1 pdns-5.0.0/pdns/dbdnsseckeeper.cc:162:69: note: Return value 'clearKeyCache(name)' is always true pdns-5.0.0/pdns/dbdnsseckeeper.cc:194:69: style: Return value 'clearKeyCache(zname)' is always true [knownConditionTrueFalse] pdns-5.0.0/pdns/dbdnsseckeeper.cc:194:69: note: Calling function 'clearKeyCache' returns 1 pdns-5.0.0/pdns/dbdnsseckeeper.cc:194:69: note: Return value 'clearKeyCache(zname)' is always true pdns-5.0.0/pdns/dbdnsseckeeper.cc:199:73: style: Return value 'clearKeyCache(zname)' is always true [knownConditionTrueFalse] pdns-5.0.0/pdns/dbdnsseckeeper.cc:199:73: note: Calling function 'clearKeyCache' returns 1 pdns-5.0.0/pdns/dbdnsseckeeper.cc:199:73: note: Return value 'clearKeyCache(zname)' is always true pdns-5.0.0/pdns/dbdnsseckeeper.cc:204:71: style: Return value 'clearKeyCache(zname)' is always true [knownConditionTrueFalse] pdns-5.0.0/pdns/dbdnsseckeeper.cc:204:71: note: Calling function 'clearKeyCache' returns 1 pdns-5.0.0/pdns/dbdnsseckeeper.cc:204:71: note: Return value 'clearKeyCache(zname)' is always true pdns-5.0.0/pdns/dbdnsseckeeper.cc:209:72: style: Return value 'clearKeyCache(zname)' is always true [knownConditionTrueFalse] pdns-5.0.0/pdns/dbdnsseckeeper.cc:209:72: note: Calling function 'clearKeyCache' returns 1 pdns-5.0.0/pdns/dbdnsseckeeper.cc:209:72: note: Return value 'clearKeyCache(zname)' is always true pdns-5.0.0/pdns/dbdnsseckeeper.cc:214:70: style: Return value 'clearKeyCache(zname)' is always true [knownConditionTrueFalse] pdns-5.0.0/pdns/dbdnsseckeeper.cc:214:70: note: Calling function 'clearKeyCache' returns 1 pdns-5.0.0/pdns/dbdnsseckeeper.cc:214:70: note: Return value 'clearKeyCache(zname)' is always true pdns-5.0.0/pdns/dbdnsseckeeper.cc:422:88: style: Return value 'clearMetaCache(zname)' is always true [knownConditionTrueFalse] pdns-5.0.0/pdns/dbdnsseckeeper.cc:422:88: note: Calling function 'clearMetaCache' returns 1 pdns-5.0.0/pdns/dbdnsseckeeper.cc:422:88: note: Return value 'clearMetaCache(zname)' is always true pdns-5.0.0/pdns/dbdnsseckeeper.cc:433:173: style: Return value 'clearMetaCache(zname)' is always true [knownConditionTrueFalse] pdns-5.0.0/pdns/dbdnsseckeeper.cc:433:173: note: Calling function 'clearMetaCache' returns 1 pdns-5.0.0/pdns/dbdnsseckeeper.cc:433:173: note: Return value 'clearMetaCache(zname)' is always true pdns-5.0.0/pdns/dbdnsseckeeper.cc:445:84: style: Return value 'clearMetaCache(zname)' is always true [knownConditionTrueFalse] pdns-5.0.0/pdns/dbdnsseckeeper.cc:445:84: note: Calling function 'clearMetaCache' returns 1 pdns-5.0.0/pdns/dbdnsseckeeper.cc:445:84: note: Return value 'clearMetaCache(zname)' is always true pdns-5.0.0/pdns/dbdnsseckeeper.cc:454:96: style: Return value 'clearMetaCache(zname)' is always true [knownConditionTrueFalse] pdns-5.0.0/pdns/dbdnsseckeeper.cc:454:96: note: Calling function 'clearMetaCache' returns 1 pdns-5.0.0/pdns/dbdnsseckeeper.cc:454:96: note: Return value 'clearMetaCache(zname)' is always true pdns-5.0.0/pdns/dbdnsseckeeper.cc:474:86: style: Return value 'clearMetaCache(zname)' is always true [knownConditionTrueFalse] pdns-5.0.0/pdns/dbdnsseckeeper.cc:474:86: note: Calling function 'clearMetaCache' returns 1 pdns-5.0.0/pdns/dbdnsseckeeper.cc:474:86: note: Return value 'clearMetaCache(zname)' is always true pdns-5.0.0/pdns/dbdnsseckeeper.cc:494:98: style: Return value 'clearMetaCache(zname)' is always true [knownConditionTrueFalse] pdns-5.0.0/pdns/dbdnsseckeeper.cc:494:98: note: Calling function 'clearMetaCache' returns 1 pdns-5.0.0/pdns/dbdnsseckeeper.cc:494:98: note: Return value 'clearMetaCache(zname)' is always true pdns-5.0.0/pdns/dbdnsseckeeper.cc:511:90: style: Return value 'clearMetaCache(zname)' is always true [knownConditionTrueFalse] pdns-5.0.0/pdns/dbdnsseckeeper.cc:511:90: note: Calling function 'clearMetaCache' returns 1 pdns-5.0.0/pdns/dbdnsseckeeper.cc:511:90: note: Return value 'clearMetaCache(zname)' is always true pdns-5.0.0/pdns/dbdnsseckeeper.cc:531:102: style: Return value 'clearMetaCache(zname)' is always true [knownConditionTrueFalse] pdns-5.0.0/pdns/dbdnsseckeeper.cc:531:102: note: Calling function 'clearMetaCache' returns 1 pdns-5.0.0/pdns/dbdnsseckeeper.cc:531:102: note: Return value 'clearMetaCache(zname)' is always true pdns-5.0.0/pdns/dbdnsseckeeper.cc:76:48: style:inconclusive: Function 'isPresigned' argument 1 names different: declaration 'zname' definition 'name'. [funcArgNamesDifferent] pdns-5.0.0/pdns/dnsseckeeper.hh:213:36: note: Function 'isPresigned' argument 1 names different: declaration 'zname' definition 'name'. pdns-5.0.0/pdns/dbdnsseckeeper.cc:76:48: note: Function 'isPresigned' argument 1 names different: declaration 'zname' definition 'name'. pdns-5.0.0/pdns/dbdnsseckeeper.cc:88:52: style:inconclusive: Function 'isSignalingZone' argument 1 names different: declaration 'zname' definition 'name'. [funcArgNamesDifferent] pdns-5.0.0/pdns/dnsseckeeper.hh:216:40: note: Function 'isSignalingZone' argument 1 names different: declaration 'zname' definition 'name'. pdns-5.0.0/pdns/dbdnsseckeeper.cc:88:52: note: Function 'isSignalingZone' argument 1 names different: declaration 'zname' definition 'name'. pdns-5.0.0/pdns/dbdnsseckeeper.cc:100:43: style:inconclusive: Function 'addKey' argument 1 names different: declaration 'zname' definition 'name'. [funcArgNamesDifferent] pdns-5.0.0/pdns/dnsseckeeper.hh:199:31: note: Function 'addKey' argument 1 names different: declaration 'zname' definition 'name'. pdns-5.0.0/pdns/dbdnsseckeeper.cc:100:43: note: Function 'addKey' argument 1 names different: declaration 'zname' definition 'name'. pdns-5.0.0/pdns/dbdnsseckeeper.cc:154:43: style:inconclusive: Function 'addKey' argument 1 names different: declaration 'zname' definition 'name'. [funcArgNamesDifferent] pdns-5.0.0/pdns/dnsseckeeper.hh:200:31: note: Function 'addKey' argument 1 names different: declaration 'zname' definition 'name'. pdns-5.0.0/pdns/dbdnsseckeeper.cc:154:43: note: Function 'addKey' argument 1 names different: declaration 'zname' definition 'name'. pdns-5.0.0/pdns/dbdnsseckeeper.cc:652:108: style:inconclusive: Function 'getPreRRSIGs' argument 4 names different: declaration 'p' definition 'packet'. [funcArgNamesDifferent] pdns-5.0.0/pdns/dnsseckeeper.hh:212:96: note: Function 'getPreRRSIGs' argument 4 names different: declaration 'p' definition 'packet'. pdns-5.0.0/pdns/dbdnsseckeeper.cc:652:108: note: Function 'getPreRRSIGs' argument 4 names different: declaration 'p' definition 'packet'. pdns-5.0.0/pdns/dbdnsseckeeper.cc:68:29: style: Variable 'val' can be declared as reference to const [constVariableReference] pdns-5.0.0/pdns/dbdnsseckeeper.cc:714:13: style: Variable 'key' can be declared as reference to const [constVariableReference] pdns-5.0.0/pdns/dbdnsseckeeper.cc:832:16: style: Variable 'loopRR' can be declared as reference to const [constVariableReference] pdns-5.0.0/pdns/dbdnsseckeeper.cc:68:3: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/dbdnsseckeeper.cc:548:10: style: Consider using std::copy_if algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/dbdnsseckeeper.cc:570:13: style: Consider using std::copy algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/dbdnsseckeeper.cc:683:3: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/mplexer.hh:309:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pair [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/devpollmplexer.cc:80:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/devpollmplexer.cc:90:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLIN [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/devpollmplexer.cc:115:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLREMOVE [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/devpollmplexer.cc:130:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DP_POLL [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/devpollmplexer.cc:150:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DP_POLL [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/mplexer.hh:247:8: style:inconclusive: Technically the member function 'FDMultiplexer::runForAllWatchedFDs' can be const. [functionConst] pdns-5.0.0/pdns/mplexer.hh:298:8: performance:inconclusive: Technically the member function 'FDMultiplexer::accountingAddFD' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-5.0.0/pdns/mplexer.hh:315:8: performance:inconclusive: Technically the member function 'FDMultiplexer::accountingRemoveFD' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-5.0.0/pdns/mplexer.hh:39:3: style: Class 'FDMultiplexerException' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/mplexer.hh:87:5: style: Struct 'InRun' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/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-5.0.0/pdns/mplexer.hh:73:12: note: Virtual destructor in base class pdns-5.0.0/pdns/devpollmplexer.cc:43:4: note: Destructor in derived class pdns-5.0.0/pdns/devpollmplexer.cc:141:47: style:inconclusive: Function 'run' argument 1 names different: declaration 'tv' definition 'now'. [funcArgNamesDifferent] pdns-5.0.0/pdns/devpollmplexer.cc:50:27: note: Function 'run' argument 1 names different: declaration 'tv' definition 'now'. pdns-5.0.0/pdns/devpollmplexer.cc:141:47: note: Function 'run' argument 1 names different: declaration 'tv' definition 'now'. pdns-5.0.0/pdns/mplexer.hh:219:11: style: Variable 'idx' can be declared as reference to const [constVariableReference] pdns-5.0.0/pdns/dns.cc:106:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/dns.cc:133:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/dns.cc:153:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/dns.cc:159:55: style:inconclusive: Function 'hashQuestion' argument 2 names different: declaration 'len' definition 'packet_len'. [funcArgNamesDifferent] pdns-5.0.0/pdns/dns.hh:280:55: note: Function 'hashQuestion' argument 2 names different: declaration 'len' definition 'packet_len'. pdns-5.0.0/pdns/dns.cc:159:55: note: Function 'hashQuestion' argument 2 names different: declaration 'len' definition 'packet_len'. pdns-5.0.0/pdns/dns.cc:159:88: style:inconclusive: Function 'hashQuestion' argument 4 names different: declaration 'ok' definition 'wasOK'. [funcArgNamesDifferent] pdns-5.0.0/pdns/dns.hh:280:81: note: Function 'hashQuestion' argument 4 names different: declaration 'ok' definition 'wasOK'. pdns-5.0.0/pdns/dns.cc:159:88: note: Function 'hashQuestion' argument 4 names different: declaration 'ok' definition 'wasOK'. pdns-5.0.0/pdns/dnsbackend.cc:125:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/dnsbackend.cc:133:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/dnsbackend.cc:221:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/dnsbackend.cc:331:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/dnsbackend.cc:354:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable serial [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/dnsbackend.cc:55:18: style:inconclusive: Technically the member function 'DNSBackend::mustDo' can be const. [functionConst] pdns-5.0.0/pdns/dnsbackend.hh:519:8: note: Technically the member function 'DNSBackend::mustDo' can be const. pdns-5.0.0/pdns/dnsbackend.cc:55:18: note: Technically the member function 'DNSBackend::mustDo' can be const. pdns-5.0.0/pdns/dnsbackend.cc:60:27: style:inconclusive: Technically the member function 'DNSBackend::getArg' can be const. [functionConst] pdns-5.0.0/pdns/dnsbackend.hh:520:17: note: Technically the member function 'DNSBackend::getArg' can be const. pdns-5.0.0/pdns/dnsbackend.cc:60:27: note: Technically the member function 'DNSBackend::getArg' can be const. pdns-5.0.0/pdns/dnsbackend.cc:65:17: style:inconclusive: Technically the member function 'DNSBackend::getArgAsNum' can be const. [functionConst] pdns-5.0.0/pdns/dnsbackend.hh:521:7: note: Technically the member function 'DNSBackend::getArgAsNum' can be const. pdns-5.0.0/pdns/dnsbackend.cc:65:17: note: Technically the member function 'DNSBackend::getArgAsNum' can be const. pdns-5.0.0/pdns/dnsbackend.cc:76:22: style:inconclusive: Technically the member function 'BackendFactory::declare' can be const. [functionConst] pdns-5.0.0/pdns/dnsbackend.hh:542:8: note: Technically the member function 'BackendFactory::declare' can be const. pdns-5.0.0/pdns/dnsbackend.cc:76:22: note: Technically the member function 'BackendFactory::declare' can be const. pdns-5.0.0/pdns/dnsbackend.cc:110:14: style: Variable 'repo' can be declared as reference to const [constVariableReference] pdns-5.0.0/pdns/dnsbackend.cc:111:9: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/dnsbackend.cc:166:54: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/dnsbulktest.cc:124:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/dnsbulktest.cc:158:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/dnsbulktest.cc:188:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/dnsbulktest.cc:199:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/dnsbulktest.cc:227:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/dnsbulktest.cc:269:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/inflighter.cc:47:3: warning: Member variable 'Inflighter < std :: vector < TypedQuery > , SendReceive >::d_iter' is not initialized in the constructor. [uninitMemberVar] pdns-5.0.0/pdns/inflighter.cc:67:12: style:inconclusive: Technically the member function 'Inflighter < std :: vector < TypedQuery > , SendReceive >::getTimeouts' can be const. [functionConst] pdns-5.0.0/pdns/inflighter.cc:72:12: style:inconclusive: Technically the member function 'Inflighter < std :: vector < TypedQuery > , SendReceive >::getUnexpecteds' can be const. [functionConst] pdns-5.0.0/pdns/dnsbulktest.cc:114:31: style: Parameter 'domain' can be declared as reference to const [constParameterReference] pdns-5.0.0/pdns/dnsbulktest.cc:193:34: style: Parameter 'domain' can be declared as reference to const [constParameterReference] pdns-5.0.0/pdns/dnsbulktest.cc:226:44: style: Parameter 'desc' can be declared as reference to const [constParameterReference] pdns-5.0.0/pdns/dnsdemog.cc:58:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/dnspcap.hh:90:3: style: Class 'PcapPacketReader' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/dnspcap.hh:85:5: style: Class 'EofException' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/dnspcap.hh:130:3: style: Class 'PcapPacketWriter' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/dnsdemog.cc:71:35: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/dnsdemog.cc:66:26: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pdns-5.0.0/pdns/dnsdemog.cc:66:22: style: Variable 'dh' can be declared as pointer to const [constVariablePointer] pdns-5.0.0/pdns/dnsgram.cc:61:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/dnsgram.cc:103:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/dnsgram.cc:122:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/dnsgram.cc:159:35: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/dnsgram.cc:210:15: style: Variable 'a' can be declared as reference to const [constVariableReference] pdns-5.0.0/pdns/dnsgram.cc:213:15: style: Variable 'a' can be declared as reference to const [constVariableReference] pdns-5.0.0/pdns/dnsgram.cc:220:15: style: Variable 'a' can be declared as reference to const [constVariableReference] pdns-5.0.0/pdns/dnsname.cc:648:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu8 [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/dnswriter.hh:156:8: style:inconclusive: Either there is a missing 'override', or the member function 'GenericDNSPacketWriter::eof' can be const. [functionConst] pdns-5.0.0/pdns/dnswriter.hh:158:16: performance:inconclusive: Either there is a missing 'override', or the member function 'GenericDNSPacketWriter::getRemaining' can be static. [functionStatic] pdns-5.0.0/pdns/dnsname.cc:110:27: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/dnsname.cc:509:26: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/dnsname.cc:509:73: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/dnsname.cc:510:31: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/dnsname.cc:512:26: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/dnsname.cc:512:77: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/dnsname.cc:513:31: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/dnsname.cc:552:32: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/dnsname.cc:552:79: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/dnsname.cc:553:20: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/dnsname.cc:561:32: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/dnsname.cc:561:79: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/dnsname.cc:563:26: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/dnsname.cc:66:21: style: The scope of the variable 'lenpos' can be reduced. [variableScope] pdns-5.0.0/pdns/dnsname.cc:67:21: style: The scope of the variable 'labellen' can be reduced. [variableScope] pdns-5.0.0/pdns/dnsname.cc:132:17: style: The scope of the variable 'labellen' can be reduced. [variableScope] pdns-5.0.0/pdns/dnsname.cc:103:30: style:inconclusive: Function 'DNSName' argument 1 names different: declaration 'p' definition 'pos'. [funcArgNamesDifferent] pdns-5.0.0/pdns/dnsname.hh:113:23: note: Function 'DNSName' argument 1 names different: declaration 'p' definition 'pos'. pdns-5.0.0/pdns/dnsname.cc:103:30: note: Function 'DNSName' argument 1 names different: declaration 'p' definition 'pos'. pdns-5.0.0/pdns/dnsname.cc:128:91: style:inconclusive: Function 'parsePacketUncompressed' argument 2 names different: declaration 'position' definition 'pos'. [funcArgNamesDifferent] pdns-5.0.0/pdns/dnsname.hh:248:84: note: Function 'parsePacketUncompressed' argument 2 names different: declaration 'position' definition 'pos'. pdns-5.0.0/pdns/dnsname.cc:128:91: note: Function 'parsePacketUncompressed' argument 2 names different: declaration 'position' definition 'pos'. pdns-5.0.0/pdns/dnsname.cc:325:39: style:inconclusive: Function 'isPartOf' argument 1 names different: declaration 'rhs' definition 'parent'. [funcArgNamesDifferent] pdns-5.0.0/pdns/dnsname.hh:115:32: note: Function 'isPartOf' argument 1 names different: declaration 'rhs' definition 'parent'. pdns-5.0.0/pdns/dnsname.cc:325:39: note: Function 'isPartOf' argument 1 names different: declaration 'rhs' definition 'parent'. pdns-5.0.0/pdns/dnsname.cc:417:49: style:inconclusive: Function 'appendRawLabel' argument 1 names different: declaration 'str' definition 'label'. [funcArgNamesDifferent] pdns-5.0.0/pdns/dnsname.hh:126:42: note: Function 'appendRawLabel' argument 1 names different: declaration 'str' definition 'label'. pdns-5.0.0/pdns/dnsname.cc:417:49: note: Function 'appendRawLabel' argument 1 names different: declaration 'str' definition 'label'. pdns-5.0.0/pdns/dnsname.cc:443:50: style:inconclusive: Function 'prependRawLabel' argument 1 names different: declaration 'str' definition 'label'. [funcArgNamesDifferent] pdns-5.0.0/pdns/dnsname.hh:128:43: note: Function 'prependRawLabel' argument 1 names different: declaration 'str' definition 'label'. pdns-5.0.0/pdns/dnsname.cc:443:50: note: Function 'prependRawLabel' argument 1 names different: declaration 'str' definition 'label'. pdns-5.0.0/pdns/dnsname.cc:66:27: style: Variable 'lenpos' is assigned a value that is never used. [unreadVariable] pdns-5.0.0/pdns/dnsname.cc:67:29: style: Variable 'labellen' is assigned a value that is never used. [unreadVariable] pdns-5.0.0/pdns/dnsname.cc:132:26: style: Variable 'labellen' is assigned a value that is never used. [unreadVariable] pdns-5.0.0/pdns/dnspacket.cc:340:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EVP_MAX_MD_SIZE [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/dnspacket.cc:525:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/dnspacket.cc:561:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/dnspacket.cc:592:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/dnspacket.cc:254:17: style:inconclusive: Technically the member function 'DNSPacket::isEmpty' can be const. [functionConst] pdns-5.0.0/pdns/dnspacket.hh:109:8: note: Technically the member function 'DNSPacket::isEmpty' can be const. pdns-5.0.0/pdns/dnspacket.cc:254:17: note: Technically the member function 'DNSPacket::isEmpty' can be const. pdns-5.0.0/pdns/dnspacket.cc:671:25: style:inconclusive: Technically the member function 'DNSPacket::getMaxReplyLen' can be const. [functionConst] pdns-5.0.0/pdns/dnspacket.hh:119:16: note: Technically the member function 'DNSPacket::getMaxReplyLen' can be const. pdns-5.0.0/pdns/dnspacket.cc:671:25: note: Technically the member function 'DNSPacket::getMaxReplyLen' can be const. pdns-5.0.0/pdns/dnspacket.cc:133:12: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/dnspacket.cc:406:22: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/dnspacket.cc:498:10: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/dnspacket.cc:498:21: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/dnspacket.cc:647:10: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/dnspacket.cc:647:21: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/dnspacket.cc:736:28: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pdns-5.0.0/pdns/dnspacket.cc:476:7: style: The scope of the variable 'labellen' can be reduced. [variableScope] pdns-5.0.0/pdns/dnspacket.cc:415:52: style:inconclusive: Function 'setQuestion' argument 2 names different: declaration 'qdomain' definition 'qd'. [funcArgNamesDifferent] pdns-5.0.0/pdns/dnspacket.hh:103:43: note: Function 'setQuestion' argument 2 names different: declaration 'qdomain' definition 'qd'. pdns-5.0.0/pdns/dnspacket.cc:415:52: note: Function 'setQuestion' argument 2 names different: declaration 'qdomain' definition 'qd'. pdns-5.0.0/pdns/dnspacket.cc:415:60: style:inconclusive: Function 'setQuestion' argument 3 names different: declaration 'qtype' definition 'newqtype'. [funcArgNamesDifferent] pdns-5.0.0/pdns/dnspacket.hh:103:56: note: Function 'setQuestion' argument 3 names different: declaration 'qtype' definition 'newqtype'. pdns-5.0.0/pdns/dnspacket.cc:415:60: note: Function 'setQuestion' argument 3 names different: declaration 'qtype' definition 'newqtype'. pdns-5.0.0/pdns/dnspacket.cc:488:49: style:inconclusive: Function 'noparse' argument 2 names different: declaration 'len' definition 'length'. [funcArgNamesDifferent] pdns-5.0.0/pdns/dnspacket.hh:56:40: note: Function 'noparse' argument 2 names different: declaration 'len' definition 'length'. pdns-5.0.0/pdns/dnspacket.cc:488:49: note: Function 'noparse' argument 2 names different: declaration 'len' definition 'length'. pdns-5.0.0/pdns/dnspacket.cc:512:51: style:inconclusive: Function 'getTSIGDetails' argument 1 names different: declaration 'tr' definition 'trc'. [funcArgNamesDifferent] pdns-5.0.0/pdns/dnspacket.hh:163:42: note: Function 'getTSIGDetails' argument 1 names different: declaration 'tr' definition 'trc'. pdns-5.0.0/pdns/dnspacket.cc:512:51: note: Function 'getTSIGDetails' argument 1 names different: declaration 'tr' definition 'trc'. pdns-5.0.0/pdns/dnspacket.cc:512:84: style:inconclusive: Function 'getTSIGDetails' argument 3 names different: declaration 'tsigPos' definition 'tsigPosOut'. [funcArgNamesDifferent] pdns-5.0.0/pdns/dnspacket.hh:163:74: note: Function 'getTSIGDetails' argument 3 names different: declaration 'tsigPos' definition 'tsigPosOut'. pdns-5.0.0/pdns/dnspacket.cc:512:84: note: Function 'getTSIGDetails' argument 3 names different: declaration 'tsigPos' definition 'tsigPosOut'. pdns-5.0.0/pdns/dnspacket.cc:585:47: style:inconclusive: Function 'parse' argument 2 names different: declaration 'len' definition 'length'. [funcArgNamesDifferent] pdns-5.0.0/pdns/dnspacket.hh:57:38: note: Function 'parse' argument 2 names different: declaration 'len' definition 'length'. pdns-5.0.0/pdns/dnspacket.cc:585:47: note: Function 'parse' argument 2 names different: declaration 'len' definition 'length'. pdns-5.0.0/pdns/dnspacket.cc:179:18: style: Variable 'i' can be declared as reference to const [constVariableReference] pdns-5.0.0/pdns/dnspacket.cc:180:0: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/dnsparser.cc:192:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable string [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/dnsparser.cc:198:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable string [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/dnsparser.cc:818:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/dnswriter.hh:156:8: style:inconclusive: Either there is a missing 'override', or the member function 'GenericDNSPacketWriter < std :: vector < uint8_t , noinit_adaptor < std :: allocator < uint8_t > > > >::eof' can be const. [functionConst] pdns-5.0.0/pdns/dnswriter.hh:158:16: performance:inconclusive: Either there is a missing 'override', or the member function 'GenericDNSPacketWriter < std :: vector < uint8_t , noinit_adaptor < std :: allocator < uint8_t > > > >::getRemaining' can be static. [functionStatic] pdns-5.0.0/pdns/dnsparser.cc:57:9: warning: %x in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] pdns-5.0.0/pdns/dnsparser.cc:459:16: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/dnsparser.cc:723:18: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/dnsparser.cc:741:12: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/dnsparser.cc:741:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pdns-5.0.0/pdns/dnsparser.cc:143:72: style:inconclusive: Function 'make' argument 3 names different: declaration 'zone' definition 'content'. [funcArgNamesDifferent] pdns-5.0.0/pdns/dnsparser.hh:199:96: note: Function 'make' argument 3 names different: declaration 'zone' definition 'content'. pdns-5.0.0/pdns/dnsparser.cc:143:72: note: Function 'make' argument 3 names different: declaration 'zone' definition 'content'. pdns-5.0.0/pdns/dnsparser.cc:153:106: style:inconclusive: Function 'make' argument 3 names different: declaration 'opcode' definition 'oc'. [funcArgNamesDifferent] pdns-5.0.0/pdns/dnsparser.hh:198:97: note: Function 'make' argument 3 names different: declaration 'opcode' definition 'oc'. pdns-5.0.0/pdns/dnsparser.cc:153:106: note: Function 'make' argument 3 names different: declaration 'opcode' definition 'oc'. pdns-5.0.0/pdns/dnsparser.cc:400:56: style:inconclusive: Function 'xfrNodeOrLocatorID' argument 1 names different: declaration 'val' definition 'ret'. [funcArgNamesDifferent] pdns-5.0.0/pdns/dnsparser.hh:85:44: note: Function 'xfrNodeOrLocatorID' argument 1 names different: declaration 'val' definition 'ret'. pdns-5.0.0/pdns/dnsparser.cc:400:56: note: Function 'xfrNodeOrLocatorID' argument 1 names different: declaration 'val' definition 'ret'. pdns-5.0.0/pdns/dnsparser.cc:409:42: style:inconclusive: Function 'xfr48BitInt' argument 1 names different: declaration 'val' definition 'ret'. [funcArgNamesDifferent] pdns-5.0.0/pdns/dnsparser.hh:86:30: note: Function 'xfr48BitInt' argument 1 names different: declaration 'val' definition 'ret'. pdns-5.0.0/pdns/dnsparser.cc:409:42: note: Function 'xfr48BitInt' argument 1 names different: declaration 'val' definition 'ret'. pdns-5.0.0/pdns/dnsparser.cc:572:54: style:inconclusive: Function 'xfrBlobNoSpaces' argument 2 names different: declaration 'len' definition 'length'. [funcArgNamesDifferent] pdns-5.0.0/pdns/dnsparser.hh:154:42: note: Function 'xfrBlobNoSpaces' argument 2 names different: declaration 'len' definition 'length'. pdns-5.0.0/pdns/dnsparser.cc:572:54: note: Function 'xfrBlobNoSpaces' argument 2 names different: declaration 'len' definition 'length'. pdns-5.0.0/pdns/dnsparser.cc:706:37: style:inconclusive: Function 'simpleCompress' argument 1 names different: declaration 'label' definition 'elabel'. [funcArgNamesDifferent] pdns-5.0.0/pdns/dnsparser.hh:530:37: note: Function 'simpleCompress' argument 1 names different: declaration 'label' definition 'elabel'. pdns-5.0.0/pdns/dnsparser.cc:706:37: note: Function 'simpleCompress' argument 1 names different: declaration 'label' definition 'elabel'. pdns-5.0.0/pdns/dnsparser.cc:983:32: style: Parameter 'packet' can be declared as reference to const [constParameterReference] pdns-5.0.0/pdns/dnsparser.cc:347:3: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/dnspcap.cc:38:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/dnspcap.cc:159:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable udphdr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/dnspcap.cc:205:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/dnspcap.cc:220:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/dnspcap.cc:243:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/dnspcap.cc:33:3: performance: Variable 'd_fp' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] pdns-5.0.0/pdns/dnspcap.cc:238:3: performance: Variable 'd_fp' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] pdns-5.0.0/pdns/dnspcap.cc:165:10: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/dnspcap.cc:184:10: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/dnspcap.cc:159:19: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pdns-5.0.0/pdns/dnspcap.cc:178:19: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pdns-5.0.0/pdns/dnspcap2calidns.cc:39:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/dnspcap2calidns.cc:53:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/protozero.hh:183:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/dnspcap2protobuf.cc:40:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/dnspcap2protobuf.cc:53:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/protozero.hh:148:5: style: Class 'Message' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/dnspcap2protobuf.cc:96:23: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/dnspcap2protobuf.cc:126:9: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/dnspcap2protobuf.cc:127:9: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/dnspcap2protobuf.cc:83:27: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pdns-5.0.0/pdns/dnspcap2protobuf.cc:143:38: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pdns-5.0.0/pdns/dnsproxy.cc:72:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_DGRAM [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/dnsproxy.cc:142:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/dnsproxy.cc:212:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/dnsproxy.cc:238:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/dnsproxy.cc:318:24: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/dnsproxy.cc:323:25: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/dnsproxy.cc:88:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pdns-5.0.0/pdns/dnsproxy.cc:98:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pdns-5.0.0/pdns/dnsproxy.cc:154:19: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pdns-5.0.0/pdns/dnsproxy.cc:235:61: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pdns-5.0.0/pdns/dnsproxy.cc:226:13: style: The scope of the variable 'len' can be reduced. [variableScope] pdns-5.0.0/pdns/dnsproxy.cc:178:22: style: Variable '(*conntrack)[id]' is assigned a value that is never used. [unreadVariable] pdns-5.0.0/pdns/dnsrecords.cc:120:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/dnsrecords.cc:131:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/dnsrecords.cc:619:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/dnsrecords.cc:749:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/dnsrecords.cc:293:1: warning: Member variable 'NAPTRRecordContent::d_order' is not initialized in the constructor. [uninitMemberVar] pdns-5.0.0/pdns/dnsrecords.cc:293:1: warning: Member variable 'NAPTRRecordContent::d_preference' is not initialized in the constructor. [uninitMemberVar] pdns-5.0.0/pdns/dnsrecords.cc:98:1: warning: Member variable 'ARecordContent::d_ip' is not initialized in the constructor. [uninitMemberVar] pdns-5.0.0/pdns/dnsrecords.cc:238:1: warning: Member variable 'MXRecordContent::d_preference' is not initialized in the constructor. [uninitMemberVar] pdns-5.0.0/pdns/dnsrecords.cc:243:1: warning: Member variable 'KXRecordContent::d_preference' is not initialized in the constructor. [uninitMemberVar] pdns-5.0.0/pdns/dnsrecords.cc:248:1: warning: Member variable 'IPSECKEYRecordContent::d_ip4' is not initialized in the constructor. [uninitMemberVar] pdns-5.0.0/pdns/dnsrecords.cc:248:1: warning: Member variable 'IPSECKEYRecordContent::d_preference' is not initialized in the constructor. [uninitMemberVar] pdns-5.0.0/pdns/dnsrecords.cc:248:1: warning: Member variable 'IPSECKEYRecordContent::d_gatewaytype' is not initialized in the constructor. [uninitMemberVar] pdns-5.0.0/pdns/dnsrecords.cc:248:1: warning: Member variable 'IPSECKEYRecordContent::d_algorithm' is not initialized in the constructor. [uninitMemberVar] pdns-5.0.0/pdns/dnsrecords.cc:304:1: warning: Member variable 'SRVRecordContent::d_weight' is not initialized in the constructor. [uninitMemberVar] pdns-5.0.0/pdns/dnsrecords.cc:304:1: warning: Member variable 'SRVRecordContent::d_port' is not initialized in the constructor. [uninitMemberVar] pdns-5.0.0/pdns/dnsrecords.cc:304:1: warning: Member variable 'SRVRecordContent::d_preference' is not initialized in the constructor. [uninitMemberVar] pdns-5.0.0/pdns/dnsrecords.cc:406:1: warning: Member variable 'SSHFPRecordContent::d_algorithm' is not initialized in the constructor. [uninitMemberVar] pdns-5.0.0/pdns/dnsrecords.cc:406:1: warning: Member variable 'SSHFPRecordContent::d_fptype' is not initialized in the constructor. [uninitMemberVar] pdns-5.0.0/pdns/dnsrecords.cc:324:1: warning: Member variable 'KEYRecordContent::d_flags' is not initialized in the constructor. [uninitMemberVar] pdns-5.0.0/pdns/dnsrecords.cc:324:1: warning: Member variable 'KEYRecordContent::d_protocol' is not initialized in the constructor. [uninitMemberVar] pdns-5.0.0/pdns/dnsrecords.cc:324:1: warning: Member variable 'KEYRecordContent::d_algorithm' is not initialized in the constructor. [uninitMemberVar] pdns-5.0.0/pdns/dnsrecords.cc:287:1: warning: Member variable 'AFSDBRecordContent::d_subtype' is not initialized in the constructor. [uninitMemberVar] pdns-5.0.0/pdns/dnsrecords.cc:338:1: warning: Member variable 'CERTRecordContent::d_type' is not initialized in the constructor. [uninitMemberVar] pdns-5.0.0/pdns/dnsrecords.cc:338:1: warning: Member variable 'CERTRecordContent::d_tag' is not initialized in the constructor. [uninitMemberVar] pdns-5.0.0/pdns/dnsrecords.cc:338:1: warning: Member variable 'CERTRecordContent::d_algorithm' is not initialized in the constructor. [uninitMemberVar] pdns-5.0.0/pdns/dnsrecords.cc:347:1: warning: Member variable 'TLSARecordContent::d_certusage' is not initialized in the constructor. [uninitMemberVar] pdns-5.0.0/pdns/dnsrecords.cc:347:1: warning: Member variable 'TLSARecordContent::d_selector' is not initialized in the constructor. [uninitMemberVar] pdns-5.0.0/pdns/dnsrecords.cc:347:1: warning: Member variable 'TLSARecordContent::d_matchtype' is not initialized in the constructor. [uninitMemberVar] pdns-5.0.0/pdns/dnsrecords.cc:374:1: warning: Member variable 'SMIMEARecordContent::d_certusage' is not initialized in the constructor. [uninitMemberVar] pdns-5.0.0/pdns/dnsrecords.cc:374:1: warning: Member variable 'SMIMEARecordContent::d_selector' is not initialized in the constructor. [uninitMemberVar] pdns-5.0.0/pdns/dnsrecords.cc:374:1: warning: Member variable 'SMIMEARecordContent::d_matchtype' is not initialized in the constructor. [uninitMemberVar] pdns-5.0.0/pdns/dnsrecords.cc:358: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-5.0.0/pdns/dnsrecords.cc:366: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-5.0.0/pdns/dnsrecords.cc:314:1: warning: Member variable 'SOARecordContent::d_st' is not initialized in the constructor. [uninitMemberVar] pdns-5.0.0/pdns/dnsrecords.cc:331:1: warning: Member variable 'ZONEMDRecordContent::d_serial' is not initialized in the constructor. [uninitMemberVar] pdns-5.0.0/pdns/dnsrecords.cc:331:1: warning: Member variable 'ZONEMDRecordContent::d_scheme' is not initialized in the constructor. [uninitMemberVar] pdns-5.0.0/pdns/dnsrecords.cc:331:1: warning: Member variable 'ZONEMDRecordContent::d_hashalgo' is not initialized in the constructor. [uninitMemberVar] pdns-5.0.0/pdns/dnsrecords.cc:450:1: warning: Member variable 'NIDRecordContent::d_preference' is not initialized in the constructor. [uninitMemberVar] pdns-5.0.0/pdns/dnsrecords.cc:450:1: warning: Member variable 'NIDRecordContent::d_node_id' is not initialized in the constructor. [uninitMemberVar] pdns-5.0.0/pdns/dnsrecords.cc:454:1: warning: Member variable 'L32RecordContent::d_preference' is not initialized in the constructor. [uninitMemberVar] pdns-5.0.0/pdns/dnsrecords.cc:454:1: warning: Member variable 'L32RecordContent::d_locator' is not initialized in the constructor. [uninitMemberVar] pdns-5.0.0/pdns/dnsrecords.cc:458:1: warning: Member variable 'L64RecordContent::d_preference' is not initialized in the constructor. [uninitMemberVar] pdns-5.0.0/pdns/dnsrecords.cc:458:1: warning: Member variable 'L64RecordContent::d_locator' is not initialized in the constructor. [uninitMemberVar] pdns-5.0.0/pdns/dnsrecords.cc:462:1: warning: Member variable 'LPRecordContent::d_preference' is not initialized in the constructor. [uninitMemberVar] pdns-5.0.0/pdns/dnsrecords.cc:849:1: warning: Member variable 'URIRecordContent::d_priority' is not initialized in the constructor. [uninitMemberVar] pdns-5.0.0/pdns/dnsrecords.cc:849:1: warning: Member variable 'URIRecordContent::d_weight' is not initialized in the constructor. [uninitMemberVar] pdns-5.0.0/pdns/dnsrecords.cc:855:1: warning: Member variable 'CAARecordContent::d_flags' is not initialized in the constructor. [uninitMemberVar] pdns-5.0.0/pdns/dnsrecords.cc:138:22: performance:inconclusive: Technically the member function 'ARecordContent::doRecordCheck' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-5.0.0/pdns/dnsrecords.hh:86:8: note: Technically the member function 'ARecordContent::doRecordCheck' can be static (but you may consider moving to unnamed namespace). pdns-5.0.0/pdns/dnsrecords.cc:138:22: note: Technically the member function 'ARecordContent::doRecordCheck' can be static (but you may consider moving to unnamed namespace). pdns-5.0.0/pdns/dnsrecords.cc:161:1: performance:inconclusive: Technically the member function 'ENTRecordContent::xfrPacket' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-5.0.0/pdns/dnsrecords.hh:265:3: note: Technically the member function 'ENTRecordContent::xfrPacket' can be static (but you may consider moving to unnamed namespace). pdns-5.0.0/pdns/dnsrecords.cc:161:1: note: Technically the member function 'ENTRecordContent::xfrPacket' can be static (but you may consider moving to unnamed namespace). pdns-5.0.0/pdns/dnsrecords.cc:603:35: performance:inconclusive: Technically the member function 'APLRecordContent::parseAPLElement' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-5.0.0/pdns/dnsrecords.hh:1179:19: note: Technically the member function 'APLRecordContent::parseAPLElement' can be static (but you may consider moving to unnamed namespace). pdns-5.0.0/pdns/dnsrecords.cc:603:35: note: Technically the member function 'APLRecordContent::parseAPLElement' can be static (but you may consider moving to unnamed namespace). pdns-5.0.0/pdns/dnsrecords.cc:138:22: warning: The class 'ARecordContent' defines member function with name 'doRecordCheck' also defined in its parent class 'DNSRecordContent'. [duplInheritedMember] pdns-5.0.0/pdns/dnsparser.hh:240:8: note: Parent function 'DNSRecordContent::doRecordCheck' pdns-5.0.0/pdns/dnsrecords.cc:138:22: note: Derived function 'ARecordContent::doRecordCheck' pdns-5.0.0/pdns/dnsrecords.cc:471:55: warning: The class 'EUI48RecordContent' defines member function with name 'make' also defined in its parent class 'DNSRecordContent'. [duplInheritedMember] pdns-5.0.0/pdns/dnsparser.hh:197:44: note: Parent function 'DNSRecordContent::make' pdns-5.0.0/pdns/dnsrecords.cc:471:55: note: Derived function 'EUI48RecordContent::make' pdns-5.0.0/pdns/dnsrecords.cc:515:55: warning: The class 'EUI64RecordContent' defines member function with name 'make' also defined in its parent class 'DNSRecordContent'. [duplInheritedMember] pdns-5.0.0/pdns/dnsparser.hh:197:44: note: Parent function 'DNSRecordContent::make' pdns-5.0.0/pdns/dnsrecords.cc:515:55: note: Derived function 'EUI64RecordContent::make' pdns-5.0.0/pdns/dnsrecords.cc:485:9: warning: %hhx in format string (no. 1) requires 'unsigned char *' but the argument type is 'const char *'. [invalidScanfArgType_int] pdns-5.0.0/pdns/dnsrecords.cc:485:9: warning: %hhx in format string (no. 2) requires 'unsigned char *' but the argument type is 'const char *'. [invalidScanfArgType_int] pdns-5.0.0/pdns/dnsrecords.cc:485:9: warning: %hhx in format string (no. 3) requires 'unsigned char *' but the argument type is 'const char *'. [invalidScanfArgType_int] pdns-5.0.0/pdns/dnsrecords.cc:485:9: warning: %hhx in format string (no. 4) requires 'unsigned char *' but the argument type is 'const char *'. [invalidScanfArgType_int] pdns-5.0.0/pdns/dnsrecords.cc:485:9: warning: %hhx in format string (no. 5) requires 'unsigned char *' but the argument type is 'const char *'. [invalidScanfArgType_int] pdns-5.0.0/pdns/dnsrecords.cc:485:9: warning: %hhx in format string (no. 6) requires 'unsigned char *' but the argument type is 'const char *'. [invalidScanfArgType_int] pdns-5.0.0/pdns/dnsrecords.cc:529:9: warning: %hhx in format string (no. 1) requires 'unsigned char *' but the argument type is 'const char *'. [invalidScanfArgType_int] pdns-5.0.0/pdns/dnsrecords.cc:529:9: warning: %hhx in format string (no. 2) requires 'unsigned char *' but the argument type is 'const char *'. [invalidScanfArgType_int] pdns-5.0.0/pdns/dnsrecords.cc:529:9: warning: %hhx in format string (no. 3) requires 'unsigned char *' but the argument type is 'const char *'. [invalidScanfArgType_int] pdns-5.0.0/pdns/dnsrecords.cc:529:9: warning: %hhx in format string (no. 4) requires 'unsigned char *' but the argument type is 'const char *'. [invalidScanfArgType_int] pdns-5.0.0/pdns/dnsrecords.cc:529:9: warning: %hhx in format string (no. 5) requires 'unsigned char *' but the argument type is 'const char *'. [invalidScanfArgType_int] pdns-5.0.0/pdns/dnsrecords.cc:529:9: warning: %hhx in format string (no. 6) requires 'unsigned char *' but the argument type is 'const char *'. [invalidScanfArgType_int] pdns-5.0.0/pdns/dnsrecords.cc:529:9: warning: %hhx in format string (no. 7) requires 'unsigned char *' but the argument type is 'const char *'. [invalidScanfArgType_int] pdns-5.0.0/pdns/dnsrecords.cc:529:9: warning: %hhx in format string (no. 8) requires 'unsigned char *' but the argument type is 'const char *'. [invalidScanfArgType_int] pdns-5.0.0/pdns/dnsrecords.cc:112:16: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/dnsrecords.cc:477:19: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/dnsrecords.cc:521:19: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/dnsrecords.cc:863:28: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/dnsrecords.cc:205:12: style: The scope of the variable 'code' can be reduced. [variableScope] pdns-5.0.0/pdns/dnsrecords.cc:205:18: style: The scope of the variable 'len' can be reduced. [variableScope] pdns-5.0.0/pdns/dnsrecords.cc:32:50: style:inconclusive: Function 'setContent' argument 1 names different: declaration 'content' definition 'cont'. [funcArgNamesDifferent] pdns-5.0.0/pdns/dns.hh:83:33: note: Function 'setContent' argument 1 names different: declaration 'content' definition 'cont'. pdns-5.0.0/pdns/dnsrecords.cc:32:50: note: Function 'setContent' argument 1 names different: declaration 'content' definition 'cont'. pdns-5.0.0/pdns/dnsrecords.cc:202:65: style:inconclusive: Function 'getData' argument 1 names different: declaration 'opts' definition 'options'. [funcArgNamesDifferent] pdns-5.0.0/pdns/dnsrecords.hh:433:49: note: Function 'getData' argument 1 names different: declaration 'opts' definition 'options'. pdns-5.0.0/pdns/dnsrecords.cc:202:65: note: Function 'getData' argument 1 names different: declaration 'opts' definition 'options'. pdns-5.0.0/pdns/dnsrecords.cc:690:72: style:inconclusive: Function 'make' argument 1 names different: declaration 'zonedata' definition 'zone'. [funcArgNamesDifferent] pdns-5.0.0/pdns/dnsrecords.hh:1172:3: note: Function 'make' argument 1 names different: declaration 'zonedata' definition 'zone'. pdns-5.0.0/pdns/dnsrecords.cc:690:72: note: Function 'make' argument 1 names different: declaration 'zonedata' definition 'zone'. pdns-5.0.0/pdns/dnsrecords.cc:697:15: style: Variable 'element' can be declared as reference to const [constVariableReference] pdns-5.0.0/pdns/dnsrecords.cc:709:15: style: Variable 'ard' can be declared as reference to const [constVariableReference] pdns-5.0.0/pdns/dnsrecords.cc:624:7: performance: Inefficient usage of string::find() in condition; string::starts_with() could be faster. [stlIfStrFind] pdns-5.0.0/pdns/dnsrecords.cc:656:14: performance: Inefficient usage of string::find() in condition; string::starts_with() could be faster. [stlIfStrFind] pdns-5.0.0/pdns/dnsrecords.cc:214:12: performance: Constructing a std::string from the result of c_str() is slow and redundant. [stlcstrConstructor] pdns-5.0.0/pdns/dnsrecords.cc:1042:36: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/dnsreplay.cc:411:7: debug: Failed to parse 'typedef multi_index_container < QuestionData , indexed_by < ordered_unique < tag < QuestionTag > , BOOST_MULTI_INDEX_MEMBER ( QuestionData , QuestionIdentifier , d_qi ) > , ordered_unique < tag < AssignedIDTag > , BOOST_MULTI_INDEX_MEMBER ( QuestionData , int , d_assignedID ) > > > :: index < AssignedIDTag > :: type qids_by_id_index_t ;'. The checking continues anyway. [simplifyTypedef] pdns-5.0.0/pdns/dnsreplay.cc:110:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/dnsreplay.cc:309:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fixed [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/dnsreplay.cc:333:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/dnsreplay.cc:407:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/dnsreplay.cc:482:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/dnsreplay.cc:512:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/dnsreplay.cc:661:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/dnsreplay.cc:718:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/dnsreplay.cc:765:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/dnsreplay.cc:818:26: style: Condition '!checkIPTransparentUsability()' is always true [knownConditionTrueFalse] pdns-5.0.0/pdns/dnsreplay.cc:818:54: note: Calling function 'checkIPTransparentUsability' returns 0 pdns-5.0.0/pdns/dnsreplay.cc:818:26: note: Condition '!checkIPTransparentUsability()' is always true pdns-5.0.0/pdns/dnsreplay.cc:550:14: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/dnsreplay.cc:566:7: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/dnsreplay.cc:635:22: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/dnsreplay.cc:647:26: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/dnsreplay.cc:654:29: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/dnsreplay.cc:551:14: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pdns-5.0.0/pdns/dnsreplay.cc:558:26: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pdns-5.0.0/pdns/dnsreplay.cc:140:14: style: The scope of the variable 'ret' can be reduced. [variableScope] pdns-5.0.0/pdns/dnsreplay.cc:242:54: performance: Function parameter 'orig' should be passed by const reference. [passedByValue] pdns-5.0.0/pdns/dnsreplay.cc:434:30: style: Variable 'e' can be declared as reference to const [constVariableReference] pdns-5.0.0/pdns/dnsreplay.cc:438:27: style: Variable 'e' can be declared as reference to const [constVariableReference] pdns-5.0.0/pdns/dnsreplay.cc:717:44: style: Parameter 'desc' can be declared as reference to const [constParameterReference] pdns-5.0.0/pdns/dnsscan.cc:48:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/dnsscan.cc:74:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/dnsscan.cc:88:33: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/histog.hh:51:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable weight [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/dnsscope.cc:121:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/dnsscope.cc:131:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timeval [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/dnsscope.cc:173:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/dnsscope.cc:103:14: style:inconclusive: Technically the member function 'LiveCounts::operator-' can be const. [functionConst] pdns-5.0.0/pdns/dnsscope.cc:279:23: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/dnsscope.cc:295:40: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/dnsscope.cc:281:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pdns-5.0.0/pdns/dnsname.hh:551:10: style: Local variable 'visitor' shadows outer function [shadowFunction] pdns-5.0.0/pdns/dnsscope.cc:113:13: note: Shadowed declaration pdns-5.0.0/pdns/dnsname.hh:551:10: note: Shadow variable pdns-5.0.0/pdns/dnsname.hh:581:10: style: Local variable 'visitor' shadows outer function [shadowFunction] pdns-5.0.0/pdns/dnsscope.cc:113:13: note: Shadowed declaration pdns-5.0.0/pdns/dnsname.hh:581:10: note: Shadow variable pdns-5.0.0/pdns/dnsscope.cc:83:30: style: Variable 'val' can be declared as reference to const [constVariableReference] pdns-5.0.0/pdns/dnsscope.cc:541:32: style: Variable 'val' can be declared as reference to const [constVariableReference] pdns-5.0.0/pdns/histog.hh:35:14: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/dnsscope.cc:85:7: style: Consider using std::count_if algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/dnsscope.cc:442:7: style: Consider using std::count_if algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/dnsscope.cc:519:20: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/dnssecinfra.cc:239:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/dnssecinfra.cc:285:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/dnssecinfra.cc:310:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/dnssecinfra.cc:431:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/dnssecinfra.cc:662:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHA_DIGEST_LENGTH [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/dnssecinfra.cc:737:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EVP_MAX_MD_SIZE [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/dnssecinfra.cc:703:8: style: Condition 'c' is always true [knownConditionTrueFalse] pdns-5.0.0/pdns/dnssecinfra.cc:700:23: note: Assignment 'c=(unsigned char)raw[pos]', assigned value is greater than -1 pdns-5.0.0/pdns/dnssecinfra.cc:701:7: note: c is incremented', new value is 0 pdns-5.0.0/pdns/dnssecinfra.cc:703:8: note: Condition 'c' is always true pdns-5.0.0/pdns/dnssecinfra.cc:718:10: style: Condition 'c!=0xff' is always true [knownConditionTrueFalse] pdns-5.0.0/pdns/dnssecinfra.cc:715:23: note: Assignment 'c=(unsigned char)raw[pos]', assigned value is greater than -1 pdns-5.0.0/pdns/dnssecinfra.cc:716:7: note: c is decremented', new value is 254 pdns-5.0.0/pdns/dnssecinfra.cc:718:10: note: Condition 'c!=0xff' is always true pdns-5.0.0/pdns/dnssecinfra.cc:766:17: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/dnssecinfra.cc:543:19: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pdns-5.0.0/pdns/dnssecinfra.cc:545:19: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pdns-5.0.0/pdns/dnssecinfra.cc:547:19: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pdns-5.0.0/pdns/dnssecinfra.cc:551:19: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pdns-5.0.0/pdns/dnssecinfra.cc:817:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pdns-5.0.0/pdns/dnssecinfra.cc:466:43: style: The scope of the variable 'udiffVerify' can be reduced. [variableScope] pdns-5.0.0/pdns/dnssecinfra.cc:207:75: style:inconclusive: Function 'make' argument 1 names different: declaration 'algorithm' definition 'algo'. [funcArgNamesDifferent] pdns-5.0.0/pdns/dnssecinfra.hh:168:66: note: Function 'make' argument 1 names different: declaration 'algorithm' definition 'algo'. pdns-5.0.0/pdns/dnssecinfra.cc:207:75: note: Function 'make' argument 1 names different: declaration 'algorithm' definition 'algo'. pdns-5.0.0/pdns/dnssecinfra.cc:259:46: style:inconclusive: Function 'report' argument 1 names different: declaration 'algorithm' definition 'algo'. [funcArgNamesDifferent] pdns-5.0.0/pdns/dnssecinfra.hh:176:37: note: Function 'report' argument 1 names different: declaration 'algorithm' definition 'algo'. pdns-5.0.0/pdns/dnssecinfra.cc:259:46: note: Function 'report' argument 1 names different: declaration 'algorithm' definition 'algo'. pdns-5.0.0/pdns/dnssecinfra.cc:425:50: style:inconclusive: Function 'testMakers' argument 1 names different: declaration 'algorithm' definition 'algo'. [funcArgNamesDifferent] pdns-5.0.0/pdns/dnssecinfra.hh:177:41: note: Function 'testMakers' argument 1 names different: declaration 'algorithm' definition 'algo'. pdns-5.0.0/pdns/dnssecinfra.cc:425:50: note: Function 'testMakers' argument 1 names different: declaration 'algorithm' definition 'algo'. pdns-5.0.0/pdns/dnssecinfra.cc:486:124: style:inconclusive: Function 'makeFromPublicKeyString' argument 2 names different: declaration 'raw' definition 'content'. [funcArgNamesDifferent] pdns-5.0.0/pdns/dnssecinfra.hh:167:115: note: Function 'makeFromPublicKeyString' argument 2 names different: declaration 'raw' definition 'content'. pdns-5.0.0/pdns/dnssecinfra.cc:486:124: note: Function 'makeFromPublicKeyString' argument 2 names different: declaration 'raw' definition 'content'. pdns-5.0.0/pdns/dnssecinfra.cc:418:28: style: Variable 'e' can be declared as reference to const [constVariableReference] pdns-5.0.0/pdns/dnssecinfra.cc:761:18: style: Variable 'out' can be declared as pointer to const [constVariablePointer] pdns-5.0.0/pdns/dnssecinfra.cc:805:10: style: Unused variable: message [unusedVariable] pdns-5.0.0/pdns/digests.hh:38:88: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EVP_MD_CTX_destroy [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/dnssecsigner.cc:101:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/dnssecsigner.cc:81:7: style: Condition 'doCache' is always true [knownConditionTrueFalse] pdns-5.0.0/pdns/dnssecsigner.cc:80:18: note: Assignment 'doCache=true', assigned value is 1 pdns-5.0.0/pdns/dnssecsigner.cc:81:7: note: Condition 'doCache' is always true pdns-5.0.0/pdns/dnssecsigner.cc:92:6: style: Condition 'doCache' is always true [knownConditionTrueFalse] pdns-5.0.0/pdns/dnssecsigner.cc:80:18: note: Assignment 'doCache=true', assigned value is 1 pdns-5.0.0/pdns/dnssecsigner.cc:83:58: note: Assuming condition is false pdns-5.0.0/pdns/dnssecsigner.cc:92:6: note: Condition 'doCache' is always true pdns-5.0.0/pdns/dnssecsigner.cc:97:22: style: The scope of the variable 'oldsigs' can be reduced. [variableScope] pdns-5.0.0/pdns/dnssecsigner.cc:66:44: style: Parameter 'dpk' can be declared as reference to const [constParameterReference] pdns-5.0.0/pdns/dnssecsigner.cc:202:78: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/dnssecsigner.cc:105:29: style: Variable '(*signatures)[lookup]' is assigned a value that is never used. [unreadVariable] pdns-5.0.0/pdns/dnstcpbench.cc:91:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_DGRAM [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/dnstcpbench.cc:197:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/dnstcpbench.cc:229:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/dnstcpbench.cc:127:20: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pdns-5.0.0/pdns/dnstcpbench.cc:140:16: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pdns-5.0.0/pdns/dnstcpbench.cc:146:7: style: The scope of the variable 'numread' can be reduced. [variableScope] pdns-5.0.0/pdns/dnstcpbench.cc:196:44: style: Parameter 'desc' can be declared as reference to const [constParameterReference] pdns-5.0.0/pdns/dnswasher.cc:275:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/dnswriter.cc:233:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/dnswriter.cc:322:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/dnswriter.cc:85:39: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/dnswriter.cc:85:66: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/dnswriter.cc:137:21: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/dnswriter.cc:138:21: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/dnswriter.cc:251:21: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/dnswriter.cc:298:44: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/dnswriter.cc:300:104: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/dnswriter.cc:300:139: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/dnswriter.cc:348:39: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/dnswriter.cc:348:74: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/dnswriter.cc:55:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pdns-5.0.0/pdns/dnswriter.cc:209:117: style:inconclusive: Function 'lookupName' argument 2 names different: declaration 'matchlen' definition 'matchLen'. [funcArgNamesDifferent] pdns-5.0.0/pdns/dnswriter.hh:165:54: note: Function 'lookupName' argument 2 names different: declaration 'matchlen' definition 'matchLen'. pdns-5.0.0/pdns/dnswriter.cc:209:117: note: Function 'lookupName' argument 2 names different: declaration 'matchlen' definition 'matchLen'. pdns-5.0.0/pdns/dnswriter.cc:231:25: style: Variable 'ba' can be declared as reference to const [constVariableReference] pdns-5.0.0/pdns/dnswriter.cc:278:27: style: Variable 'ba' can be declared as reference to const [constVariableReference] pdns-5.0.0/pdns/dnswriter.cc:415:19: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/dumresp.cc:40:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/dumresp.cc:46:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/dumresp.cc:102:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/dumresp.cc:107:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_STREAM [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/dumresp.cc:138:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/dynhandler.cc:59:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/dynhandler.cc:139:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/dynhandler.cc:230:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/dynhandler.cc:240:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/dynhandler.cc:285:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/dynhandler.cc:312:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/dynhandler.cc:325:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/dynhandler.cc:362:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/dynhandler.cc:377:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/dynhandler.cc:384:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/dynhandler.cc:95:20: style: Local variable 'S' shadows outer variable [shadowVariable] pdns-5.0.0/pdns/distributor.hh:44:16: note: Shadowed declaration pdns-5.0.0/pdns/dynhandler.cc:95:20: note: Shadow variable pdns-5.0.0/pdns/dynhandler.cc:159:26: style: Local variable 'PC' shadows outer variable [shadowVariable] pdns-5.0.0/pdns/auth-main.hh:41:24: note: Shadowed declaration pdns-5.0.0/pdns/dynhandler.cc:159:26: note: Shadow variable pdns-5.0.0/pdns/dynhandler.cc:160:25: style: Local variable 'QC' shadows outer variable [shadowVariable] pdns-5.0.0/pdns/auth-main.hh:42:23: note: Shadowed declaration pdns-5.0.0/pdns/dynhandler.cc:160:25: note: Shadow variable pdns-5.0.0/pdns/dynhandler.cc:205:18: style: Local variable 'S' shadows outer variable [shadowVariable] pdns-5.0.0/pdns/distributor.hh:44:16: note: Shadowed declaration pdns-5.0.0/pdns/dynhandler.cc:205:18: note: Shadow variable pdns-5.0.0/pdns/dynhandler.cc:245:28: style: Local variable 'Communicator' shadows outer variable [shadowVariable] pdns-5.0.0/pdns/auth-main.hh:44:26: note: Shadowed declaration pdns-5.0.0/pdns/dynhandler.cc:245:28: note: Shadow variable pdns-5.0.0/pdns/dynhandler.cc:291:28: style: Local variable 'Communicator' shadows outer variable [shadowVariable] pdns-5.0.0/pdns/auth-main.hh:44:26: note: Shadowed declaration pdns-5.0.0/pdns/dynhandler.cc:291:28: note: Shadow variable pdns-5.0.0/pdns/dynhandler.cc:319:28: style: Local variable 'Communicator' shadows outer variable [shadowVariable] pdns-5.0.0/pdns/auth-main.hh:44:26: note: Shadowed declaration pdns-5.0.0/pdns/dynhandler.cc:319:28: note: Shadow variable pdns-5.0.0/pdns/dynhandler.cc:210:29: style: Variable 'val' can be declared as reference to const [constVariableReference] pdns-5.0.0/pdns/dynhandler.cc:367:24: style: Variable 'ae' can be declared as reference to const [constVariableReference] pdns-5.0.0/pdns/dynhandler.cc:246:17: style: Unused variable: os [unusedVariable] pdns-5.0.0/pdns/dynhandler.cc:292:17: style: Unused variable: os [unusedVariable] pdns-5.0.0/pdns/dynlistener.cc:69:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_STREAM [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/dynlistener.cc:105:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/dynlistener.cc:117:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/dynlistener.cc:150:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/dynlistener.cc:180:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOCALSTATEDIR [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/dynlistener.cc:222:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/dynlistener.cc:310:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/dynlistener.cc:350:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/dynlistener.cc:74:70: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pdns-5.0.0/pdns/dynlistener.cc:76:70: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pdns-5.0.0/pdns/dynlistener.cc:81:45: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pdns-5.0.0/pdns/dynlistener.cc:86:74: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pdns-5.0.0/pdns/dynlistener.cc:88:74: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pdns-5.0.0/pdns/dynlistener.cc:109:28: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pdns-5.0.0/pdns/dynlistener.cc:132:32: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pdns-5.0.0/pdns/dynlistener.cc:150:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pdns-5.0.0/pdns/dynlistener.cc:152:35: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pdns-5.0.0/pdns/dynlistener.cc:305:9: style: The scope of the variable 'ret' can be reduced. [variableScope] pdns-5.0.0/pdns/dynlistener.cc:409:10: style: The scope of the variable 'rest' can be reduced. [variableScope] pdns-5.0.0/pdns/dynlistener.cc:167:46: style:inconclusive: Function 'DynListener' argument 1 names different: declaration 'addr' definition 'local'. [funcArgNamesDifferent] pdns-5.0.0/pdns/dynlistener.hh:43:44: note: Function 'DynListener' argument 1 names different: declaration 'addr' definition 'local'. pdns-5.0.0/pdns/dynlistener.cc:167:46: note: Function 'DynListener' argument 1 names different: declaration 'addr' definition 'local'. pdns-5.0.0/pdns/dynlistener.cc:173:40: style:inconclusive: Function 'DynListener' argument 1 names different: declaration 'pname' definition 'progname'. [funcArgNamesDifferent] pdns-5.0.0/pdns/dynlistener.hh:42:38: note: Function 'DynListener' argument 1 names different: declaration 'pname' definition 'progname'. pdns-5.0.0/pdns/dynlistener.cc:173:40: note: Function 'DynListener' argument 1 names different: declaration 'pname' definition 'progname'. pdns-5.0.0/pdns/dynlistener.cc:301:43: style:inconclusive: Function 'sendlines' argument 1 names different: declaration 'lines' definition 'l'. [funcArgNamesDifferent] pdns-5.0.0/pdns/dynlistener.hh:57:32: note: Function 'sendlines' argument 1 names different: declaration 'lines' definition 'l'. pdns-5.0.0/pdns/dynlistener.cc:301:43: note: Function 'sendlines' argument 1 names different: declaration 'lines' definition 'l'. pdns-5.0.0/pdns/dynloader.cc:59:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SYSCONFDIR [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/dynmessenger.hh:46:3: style: Class 'DynMessenger' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/dynloader.cc:169:27: style: Variable 'ae' can be declared as reference to const [constVariableReference] pdns-5.0.0/pdns/dynloader.cc:173:24: style: Variable 'ae' can be declared as reference to const [constVariableReference] pdns-5.0.0/pdns/dynloader.cc:92:13: performance: Passing the result of c_str() to a function that takes std::string as argument no. 1 is slow and redundant. [stlcstrParam] pdns-5.0.0/pdns/dynmessenger.cc:124:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/dynmessenger.cc:140:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/dynmessenger.cc:53:51: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pdns-5.0.0/pdns/dynmessenger.cc:56:51: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pdns-5.0.0/pdns/dynmessenger.cc:59:42: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pdns-5.0.0/pdns/dynmessenger.cc:90:51: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pdns-5.0.0/pdns/dynmessenger.cc:93:51: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pdns-5.0.0/pdns/dynmessenger.cc:96:43: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pdns-5.0.0/pdns/dynmessenger.cc:135:7: style: The scope of the variable 'retlen' can be reduced. [variableScope] pdns-5.0.0/pdns/dynmessenger.cc:34:42: style:inconclusive: Function 'DynMessenger' argument 1 names different: declaration 'filename' definition 'fname'. [funcArgNamesDifferent] pdns-5.0.0/pdns/dynmessenger.hh:46:30: note: Function 'DynMessenger' argument 1 names different: declaration 'filename' definition 'fname'. pdns-5.0.0/pdns/dynmessenger.cc:34:42: note: Function 'DynMessenger' argument 1 names different: declaration 'filename' definition 'fname'. pdns-5.0.0/pdns/dynmessenger.cc:74:19: style:inconclusive: Function 'DynMessenger' argument 2 names different: declaration 'password' definition 'secret'. [funcArgNamesDifferent] pdns-5.0.0/pdns/dynmessenger.hh:51:19: note: Function 'DynMessenger' argument 2 names different: declaration 'password' definition 'secret'. pdns-5.0.0/pdns/dynmessenger.cc:74:19: note: Function 'DynMessenger' argument 2 names different: declaration 'password' definition 'secret'. pdns-5.0.0/pdns/dynmessenger.cc:118:38: style:inconclusive: Function 'send' argument 1 names different: declaration 'message' definition 'msg'. [funcArgNamesDifferent] pdns-5.0.0/pdns/dynmessenger.hh:61:26: note: Function 'send' argument 1 names different: declaration 'message' definition 'msg'. pdns-5.0.0/pdns/dynmessenger.cc:118:38: note: Function 'send' argument 1 names different: declaration 'message' definition 'msg'. pdns-5.0.0/pdns/ednscookies.cc:82:22: performance:inconclusive: Technically the member function 'EDNSCookiesOpt::isValid' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-5.0.0/pdns/ednscookies.hh:54:22: note: Technically the member function 'EDNSCookiesOpt::isValid' can be static (but you may consider moving to unnamed namespace). pdns-5.0.0/pdns/ednscookies.cc:82:22: note: Technically the member function 'EDNSCookiesOpt::isValid' can be static (but you may consider moving to unnamed namespace). pdns-5.0.0/pdns/ednscookies.cc:156:22: performance:inconclusive: Technically the member function 'EDNSCookiesOpt::makeServerCookie' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-5.0.0/pdns/ednscookies.hh:56:8: note: Technically the member function 'EDNSCookiesOpt::makeServerCookie' can be static (but you may consider moving to unnamed namespace). pdns-5.0.0/pdns/ednscookies.cc:156:22: note: Technically the member function 'EDNSCookiesOpt::makeServerCookie' can be static (but you may consider moving to unnamed namespace). pdns-5.0.0/pdns/ednsoptions.cc:50:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/ednsoptions.cc:157:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/ednsoptions.cc:218:14: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pdns-5.0.0/pdns/ednsoptions.cc:219:14: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pdns-5.0.0/pdns/ednsoptions.cc:194:12: style: The scope of the variable 'code' can be reduced. [variableScope] pdns-5.0.0/pdns/ednsoptions.cc:194:18: style: The scope of the variable 'len' can be reduced. [variableScope] pdns-5.0.0/pdns/ednssubnet.cc:64:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/ednssubnet.cc:100:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sin_family [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/epollmplexer.cc:107:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EPOLLIN [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/epollmplexer.cc:126:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EPOLL_CTL_ADD [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/epollmplexer.cc:137:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EPOLL_CTL_DEL [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/epollmplexer.cc:149:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EPOLL_CTL_MOD [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/epollmplexer.cc:158:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/epollmplexer.cc:174:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/epollmplexer.cc:39:3: style: Class 'EpollFDMultiplexer' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/epollmplexer.cc:167:45: style:inconclusive: Function 'run' argument 1 names different: declaration 'tv' definition 'now'. [funcArgNamesDifferent] pdns-5.0.0/pdns/epollmplexer.cc:47:27: note: Function 'run' argument 1 names different: declaration 'tv' definition 'now'. pdns-5.0.0/pdns/epollmplexer.cc:167:45: note: Function 'run' argument 1 names different: declaration 'tv' definition 'now'. pdns-5.0.0/pdns/fuzz_dnslabeltext_parseRFC1035CharString.cc:32:21: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/fuzz_proxyprotocol.cc:30:35: style: The scope of the variable 'values' can be reduced. [variableScope] pdns-5.0.0/pdns/fuzz_proxyprotocol.cc:33:8: style: The scope of the variable 'proxy' can be reduced. [variableScope] pdns-5.0.0/pdns/fuzz_proxyprotocol.cc:34:8: style: The scope of the variable 'tcp' can be reduced. [variableScope] pdns-5.0.0/pdns/gss_context.cc:543:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/gss_context.cc:567:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/gss_context.cc:34:18: performance:inconclusive: Technically the member function 'GssContext::setLocalPrincipal' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-5.0.0/pdns/gss_context.hh:176:8: note: Technically the member function 'GssContext::setLocalPrincipal' can be static (but you may consider moving to unnamed namespace). pdns-5.0.0/pdns/gss_context.cc:34:18: note: Technically the member function 'GssContext::setLocalPrincipal' can be static (but you may consider moving to unnamed namespace). pdns-5.0.0/pdns/gss_context.cc:35:18: performance:inconclusive: Technically the member function 'GssContext::getLocalPrincipal' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-5.0.0/pdns/gss_context.hh:177:8: note: Technically the member function 'GssContext::getLocalPrincipal' can be static (but you may consider moving to unnamed namespace). pdns-5.0.0/pdns/gss_context.cc:35:18: note: Technically the member function 'GssContext::getLocalPrincipal' can be static (but you may consider moving to unnamed namespace). pdns-5.0.0/pdns/gss_context.cc:36:18: performance:inconclusive: Technically the member function 'GssContext::setPeerPrincipal' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-5.0.0/pdns/gss_context.hh:178:8: note: Technically the member function 'GssContext::setPeerPrincipal' can be static (but you may consider moving to unnamed namespace). pdns-5.0.0/pdns/gss_context.cc:36:18: note: Technically the member function 'GssContext::setPeerPrincipal' can be static (but you may consider moving to unnamed namespace). pdns-5.0.0/pdns/gss_context.cc:37:18: performance:inconclusive: Technically the member function 'GssContext::getPeerPrincipal' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-5.0.0/pdns/gss_context.hh:179:8: note: Technically the member function 'GssContext::getPeerPrincipal' can be static (but you may consider moving to unnamed namespace). pdns-5.0.0/pdns/gss_context.cc:37:18: note: Technically the member function 'GssContext::getPeerPrincipal' can be static (but you may consider moving to unnamed namespace). pdns-5.0.0/pdns/gss_context.cc:38:18: performance:inconclusive: Technically the member function 'GssContext::generateLabel' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-5.0.0/pdns/gss_context.hh:181:8: note: Technically the member function 'GssContext::generateLabel' can be static (but you may consider moving to unnamed namespace). pdns-5.0.0/pdns/gss_context.cc:38:18: note: Technically the member function 'GssContext::generateLabel' can be static (but you may consider moving to unnamed namespace). pdns-5.0.0/pdns/gss_context.cc:39:18: performance:inconclusive: Technically the member function 'GssContext::setLabel' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-5.0.0/pdns/gss_context.hh:182:8: note: Technically the member function 'GssContext::setLabel' can be static (but you may consider moving to unnamed namespace). pdns-5.0.0/pdns/gss_context.cc:39:18: note: Technically the member function 'GssContext::setLabel' can be static (but you may consider moving to unnamed namespace). pdns-5.0.0/pdns/gss_context.cc:40:18: performance:inconclusive: Technically the member function 'GssContext::init' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-5.0.0/pdns/gss_context.hh:185:8: note: Technically the member function 'GssContext::init' can be static (but you may consider moving to unnamed namespace). pdns-5.0.0/pdns/gss_context.cc:40:18: note: Technically the member function 'GssContext::init' can be static (but you may consider moving to unnamed namespace). pdns-5.0.0/pdns/gss_context.cc:41:18: performance:inconclusive: Technically the member function 'GssContext::accept' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-5.0.0/pdns/gss_context.hh:186:8: note: Technically the member function 'GssContext::accept' can be static (but you may consider moving to unnamed namespace). pdns-5.0.0/pdns/gss_context.cc:41:18: note: Technically the member function 'GssContext::accept' can be static (but you may consider moving to unnamed namespace). pdns-5.0.0/pdns/gss_context.cc:42:18: performance:inconclusive: Technically the member function 'GssContext::destroy' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-5.0.0/pdns/gss_context.hh:187:8: note: Technically the member function 'GssContext::destroy' can be static (but you may consider moving to unnamed namespace). pdns-5.0.0/pdns/gss_context.cc:42:18: note: Technically the member function 'GssContext::destroy' can be static (but you may consider moving to unnamed namespace). pdns-5.0.0/pdns/gss_context.cc:43:18: performance:inconclusive: Technically the member function 'GssContext::expired' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-5.0.0/pdns/gss_context.hh:188:8: note: Technically the member function 'GssContext::expired' can be static (but you may consider moving to unnamed namespace). pdns-5.0.0/pdns/gss_context.cc:43:18: note: Technically the member function 'GssContext::expired' can be static (but you may consider moving to unnamed namespace). pdns-5.0.0/pdns/gss_context.cc:44:18: performance:inconclusive: Technically the member function 'GssContext::valid' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-5.0.0/pdns/gss_context.hh:189:8: note: Technically the member function 'GssContext::valid' can be static (but you may consider moving to unnamed namespace). pdns-5.0.0/pdns/gss_context.cc:44:18: note: Technically the member function 'GssContext::valid' can be static (but you may consider moving to unnamed namespace). pdns-5.0.0/pdns/gss_context.cc:45:18: performance:inconclusive: Technically the member function 'GssContext::sign' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-5.0.0/pdns/gss_context.hh:191:8: note: Technically the member function 'GssContext::sign' can be static (but you may consider moving to unnamed namespace). pdns-5.0.0/pdns/gss_context.cc:45:18: note: Technically the member function 'GssContext::sign' can be static (but you may consider moving to unnamed namespace). pdns-5.0.0/pdns/gss_context.cc:46:18: performance:inconclusive: Technically the member function 'GssContext::verify' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-5.0.0/pdns/gss_context.hh:192:8: note: Technically the member function 'GssContext::verify' can be static (but you may consider moving to unnamed namespace). pdns-5.0.0/pdns/gss_context.cc:46:18: note: Technically the member function 'GssContext::verify' can be static (but you may consider moving to unnamed namespace). pdns-5.0.0/pdns/gss_context.cc:47:29: performance:inconclusive: Technically the member function 'GssContext::getError' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-5.0.0/pdns/gss_context.hh:194:19: note: Technically the member function 'GssContext::getError' can be static (but you may consider moving to unnamed namespace). pdns-5.0.0/pdns/gss_context.cc:47:29: note: Technically the member function 'GssContext::getError' can be static (but you may consider moving to unnamed namespace). pdns-5.0.0/pdns/gss_context.cc:542:7: style: Condition '!gssctx.valid()' is always true [knownConditionTrueFalse] pdns-5.0.0/pdns/gss_context.cc:542:20: note: Calling function 'valid' returns 0 pdns-5.0.0/pdns/gss_context.cc:542:7: note: Condition '!gssctx.valid()' is always true pdns-5.0.0/pdns/gss_context.cc:551:7: style: Condition '!gssctx.sign(message,tmp_mac)' is always true [knownConditionTrueFalse] pdns-5.0.0/pdns/gss_context.cc:551:19: note: Calling function 'sign' returns 0 pdns-5.0.0/pdns/gss_context.cc:551:7: note: Condition '!gssctx.sign(message,tmp_mac)' is always true pdns-5.0.0/pdns/gss_context.cc:566:7: style: Condition '!gssctx.valid()' is always true [knownConditionTrueFalse] pdns-5.0.0/pdns/gss_context.cc:566:20: note: Calling function 'valid' returns 0 pdns-5.0.0/pdns/gss_context.cc:566:7: note: Condition '!gssctx.valid()' is always true pdns-5.0.0/pdns/gss_context.cc:575:7: style: Condition '!gssctx.verify(message,mac)' is always true [knownConditionTrueFalse] pdns-5.0.0/pdns/gss_context.cc:575:21: note: Calling function 'verify' returns 0 pdns-5.0.0/pdns/gss_context.cc:575:7: note: Condition '!gssctx.verify(message,mac)' is always true pdns-5.0.0/pdns/inflighter.cc:67:12: style:inconclusive: Technically the member function 'Inflighter::getTimeouts' can be const. [functionConst] pdns-5.0.0/pdns/inflighter.cc:72:12: style:inconclusive: Technically the member function 'Inflighter::getUnexpecteds' can be const. [functionConst] pdns-5.0.0/pdns/iputils.cc:61:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/iputils.cc:71:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/iputils.cc:117:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/iputils.cc:154:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/iputils.cc:198:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/iputils.cc:279:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_IPV6 [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/iputils.cc:292:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/iputils.cc:318:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/iputils.cc:332:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable msghdr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/iputils.cc:348:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sin_family [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/iputils.cc:443:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/iputils.cc:472:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_PEEK [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/iputils.cc:542:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOL_SOCKET [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/iputils.cc:555:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SO_RCVBUF [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/iputils.cc:560:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SO_SNDBUF [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/iputils.cc:85:56: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/iputils.cc:240:38: style: Parameter 'msgh' can be declared as pointer to const [constParameterPointer] pdns-5.0.0/pdns/iputils.cc:240:60: style: Parameter 'timeval' can be declared as pointer to const [constParameterPointer] pdns-5.0.0/pdns/ixfr.cc:164:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_STREAM [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/ixfr.cc:162:14: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/ixfr.cc:161:14: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pdns-5.0.0/pdns/ixfr.cc:127:133: style:inconclusive: Function 'getIXFRDeltas' argument 3 names different: declaration 'sr' definition 'oursr'. [funcArgNamesDifferent] pdns-5.0.0/pdns/ixfr.hh:29:85: note: Function 'getIXFRDeltas' argument 3 names different: declaration 'sr' definition 'oursr'. pdns-5.0.0/pdns/ixfr.cc:127:133: note: Function 'getIXFRDeltas' argument 3 names different: declaration 'sr' definition 'oursr'. pdns-5.0.0/pdns/ixfr.cc:128:92: style:inconclusive: Function 'getIXFRDeltas' argument 5 names different: declaration 'totalTime' definition 'totalTimeout'. [funcArgNamesDifferent] pdns-5.0.0/pdns/ixfr.hh:30:98: note: Function 'getIXFRDeltas' argument 5 names different: declaration 'totalTime' definition 'totalTimeout'. pdns-5.0.0/pdns/ixfr.cc:128:92: note: Function 'getIXFRDeltas' argument 5 names different: declaration 'totalTime' definition 'totalTimeout'. pdns-5.0.0/pdns/ixfrdist-stats.hh:45:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable numSOAChecks [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/ixfrdist-stats.hh:48:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable numSOAChecksFailed [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/ixfrdist-stats.hh:51:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable numSOAinQueries [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/ixfrdist-stats.hh:54:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable numAXFRinQueries [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/ixfrdist-stats.hh:57:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable numIXFRinQueries [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/ixfrdist-stats.hh:60:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable numAXFRFailures [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/ixfrdist-stats.hh:63:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable numIXFRFailures [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/ixfrdist-stats.cc:30:91: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/ixfrdist-web.cc:42:25: performance:inconclusive: Technically the member function 'IXFRDistWebServer::getMetrics' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-5.0.0/pdns/ixfrdist-web.hh:36:10: note: Technically the member function 'IXFRDistWebServer::getMetrics' can be static (but you may consider moving to unnamed namespace). pdns-5.0.0/pdns/ixfrdist-web.cc:42:25: note: Technically the member function 'IXFRDistWebServer::getMetrics' can be static (but you may consider moving to unnamed namespace). pdns-5.0.0/pdns/ixfrdist-web.cc:42:49: style: Parameter 'req' can be declared as pointer to const [constParameterPointer] pdns-5.0.0/pdns/ixfrdist.cc:203:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/ixfrdist.cc:211:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/ixfrdist.cc:241:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/ixfrdist.cc:340:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/ixfrdist.cc:367:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/ixfrdist.cc:383:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/ixfrdist.cc:418:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/ixfrdist.cc:626:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/ixfrdist.cc:666:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/ixfrdist.cc:959:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/ixfrdist.cc:1033:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/ixfrdist.cc:1113:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/ixfrdist.cc:1145:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/ixfrdist.cc:1271:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/ixfrdist.cc:1508:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SYSCONFDIR [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/ixfrdist.cc:1751:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/ixfrdist.cc:1665:34: portability: Non reentrant function 'getgrnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrnam_r'. [prohibitedgetgrnamCalled] pdns-5.0.0/pdns/ixfrdist.cc:1715:35: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] pdns-5.0.0/pdns/ixfrdist.cc:1726:34: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] pdns-5.0.0/pdns/ixfrdist.cc:400:13: style: Condition 'sock4>=0' is always true [knownConditionTrueFalse] pdns-5.0.0/pdns/ixfrdist.cc:386:13: note: Assuming that condition 'sock4<0' is not redundant pdns-5.0.0/pdns/ixfrdist.cc:392:9: note: Assuming condition is false pdns-5.0.0/pdns/ixfrdist.cc:400:13: note: Condition 'sock4>=0' is always true pdns-5.0.0/pdns/ixfrdist.cc:891:7: style: Condition '!sendPacketOverTCP(fd,soaPacket)' is always false [knownConditionTrueFalse] pdns-5.0.0/pdns/ixfrdist.cc:891:25: note: Calling function 'sendPacketOverTCP' returns 1 pdns-5.0.0/pdns/ixfrdist.cc:891:7: note: Condition '!sendPacketOverTCP(fd,soaPacket)' is always false pdns-5.0.0/pdns/ixfrdist.cc:900:7: style: Condition '!sendPacketOverTCP(fd,soaPacket)' is always false [knownConditionTrueFalse] pdns-5.0.0/pdns/ixfrdist.cc:900:25: note: Calling function 'sendPacketOverTCP' returns 1 pdns-5.0.0/pdns/ixfrdist.cc:900:7: note: Condition '!sendPacketOverTCP(fd,soaPacket)' is always false pdns-5.0.0/pdns/ixfrdist.cc:983:7: style: Condition '!sendPacketOverTCP(fd,latestSOAPacket)' is always false [knownConditionTrueFalse] pdns-5.0.0/pdns/ixfrdist.cc:983:25: note: Calling function 'sendPacketOverTCP' returns 1 pdns-5.0.0/pdns/ixfrdist.cc:983:7: note: Condition '!sendPacketOverTCP(fd,latestSOAPacket)' is always false pdns-5.0.0/pdns/ixfrdist.cc:991:9: style: Condition '!sendPacketOverTCP(fd,oldSOAPacket)' is always false [knownConditionTrueFalse] pdns-5.0.0/pdns/ixfrdist.cc:991:27: note: Calling function 'sendPacketOverTCP' returns 1 pdns-5.0.0/pdns/ixfrdist.cc:991:9: note: Condition '!sendPacketOverTCP(fd,oldSOAPacket)' is always false pdns-5.0.0/pdns/ixfrdist.cc:999:9: style: Condition '!sendPacketOverTCP(fd,newSOAPacket)' is always false [knownConditionTrueFalse] pdns-5.0.0/pdns/ixfrdist.cc:999:27: note: Calling function 'sendPacketOverTCP' returns 1 pdns-5.0.0/pdns/ixfrdist.cc:999:9: note: Condition '!sendPacketOverTCP(fd,newSOAPacket)' is always false pdns-5.0.0/pdns/ixfrdist.cc:1008:7: style: Condition '!sendPacketOverTCP(fd,latestSOAPacket)' is always false [knownConditionTrueFalse] pdns-5.0.0/pdns/ixfrdist.cc:1008:25: note: Calling function 'sendPacketOverTCP' returns 1 pdns-5.0.0/pdns/ixfrdist.cc:1008:7: note: Condition '!sendPacketOverTCP(fd,latestSOAPacket)' is always false pdns-5.0.0/pdns/ixfrdist.cc:1201:13: style: Condition '!ret' is always false [knownConditionTrueFalse] pdns-5.0.0/pdns/ixfrdist.cc:1200:42: note: Calling function 'makeEmptyNoErrorPacket' returns 1 pdns-5.0.0/pdns/ixfrdist.cc:1200:42: note: Assignment 'ret=makeEmptyNoErrorPacket(mdp,packet)', assigned value is 1 pdns-5.0.0/pdns/ixfrdist.cc:1201:13: note: Condition '!ret' is always false pdns-5.0.0/pdns/ixfrdist.cc:1030:47: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pdns-5.0.0/pdns/ixfrdist.cc:1094:47: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pdns-5.0.0/pdns/ixfrdist.cc:421:16: style: The scope of the variable 'soaTTL' can be reduced. [variableScope] pdns-5.0.0/pdns/ixfrdist.cc:210:44: style: Parameter 'desc' can be declared as reference to const [constParameterReference] pdns-5.0.0/pdns/ixfrdist.cc:296:88: style: Parameter 'newInfo' can be declared as reference to const [constParameterReference] pdns-5.0.0/pdns/ixfrdist.cc:1100:23: style: Variable 'e' can be declared as reference to const [constVariableReference] pdns-5.0.0/pdns/ixfrdist.cc:1228:20: style: Variable 'answer' can be declared as reference to const [constVariableReference] pdns-5.0.0/pdns/ixfrdist.cc:640:59: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/ixfrdist.cc:987:3: style: Consider using std::all_of or std::none_of algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/ixfrdist.cc:299:19: style: Variable '(*soas)[domain]' is assigned a value that is never used. [unreadVariable] pdns-5.0.0/pdns/ixfrdist.cc:1743:15: style: Variable 'had_error' is assigned a value that is never used. [unreadVariable] pdns-5.0.0/pdns/ixfrutils.cc:48:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_DGRAM [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/ixfrutils.cc:119:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu32 [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/ixfrutils.cc:136:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRGRP [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/ixfrutils.cc:50:14: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/ixfrutils.cc:123:67: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/ixplore.cc:50:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/ixplore.cc:63:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/ixplore.cc:244:24: style: Variable 'e2' can be declared as reference to const [constVariableReference] pdns-5.0.0/pdns/json.hh:41:3: style: Class 'JsonException' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/kqueuemplexer.cc:91:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EVFILT_READ [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/kqueuemplexer.cc:107:86: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_ADD [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/kqueuemplexer.cc:127:86: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_DELETE [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/kqueuemplexer.cc:150:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/kqueuemplexer.cc:178:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/kqueuemplexer.cc:41:3: style: Class 'KqueueFDMultiplexer' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/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-5.0.0/pdns/mplexer.hh:73:12: note: Virtual destructor in base class pdns-5.0.0/pdns/kqueuemplexer.cc:42:4: note: Destructor in derived class pdns-5.0.0/pdns/kqueuemplexer.cc:167:46: style:inconclusive: Function 'run' argument 1 names different: declaration 'tv' definition 'now'. [funcArgNamesDifferent] pdns-5.0.0/pdns/kqueuemplexer.cc:49:27: note: Function 'run' argument 1 names different: declaration 'tv' definition 'now'. pdns-5.0.0/pdns/kqueuemplexer.cc:167:46: note: Function 'run' argument 1 names different: declaration 'tv' definition 'now'. pdns-5.0.0/pdns/kqueuemplexer.cc:163:9: style: Consider using std::copy algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/kvresp.cc:39:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/kvresp.cc:55:60: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pdns-5.0.0/pdns/kvresp.cc:73:71: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pdns-5.0.0/pdns/kvresp.cc:51:7: style: The scope of the variable 'len' can be reduced. [variableScope] pdns-5.0.0/pdns/logger.cc:51:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DAEMON [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/logger.cc:114:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/logger.cc:55:14: style:inconclusive: Technically the member function 'Logger::log' can be const. [functionConst] pdns-5.0.0/pdns/logger.hh:60:8: note: Technically the member function 'Logger::log' can be const. pdns-5.0.0/pdns/logger.cc:55:14: note: Technically the member function 'Logger::log' can be const. pdns-5.0.0/pdns/logger.cc:179:28: performance:inconclusive: Technically the member function 'Logger::getPerThread' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-5.0.0/pdns/logger.hh:148:14: note: Technically the member function 'Logger::getPerThread' can be static (but you may consider moving to unnamed namespace). pdns-5.0.0/pdns/logger.cc:179:28: note: Technically the member function 'Logger::getPerThread' can be static (but you may consider moving to unnamed namespace). pdns-5.0.0/pdns/lua-auth4.cc:120:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable map [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/lua-auth4.cc:160:64: style:inconclusive: Function 'prequery' argument 1 names different: declaration 'p' definition 'q'. [funcArgNamesDifferent] pdns-5.0.0/pdns/lua-auth4.hh:22:56: note: Function 'prequery' argument 1 names different: declaration 'p' definition 'q'. pdns-5.0.0/pdns/lua-auth4.cc:160:64: note: Function 'prequery' argument 1 names different: declaration 'p' definition 'q'. pdns-5.0.0/pdns/lua-auth4.cc:41:80: style: Parameter 'p' can be declared as reference to const [constParameterReference] pdns-5.0.0/pdns/lua-auth4.cc:42:79: style: Parameter 'p' can be declared as reference to const [constParameterReference] pdns-5.0.0/pdns/lua-auth4.cc:43:79: style: Parameter 'p' can be declared as reference to const [constParameterReference] pdns-5.0.0/pdns/lua-auth4.cc:44:84: style: Parameter 'p' can be declared as reference to const [constParameterReference] pdns-5.0.0/pdns/lua-auth4.cc:45:113: style: Parameter 'p' can be declared as reference to const [constParameterReference] pdns-5.0.0/pdns/lua-auth4.cc:54:102: style: Parameter 'dr' can be declared as reference to const [constParameterReference] pdns-5.0.0/pdns/lua-auth4.cc:58:95: style: Parameter 'p' can be declared as reference to const [constParameterReference] pdns-5.0.0/pdns/lua-auth4.cc:59:76: style: Parameter 'p' can be declared as reference to const [constParameterReference] pdns-5.0.0/pdns/lua-auth4.cc:60:69: style: Parameter 'p' can be declared as reference to const [constParameterReference] pdns-5.0.0/pdns/lua-auth4.cc:61:84: style: Parameter 'p' can be declared as reference to const [constParameterReference] pdns-5.0.0/pdns/lua-auth4.cc:63:82: style: Parameter 'p' can be declared as reference to const [constParameterReference] pdns-5.0.0/pdns/lua-auth4.cc:64:79: style: Parameter 'p' can be declared as reference to const [constParameterReference] pdns-5.0.0/pdns/lua-auth4.cc:76:93: style: Parameter 'upq' can be declared as reference to const [constParameterReference] pdns-5.0.0/pdns/lua-auth4.cc:77:96: style: Parameter 'upq' can be declared as reference to const [constParameterReference] pdns-5.0.0/pdns/lua-auth4.cc:78:94: style: Parameter 'upq' can be declared as reference to const [constParameterReference] pdns-5.0.0/pdns/lua-auth4.cc:79:98: style: Parameter 'upq' can be declared as reference to const [constParameterReference] pdns-5.0.0/pdns/lua-auth4.cc:80:99: style: Parameter 'upq' can be declared as reference to const [constParameterReference] pdns-5.0.0/pdns/lua-auth4.cc:81:98: style: Parameter 'upq' can be declared as reference to const [constParameterReference] pdns-5.0.0/pdns/lua-auth4.cc:82:96: style: Parameter 'upq' can be declared as reference to const [constParameterReference] pdns-5.0.0/pdns/lua-auth4.cc:83:105: style: Parameter 'upq' can be declared as reference to const [constParameterReference] pdns-5.0.0/pdns/lua-base4.cc:24:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/lua-base4.cc:54:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/lua-base4.cc:150:123: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/lua-base4.cc:171:62: error:inconclusive: Returning object that points to local variable 'sin4' that will be invalid when returning. [returnDanglingLifetime] pdns-5.0.0/pdns/lua-base4.cc:171:63: note: Address of variable taken here. pdns-5.0.0/pdns/lua-base4.cc:171:63: note: Passed to constructor of 'ComboAddress'. pdns-5.0.0/pdns/lua-base4.cc:164:62: note: Variable created here. pdns-5.0.0/pdns/lua-base4.cc:171:62: note: Returning object that points to local variable 'sin4' that will be invalid when returning. pdns-5.0.0/pdns/lua-base4.cc:181:62: error:inconclusive: Returning object that points to local variable 'sin6' that will be invalid when returning. [returnDanglingLifetime] pdns-5.0.0/pdns/lua-base4.cc:181:63: note: Address of variable taken here. pdns-5.0.0/pdns/lua-base4.cc:181:63: note: Passed to constructor of 'ComboAddress'. pdns-5.0.0/pdns/lua-base4.cc:174:63: note: Variable created here. pdns-5.0.0/pdns/lua-base4.cc:181:62: note: Returning object that points to local variable 'sin6' that will be invalid when returning. pdns-5.0.0/pdns/lua-base4.cc:229:53: style: C-style reference casting [cstyleCast] pdns-5.0.0/pdns/lua-base4.cc:248:58: style: C-style reference casting [cstyleCast] pdns-5.0.0/pdns/lua-base4.cc:88:70: style: Parameter 'dh' can be declared as reference to const [constParameterReference] pdns-5.0.0/pdns/lua-base4.cc:89:71: style: Parameter 'dh' can be declared as reference to const [constParameterReference] pdns-5.0.0/pdns/lua-base4.cc:90:71: style: Parameter 'dh' can be declared as reference to const [constParameterReference] pdns-5.0.0/pdns/lua-base4.cc:91:71: style: Parameter 'dh' can be declared as reference to const [constParameterReference] pdns-5.0.0/pdns/lua-base4.cc:92:71: style: Parameter 'dh' can be declared as reference to const [constParameterReference] pdns-5.0.0/pdns/lua-base4.cc:93:71: style: Parameter 'dh' can be declared as reference to const [constParameterReference] pdns-5.0.0/pdns/lua-base4.cc:94:71: style: Parameter 'dh' can be declared as reference to const [constParameterReference] pdns-5.0.0/pdns/lua-base4.cc:95:73: style: Parameter 'dh' can be declared as reference to const [constParameterReference] pdns-5.0.0/pdns/lua-base4.cc:96:74: style: Parameter 'dh' can be declared as reference to const [constParameterReference] pdns-5.0.0/pdns/lua-base4.cc:97:75: style: Parameter 'dh' can be declared as reference to const [constParameterReference] pdns-5.0.0/pdns/lua-base4.cc:98:75: style: Parameter 'dh' can be declared as reference to const [constParameterReference] pdns-5.0.0/pdns/lua-base4.cc:99:75: style: Parameter 'dh' can be declared as reference to const [constParameterReference] pdns-5.0.0/pdns/lua-base4.cc:100:75: style: Parameter 'dh' can be declared as reference to const [constParameterReference] pdns-5.0.0/pdns/lua-base4.cc:136:90: style: Parameter 'rec' can be declared as reference to const [constParameterReference] pdns-5.0.0/pdns/lua-base4.cc:137:97: style: Parameter 'rec' can be declared as reference to const [constParameterReference] pdns-5.0.0/pdns/lua-base4.cc:138:91: style: Parameter 'rec' can be declared as reference to const [constParameterReference] pdns-5.0.0/pdns/lua-base4.cc:139:96: style: Parameter 'rec' can be declared as reference to const [constParameterReference] pdns-5.0.0/pdns/lua-base4.cc:140:89: style: Parameter 'rec' can be declared as reference to const [constParameterReference] pdns-5.0.0/pdns/lua-base4.cc:141:93: style: Parameter 'rec' can be declared as reference to const [constParameterReference] pdns-5.0.0/pdns/lua-base4.cc:142:89: style: Parameter 'rec' can be declared as reference to const [constParameterReference] pdns-5.0.0/pdns/lua-base4.cc:143:91: style: Parameter 'rec' can be declared as reference to const [constParameterReference] pdns-5.0.0/pdns/lua-base4.cc:144:92: style: Parameter 'rec' can be declared as reference to const [constParameterReference] pdns-5.0.0/pdns/lua-base4.cc:145:94: style: Parameter 'rec' can be declared as reference to const [constParameterReference] pdns-5.0.0/pdns/lua-base4.cc:146:86: style: Parameter 'rec' can be declared as reference to const [constParameterReference] pdns-5.0.0/pdns/lua-base4.cc:147:90: style: Parameter 'rec' can be declared as reference to const [constParameterReference] pdns-5.0.0/pdns/lua-base4.cc:303:10: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/lua-base4.cc:324:10: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/lua-record.cc:125:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNSPEC [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/lua-record.cc:173:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_STREAM [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/lua-record.cc:204:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_luaHealthChecksInterval [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/lua-record.cc:410:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/lua-record.cc:544:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/lua-record.cc:665:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/lua-record.cc:804:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_luaConsistentHashesCleanupInterval [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/lua-record.cc:897:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable none [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/lua-record.cc:1016:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable all_error_bits [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/lua-record.cc:1125:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/lua-record.cc:1163:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable all_error_bits [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/lua-record.cc:1272:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNSPEC [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/lua-record.cc:1540:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable second [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/lua-record.cc:1577:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/lua-record.cc:1604:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/lua-record.cc:1829:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/lua-record.cc:1023:14: warning: Return value of function atoi() is not used. [ignoredReturnValue] pdns-5.0.0/pdns/minicurl.hh:46:3: style: Class 'MiniCurl' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/lua-record.cc:71:5: style: Struct 'CheckState' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/lua-record.cc:1789:27: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/lua-record.cc:560:11: style: Redundant initialization for 'lathem'. The initialized value is overwritten before it is read. [redundantInitialization] pdns-5.0.0/pdns/lua-record.cc:553:14: note: lathem is initialized pdns-5.0.0/pdns/lua-record.cc:560:11: note: lathem is overwritten pdns-5.0.0/pdns/lua-record.cc:568:11: style: Redundant initialization for 'lonhem'. The initialized value is overwritten before it is read. [redundantInitialization] pdns-5.0.0/pdns/lua-record.cc:553:26: note: lonhem is initialized pdns-5.0.0/pdns/lua-record.cc:568:11: note: lonhem is overwritten pdns-5.0.0/pdns/lua-record.cc:406:15: style: The scope of the variable 'initialized' can be reduced. [variableScope] pdns-5.0.0/pdns/lua-record.cc:864:0: warning: Redundant code: Found unused function. [constStatement] pdns-5.0.0/pdns/lua-record.cc:1017:45: warning:inconclusive: Found suspicious operator '%', result is not used. [constStatement] pdns-5.0.0/pdns/lua-record.cc:1019:9: warning:inconclusive: Found suspicious operator '%', result is not used. [constStatement] pdns-5.0.0/pdns/lua-record.cc:1023:12: warning:inconclusive: Found suspicious operator '%', result is not used. [constStatement] pdns-5.0.0/pdns/lua-record.cc:1026:9: warning:inconclusive: Found suspicious operator '%', result is not used. [constStatement] pdns-5.0.0/pdns/lua-record.cc:1204:11: warning:inconclusive: Found suspicious operator '%', result is not used. [constStatement] pdns-5.0.0/pdns/lua-record.cc:1206:9: warning:inconclusive: Found suspicious operator '%', result is not used. [constStatement] pdns-5.0.0/pdns/lua-record.cc:1209:11: warning:inconclusive: Found suspicious operator '%', result is not used. [constStatement] pdns-5.0.0/pdns/lua-record.cc:299:11: style: Variable 'state' can be declared as reference to const [constVariableReference] pdns-5.0.0/pdns/lua-record.cc:1181:13: style: Variable 'addrs' can be declared as reference to const [constVariableReference] pdns-5.0.0/pdns/lua-record.cc:1223:78: style: Parameter 'nmg' can be declared as reference to const [constParameterReference] pdns-5.0.0/pdns/lua-record.cc:397:0: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/lua-record.cc:678:12: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/lua-record.cc:690:12: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/lua-record.cc:725:12: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/lua-record.cc:737:12: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/lua-record.cc:1010:51: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/lua-record.cc:1184:49: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/lua-record.cc:1393:11: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/lua-record.cc:1410:11: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/lua-record.cc:1427:11: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/lua-record.cc:1518:3: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/lua-record.cc:1561:14: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/lua-record.cc:1589:11: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/lua-record.cc:1817:18: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/lua-record.cc:522:10: style: Consider using std::copy algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/lua-record.cc:600:18: style: Unused variable: ret [unusedVariable] pdns-5.0.0/pdns/lua-record.cc:852:23: style: Variable '(*wlocked)[key]' is assigned a value that is never used. [unreadVariable] pdns-5.0.0/pdns/minicurl.cc:39:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ATOMIC_FLAG_INIT [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/minicurl.cc:60:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CURLOPT_USERAGENT [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/minicurl.cc:109:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/minicurl.cc:138:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/minicurl.cc:206:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CURLINFO_RESPONSE_CODE [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/minicurl.cc:220:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CURLOPT_POSTFIELDSIZE [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/minicurl.cc:279:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CURLOPT_HTTPHEADER [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/minicurl.cc:55:3: warning: Class 'MiniCurl' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] pdns-5.0.0/pdns/minicurl.cc:216:101: style: Parameter 'headers' can be declared as reference to const [constParameterReference] pdns-5.0.0/pdns/minicurl.cc:266:16: style: Variable 'header' can be declared as reference to const [constVariableReference] pdns-5.0.0/pdns/minicurl.cc:97:15: style: Variable 'us' can be declared as pointer to const [constVariablePointer] pdns-5.0.0/pdns/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-5.0.0/pdns/misc.cc:84:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/misc.cc:109:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/misc.cc:126:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timeval [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/misc.cc:189:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/misc.cc:324:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLIN [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/misc.cc:353:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pollfd [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/misc.cc:385:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pollfd [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/misc.cc:457:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/misc.cc:495:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/misc.cc:638:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/misc.cc:651:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_LOCAL0 [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/misc.cc:674:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_LOCAL0 [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/misc.cc:745:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/misc.cc:803:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/misc.cc:834:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_un [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/misc.cc:870:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_ICASE [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/misc.cc:882:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/misc.cc:961:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RLIMIT_NOFILE [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/misc.cc:970:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RLIMIT_NOFILE [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/misc.cc:1000:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/misc.cc:1008:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/misc.cc:1032:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/misc.cc:1054:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/misc.cc:1078:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/misc.cc:1090:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFD [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/misc.cc:1205:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOENT [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/misc.cc:1456:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RUSAGE_SELF [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/misc.cc:1486:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RUSAGE_SELF [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/misc.cc:1493:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RUSAGE_SELF [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/misc.cc:1616:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOSYS [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/misc.cc:1635:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/misc.cc:1665:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/misc.cc:1684:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/misc.cc:1704:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hex [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/misc.cc:1792:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/misc.cc:1810:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/misc.cc:1525:25: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] pdns-5.0.0/pdns/misc.cc:1554:24: portability: Non reentrant function 'getgrnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrnam_r'. [prohibitedgetgrnamCalled] pdns-5.0.0/pdns/misc.cc:133:28: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/misc.cc:772:44: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/misc.cc:901:11: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/misc.cc:1766:38: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/misc.cc:1767:38: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/misc.cc:993:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pdns-5.0.0/pdns/misc.cc:1017:50: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pdns-5.0.0/pdns/misc.cc:76:20: style:inconclusive: Function 'writen2' argument 1 names different: declaration 'fd' definition 'fileDesc'. [funcArgNamesDifferent] pdns-5.0.0/pdns/misc.hh:190:20: note: Function 'writen2' argument 1 names different: declaration 'fd' definition 'fileDesc'. pdns-5.0.0/pdns/misc.cc:76:20: note: Function 'writen2' argument 1 names different: declaration 'fd' definition 'fileDesc'. pdns-5.0.0/pdns/misc.cc:344:87: style:inconclusive: Function 'waitForMultiData' argument 4 names different: declaration 'fd' definition 'fdOut'. [funcArgNamesDifferent] pdns-5.0.0/pdns/misc.hh:111:87: note: Function 'waitForMultiData' argument 4 names different: declaration 'fd' definition 'fdOut'. pdns-5.0.0/pdns/misc.cc:344:87: note: Function 'waitForMultiData' argument 4 names different: declaration 'fd' definition 'fdOut'. pdns-5.0.0/pdns/misc.cc:382:68: style:inconclusive: Function 'waitFor2Data' argument 5 names different: declaration 'fd' definition 'fdPtr'. [funcArgNamesDifferent] pdns-5.0.0/pdns/misc.hh:110:68: note: Function 'waitFor2Data' argument 5 names different: declaration 'fd' definition 'fdPtr'. pdns-5.0.0/pdns/misc.cc:382:68: note: Function 'waitFor2Data' argument 5 names different: declaration 'fd' definition 'fdPtr'. pdns-5.0.0/pdns/misc.cc:878:59: style:inconclusive: Function 'addCMsgSrcAddr' argument 2 names different: declaration 'cbuf' definition 'cmsgbuf'. [funcArgNamesDifferent] pdns-5.0.0/pdns/misc.hh:602:59: note: Function 'addCMsgSrcAddr' argument 2 names different: declaration 'cbuf' definition 'cmsgbuf'. pdns-5.0.0/pdns/misc.cc:878:59: note: Function 'addCMsgSrcAddr' argument 2 names different: declaration 'cbuf' definition 'cmsgbuf'. pdns-5.0.0/pdns/misc.cc:1525:19: style: Variable 'pwd' can be declared as pointer to const [constVariablePointer] pdns-5.0.0/pdns/misc.cc:1554:18: style: Variable 'grp' can be declared as pointer to const [constVariablePointer] pdns-5.0.0/pdns/nameserver.cc:106:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_DGRAM [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/nameserver.cc:179:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_DGRAM [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/nameserver.cc:212:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/nameserver.cc:234:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/nameserver.cc:253:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/nameserver.cc:242:21: style:inconclusive: Technically the member function 'UDPNameserver::receive' can be const. [functionConst] pdns-5.0.0/pdns/nameserver.hh:82:8: note: Technically the member function 'UDPNameserver::receive' can be const. pdns-5.0.0/pdns/nameserver.cc:242:21: note: Technically the member function 'UDPNameserver::receive' can be const. pdns-5.0.0/pdns/nameserver.cc:217:21: performance:inconclusive: Technically the member function 'UDPNameserver::send' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-5.0.0/pdns/nameserver.hh:83:8: note: Technically the member function 'UDPNameserver::send' can be static (but you may consider moving to unnamed namespace). pdns-5.0.0/pdns/nameserver.cc:217:21: note: Technically the member function 'UDPNameserver::send' can be static (but you may consider moving to unnamed namespace). pdns-5.0.0/pdns/nameserver.cc:226:37: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/nameserver.cc:152:18: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pdns-5.0.0/pdns/nameserver.cc:183:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pdns-5.0.0/pdns/nameserver.cc:192:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pdns-5.0.0/pdns/nameserver.cc:101:7: style: The scope of the variable 's' can be reduced. [variableScope] pdns-5.0.0/pdns/nameserver.cc:245:18: style: Local variable 'S' shadows outer variable [shadowVariable] pdns-5.0.0/pdns/distributor.hh:44:16: note: Shadowed declaration pdns-5.0.0/pdns/nameserver.cc:245:18: note: Shadow variable pdns-5.0.0/pdns/notify.cc:55:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/notify.cc:72:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/notify.cc:111:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pdns-5.0.0/pdns/nproxy.cc:71:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/nproxy.cc:81:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/nproxy.cc:153:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/nproxy.cc:219:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/nproxy.cc:227:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_NDELAY [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/nproxy.cc:86:51: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pdns-5.0.0/pdns/nproxy.cc:117:49: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pdns-5.0.0/pdns/nproxy.cc:157:51: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pdns-5.0.0/pdns/nproxy.cc:179:47: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pdns-5.0.0/pdns/nproxy.cc:286:20: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pdns-5.0.0/pdns/nproxy.cc:300:26: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pdns-5.0.0/pdns/nproxy.cc:305:28: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pdns-5.0.0/pdns/nproxy.cc:218:44: style: Parameter 'desc' can be declared as reference to const [constParameterReference] pdns-5.0.0/pdns/nsec3dig.cc:62:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/nsec3dig.cc:84:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/nsec3dig.cc:102:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/nsec3dig.cc:136:17: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pdns-5.0.0/pdns/nsec3dig.cc:141:16: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pdns-5.0.0/pdns/nsec3dig.cc:147:7: style: The scope of the variable 'numread' can be reduced. [variableScope] pdns-5.0.0/pdns/nsec3dig.cc:286:22: style: Variable 'e' can be declared as reference to const [constVariableReference] pdns-5.0.0/pdns/nsecrecords.cc:195:73: warning: The class 'NSECRecordContent' defines member function with name 'make' also defined in its parent class 'DNSRecordContent'. [duplInheritedMember] pdns-5.0.0/pdns/dnsparser.hh:197:44: note: Parent function 'DNSRecordContent::make' pdns-5.0.0/pdns/nsecrecords.cc:195:73: note: Derived function 'NSECRecordContent::make' pdns-5.0.0/pdns/nsecrecords.cc:257:75: warning: The class 'NSEC3RecordContent' defines member function with name 'make' also defined in its parent class 'DNSRecordContent'. [duplInheritedMember] pdns-5.0.0/pdns/dnsparser.hh:197:44: note: Parent function 'DNSRecordContent::make' pdns-5.0.0/pdns/nsecrecords.cc:257:75: note: Derived function 'NSEC3RecordContent::make' pdns-5.0.0/pdns/nsecrecords.cc:377:75: warning: The class 'CSYNCRecordContent' defines member function with name 'make' also defined in its parent class 'DNSRecordContent'. [duplInheritedMember] pdns-5.0.0/pdns/dnsparser.hh:197:44: note: Parent function 'DNSRecordContent::make' pdns-5.0.0/pdns/nsecrecords.cc:377:75: note: Derived function 'CSYNCRecordContent::make' pdns-5.0.0/pdns/nsecrecords.cc:319:85: warning: The class 'NSEC3PARAMRecordContent' defines member function with name 'make' also defined in its parent class 'DNSRecordContent'. [duplInheritedMember] pdns-5.0.0/pdns/dnsparser.hh:197:44: note: Parent function 'DNSRecordContent::make' pdns-5.0.0/pdns/nsecrecords.cc:319:85: note: Derived function 'NSEC3PARAMRecordContent::make' pdns-5.0.0/pdns/nsecrecords.cc:30:3: style: Class 'NSECBitmapGenerator' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/opensslsigners.cc:197:89: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BN_clear_free [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/opensslsigners.cc:331:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BN_clear_free [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/opensslsigners.cc:398:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSA_free [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/opensslsigners.cc:631:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHA_DIGEST_LENGTH [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/opensslsigners.cc:671:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHA_DIGEST_LENGTH [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/opensslsigners.cc:700:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NID_sha1 [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/opensslsigners.cc:866:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSA_free [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/opensslsigners.cc:953:174: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BN_clear_free [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/opensslsigners.cc:210:24: style: Virtual function 'getName' is called from constructor 'OpenSSLRSADNSCryptoKeyEngine(int algo)' at line 302. Dynamic binding is not used. [virtualCallInConstructor] pdns-5.0.0/pdns/opensslsigners.cc:302:25: note: Calling getName pdns-5.0.0/pdns/opensslsigners.cc:210:24: note: getName is a virtual function pdns-5.0.0/pdns/opensslsigners.cc:186:13: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/opensslsigners.cc:781:34: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/opensslsigners.cc:781:89: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/opensslsigners.cc:183:20: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pdns-5.0.0/pdns/opensslsigners.cc:817:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pdns-5.0.0/pdns/packethandler.cc:1575:5: debug: Failed to parse 'using opcodeHandler = std :: unique_ptr < DNSPacket > ( PacketHandler :: * ) ( DNSPacket & , bool ) ;'. The checking continues anyway. [simplifyUsing] pdns-5.0.0/pdns/packethandler.cc:98:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/packethandler.cc:571:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/packethandler.cc:921:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/packethandler.cc:1016:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/packethandler.cc:1094:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/packethandler.cc:1160:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/packethandler.cc:1315:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_name [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/packethandler.cc:1352:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/packethandler.cc:1485:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/packethandler.cc:1665:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/packethandler.cc:1751:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/packethandler.cc:2081:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/packethandler.cc:2106:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/packethandler.cc:290:20: performance:inconclusive: Technically the member function 'PacketHandler::doChaosRequest' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-5.0.0/pdns/packethandler.hh:75:7: note: Technically the member function 'PacketHandler::doChaosRequest' can be static (but you may consider moving to unnamed namespace). pdns-5.0.0/pdns/packethandler.cc:290:20: note: Technically the member function 'PacketHandler::doChaosRequest' can be static (but you may consider moving to unnamed namespace). pdns-5.0.0/pdns/packethandler.cc:1439:5: style: Throwing a copy of the caught exception instead of rethrowing the original exception. [exceptRethrowCopy] pdns-5.0.0/pdns/packethandler.cc:904:154: style:inconclusive: Function 'addNSEC3' argument 5 names different: declaration 'nsec3param' definition 'ns3rc'. [funcArgNamesDifferent] pdns-5.0.0/pdns/packethandler.hh:90:141: note: Function 'addNSEC3' argument 5 names different: declaration 'nsec3param' definition 'ns3rc'. pdns-5.0.0/pdns/packethandler.cc:904:154: note: Function 'addNSEC3' argument 5 names different: declaration 'nsec3param' definition 'ns3rc'. pdns-5.0.0/pdns/packethandler.cc:290:95: style: Parameter 'target' can be declared as reference to const [constParameterReference] pdns-5.0.0/pdns/packethandler.cc:542:13: style: Variable 'rr' can be declared as reference to const [constVariableReference] pdns-5.0.0/pdns/packethandler.cc:758:42: style: Parameter 'p' can be declared as reference to const [constParameterReference] pdns-5.0.0/pdns/packethandler.cc:1343:89: style: Parameter 'target' can be declared as reference to const [constParameterReference] pdns-5.0.0/pdns/packethandler.cc:1882:17: style: Variable 'loopRR' can be declared as reference to const [constVariableReference] pdns-5.0.0/pdns/packethandler.cc:1892:17: style: Variable 'loopRR' can be declared as reference to const [constVariableReference] pdns-5.0.0/pdns/packethandler.cc:2041:67: style: Parameter 'pkt' can be declared as reference to const. However it seems that 'opcodeNotify' is a callback function, if 'pkt' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pdns-5.0.0/pdns/packethandler.cc:1581:23: note: You might need to cast the function pointer here pdns-5.0.0/pdns/packethandler.cc:2041:67: note: Parameter 'pkt' can be declared as reference to const pdns-5.0.0/pdns/packethandler.cc:2079:75: style: Parameter 'pkt' can be declared as reference to const. However it seems that 'opcodeNotImplemented' is a callback function, if 'pkt' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pdns-5.0.0/pdns/packethandler.cc:1593:23: note: You might need to cast the function pointer here pdns-5.0.0/pdns/packethandler.cc:2079:75: note: Parameter 'pkt' can be declared as reference to const pdns-5.0.0/pdns/packethandler.cc:185:5: warning:inconclusive: Access of moved variable 'rr'. [accessMoved] pdns-5.0.0/pdns/packethandler.cc:190:18: note: Calling std::move(rr) pdns-5.0.0/pdns/packethandler.cc:182:9: note: Assuming condition is false pdns-5.0.0/pdns/packethandler.cc:185:5: note: Access of moved variable 'rr'. pdns-5.0.0/pdns/packethandler.cc:690:37: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/packethandler.cc:776:39: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/packethandler.cc:1886:25: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/packethandler.cc:1895:43: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/packethandler.cc:1952:44: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/packethandler.cc:2024:34: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/pdnsutil.cc:172:1: debug: Failed to parse 'using commandHandler = int ( * ) ( std :: vector < std :: string > & , const std :: string_view ) ;'. The checking continues anyway. [simplifyUsing] pdns-5.0.0/pdns/pdnsutil.cc:617:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pdnsutil.cc:719:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pdnsutil.cc:727:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pdnsutil.cc:740:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pdnsutil.cc:759:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pdnsutil.cc:803:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pdnsutil.cc:823:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pdnsutil.cc:1451:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pdnsutil.cc:1479:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pdnsutil.cc:1542:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pdnsutil.cc:1572:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pdnsutil.cc:1644:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pdnsutil.cc:1665:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pdnsutil.cc:1713:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICANON [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pdnsutil.cc:1732:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pdnsutil.cc:1780:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_BLOCK [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pdnsutil.cc:1836:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pdnsutil.cc:2107:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pdnsutil.cc:2134:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pdnsutil.cc:2148:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pdnsutil.cc:2209:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pdnsutil.cc:2290:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pdnsutil.cc:2411:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pdnsutil.cc:2422:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pdnsutil.cc:2431:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pdnsutil.cc:2449:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pdnsutil.cc:2499:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pdnsutil.cc:2522:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pdnsutil.cc:2603:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pdnsutil.cc:2624:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pdnsutil.cc:2656:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pdnsutil.cc:2674:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pdnsutil.cc:2691:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pdnsutil.cc:2729:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pdnsutil.cc:2745:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pdnsutil.cc:2761:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pdnsutil.cc:2777:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pdnsutil.cc:3031:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pdnsutil.cc:3098:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pdnsutil.cc:3227:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pdnsutil.cc:3252:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pdnsutil.cc:3292:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pdnsutil.cc:3302:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pdnsutil.cc:3323:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pdnsutil.cc:3358:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pdnsutil.cc:3373:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pdnsutil.cc:3386:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pdnsutil.cc:3543:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pdnsutil.cc:3559:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pdnsutil.cc:3585:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pdnsutil.cc:3612:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pdnsutil.cc:3639:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pdnsutil.cc:3659:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pdnsutil.cc:3688:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pdnsutil.cc:3790:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pdnsutil.cc:3821:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pdnsutil.cc:3855:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pdnsutil.cc:4031:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pdnsutil.cc:4075:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pdnsutil.cc:4140:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pdnsutil.cc:4173:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pdnsutil.cc:4186:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pdnsutil.cc:4205:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pdnsutil.cc:4218:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pdnsutil.cc:4276:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pdnsutil.cc:4289:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pdnsutil.cc:4302:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pdnsutil.cc:4319:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pdnsutil.cc:4337:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pdnsutil.cc:4355:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pdnsutil.cc:4369:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pdnsutil.cc:4392:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pdnsutil.cc:4477:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pdnsutil.cc:4508:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pdnsutil.cc:4536:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pdnsutil.cc:4586:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pdnsutil.cc:4611:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pdnsutil.cc:4629:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pdnsutil.cc:4644:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pdnsutil.cc:4670:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pdnsutil.cc:4719:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pdnsutil.cc:4757:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pdnsutil.cc:4795:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pdnsutil.cc:4962:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pdnsutil.cc:4975:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pdnsutil.cc:5129:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pdnsutil.cc:5161:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pdnsutil.cc:5232:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pdnsutil.cc:5249:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pdnsutil.cc:5265:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pdnsutil.cc:5289:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pdnsutil.cc:5308:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pdnsutil.cc:5327:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pdnsutil.cc:5336:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pdnsutil.cc:5381:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pdnsutil.cc:5626:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SYSCONFDIR [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/zonemd.hh:53:3: style: Class 'ZoneMD' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/pdnsutil.cc:708:3: style: Class 'UtilBackend' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/pdnsutil.cc:1746:3: style: Class 'PDNSColors' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/pdnsutil.cc:1879:5: style: Struct 'deleteme' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/pdnsutil.cc:2967:11: style: The if condition is the same as the previous if condition [duplicateCondition] pdns-5.0.0/pdns/pdnsutil.cc:2961:11: note: First condition pdns-5.0.0/pdns/pdnsutil.cc:2967:11: note: Second condition pdns-5.0.0/pdns/pdnsutil.cc:2059:24: style: Condition 'changed.empty()' is always false [knownConditionTrueFalse] pdns-5.0.0/pdns/pdnsutil.cc:2044:19: note: Assuming that condition 'changed.empty()' is not redundant pdns-5.0.0/pdns/pdnsutil.cc:2052:7: note: Assuming condition is false pdns-5.0.0/pdns/pdnsutil.cc:2059:24: note: Condition 'changed.empty()' is always false pdns-5.0.0/pdns/pdnsutil.cc:2585:27: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pdns-5.0.0/pdns/pdnsutil.cc:1369:8: style: The scope of the variable 'ok' can be reduced. [variableScope] pdns-5.0.0/pdns/pdnsutil.cc:1369:12: style: The scope of the variable 'ds_ns' can be reduced. [variableScope] pdns-5.0.0/pdns/pdnsutil.cc:1369:19: style: The scope of the variable 'done' can be reduced. [variableScope] pdns-5.0.0/pdns/pdnsutil.cc:1575:16: style: The scope of the variable 'spacelen' can be reduced. [variableScope] pdns-5.0.0/pdns/pdnsutil.cc:4753:18: style: The scope of the variable 'keys' can be reduced. [variableScope] pdns-5.0.0/pdns/pdnsutil.cc:5084:13: style: The scope of the variable 'keyID' can be reduced. [variableScope] pdns-5.0.0/pdns/pdnsutil.cc:4522:20: style: Local variable 'arg' shadows outer function [shadowFunction] pdns-5.0.0/pdns/arguments.hh:152:17: note: Shadowed declaration pdns-5.0.0/pdns/pdnsutil.cc:4522:20: note: Shadow variable pdns-5.0.0/pdns/pdnsutil.cc:882:31: style: Variable 'kd' can be declared as reference to const [constVariableReference] pdns-5.0.0/pdns/pdnsutil.cc:3250:67: style: Parameter 'cmds' can be declared as reference to const. However it seems that 'lmdbGetBackendVersion' is a callback function, if 'cmds' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pdns-5.0.0/pdns/pdnsutil.cc:543:41: note: You might need to cast the function pointer here pdns-5.0.0/pdns/pdnsutil.cc:3250:67: note: Parameter 'cmds' can be declared as reference to const pdns-5.0.0/pdns/pdnsutil.cc:3256:42: style: Parameter 'cmds' can be declared as reference to const. However it seems that 'testAlgorithm' is a callback function, if 'cmds' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pdns-5.0.0/pdns/pdnsutil.cc:550:31: note: You might need to cast the function pointer here pdns-5.0.0/pdns/pdnsutil.cc:3256:42: note: Parameter 'cmds' can be declared as reference to const pdns-5.0.0/pdns/pdnsutil.cc:3287:38: style: Parameter 'cmds' can be declared as reference to const. However it seems that 'ipDecrypt' is a callback function, if 'cmds' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pdns-5.0.0/pdns/pdnsutil.cc:533:26: note: You might need to cast the function pointer here pdns-5.0.0/pdns/pdnsutil.cc:3287:38: note: Parameter 'cmds' can be declared as reference to const pdns-5.0.0/pdns/pdnsutil.cc:3297:38: style: Parameter 'cmds' can be declared as reference to const. However it seems that 'ipEncrypt' is a callback function, if 'cmds' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pdns-5.0.0/pdns/pdnsutil.cc:536:26: note: You might need to cast the function pointer here pdns-5.0.0/pdns/pdnsutil.cc:3297:38: note: Parameter 'cmds' can be declared as reference to const pdns-5.0.0/pdns/pdnsutil.cc:3308:60: style: Parameter 'cmds' can be declared as reference to const. However it seems that 'testAlgorithms' is a callback function, if 'cmds' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pdns-5.0.0/pdns/pdnsutil.cc:553:32: note: You might need to cast the function pointer here pdns-5.0.0/pdns/pdnsutil.cc:3308:60: note: Parameter 'cmds' can be declared as reference to const pdns-5.0.0/pdns/pdnsutil.cc:3316:43: style: Parameter 'cmds' can be declared as reference to const. However it seems that 'listAlgorithms' is a callback function, if 'cmds' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pdns-5.0.0/pdns/pdnsutil.cc:539:32: note: You might need to cast the function pointer here pdns-5.0.0/pdns/pdnsutil.cc:3316:43: note: Parameter 'cmds' can be declared as reference to const pdns-5.0.0/pdns/pdnsutil.cc:3339:58: style: Parameter 'cmds' can be declared as reference to const. However it seems that 'createBindDb' is a callback function, if 'cmds' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pdns-5.0.0/pdns/pdnsutil.cc:522:30: note: You might need to cast the function pointer here pdns-5.0.0/pdns/pdnsutil.cc:3339:58: note: Parameter 'cmds' can be declared as reference to const pdns-5.0.0/pdns/pdnsutil.cc:3363:46: style: Parameter 'cmds' can be declared as reference to const. However it seems that 'rawLuaFromContent' is a callback function, if 'cmds' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pdns-5.0.0/pdns/pdnsutil.cc:546:36: note: You might need to cast the function pointer here pdns-5.0.0/pdns/pdnsutil.cc:3363:46: note: Parameter 'cmds' can be declared as reference to const pdns-5.0.0/pdns/pdnsutil.cc:3378:41: style: Parameter 'cmds' can be declared as reference to const [constParameterReference] pdns-5.0.0/pdns/pdnsutil.cc:3426:40: style: Parameter 'cmds' can be declared as reference to const. However it seems that 'rectifyZone' is a callback function, if 'cmds' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pdns-5.0.0/pdns/pdnsutil.cc:413:23: note: You might need to cast the function pointer here pdns-5.0.0/pdns/pdnsutil.cc:3426:40: note: Parameter 'cmds' can be declared as reference to const pdns-5.0.0/pdns/pdnsutil.cc:3441:44: style: Parameter 'cmds' can be declared as reference to const. However it seems that 'rectifyAllZones' is a callback function, if 'cmds' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pdns-5.0.0/pdns/pdnsutil.cc:416:27: note: You might need to cast the function pointer here pdns-5.0.0/pdns/pdnsutil.cc:3441:44: note: Parameter 'cmds' can be declared as reference to const pdns-5.0.0/pdns/pdnsutil.cc:3461:36: style: Parameter 'cmds' can be declared as reference to const. However it seems that 'benchDb' is a callback function, if 'cmds' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pdns-5.0.0/pdns/pdnsutil.cc:519:24: note: You might need to cast the function pointer here pdns-5.0.0/pdns/pdnsutil.cc:3461:36: note: Parameter 'cmds' can be declared as reference to const pdns-5.0.0/pdns/pdnsutil.cc:3467:42: style: Parameter 'cmds' can be declared as reference to const. However it seems that 'checkAllZones' is a callback function, if 'cmds' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pdns-5.0.0/pdns/pdnsutil.cc:335:25: note: You might need to cast the function pointer here pdns-5.0.0/pdns/pdnsutil.cc:3467:42: note: Parameter 'cmds' can be declared as reference to const pdns-5.0.0/pdns/pdnsutil.cc:3474:41: style: Parameter 'cmds' can be declared as reference to const. However it seems that 'listAllZones' is a callback function, if 'cmds' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pdns-5.0.0/pdns/pdnsutil.cc:354:24: note: You might need to cast the function pointer here pdns-5.0.0/pdns/pdnsutil.cc:3474:41: note: Parameter 'cmds' can be declared as reference to const pdns-5.0.0/pdns/pdnsutil.cc:3485:44: style: Parameter 'cmds' can be declared as reference to const. However it seems that 'listMemberZones' is a callback function, if 'cmds' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pdns-5.0.0/pdns/pdnsutil.cc:212:28: note: You might need to cast the function pointer here pdns-5.0.0/pdns/pdnsutil.cc:3485:44: note: Parameter 'cmds' can be declared as reference to const pdns-5.0.0/pdns/pdnsutil.cc:3502:41: style: Parameter 'cmds' can be declared as reference to const. However it seems that 'verifyCrypto' is a callback function, if 'cmds' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pdns-5.0.0/pdns/pdnsutil.cc:562:29: note: You might need to cast the function pointer here pdns-5.0.0/pdns/pdnsutil.cc:3502:41: note: Parameter 'cmds' can be declared as reference to const pdns-5.0.0/pdns/pdnsutil.cc:3656:54: style: Parameter 'zone' can be declared as reference to const [constParameterReference] pdns-5.0.0/pdns/pdnsutil.cc:3867:25: style: Variable 'e' can be declared as reference to const [constVariableReference] pdns-5.0.0/pdns/pdnsutil.cc:3873:38: style: Parameter 'cmds' can be declared as reference to const. However it seems that 'addRecord' is a callback function, if 'cmds' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pdns-5.0.0/pdns/pdnsutil.cc:268:19: note: You might need to cast the function pointer here pdns-5.0.0/pdns/pdnsutil.cc:3873:38: note: Parameter 'cmds' can be declared as reference to const pdns-5.0.0/pdns/pdnsutil.cc:3881:43: style: Parameter 'cmds' can be declared as reference to const. However it seems that 'addAutoprimary' is a callback function, if 'cmds' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pdns-5.0.0/pdns/pdnsutil.cc:197:19: note: You might need to cast the function pointer here pdns-5.0.0/pdns/pdnsutil.cc:3881:43: note: Parameter 'cmds' can be declared as reference to const pdns-5.0.0/pdns/pdnsutil.cc:3889:46: style: Parameter 'cmds' can be declared as reference to const. However it seems that 'removeAutoprimary' is a callback function, if 'cmds' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pdns-5.0.0/pdns/pdnsutil.cc:203:22: note: You might need to cast the function pointer here pdns-5.0.0/pdns/pdnsutil.cc:3889:46: note: Parameter 'cmds' can be declared as reference to const pdns-5.0.0/pdns/pdnsutil.cc:3897:63: style: Parameter 'cmds' can be declared as reference to const. However it seems that 'listAutoprimaries' is a callback function, if 'cmds' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pdns-5.0.0/pdns/pdnsutil.cc:200:20: note: You might need to cast the function pointer here pdns-5.0.0/pdns/pdnsutil.cc:3897:63: note: Parameter 'cmds' can be declared as reference to const pdns-5.0.0/pdns/pdnsutil.cc:3902:41: style: Parameter 'cmds' can be declared as reference to const. However it seems that 'replaceRRSet' is a callback function, if 'cmds' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pdns-5.0.0/pdns/pdnsutil.cc:277:23: note: You might need to cast the function pointer here pdns-5.0.0/pdns/pdnsutil.cc:3902:41: note: Parameter 'cmds' can be declared as reference to const pdns-5.0.0/pdns/pdnsutil.cc:3910:40: style: Parameter 'cmds' can be declared as reference to const. However it seems that 'deleteRRSet' is a callback function, if 'cmds' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pdns-5.0.0/pdns/pdnsutil.cc:271:22: note: You might need to cast the function pointer here pdns-5.0.0/pdns/pdnsutil.cc:3910:40: note: Parameter 'cmds' can be declared as reference to const pdns-5.0.0/pdns/pdnsutil.cc:3955:37: style: Parameter 'cmds' can be declared as reference to const. However it seems that 'listKeys' is a callback function, if 'cmds' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pdns-5.0.0/pdns/pdnsutil.cc:409:25: note: You might need to cast the function pointer here pdns-5.0.0/pdns/pdnsutil.cc:3955:37: note: Parameter 'cmds' can be declared as reference to const pdns-5.0.0/pdns/pdnsutil.cc:3986:39: style: Parameter 'cmds' can be declared as reference to const. However it seems that 'secureZone' is a callback function, if 'cmds' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pdns-5.0.0/pdns/pdnsutil.cc:419:22: note: You might need to cast the function pointer here pdns-5.0.0/pdns/pdnsutil.cc:3986:39: note: Parameter 'cmds' can be declared as reference to const pdns-5.0.0/pdns/pdnsutil.cc:4015:43: style: Parameter 'cmds' can be declared as reference to const. However it seems that 'secureAllZones' is a callback function, if 'cmds' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pdns-5.0.0/pdns/pdnsutil.cc:422:26: note: You might need to cast the function pointer here pdns-5.0.0/pdns/pdnsutil.cc:4015:43: note: Parameter 'cmds' can be declared as reference to const pdns-5.0.0/pdns/pdnsutil.cc:4345:42: style: Parameter 'cmds' can be declared as reference to const. However it seems that 'exportZoneKey' is a callback function, if 'cmds' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pdns-5.0.0/pdns/pdnsutil.cc:478:26: note: You might need to cast the function pointer here pdns-5.0.0/pdns/pdnsutil.cc:4345:42: note: Parameter 'cmds' can be declared as reference to const pdns-5.0.0/pdns/pdnsutil.cc:4359:45: style: Parameter 'cmds' can be declared as reference to const. However it seems that 'exportZoneKeyPEM' is a callback function, if 'cmds' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pdns-5.0.0/pdns/pdnsutil.cc:481:30: note: You might need to cast the function pointer here pdns-5.0.0/pdns/pdnsutil.cc:4359:45: note: Parameter 'cmds' can be declared as reference to const pdns-5.0.0/pdns/pdnsutil.cc:4512:44: style: Parameter 'cmds' can be declared as reference to const. However it seems that 'generateZoneKey' is a callback function, if 'cmds' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pdns-5.0.0/pdns/pdnsutil.cc:484:28: note: You might need to cast the function pointer here pdns-5.0.0/pdns/pdnsutil.cc:4512:44: note: Parameter 'cmds' can be declared as reference to const pdns-5.0.0/pdns/pdnsutil.cc:4638:58: style: Parameter 'cmds' can be declared as reference to const. However it seems that 'listTSIGKeys' is a callback function, if 'cmds' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pdns-5.0.0/pdns/pdnsutil.cc:302:20: note: You might need to cast the function pointer here pdns-5.0.0/pdns/pdnsutil.cc:4638:58: note: Parameter 'cmds' can be declared as reference to const pdns-5.0.0/pdns/pdnsutil.cc:4960:49: style: Parameter 'cmds' can be declared as reference to const. However it seems that 'HSM' is a callback function, if 'cmds' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pdns-5.0.0/pdns/pdnsutil.cc:530:20: note: You might need to cast the function pointer here pdns-5.0.0/pdns/pdnsutil.cc:4960:49: note: Parameter 'cmds' can be declared as reference to const pdns-5.0.0/pdns/pdnsutil.cc:4968:39: style: Parameter 'cmds' can be declared as reference to const. However it seems that 'B2BMigrate' is a callback function, if 'cmds' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pdns-5.0.0/pdns/pdnsutil.cc:509:27: note: You might need to cast the function pointer here pdns-5.0.0/pdns/pdnsutil.cc:4968:39: note: Parameter 'cmds' can be declared as reference to const pdns-5.0.0/pdns/pdnsutil.cc:5100:15: style: Variable 'tk' can be declared as reference to const [constVariableReference] pdns-5.0.0/pdns/pdnsutil.cc:5220:37: style: Parameter 'cmds' can be declared as reference to const. However it seems that 'listView' is a callback function, if 'cmds' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pdns-5.0.0/pdns/pdnsutil.cc:311:20: note: You might need to cast the function pointer here pdns-5.0.0/pdns/pdnsutil.cc:5220:37: note: Parameter 'cmds' can be declared as reference to const pdns-5.0.0/pdns/pdnsutil.cc:5237:38: style: Parameter 'cmds' can be declared as reference to const. However it seems that 'listViews' is a callback function, if 'cmds' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pdns-5.0.0/pdns/pdnsutil.cc:314:24: note: You might need to cast the function pointer here pdns-5.0.0/pdns/pdnsutil.cc:5237:38: note: Parameter 'cmds' can be declared as reference to const pdns-5.0.0/pdns/pdnsutil.cc:5295:40: style: Parameter 'cmds' can be declared as reference to const. However it seems that 'listNetwork' is a callback function, if 'cmds' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pdns-5.0.0/pdns/pdnsutil.cc:256:20: note: You might need to cast the function pointer here pdns-5.0.0/pdns/pdnsutil.cc:5295:40: note: Parameter 'cmds' can be declared as reference to const pdns-5.0.0/pdns/pdnsutil.cc:5313:39: style: Parameter 'cmds' can be declared as reference to const. However it seems that 'setNetwork' is a callback function, if 'cmds' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pdns-5.0.0/pdns/pdnsutil.cc:259:19: note: You might need to cast the function pointer here pdns-5.0.0/pdns/pdnsutil.cc:5313:39: note: Parameter 'cmds' can be declared as reference to const pdns-5.0.0/pdns/pdnsutil.cc:5687:23: style: Variable 'ae' can be declared as reference to const [constVariableReference] pdns-5.0.0/pdns/pdnsutil.cc:2585:18: style: Variable 'octets' can be declared as pointer to const [constVariablePointer] pdns-5.0.0/pdns/pdnsutil.cc:1882:44: style: Instance of 'deleteme' object is destroyed immediately, assignment has no effect. [unusedScopedObject] pdns-5.0.0/pdns/pdnsutil.cc:1883:39: style: Instance of 'deleteme' object is destroyed immediately, assignment has no effect. [unusedScopedObject] pdns-5.0.0/pdns/pdnsutil.cc:4792:103: performance: Inefficient usage of string::find() in condition; string::starts_with() could be faster. [stlIfStrFind] pdns-5.0.0/pdns/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-5.0.0/pdns/zonemd.hh:83:11: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/pdnsutil.cc:600:10: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/pdnsutil.cc:2357:41: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/pdnsutil.cc:2376:45: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/pdnsutil.cc:4680:26: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/pdnsutil.cc:2592:7: error: Uninitialized variable: octets [uninitvar] pdns-5.0.0/pdns/pdnsutil.cc:2585:27: note: Assignment 'octets=(unsigned char*)&rnd', assigned value is pdns-5.0.0/pdns/pdnsutil.cc:2592:7: note: Uninitialized variable: octets pdns-5.0.0/pdns/pdnsutil.cc:1575:25: style: Variable 'spacelen' is assigned a value that is never used. [unreadVariable] pdns-5.0.0/pdns/pdnsutil.cc:2568:11: style: Variable 'rr.qname' is assigned a value that is never used. [unreadVariable] pdns-5.0.0/pdns/pdnsutil.cc:2660:17: style: Unused variable: info [unusedVariable] pdns-5.0.0/pdns/pdnsutil.cc:3694:15: style: Variable 'tmp_algo' is assigned a value that is never used. [unreadVariable] pdns-5.0.0/pdns/pdnsutil.cc:4519:15: style: Variable 'tmp_algo' is assigned a value that is never used. [unreadVariable] pdns-5.0.0/pdns/pkcs11signers.cc:181:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CK_ULONG [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pkcs11signers.cc:202:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CK_ULONG [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pkcs11signers.cc:226:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_log [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pkcs11signers.cc:239:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CKF_SERIAL_SESSION [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pkcs11signers.cc:262:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CKU_USER [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pkcs11signers.cc:271:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CKU_CONTEXT_SPECIFIC [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pkcs11signers.cc:308:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_log [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pkcs11signers.cc:382:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CKA_CLASS [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pkcs11signers.cc:611:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pValue [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pkcs11signers.cc:670:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_log [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pkcs11signers.cc:810:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_algorithm [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pkcs11signers.cc:882:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_algorithm [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pkcs11signers.cc:897:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_algorithm [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pkcs11signers.cc:938:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_algorithm [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pkcs11signers.cc:956:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CKK_RSA [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pkcs11signers.cc:984:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_algorithm [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pkcs11signers.cc:794:27: warning:inconclusive: Member variable 'PKCS11DNSCryptoKeyEngine::d_module' is not assigned in the copy constructor. Should it be copied? [missingMemberCopy] pdns-5.0.0/pdns/pkcs11signers.cc:794:27: warning:inconclusive: Member variable 'PKCS11DNSCryptoKeyEngine::d_slot_id' is not assigned in the copy constructor. Should it be copied? [missingMemberCopy] pdns-5.0.0/pdns/pkcs11signers.cc:794:27: warning:inconclusive: Member variable 'PKCS11DNSCryptoKeyEngine::d_pin' is not assigned in the copy constructor. Should it be copied? [missingMemberCopy] pdns-5.0.0/pdns/pkcs11signers.cc:794:27: warning:inconclusive: Member variable 'PKCS11DNSCryptoKeyEngine::d_label' is not assigned in the copy constructor. Should it be copied? [missingMemberCopy] pdns-5.0.0/pdns/pkcs11signers.cc:794:27: warning:inconclusive: Member variable 'PKCS11DNSCryptoKeyEngine::d_pub_label' is not assigned in the copy constructor. Should it be copied? [missingMemberCopy] pdns-5.0.0/pdns/pkcs11signers.cc:629:24: style:inconclusive: Technically the member function 'Pkcs11Token::Modulus' can be const. [functionConst] pdns-5.0.0/pdns/pkcs11signers.cc:633:24: style:inconclusive: Technically the member function 'Pkcs11Token::Exponent' can be const. [functionConst] pdns-5.0.0/pdns/pkcs11signers.cc:637:24: style:inconclusive: Technically the member function 'Pkcs11Token::ECPoint' can be const. [functionConst] pdns-5.0.0/pdns/pkcs11signers.cc:641:24: style:inconclusive: Technically the member function 'Pkcs11Token::ECParameters' can be const. [functionConst] pdns-5.0.0/pdns/pkcs11signers.hh:34:5: style: Class 'PKCS11DNSCryptoKeyEngine' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/pkcs11signers.cc:164:29: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/pkcs11signers.cc:175:24: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/pkcs11signers.cc:180:24: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/pkcs11signers.cc:196:24: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/pkcs11signers.cc:201:24: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/pkcs11signers.cc:206:24: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/pkcs11signers.cc:485:50: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/pkcs11signers.cc:505:52: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/pkcs11signers.cc:505:95: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/pkcs11signers.cc:516:52: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/pkcs11signers.cc:532:56: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/pkcs11signers.cc:488:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pdns-5.0.0/pdns/pkcs11signers.cc:518:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pdns-5.0.0/pdns/pkcs11signers.cc:543:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pdns-5.0.0/pdns/pkcs11signers.cc:962:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pdns-5.0.0/pdns/pkcs11signers.cc:807:15: style: The scope of the variable 'pubExp' can be reduced. [variableScope] pdns-5.0.0/pdns/pkcs11signers.cc:454:28: style: Variable 'attribute' can be declared as reference to const [constVariableReference] pdns-5.0.0/pdns/pkcs11signers.cc:460:28: style: Variable 'attribute' can be declared as reference to const [constVariableReference] pdns-5.0.0/pdns/pollmplexer.cc:67:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLIN [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pollmplexer.cc:112:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pollmplexer.cc:136:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/pollmplexer.cc:31:3: style: Class 'PollFDMultiplexer' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/pollmplexer.cc:123:44: style:inconclusive: Function 'run' argument 1 names different: declaration 'tv' definition 'now'. [funcArgNamesDifferent] pdns-5.0.0/pdns/pollmplexer.cc:34:27: note: Function 'run' argument 1 names different: declaration 'tv' definition 'now'. pdns-5.0.0/pdns/pollmplexer.cc:123:44: note: Function 'run' argument 1 names different: declaration 'tv' definition 'now'. pdns-5.0.0/pdns/pollmplexer.cc:97:12: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/portsmplexer.cc:68:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLIN [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/portsmplexer.cc:79:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PORT_SOURCE_FD [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/portsmplexer.cc:86:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PORT_SOURCE_FD [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/portsmplexer.cc:105:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/portsmplexer.cc:164:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/portsmplexer.cc:20:3: style: Class 'PortsFDMultiplexer' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/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-5.0.0/pdns/mplexer.hh:73:12: note: Virtual destructor in base class pdns-5.0.0/pdns/portsmplexer.cc:21:4: note: Destructor in derived class pdns-5.0.0/pdns/portsmplexer.cc:148:45: style:inconclusive: Function 'run' argument 1 names different: declaration 'tv' definition 'now'. [funcArgNamesDifferent] pdns-5.0.0/pdns/portsmplexer.cc:26:27: note: Function 'run' argument 1 names different: declaration 'tv' definition 'now'. pdns-5.0.0/pdns/portsmplexer.cc:148:45: note: Function 'run' argument 1 names different: declaration 'tv' definition 'now'. pdns-5.0.0/pdns/protozero.cc:30:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/protozero.cc:43:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/protozero.cc:109:10: style: Variable 'rrname' is assigned a value that is never used. [unreadVariable] pdns-5.0.0/pdns/protozero.cc:118:14: style: Variable 'rrname' is assigned a value that is never used. [unreadVariable] pdns-5.0.0/pdns/proxy-protocol.cc:120:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s_addr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/proxy-protocol.cc:124:11: style: The scope of the variable 'protocol' can be reduced. [variableScope] pdns-5.0.0/pdns/query-local-address.cc:35:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/query-local-address.cc:59:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/query-local-address.cc:92:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/query-local-address.cc:61:34: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/query-local-address.cc:68:34: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/rcpgenerator.cc:66:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/rcpgenerator.cc:199:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/rcpgenerator.cc:778:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/rcpgenerator.cc:874:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/rcpgenerator.cc:230:24: style:inconclusive: Technically the member function 'RecordTextReader::eof' can be const. [functionConst] pdns-5.0.0/pdns/rcpgenerator.hh:76:8: note: Technically the member function 'RecordTextReader::eof' can be const. pdns-5.0.0/pdns/rcpgenerator.cc:230:24: note: Technically the member function 'RecordTextReader::eof' can be const. pdns-5.0.0/pdns/rcpgenerator.cc:240:9: style: Condition 'val!=tmp' is always false [knownConditionTrueFalse] pdns-5.0.0/pdns/rcpgenerator.cc:239:6: note: val is assigned 'tmp' here. pdns-5.0.0/pdns/rcpgenerator.cc:240:9: note: Condition 'val!=tmp' is always false pdns-5.0.0/pdns/rcpgenerator.cc:249:9: style: Condition 'val!=tmp' is always false [knownConditionTrueFalse] pdns-5.0.0/pdns/rcpgenerator.cc:248:6: note: val is assigned 'tmp' here. pdns-5.0.0/pdns/rcpgenerator.cc:249:9: note: Condition 'val!=tmp' is always false pdns-5.0.0/pdns/rcpgenerator.cc:655:6: style: Condition '!val.empty()' is always false [knownConditionTrueFalse] pdns-5.0.0/pdns/rcpgenerator.cc:203:21: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/rcpgenerator.cc:213:45: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pdns-5.0.0/pdns/rcpgenerator.cc:424:25: style: The scope of the variable 'len' can be reduced. [variableScope] pdns-5.0.0/pdns/rcpgenerator.cc:838:63: style:inconclusive: Function 'xfrBlobNoSpaces' argument 2 names different: declaration 'len' definition 'size'. [funcArgNamesDifferent] pdns-5.0.0/pdns/rcpgenerator.hh:105:47: note: Function 'xfrBlobNoSpaces' argument 2 names different: declaration 'len' definition 'size'. pdns-5.0.0/pdns/rcpgenerator.cc:838:63: note: Function 'xfrBlobNoSpaces' argument 2 names different: declaration 'len' definition 'size'. pdns-5.0.0/pdns/rcpgenerator.cc:784:78: style: Parameter 'val' can be declared as reference to const [constParameterReference] pdns-5.0.0/pdns/rcpgenerator.cc:794:48: style: Parameter 'val' can be declared as reference to const [constParameterReference] pdns-5.0.0/pdns/rcpgenerator.cc:444:33: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/resolver.cc:60:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_STREAM [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/resolver.cc:105:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/resolver.cc:164:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/resolver.cc:237:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fd [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/resolver.cc:270:27: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/resolver.cc:79:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pdns-5.0.0/pdns/resolver.cc:92:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pdns-5.0.0/pdns/resolver.cc:188:49: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pdns-5.0.0/pdns/resolver.cc:262:44: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pdns-5.0.0/pdns/resolver.cc:327:54: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pdns-5.0.0/pdns/resolver.cc:130:86: style:inconclusive: Function 'sendResolve' argument 6 names different: declaration 'dnssecOk' definition 'dnssecOK'. [funcArgNamesDifferent] pdns-5.0.0/pdns/resolver.hh:66:133: note: Function 'sendResolve' argument 6 names different: declaration 'dnssecOk' definition 'dnssecOK'. pdns-5.0.0/pdns/resolver.cc:130:86: note: Function 'sendResolve' argument 6 names different: declaration 'dnssecOk' definition 'dnssecOK'. pdns-5.0.0/pdns/resolver.cc:230:41: style:inconclusive: Function 'tryGetSOASerial' argument 1 names different: declaration 'theirDomain' definition 'domain'. [funcArgNamesDifferent] pdns-5.0.0/pdns/resolver.hh:70:33: note: Function 'tryGetSOASerial' argument 1 names different: declaration 'theirDomain' definition 'domain'. pdns-5.0.0/pdns/resolver.cc:230:41: note: Function 'tryGetSOASerial' argument 1 names different: declaration 'theirDomain' definition 'domain'. pdns-5.0.0/pdns/resolver.cc:309:43: style:inconclusive: Function 'resolve' argument 1 names different: declaration 'ip' definition 'to'. [funcArgNamesDifferent] pdns-5.0.0/pdns/resolver.hh:61:35: note: Function 'resolve' argument 1 names different: declaration 'ip' definition 'to'. pdns-5.0.0/pdns/resolver.cc:309:43: note: Function 'resolve' argument 1 names different: declaration 'ip' definition 'to'. pdns-5.0.0/pdns/resolver.cc:309:97: style:inconclusive: Function 'resolve' argument 4 names different: declaration 'result' definition 'res'. [funcArgNamesDifferent] pdns-5.0.0/pdns/resolver.hh:61:79: note: Function 'resolve' argument 4 names different: declaration 'result' definition 'res'. pdns-5.0.0/pdns/resolver.cc:309:97: note: Function 'resolve' argument 4 names different: declaration 'result' definition 'res'. pdns-5.0.0/pdns/resolver.cc:342:43: style:inconclusive: Function 'resolve' argument 1 names different: declaration 'ip' definition 'ipport'. [funcArgNamesDifferent] pdns-5.0.0/pdns/resolver.hh:63:35: note: Function 'resolve' argument 1 names different: declaration 'ip' definition 'ipport'. pdns-5.0.0/pdns/resolver.cc:342:43: note: Function 'resolve' argument 1 names different: declaration 'ip' definition 'ipport'. pdns-5.0.0/pdns/resolver.cc:342:101: style:inconclusive: Function 'resolve' argument 4 names different: declaration 'result' definition 'res'. [funcArgNamesDifferent] pdns-5.0.0/pdns/resolver.hh:63:79: note: Function 'resolve' argument 4 names different: declaration 'result' definition 'res'. pdns-5.0.0/pdns/resolver.cc:342:101: note: Function 'resolve' argument 4 names different: declaration 'result' definition 'res'. pdns-5.0.0/pdns/resolver.cc:123:14: style: Variable 'iter' can be declared as reference to const [constVariableReference] pdns-5.0.0/pdns/resolver.cc:196:35: style: Parameter 'mdp' can be declared as reference to const [constParameterReference] pdns-5.0.0/pdns/responsestats-auth.cc:42:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/responsestats-auth.cc:12:25: style: The scope of the variable 'udpnumanswered' can be reduced. [variableScope] pdns-5.0.0/pdns/responsestats-auth.cc:13:25: style: The scope of the variable 'udpnumanswered4' can be reduced. [variableScope] pdns-5.0.0/pdns/responsestats-auth.cc:14:25: style: The scope of the variable 'udpnumanswered6' can be reduced. [variableScope] pdns-5.0.0/pdns/responsestats-auth.cc:15:25: style: The scope of the variable 'udpbytesanswered' can be reduced. [variableScope] pdns-5.0.0/pdns/responsestats-auth.cc:16:25: style: The scope of the variable 'udpbytesanswered4' can be reduced. [variableScope] pdns-5.0.0/pdns/responsestats-auth.cc:17:25: style: The scope of the variable 'udpbytesanswered6' can be reduced. [variableScope] pdns-5.0.0/pdns/responsestats-auth.cc:18:25: style: The scope of the variable 'tcpnumanswered' can be reduced. [variableScope] pdns-5.0.0/pdns/responsestats-auth.cc:19:25: style: The scope of the variable 'tcpnumanswered4' can be reduced. [variableScope] pdns-5.0.0/pdns/responsestats-auth.cc:20:25: style: The scope of the variable 'tcpnumanswered6' can be reduced. [variableScope] pdns-5.0.0/pdns/responsestats-auth.cc:21:25: style: The scope of the variable 'tcpbytesanswered' can be reduced. [variableScope] pdns-5.0.0/pdns/responsestats-auth.cc:22:25: style: The scope of the variable 'tcpbytesanswered4' can be reduced. [variableScope] pdns-5.0.0/pdns/responsestats-auth.cc:23:25: style: The scope of the variable 'tcpbytesanswered6' can be reduced. [variableScope] pdns-5.0.0/pdns/responsestats.cc:59:12: style: The scope of the variable 'count' can be reduced. [variableScope] pdns-5.0.0/pdns/responsestats.cc:83:12: style: The scope of the variable 'count' can be reduced. [variableScope] pdns-5.0.0/pdns/rfc2136handler.cc:108:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/rfc2136handler.cc:564:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/rfc2136handler.cc:685:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/rfc2136handler.cc:1074:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/rfc2136handler.cc:69:20: performance:inconclusive: Technically the member function 'PacketHandler::checkUpdatePrescan' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-5.0.0/pdns/packethandler.hh:96:7: note: Technically the member function 'PacketHandler::checkUpdatePrescan' can be static (but you may consider moving to unnamed namespace). pdns-5.0.0/pdns/rfc2136handler.cc:69:20: note: Technically the member function 'PacketHandler::checkUpdatePrescan' can be static (but you may consider moving to unnamed namespace). pdns-5.0.0/pdns/rfc2136handler.cc:30:20: performance:inconclusive: Technically the member function 'PacketHandler::checkUpdatePrerequisites' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-5.0.0/pdns/packethandler.hh:97:7: note: Technically the member function 'PacketHandler::checkUpdatePrerequisites' can be static (but you may consider moving to unnamed namespace). pdns-5.0.0/pdns/rfc2136handler.cc:30:20: note: Technically the member function 'PacketHandler::checkUpdatePrerequisites' can be static (but you may consider moving to unnamed namespace). pdns-5.0.0/pdns/rfc2136handler.cc:581:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pdns-5.0.0/pdns/rfc2136handler.cc:596:19: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pdns-5.0.0/pdns/rfc2136handler.cc:125:36: style: The scope of the variable 'recordsToDelete' can be reduced. [variableScope] pdns-5.0.0/pdns/rfc2136handler.cc:680:45: style:inconclusive: Function 'processUpdate' argument 1 names different: declaration 'p' definition 'packet'. [funcArgNamesDifferent] pdns-5.0.0/pdns/packethandler.hh:93:32: note: Function 'processUpdate' argument 1 names different: declaration 'p' definition 'packet'. pdns-5.0.0/pdns/rfc2136handler.cc:680:45: note: Function 'processUpdate' argument 1 names different: declaration 'p' definition 'packet'. pdns-5.0.0/pdns/rfc2136handler.cc:460:19: style: Variable 'belowOldDel' can be declared as reference to const [constVariableReference] pdns-5.0.0/pdns/rfc2136handler.cc:987:20: style: Variable 'inZone' can be declared as reference to const [constVariableReference] pdns-5.0.0/pdns/rfc2136handler.cc:464:43: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/rfc2136handler.cc:734:41: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/rfc2136handler.cc:914:30: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/rfc2136handler.cc:990:30: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/rfc2136handler.cc:544:14: style: Unused variable: hashed [unusedVariable] pdns-5.0.0/pdns/saxfr.cc:24:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/saxfr.cc:181:17: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pdns-5.0.0/pdns/saxfr.cc:196:18: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pdns-5.0.0/pdns/saxfr.cc:37:10: style: The scope of the variable 'remote_principal' can be reduced. [variableScope] pdns-5.0.0/pdns/saxfr.cc:202:9: style: The scope of the variable 'numread' can be reduced. [variableScope] pdns-5.0.0/pdns/saxfr.cc:285:12: style: The scope of the variable 'hashed' can be reduced. [variableScope] pdns-5.0.0/pdns/saxfr.cc:292:13: style: Variable 'record' can be declared as reference to const [constVariableReference] pdns-5.0.0/pdns/saxfr.cc:304:22: style: Variable 'e2' can be declared as reference to const [constVariableReference] pdns-5.0.0/pdns/protozero-trace.hh:338:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLOCK_REALTIME [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/protozero-trace.hh:701:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable resource_spans [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/protozero-trace.hh:759:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sizeNoSpanID [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/protozero-trace.hh:767:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fullSize [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/tcpiohandler.hh:179:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable memory_order_acquire [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/tcpiohandler.hh:184:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable memory_order_release [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/tcpiohandler.hh:285:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHUT_RDWR [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/tcpiohandler.hh:405:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/tcpiohandler.hh:462:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/sdig.cc:41:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/sdig.cc:92:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/sdig.cc:123:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/sdig.cc:243:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timeval [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/protozero-trace.hh:730:8: style:inconclusive: Technically the member function 'pdns::trace::EDNSOTTraceRecord::setTraceID' can be const. [functionConst] pdns-5.0.0/pdns/protozero-trace.hh:734:8: style:inconclusive: Technically the member function 'pdns::trace::EDNSOTTraceRecord::setSpanID' can be const. [functionConst] pdns-5.0.0/pdns/protozero-trace.hh:723:3: style: Struct 'EDNSOTTraceRecord' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/tcpiohandler.hh:146:3: style: Class 'TLSFrontend' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/tcpiohandler.hh:150:3: style: Class 'TLSFrontend' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/tcpiohandler.hh:228:15: performance: Function 'getRequestedProvider()' should return member 'd_provider' by const reference. [returnByReference] pdns-5.0.0/pdns/sdig.cc:422:19: warning: Logical conjunction always evaluates to false: name == "-" && type == "-". [incorrectLogicOperator] pdns-5.0.0/pdns/sdig.cc:402:7: style: The if condition is the same as the previous if condition [duplicateCondition] pdns-5.0.0/pdns/sdig.cc:397:7: note: First condition pdns-5.0.0/pdns/sdig.cc:402:7: note: Second condition pdns-5.0.0/pdns/sdig.cc:510:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pdns-5.0.0/pdns/sdig.cc:67:43: style: Parameter 'otids' can be declared as reference to const [constParameterReference] pdns-5.0.0/pdns/sdig.cc:540:25: style: Variable 'e' can be declared as reference to const [constVariableReference] pdns-5.0.0/pdns/sdig.cc:72:11: style: Variable 'sbuf' can be declared as pointer to const [constVariablePointer] pdns-5.0.0/pdns/secpoll-auth.cc:56:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/secpoll.cc:56:94: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/serialtweaker.cc:74:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/serialtweaker.cc:122:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/shuffle.cc:164:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable second [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/shuffle.cc:33:48: style: Parameter 'rrs' can be declared as reference to const [constParameterReference] pdns-5.0.0/pdns/shuffle.cc:79:45: style: Parameter 'rrs' can be declared as reference to const [constParameterReference] pdns-5.0.0/pdns/shuffle.cc:43:93: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/shuffle.cc:49:58: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/shuffle.cc:62:97: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/shuffle.cc:67:62: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/shuffle.cc:86:87: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/shuffle.cc:91:89: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/shuffle.cc:107:91: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/shuffle.cc:112:59: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/signingpipe.cc:33:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/signingpipe.cc:58:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/signingpipe.cc:124:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_type [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/signingpipe.cc:144:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLIN [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/signingpipe.cc:231:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/signingpipe.cc:311:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/signingpipe.cc:334:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHUT_WR [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/signingpipe.cc:65:3: performance: Variable 'd_rrsetToSign' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] pdns-5.0.0/pdns/signingpipe.cc:22:20: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/signingpipe.cc:20:7: style: The scope of the variable 'res' can be reduced. [variableScope] pdns-5.0.0/pdns/signingpipe.cc:282:7: style: The scope of the variable 'res' can be reduced. [variableScope] pdns-5.0.0/pdns/signingpipe.cc:62:89: style:inconclusive: Function 'ChunkedSigningPipe' argument 3 names different: declaration 'numWorkers' definition 'workers'. [funcArgNamesDifferent] pdns-5.0.0/pdns/signingpipe.hh:45:72: note: Function 'ChunkedSigningPipe' argument 3 names different: declaration 'numWorkers' definition 'workers'. pdns-5.0.0/pdns/signingpipe.cc:62:89: note: Function 'ChunkedSigningPipe' argument 3 names different: declaration 'numWorkers' definition 'workers'. pdns-5.0.0/pdns/signingpipe.cc:137:13: style: Variable 'socket' can be declared as reference to const [constVariableReference] pdns-5.0.0/pdns/signingpipe.cc:168:14: style: Variable 'fillChunk' can be declared as reference to const [constVariableReference] pdns-5.0.0/pdns/signingpipe.cc:270:10: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/sillyrecords.cc:183:71: warning: The class 'LOCRecordContent' defines member function with name 'make' also defined in its parent class 'DNSRecordContent'. [duplInheritedMember] pdns-5.0.0/pdns/dnsparser.hh:197:44: note: Parent function 'DNSRecordContent::make' pdns-5.0.0/pdns/sillyrecords.cc:183:71: note: Derived function 'LOCRecordContent::make' pdns-5.0.0/pdns/sillyrecords.cc:66:0: warning: Redundant code: Found unused function. [constStatement] pdns-5.0.0/pdns/sodiumsigners.cc:71:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable crypto_sign_ed25519_SEEDBYTES [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/sodiumsigners.cc:133:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable crypto_sign_ed25519_SEEDBYTES [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/sodiumsigners.cc:149:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable crypto_sign_ed25519_SEEDBYTES [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/sodiumsigners.cc:164:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable crypto_sign_ed25519_SEEDBYTES [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/sodiumsigners.cc:175:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable crypto_sign_ed25519_PUBLICKEYBYTES [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/sodiumsigners.cc:180:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable crypto_sign_ed25519_PUBLICKEYBYTES [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/sodiumsigners.cc:188:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable crypto_sign_ed25519_BYTES [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/sodiumsigners.cc:200:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable crypto_sign_ed25519_BYTES [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/sodiumsigners.cc:16:12: warning: Member variable 'SodiumED25519DNSCryptoKeyEngine::d_pubkey' is not initialized in the constructor. [uninitMemberVar] pdns-5.0.0/pdns/sodiumsigners.cc:16:12: warning: Member variable 'SodiumED25519DNSCryptoKeyEngine::d_seckey' is not initialized in the constructor. [uninitMemberVar] pdns-5.0.0/pdns/sodiumsigners.cc:149:48: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/sodiumsigners.cc:175:17: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/sodiumsigners.cc:193:52: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/sodiumsigners.cc:195:11: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/sodiumsigners.cc:204:46: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/sodiumsigners.cc:204:87: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/sodiumsigners.cc:178:78: style:inconclusive: Function 'fromPublicKeyString' argument 1 names different: declaration 'content' definition 'input'. [funcArgNamesDifferent] pdns-5.0.0/pdns/sodiumsigners.cc:57:47: note: Function 'fromPublicKeyString' argument 1 names different: declaration 'content' definition 'input'. pdns-5.0.0/pdns/sodiumsigners.cc:178:78: note: Function 'fromPublicKeyString' argument 1 names different: declaration 'content' definition 'input'. pdns-5.0.0/pdns/speedtest.cc:47:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ITIMER_PROF [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/speedtest.cc:1023:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/speedtest.cc:1050:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/speedtest.cc:1250:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/speedtest.cc:959:1: style: The struct 'SharedLockTest' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor] pdns-5.0.0/pdns/lock.hh:314:12: warning: Member variable 'LockGuarded < uint64_t >::d_value' is not initialized in the constructor. [uninitMemberVar] pdns-5.0.0/pdns/speedtest.cc:90:10: performance:inconclusive: Technically the member function 'MakeStringFromCharStarTest::getName' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-5.0.0/pdns/speedtest.cc:107:10: performance:inconclusive: Technically the member function 'GetTimeTest::getName' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-5.0.0/pdns/speedtest.cc:121:10: performance:inconclusive: Technically the member function 'GetLockUncontendedTest::getName' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-5.0.0/pdns/speedtest.cc:141:10: performance:inconclusive: Technically the member function 'GetUniqueLockUncontendedTest::getName' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-5.0.0/pdns/speedtest.cc:160:10: performance:inconclusive: Technically the member function 'GetLockGuardUncontendedTest::getName' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-5.0.0/pdns/speedtest.cc:179:10: performance:inconclusive: Technically the member function 'GetLockGuardedUncontendedTest::getName' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-5.0.0/pdns/speedtest.cc:197:10: performance:inconclusive: Technically the member function 'StaticMemberTest::getName' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-5.0.0/pdns/speedtest.cc:212:10: performance:inconclusive: Technically the member function 'StringtokTest::getName' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-5.0.0/pdns/speedtest.cc:227:10: performance:inconclusive: Technically the member function 'VStringtokTest::getName' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-5.0.0/pdns/speedtest.cc:242:10: performance:inconclusive: Technically the member function 'StringAppendTest::getName' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-5.0.0/pdns/speedtest.cc:260:10: performance:inconclusive: Technically the member function 'BoostStringAppendTest::getName' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-5.0.0/pdns/speedtest.cc:279:10: performance:inconclusive: Technically the member function 'MakeARecordTest::getName' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-5.0.0/pdns/speedtest.cc:379:10: performance:inconclusive: Technically the member function 'MakeARecordTestMM::getName' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-5.0.0/pdns/speedtest.cc:553:10: performance:inconclusive: Technically the member function 'StackMallocTest::getName' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-5.0.0/pdns/speedtest.cc:569:10: performance:inconclusive: Technically the member function 'EmptyQueryTest::getName' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-5.0.0/pdns/speedtest.cc:583:10: performance:inconclusive: Technically the member function 'TypicalRefTest::getName' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-5.0.0/pdns/speedtest.cc:597:10: performance:inconclusive: Technically the member function 'BigRefTest::getName' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-5.0.0/pdns/speedtest.cc:611:10: performance:inconclusive: Technically the member function 'BigDNSPacketRefTest::getName' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-5.0.0/pdns/speedtest.cc:727:10: performance:inconclusive: Technically the member function 'VectorExpandTest::getName' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-5.0.0/pdns/speedtest.cc:747:10: performance:inconclusive: Technically the member function 'DNSNameParseTest::getName' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-5.0.0/pdns/speedtest.cc:761:10: performance:inconclusive: Technically the member function 'DNSNameRootTest::getName' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-5.0.0/pdns/speedtest.cc:780:10: performance:inconclusive: Technically the member function 'SuffixMatchNodeTest::getName' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-5.0.0/pdns/speedtest.cc:803:10: performance:inconclusive: Technically the member function 'IEqualsTest::getName' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-5.0.0/pdns/speedtest.cc:818:10: performance:inconclusive: Technically the member function 'MyIEqualsTest::getName' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-5.0.0/pdns/speedtest.cc:834:10: performance:inconclusive: Technically the member function 'StrcasecmpTest::getName' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-5.0.0/pdns/speedtest.cc:849:10: performance:inconclusive: Technically the member function 'Base64EncodeTest::getName' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-5.0.0/pdns/speedtest.cc:864:10: performance:inconclusive: Technically the member function 'B64DecodeTest::getName' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-5.0.0/pdns/speedtest.cc:879:10: performance:inconclusive: Technically the member function 'NOPTest::getName' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-5.0.0/pdns/speedtest.cc:894:10: performance:inconclusive: Technically the member function 'StatRingDNSNameQTypeToStringTest::getName' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-5.0.0/pdns/speedtest.cc:908:10: performance:inconclusive: Technically the member function 'StatRingDNSNameQTypeTest::getName' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-5.0.0/pdns/speedtest.cc:921:10: performance:inconclusive: Technically the member function 'NetmaskTreeTest::getName' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-5.0.0/pdns/speedtest.cc:934:10: performance:inconclusive: Technically the member function 'UUIDGenTest::getName' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-5.0.0/pdns/speedtest.cc:961:10: performance:inconclusive: Technically the member function 'SharedLockTest::getName' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-5.0.0/pdns/speedtest.cc:981:10: performance:inconclusive: Technically the member function 'ReadWriteLockSharedTest::getName' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-5.0.0/pdns/speedtest.cc:999:10: performance:inconclusive: Technically the member function 'ReadWriteLockExclusiveTest::getName' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-5.0.0/pdns/speedtest.cc:1069:10: performance:inconclusive: Technically the member function 'CredentialsHashTest::getName' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-5.0.0/pdns/speedtest.cc:1108:10: performance:inconclusive: Technically the member function 'CredentialsVerifyTest::getName' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-5.0.0/pdns/speedtest.cc:1127:10: performance:inconclusive: Technically the member function 'BurtleHashTest::getName' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-5.0.0/pdns/speedtest.cc:1145:10: performance:inconclusive: Technically the member function 'BurtleHashCITest::getName' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-5.0.0/pdns/speedtest.cc:662:29: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/speedtest.cc:700:29: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/speedtest.cc:1085:37: performance: Function parameter 'which' should be passed by const reference. [passedByValue] pdns-5.0.0/pdns/speedtest.cc:204:20: style: Variable 's_ptr' can be declared as pointer to const [constVariablePointer] pdns-5.0.0/pdns/speedtest.cc:561:14: error: Memory is allocated but not initialized: buffer [uninitdata] pdns-5.0.0/pdns/speedtest.cc:640:9: style: struct member 'NegCacheEntry::d_qtype' is never used. [unusedStructMember] pdns-5.0.0/pdns/speedtest.cc:642:12: style: struct member 'NegCacheEntry::d_ttd' is never used. [unusedStructMember] pdns-5.0.0/pdns/speedtest.cc:668:18: style: struct member 'Anonymous0::d_aabit' is never used. [unusedStructMember] pdns-5.0.0/pdns/speedtest.cc:669:17: style: struct member 'Anonymous0::d_rcode' is never used. [unusedStructMember] pdns-5.0.0/pdns/speedtest.cc:560:11: style: Variable 'buffer' is allocated memory that is never used. [unusedAllocatedMemory] pdns-5.0.0/pdns/speedtest.cc:576:27: style: Variable 'packet' is assigned a value that is never used. [unreadVariable] pdns-5.0.0/pdns/speedtest.cc:576:21: style: Variable 'packet' is assigned a value that is never used. [unreadVariable] pdns-5.0.0/pdns/speedtest.cc:590:27: style: Variable 'packet' is assigned a value that is never used. [unreadVariable] pdns-5.0.0/pdns/speedtest.cc:590:21: style: Variable 'packet' is assigned a value that is never used. [unreadVariable] pdns-5.0.0/pdns/speedtest.cc:604:27: style: Variable 'packet' is assigned a value that is never used. [unreadVariable] pdns-5.0.0/pdns/speedtest.cc:604:21: style: Variable 'packet' is assigned a value that is never used. [unreadVariable] pdns-5.0.0/pdns/speedtest.cc:618:27: style: Variable 'packet' is assigned a value that is never used. [unreadVariable] pdns-5.0.0/pdns/speedtest.cc:618:21: style: Variable 'packet' is assigned a value that is never used. [unreadVariable] pdns-5.0.0/pdns/ssqlite3.cc:148:85: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TRANSIENT [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/ssqlite3.cc:166:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_log [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/ssqlite3.cc:192:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_log [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/ssqlite3.cc:273:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_log [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/ssqlite3.cc:327:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/ssqlite3.cc:266:9: style: Obsolete function 'sqlite3_prepare' called. It is recommended to use 'sqlite3_prepare_v2' instead. [prohibitedsqlite3_prepareCalled] pdns-5.0.0/pdns/ssqlite3.cc:209:29: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/ssqlite3.cc:355:17: style: The scope of the variable 'errstr2' can be reduced. [variableScope] pdns-5.0.0/pdns/standalone_fuzz_target_runner.cc:13:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/statbag.cc:52:17: style:inconclusive: Technically the member function 'StatBag::directory' can be const. [functionConst] pdns-5.0.0/pdns/statbag.hh:140:10: note: Technically the member function 'StatBag::directory' can be const. pdns-5.0.0/pdns/statbag.cc:52:17: note: Technically the member function 'StatBag::directory' can be const. pdns-5.0.0/pdns/statbag.cc:77:24: style:inconclusive: Technically the member function 'StatBag::getEntries' can be const. [functionConst] pdns-5.0.0/pdns/statbag.hh:141:18: note: Technically the member function 'StatBag::getEntries' can be const. pdns-5.0.0/pdns/statbag.cc:77:24: note: Technically the member function 'StatBag::getEntries' can be const. pdns-5.0.0/pdns/statbag.cc:45:15: style:inconclusive: Technically the member function 'StatBag::exists' can be const. [functionConst] pdns-5.0.0/pdns/statbag.hh:144:8: note: Technically the member function 'StatBag::exists' can be const. pdns-5.0.0/pdns/statbag.cc:45:15: note: Technically the member function 'StatBag::exists' can be const. pdns-5.0.0/pdns/statbag.cc:237:61: style:inconclusive: Function 'declareRing' argument 2 names different: declaration 'title' definition 'help'. [funcArgNamesDifferent] pdns-5.0.0/pdns/statbag.hh:91:54: note: Function 'declareRing' argument 2 names different: declaration 'title' definition 'help'. pdns-5.0.0/pdns/statbag.cc:237:61: note: Function 'declareRing' argument 2 names different: declaration 'title' definition 'help'. pdns-5.0.0/pdns/statbag.cc:178:41: style:inconclusive: Function 'account' argument 1 names different: declaration 'item' definition 't'. [funcArgNamesDifferent] pdns-5.0.0/pdns/statbag.hh:42:25: note: Function 'account' argument 1 names different: declaration 'item' definition 't'. pdns-5.0.0/pdns/statbag.cc:178:41: note: Function 'account' argument 1 names different: declaration 'item' definition 't'. pdns-5.0.0/pdns/statbag.cc:340:14: style: Variable 'd_ring' can be declared as reference to const [constVariableReference] pdns-5.0.0/pdns/statbag.cc:342:14: style: Variable 'd_comboRing' can be declared as reference to const [constVariableReference] pdns-5.0.0/pdns/statbag.cc:341:9: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/statbag.cc:343:9: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/statbag.cc:345:9: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/statnode.cc:6:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/stubquery.cc:19:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/stubquery.cc:36:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/stubquery.cc:66:22: style: Variable 'e' can be declared as reference to const [constVariableReference] pdns-5.0.0/pdns/stubquery.cc:27:9: style: Unused variable: qtype [unusedVariable] pdns-5.0.0/pdns/stubresolver.cc:42:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/stubresolver.cc:144:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/stubresolver.cc:96:25: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/stubresolver.cc:194:9: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/svc-records.cc:92:13: style: Condition 'd_key==SvcParamKey::alpn' is always true [knownConditionTrueFalse] pdns-5.0.0/pdns/svc-records.cc:89:13: note: Assuming that condition 'd_key!=SvcParamKey::alpn' is not redundant pdns-5.0.0/pdns/svc-records.cc:92:13: note: Condition 'd_key==SvcParamKey::alpn' is always true pdns-5.0.0/pdns/svc-records.cc:102:13: style: Condition 'd_key==SvcParamKey::mandatory' is always true [knownConditionTrueFalse] pdns-5.0.0/pdns/svc-records.cc:99:13: note: Assuming that condition 'd_key!=SvcParamKey::mandatory' is not redundant pdns-5.0.0/pdns/svc-records.cc:102:13: note: Condition 'd_key==SvcParamKey::mandatory' is always true pdns-5.0.0/pdns/svc-records.cc:79:17: style: Unused variable: d [unusedVariable] pdns-5.0.0/pdns/dolog.hh:162:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_PID [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/dolog.hh:208:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/tcpiohandler.cc:1923:19: performance:inconclusive: Technically the member function 'TLSFrontend::setupTLS' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-5.0.0/pdns/tcpiohandler.hh:154:8: note: Technically the member function 'TLSFrontend::setupTLS' can be static (but you may consider moving to unnamed namespace). pdns-5.0.0/pdns/tcpiohandler.cc:1923:19: note: Technically the member function 'TLSFrontend::setupTLS' can be static (but you may consider moving to unnamed namespace). pdns-5.0.0/pdns/tcpreceiver.cc:86:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/tcpreceiver.cc:113:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/tcpreceiver.cc:157:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/tcpreceiver.cc:243:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/tcpreceiver.cc:511:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/tcpreceiver.cc:614:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/tcpreceiver.cc:1221:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/tcpreceiver.cc:1347:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/tcpreceiver.cc:1421:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLIN [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/tcpreceiver.cc:1478:29: performance:inconclusive: Technically the member function 'TCPNameserver::numTCPConnections' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-5.0.0/pdns/tcpreceiver.hh:48:16: note: Technically the member function 'TCPNameserver::numTCPConnections' can be static (but you may consider moving to unnamed namespace). pdns-5.0.0/pdns/tcpreceiver.cc:1478:29: note: Technically the member function 'TCPNameserver::numTCPConnections' can be static (but you may consider moving to unnamed namespace). pdns-5.0.0/pdns/tcpreceiver.cc:103:15: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/tcpreceiver.cc:152:21: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/tcpreceiver.cc:184:17: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pdns-5.0.0/pdns/tcpreceiver.cc:242:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pdns-5.0.0/pdns/tcpreceiver.cc:1358:47: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pdns-5.0.0/pdns/tcpreceiver.cc:1381:18: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pdns-5.0.0/pdns/tcpreceiver.cc:1426:31: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pdns-5.0.0/pdns/tcpreceiver.cc:104:7: style: The scope of the variable 'ret' can be reduced. [variableScope] pdns-5.0.0/pdns/tcpreceiver.cc:153:7: style: The scope of the variable 'ret' can be reduced. [variableScope] pdns-5.0.0/pdns/tcpreceiver.cc:236:10: style: The scope of the variable 'transactions' can be reduced. [variableScope] pdns-5.0.0/pdns/tcpreceiver.cc:684:12: style: The scope of the variable 'tsig64' can be reduced. [variableScope] pdns-5.0.0/pdns/tcpreceiver.cc:604:43: style:inconclusive: Function 'doAXFR' argument 1 names different: declaration 'target' definition 'targetZone'. [funcArgNamesDifferent] pdns-5.0.0/pdns/tcpreceiver.hh:53:37: note: Function 'doAXFR' argument 1 names different: declaration 'target' definition 'targetZone'. pdns-5.0.0/pdns/tcpreceiver.cc:604:43: note: Function 'doAXFR' argument 1 names different: declaration 'target' definition 'targetZone'. pdns-5.0.0/pdns/tcpreceiver.cc:591:84: style: Parameter 'q' can be declared as reference to const [constParameterReference] pdns-5.0.0/pdns/tcpreceiver.cc:872:20: style: Variable 'ip' can be declared as reference to const [constVariableReference] pdns-5.0.0/pdns/tcpreceiver.cc:972:18: style: Variable 'loopZRR' can be declared as reference to const [constVariableReference] pdns-5.0.0/pdns/tcpreceiver.cc:548:11: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/tcpreceiver.cc:745:23: style: Variable 'keyname' is assigned a value that is never used. [unreadVariable] pdns-5.0.0/pdns/tcpreceiver.cc:788:21: style: Variable 'keyname' is assigned a value that is never used. [unreadVariable] pdns-5.0.0/pdns/test-arguments_cc.cc:59:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-arguments_cc.cc:36:5: error: Resource leak: fd [resourceLeak] pdns-5.0.0/pdns/test-arguments_cc.cc:40:13: style: Local variable 'arg' shadows outer function [shadowFunction] pdns-5.0.0/pdns/arguments.hh:152:17: note: Shadowed declaration pdns-5.0.0/pdns/test-arguments_cc.cc:40:13: note: Shadow variable pdns-5.0.0/pdns/test-auth-zonecache_cc.cc:142:23: style: Variable 'disjoint' is assigned a value that is never used. [unreadVariable] pdns-5.0.0/pdns/test-base32_cc.cc:31:28: style: Iterating over container 'cases' that is always empty. [knownEmptyContainer] pdns-5.0.0/pdns/test-channel.cc:94:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable runtime_error [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-channel.cc:103:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-channel.cc:139:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable runtime_error [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/channel.hh:109:5: style: Class 'Receiver < MyObject , std :: default_delete < MyObject > >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/channel.hh:76:5: style: Class 'Sender < MyObject , std :: default_delete < MyObject > >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/test-channel.cc:31:3: warning: Access of moved variable 'obj'. [accessMoved] pdns-5.0.0/pdns/test-channel.cc:30:3: note: Calling std::move(obj) pdns-5.0.0/pdns/test-channel.cc:31:3: note: Access of moved variable 'obj'. pdns-5.0.0/pdns/test-channel.cc:57:7: warning: Access of moved variable 'obj'. [accessMoved] pdns-5.0.0/pdns/test-channel.cc:52:28: note: Calling std::move(obj) pdns-5.0.0/pdns/test-channel.cc:57:7: note: Access of moved variable 'obj'. pdns-5.0.0/pdns/test-communicator_hh.cc:90:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable priorityAndOrder [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-credentials_cc.cc:149:3: warning:inconclusive: Access of moved variable 'data'. [accessMoved] pdns-5.0.0/pdns/test-credentials_cc.cc:147:11: note: Calling std::move(data) pdns-5.0.0/pdns/test-credentials_cc.cc:149:3: note: Access of moved variable 'data'. pdns-5.0.0/pdns/test-distributor_hh.cc:175:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-distributor_hh.cc:30:8: performance:inconclusive: Technically the member function 'test_distributor_hh::Question::cleanupGSS' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-5.0.0/pdns/test-distributor_hh.cc:181:24: style: Variable 'pe' can be declared as reference to const [constVariableReference] pdns-5.0.0/pdns/test-distributor_hh.cc:22:7: style: struct member 'Question::q' is never used. [unusedStructMember] pdns-5.0.0/pdns/test-dnsname_cc.cc:160:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable runtime_error [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-dnsname_cc.cc:195:116: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable range_error [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-dnsname_cc.cc:207:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out_of_range [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-dnsname_cc.cc:288:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-dnsname_cc.cc:343:80: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable range_error [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-dnsname_cc.cc:530:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-dnsname_cc.cc:746:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable range_error [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-dnsname_cc.cc:778:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable range_error [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-dnsname_cc.cc:823:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable range_error [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-dnsname_cc.cc:842:74: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable range_error [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-dnsname_cc.cc:869:94: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable range_error [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-dnsname_cc.cc:898:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable range_error [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-dnsname_cc.cc:922:76: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable range_error [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-dnsname_cc.cc:929:76: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable range_error [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-dnsname_cc.cc:936:74: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable range_error [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-dnsname_cc.cc:953:86: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable range_error [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-dnsname_cc.cc:975:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out_of_range [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-dnsname_cc.cc:995:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out_of_range [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/dnsname.hh:459:8: style:inconclusive: Technically the member function 'SuffixMatchTree < DNSName >::add' can be const. [functionConst] pdns-5.0.0/pdns/dnsname.hh:385:3: style: Struct 'SuffixMatchTree < DNSName >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/test-dnsname_cc.cc:285:14: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/test-dnsname_cc.cc:285:39: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/test-dnsname_cc.cc:312:21: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/test-dnsname_cc.cc:333:13: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/test-dnsname_cc.cc:343:29: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/test-dnsname_cc.cc:455:14: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/test-dnsname_cc.cc:476:15: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/test-dnsname_cc.cc:481:15: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/test-dnsname_cc.cc:484:17: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/test-dnsparser_cc.cc:25:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-dnsparser_cc.cc:106:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-dnsparser_cc.cc:162:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-dnsparser_cc.cc:363:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-dnsparser_cc.cc:458:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-dnsparser_cc.cc:498:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-dnsparser_cc.cc:565:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-dnsrecords_cc.cc:308:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-dnsrecords_cc.cc:451:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-dnsrecords_cc.cc:477:91: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-dnsrecords_cc.cc:512:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable invalidSVCB1 [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-dnsrecords_cc.cc:518:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-dnsrecords_cc.cc:530:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-dnsrecords_cc.cc:550:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-dnsrecords_cc.cc:601:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-dnsrecords_cc.cc:629:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-dnsrecords_cc.cc:653:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-dnsrecords_cc.cc:727:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-dnsrecords_cc.cc:422:11: style: Condition 'success' is always false [knownConditionTrueFalse] pdns-5.0.0/pdns/test-dnsrecords_cc.cc:419:19: note: Assignment 'success=false', assigned value is 0 pdns-5.0.0/pdns/test-dnsrecords_cc.cc:422:11: note: Condition 'success' is always false pdns-5.0.0/pdns/test-dnsrecords_cc.cc:442:26: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/test-dnswriter_cc.cc:24:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-dnswriter_cc.cc:53:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-dnswriter_cc.cc:87:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-dnswriter_cc.cc:110:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-dnswriter_cc.cc:137:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-dnswriter_cc.cc:159:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-dnswriter_cc.cc:181:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-dnswriter_cc.cc:204:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-dnswriter_cc.cc:229:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-dnswriter_cc.cc:254:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-dnswriter_cc.cc:278:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-dnswriter_cc.cc:310:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-dnswriter_cc.cc:101:5: style: Consider using std::distance algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/test-dnswriter_cc.cc:124:5: style: Consider using std::distance algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/test-dnswriter_cc.cc:150:5: style: Consider using std::distance algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/test-dnswriter_cc.cc:172:5: style: Consider using std::distance algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/test-dnswriter_cc.cc:195:5: style: Consider using std::distance algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/test-dnswriter_cc.cc:217:5: style: Consider using std::distance algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/test-dnswriter_cc.cc:243:5: style: Consider using std::distance algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/test-dnswriter_cc.cc:267:5: style: Consider using std::distance algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/test-dnswriter_cc.cc:293:5: style: Consider using std::distance algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/test-dnswriter_cc.cc:321:5: style: Consider using std::distance algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/test-iputils_hh.cc:21:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-iputils_hh.cc:76:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-iputils_hh.cc:469:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable second [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-iputils_hh.cc:526:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable second [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-iputils_hh.cc:538:76: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable second [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-iputils_hh.cc:587:86: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable second [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-iputils_hh.cc:659:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hex [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/iputils.hh:1317:3: warning:inconclusive: Member variable 'NetmaskTree < int , Netmask >::d_size' is not assigned in the copy constructor. Should it be copied? [missingMemberCopy] pdns-5.0.0/pdns/iputils.hh:1201: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-5.0.0/pdns/iputils.hh:1349:12: style:inconclusive: Technically the member function 'NetmaskTree < int , Netmask >::end' can be const. [functionConst] pdns-5.0.0/pdns/iputils.hh:1302:10: style:inconclusive: Technically the member function 'NetmaskTree < int , Netmask >::Iterator::operator==' can be const. [functionConst] pdns-5.0.0/pdns/iputils.hh:1306:10: style:inconclusive: Technically the member function 'NetmaskTree < int , Netmask >::Iterator::operator!=' can be const. [functionConst] pdns-5.0.0/pdns/test-iputils_hh.cc:136:16: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/test-iputils_hh.cc:139:16: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/test-iputils_hh.cc:194:35: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/test-iputils_hh.cc:197:35: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/test-iputils_hh.cc:922:5: style: Variable 'tests' can be declared as const array [constVariable] pdns-5.0.0/pdns/test-ixfr_cc.cc:22:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-ixfr_cc.cc:44:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-ixfr_cc.cc:91:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-ixfr_cc.cc:122:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-ixfr_cc.cc:165:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-ixfr_cc.cc:210:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-ixfr_cc.cc:231:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-ixfr_cc.cc:254:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-ixfr_cc.cc:270:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-ixfr_cc.cc:283:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-ixfr_cc.cc:300:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-lock_hh.cc:25:12: style: Consider using std::copy algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/test-lock_hh.cc:33:12: style: Consider using std::copy algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/test-lock_hh.cc:41:12: style: Consider using std::copy algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/test-lua_auth4_cc.cc:23:1: performance:inconclusive: Technically the member function 'lua_auth4_cc::BOOST_AUTO_TEST_CASE_run' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-5.0.0/pdns/test-lua_auth4_cc.cc:50:1: performance:inconclusive: Technically the member function 'lua_auth4_cc::BOOST_AUTO_TEST_CASE_run' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-5.0.0/pdns/test-luawrapper.cc:29:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable increment [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-misc_hh.cc:392:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable range_error [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-misc_hh.cc:80:28: style: Iterating over container 'cases' that is always empty. [knownEmptyContainer] pdns-5.0.0/pdns/test-misc_hh.cc:103:28: style: Iterating over container 'cases' that is always empty. [knownEmptyContainer] pdns-5.0.0/pdns/test-misc_hh.cc:130:14: style: Variable 'i' is assigned a value that is never used. [unreadVariable] pdns-5.0.0/pdns/test-misc_hh.cc:130:12: style: Variable 'i' is assigned a value that is never used. [unreadVariable] pdns-5.0.0/pdns/test-mplexer.cc:29:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s_maxevents [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-mplexer.cc:230:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s_maxevents [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-packetcache_cc.cc:73:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-packetcache_cc.cc:90:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-packetcache_cc.cc:104:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-packetcache_cc.cc:141:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-packetcache_cc.cc:181:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-packetcache_cc.cc:204:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-packetcache_cc.cc:253:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-packetcache_cc.cc:268:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-packetcache_cc.cc:305:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-packetcache_cc.cc:483:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-packetcache_cc.cc:530:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-packetcache_cc.cc:567:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-packetcache_cc.cc:113:5: error: Non-local variable 'g_QC' will use pointer to local variable 'QC'. [danglingLifetime] pdns-5.0.0/pdns/test-packetcache_cc.cc:113:10: note: Address of variable taken here. pdns-5.0.0/pdns/test-packetcache_cc.cc:111:20: note: Variable created here. pdns-5.0.0/pdns/test-packetcache_cc.cc:113:5: note: Non-local variable 'g_QC' will use pointer to local variable 'QC'. pdns-5.0.0/pdns/test-packetcache_cc.cc:214:5: error: Non-local variable 'g_PC' will use pointer to local variable 'PC'. [danglingLifetime] pdns-5.0.0/pdns/test-packetcache_cc.cc:214:10: note: Address of variable taken here. pdns-5.0.0/pdns/test-packetcache_cc.cc:210:21: note: Variable created here. pdns-5.0.0/pdns/test-packetcache_cc.cc:214:5: note: Non-local variable 'g_PC' will use pointer to local variable 'PC'. pdns-5.0.0/pdns/test-packetcache_cc.cc:284:5: error: Non-local variable 'g_QC' will use pointer to local variable 'QC'. [danglingLifetime] pdns-5.0.0/pdns/test-packetcache_cc.cc:284:10: note: Address of variable taken here. pdns-5.0.0/pdns/test-packetcache_cc.cc:274:20: note: Variable created here. pdns-5.0.0/pdns/test-packetcache_cc.cc:284:5: note: Non-local variable 'g_QC' will use pointer to local variable 'QC'. pdns-5.0.0/pdns/test-packetcache_cc.cc:159:13: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/test-packetcache_cc.cc:168:13: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/test-packetcache_cc.cc:195:13: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/test-packetcache_cc.cc:324:15: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/test-packetcache_cc.cc:326:26: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/test-packetcache_cc.cc:331:19: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/test-packetcache_cc.cc:342:27: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/test-packetcache_cc.cc:350:20: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/test-packetcache_cc.cc:360:18: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/test-packetcache_cc.cc:371:18: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/test-packetcache_cc.cc:382:18: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/test-packetcache_cc.cc:393:15: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/test-packetcache_cc.cc:39:12: style: The scope of the variable 'counter' can be reduced. [variableScope] pdns-5.0.0/pdns/test-packetcache_cc.cc:72:24: style: Variable 'e' can be declared as reference to const [constVariableReference] pdns-5.0.0/pdns/test-packetcache_cc.cc:89:23: style: Variable 'e' can be declared as reference to const [constVariableReference] pdns-5.0.0/pdns/test-packetcache_cc.cc:103:22: style: Variable 'e' can be declared as reference to const [constVariableReference] pdns-5.0.0/pdns/test-packetcache_cc.cc:140:24: style: Variable 'e' can be declared as reference to const [constVariableReference] pdns-5.0.0/pdns/test-packetcache_cc.cc:180:23: style: Variable 'e' can be declared as reference to const [constVariableReference] pdns-5.0.0/pdns/test-packetcache_cc.cc:203:22: style: Variable 'e' can be declared as reference to const [constVariableReference] pdns-5.0.0/pdns/test-packetcache_cc.cc:252:24: style: Variable 'e' can be declared as reference to const [constVariableReference] pdns-5.0.0/pdns/test-packetcache_cc.cc:267:22: style: Variable 'e' can be declared as reference to const [constVariableReference] pdns-5.0.0/pdns/test-packetcache_cc.cc:304:24: style: Variable 'e' can be declared as reference to const [constVariableReference] pdns-5.0.0/pdns/test-packetcache_cc.cc:482:24: style: Variable 'e' can be declared as reference to const [constVariableReference] pdns-5.0.0/pdns/test-packetcache_cc.cc:566:24: style: Variable 'e' can be declared as reference to const [constVariableReference] pdns-5.0.0/pdns/test-packetcache_hh.cc:37:21: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/test-packetcache_hh.cc:45:21: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/test-packetcache_hh.cc:65:21: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/test-packetcache_hh.cc:79:21: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/test-packetcache_hh.cc:137:21: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/test-packetcache_hh.cc:152:21: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/test-packetcache_hh.cc:175:21: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/test-packetcache_hh.cc:191:21: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/test-packetcache_hh.cc:269:21: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/test-packetcache_hh.cc:296:21: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/test-packetcache_hh.cc:304:21: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/test-packetcache_hh.cc:324:21: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/test-packetcache_hh.cc:338:21: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/test-packetcache_hh.cc:361:21: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/test-packetcache_hh.cc:377:21: style: C-style pointer casting [cstyleCast] pdns-5.0.0/pdns/test-proxy_protocol_cc.cc:117:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable runtime_error [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-signers.cc:305:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-signers.cc:355:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-signers.cc:398:7: style: Condition '!errorMessages.empty()' is always false [knownConditionTrueFalse] pdns-5.0.0/pdns/test-signers.cc:400:16: style: Variable 'errorMessage' can be declared as reference to const [constVariableReference] pdns-5.0.0/pdns/test-svc_records_cc.cc:59:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable invalid_argument [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-svc_records_cc.cc:76:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable invalid_argument [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-svc_records_cc.cc:84:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable invalid_argument [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-svc_records_cc.cc:119:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable invalid_argument [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-svc_records_cc.cc:144:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable invalid_argument [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-svc_records_cc.cc:175:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable invalid_argument [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-svc_records_cc.cc:211:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable invalid_argument [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-svc_records_cc.cc:120:69: warning: Access of moved variable 'val'. [accessMoved] pdns-5.0.0/pdns/test-svc_records_cc.cc:119:48: note: Calling std::move(val) pdns-5.0.0/pdns/test-svc_records_cc.cc:120:69: note: Access of moved variable 'val'. pdns-5.0.0/pdns/test-svc_records_cc.cc:121:58: warning: Access of moved variable 'val'. [accessMoved] pdns-5.0.0/pdns/test-svc_records_cc.cc:120:59: note: Calling std::move(val) pdns-5.0.0/pdns/test-svc_records_cc.cc:121:58: note: Access of moved variable 'val'. pdns-5.0.0/pdns/test-svc_records_cc.cc:122:62: warning: Access of moved variable 'val'. [accessMoved] pdns-5.0.0/pdns/test-svc_records_cc.cc:121:48: note: Calling std::move(val) pdns-5.0.0/pdns/test-svc_records_cc.cc:122:62: note: Access of moved variable 'val'. pdns-5.0.0/pdns/test-svc_records_cc.cc:123:57: warning: Access of moved variable 'val'. [accessMoved] pdns-5.0.0/pdns/test-svc_records_cc.cc:122:52: note: Calling std::move(val) pdns-5.0.0/pdns/test-svc_records_cc.cc:123:57: note: Access of moved variable 'val'. pdns-5.0.0/pdns/test-svc_records_cc.cc:124:62: warning: Access of moved variable 'val'. [accessMoved] pdns-5.0.0/pdns/test-svc_records_cc.cc:123:47: note: Calling std::move(val) pdns-5.0.0/pdns/test-svc_records_cc.cc:124:62: note: Access of moved variable 'val'. pdns-5.0.0/pdns/test-svc_records_cc.cc:145:69: warning: Access of moved variable 'val'. [accessMoved] pdns-5.0.0/pdns/test-svc_records_cc.cc:144:53: note: Calling std::move(val) pdns-5.0.0/pdns/test-svc_records_cc.cc:145:69: note: Access of moved variable 'val'. pdns-5.0.0/pdns/test-svc_records_cc.cc:146:58: warning: Access of moved variable 'val'. [accessMoved] pdns-5.0.0/pdns/test-svc_records_cc.cc:145:59: note: Calling std::move(val) pdns-5.0.0/pdns/test-svc_records_cc.cc:146:58: note: Access of moved variable 'val'. pdns-5.0.0/pdns/test-svc_records_cc.cc:147:62: warning: Access of moved variable 'val'. [accessMoved] pdns-5.0.0/pdns/test-svc_records_cc.cc:146:48: note: Calling std::move(val) pdns-5.0.0/pdns/test-svc_records_cc.cc:147:62: note: Access of moved variable 'val'. pdns-5.0.0/pdns/test-svc_records_cc.cc:148:57: warning: Access of moved variable 'val'. [accessMoved] pdns-5.0.0/pdns/test-svc_records_cc.cc:147:52: note: Calling std::move(val) pdns-5.0.0/pdns/test-svc_records_cc.cc:148:57: note: Access of moved variable 'val'. pdns-5.0.0/pdns/test-svc_records_cc.cc:149:62: warning: Access of moved variable 'val'. [accessMoved] pdns-5.0.0/pdns/test-svc_records_cc.cc:148:47: note: Calling std::move(val) pdns-5.0.0/pdns/test-svc_records_cc.cc:149:62: note: Access of moved variable 'val'. pdns-5.0.0/pdns/test-svc_records_cc.cc:152:86: warning: Access of moved variable 'val'. [accessMoved] pdns-5.0.0/pdns/test-svc_records_cc.cc:149:52: note: Calling std::move(val) pdns-5.0.0/pdns/test-svc_records_cc.cc:152:86: note: Access of moved variable 'val'. pdns-5.0.0/pdns/test-svc_records_cc.cc:176:58: warning: Access of moved variable 'v4Val'. [accessMoved] pdns-5.0.0/pdns/test-svc_records_cc.cc:175:53: note: Calling std::move(v4Val) pdns-5.0.0/pdns/test-svc_records_cc.cc:176:58: note: Access of moved variable 'v4Val'. pdns-5.0.0/pdns/test-svc_records_cc.cc:177:69: warning: Access of moved variable 'v4Val'. [accessMoved] pdns-5.0.0/pdns/test-svc_records_cc.cc:176:48: note: Calling std::move(v4Val) pdns-5.0.0/pdns/test-svc_records_cc.cc:177:69: note: Access of moved variable 'v4Val'. pdns-5.0.0/pdns/test-svc_records_cc.cc:178:58: warning: Access of moved variable 'v4Val'. [accessMoved] pdns-5.0.0/pdns/test-svc_records_cc.cc:177:59: note: Calling std::move(v4Val) pdns-5.0.0/pdns/test-svc_records_cc.cc:178:58: note: Access of moved variable 'v4Val'. pdns-5.0.0/pdns/test-svc_records_cc.cc:179:57: warning: Access of moved variable 'v4Val'. [accessMoved] pdns-5.0.0/pdns/test-svc_records_cc.cc:178:48: note: Calling std::move(v4Val) pdns-5.0.0/pdns/test-svc_records_cc.cc:179:57: note: Access of moved variable 'v4Val'. pdns-5.0.0/pdns/test-svc_records_cc.cc:181:62: warning: Access of moved variable 'v4Val'. [accessMoved] pdns-5.0.0/pdns/test-svc_records_cc.cc:179:47: note: Calling std::move(v4Val) pdns-5.0.0/pdns/test-svc_records_cc.cc:181:62: note: Access of moved variable 'v4Val'. pdns-5.0.0/pdns/test-svc_records_cc.cc:184:62: warning: Access of moved variable 'mixedVal'. [accessMoved] pdns-5.0.0/pdns/test-svc_records_cc.cc:183:52: note: Calling std::move(mixedVal) pdns-5.0.0/pdns/test-svc_records_cc.cc:184:62: note: Access of moved variable 'mixedVal'. pdns-5.0.0/pdns/test-svc_records_cc.cc:187:73: warning: Access of moved variable 'v4Val'. [accessMoved] pdns-5.0.0/pdns/test-svc_records_cc.cc:181:52: note: Calling std::move(v4Val) pdns-5.0.0/pdns/test-svc_records_cc.cc:187:73: note: Access of moved variable 'v4Val'. pdns-5.0.0/pdns/test-svc_records_cc.cc:197:73: warning: Access of moved variable 'v6Val'. [accessMoved] pdns-5.0.0/pdns/test-svc_records_cc.cc:182:52: note: Calling std::move(v6Val) pdns-5.0.0/pdns/test-svc_records_cc.cc:197:73: note: Access of moved variable 'v6Val'. pdns-5.0.0/pdns/test-tsig.cc:87:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANY [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-tsig.cc:174:101: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable runtime_error [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-tsig.cc:185:92: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable runtime_error [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-tsig.cc:196:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable runtime_error [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-tsig.cc:208:98: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable runtime_error [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-tsig.cc:220:107: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable runtime_error [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-tsig.cc:232:86: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable runtime_error [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-tsig.cc:243:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable runtime_error [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-tsig.cc:254:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable runtime_error [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-tsig.cc:74:175: style: Parameter 'overrideExtendedRCode' can be declared as pointer to const [constParameterPointer] pdns-5.0.0/pdns/test-tsig.cc:74:216: style: Parameter 'overrideOrigID' can be declared as pointer to const [constParameterPointer] pdns-5.0.0/pdns/test-tsig.cc:95:17: style: Variable 'keyName' is assigned a value that is never used. [unreadVariable] pdns-5.0.0/pdns/test-ueberbackend_cc.cc:110:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAP_LIST [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-ueberbackend_cc.cc:554:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-ueberbackend_cc.cc:701:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-ueberbackend_cc.cc:827:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-ueberbackend_cc.cc:950:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-ueberbackend_cc.cc:1028:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-ueberbackend_cc.cc:1083:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-ueberbackend_cc.cc:1178:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/test-ueberbackend_cc.cc:61:36: style:inconclusive: Member variable 'SimpleDNSZone::d_records' uses an uninitialized argument 'd_name' due to the order of declarations. [initializerList] pdns-5.0.0/pdns/test-ueberbackend_cc.cc:58:56: note: Member variable 'SimpleDNSZone::d_records' uses an uninitialized argument 'd_name' due to the order of declarations. pdns-5.0.0/pdns/test-ueberbackend_cc.cc:61:36: note: Member variable 'SimpleDNSZone::d_records' uses an uninitialized argument 'd_name' due to the order of declarations. pdns-5.0.0/pdns/test-ueberbackend_cc.cc:105:3: style: Class 'SimpleBackend' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/test-ueberbackend_cc.cc:247:3: style: Class 'SimpleBackendBestAuth' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/test-ueberbackend_cc.cc:287:3: style: Class 'SimpleBackendNoMeta' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/test-ueberbackend_cc.cc:456:40: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/test-zoneparser_tng_cc.cc:151:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable exception [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/threadname.cc:67:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERANGE [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/threadname.cc:72:14: style: Condition 'retval!=0' is always false [knownConditionTrueFalse] pdns-5.0.0/pdns/threadname.cc:44:16: note: Assignment 'retval=0', assigned value is 0 pdns-5.0.0/pdns/threadname.cc:66:32: note: Calling function 'trySetThreadName' returns 0 pdns-5.0.0/pdns/threadname.cc:66:32: note: Assignment 'retval=trySetThreadName(threadName)', assigned value is 0 pdns-5.0.0/pdns/threadname.cc:72:14: note: Condition 'retval!=0' is always false pdns-5.0.0/pdns/tkey.cc:24:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/tkey.cc:8:21: performance:inconclusive: Technically the member function 'PacketHandler::tkeyHandler' can be static (but you may consider moving to unnamed namespace). [functionStatic] pdns-5.0.0/pdns/packethandler.hh:113:8: note: Technically the member function 'PacketHandler::tkeyHandler' can be static (but you may consider moving to unnamed namespace). pdns-5.0.0/pdns/tkey.cc:8:21: note: Technically the member function 'PacketHandler::tkeyHandler' can be static (but you may consider moving to unnamed namespace). pdns-5.0.0/pdns/tsig-tests.cc:35:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/tsig-tests.cc:78:22: style: Variable 'ae' can be declared as reference to const [constVariableReference] pdns-5.0.0/pdns/ueberbackend.cc:54:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/ueberbackend.cc:69:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/ueberbackend.cc:429:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/ueberbackend.cc:797:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/ueberbackend.cc:1091:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s_backendQueries [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/ueberbackend.cc:716:15: warning: Member variable 'UeberBackend::d_cachehandleiter' is not initialized in the constructor. [uninitMemberVar] pdns-5.0.0/pdns/ueberbackend.cc:716:15: warning: Member variable 'UeberBackend::d_question' is not initialized in the constructor. [uninitMemberVar] pdns-5.0.0/pdns/ueberbackend.cc:64:3: error: Resource leak: dlib [resourceLeak] pdns-5.0.0/pdns/ueberbackend.cc:702:53: style:inconclusive: Function 'autoPrimaryBackend' argument 1 names different: declaration 'ip' definition 'ipAddr'. [funcArgNamesDifferent] pdns-5.0.0/pdns/ueberbackend.hh:50:41: note: Function 'autoPrimaryBackend' argument 1 names different: declaration 'ip' definition 'ipAddr'. pdns-5.0.0/pdns/ueberbackend.cc:702:53: note: Function 'autoPrimaryBackend' argument 1 names different: declaration 'ip' definition 'ipAddr'. pdns-5.0.0/pdns/ueberbackend.cc:357:16: style: Variable 'view' can be declared as reference to const [constVariableReference] pdns-5.0.0/pdns/ueberbackend.cc:448:86: style: Parameter 'shorter' can be declared as reference to const [constParameterReference] pdns-5.0.0/pdns/ueberbackend.cc:466:125: style: Parameter 'backends' can be declared as reference to const [constParameterReference] pdns-5.0.0/pdns/ueberbackend.cc:466:181: style: Parameter 'bestMatches' can be declared as reference to const [constParameterReference] pdns-5.0.0/pdns/ueberbackend.cc:1055:88: style: Parameter 'backend' can be declared as reference to const [constParameterReference] pdns-5.0.0/pdns/ueberbackend.cc:56:9: style: Variable 'dlib' can be declared as pointer to const [constVariablePointer] pdns-5.0.0/pdns/ueberbackend.cc:892:3: warning:inconclusive: Access of moved variable 'd_answers'. [accessMoved] pdns-5.0.0/pdns/ueberbackend.cc:890:26: note: Calling std::move(d_answers) pdns-5.0.0/pdns/ueberbackend.cc:892:3: note: Access of moved variable 'd_answers'. pdns-5.0.0/pdns/ueberbackend.cc:71:3: style: Consider using std::all_of or std::none_of algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/ueberbackend.cc:338:20: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/ueberbackend.cc:767:40: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/unix_semaphore.cc:153:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/unix_semaphore.cc:168:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/unix_semaphore.cc:151:3: performance: Variable 'm_pSemaphore' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] pdns-5.0.0/pdns/unix_utility.cc:208:0: debug: Function::addArguments found argument 'vector' with varid 0. [varid0] pdns-5.0.0/pdns/unix_utility.cc:56:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fd_set [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/unix_utility.cc:145:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/unix_utility.cc:181:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/unix_utility.cc:210:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/unix_utility.cc:273:84: style:inconclusive: Boolean expression 't->tm_mon>1' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] pdns-5.0.0/pdns/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-5.0.0/pdns/unix_utility.cc:249:20: style: Condition 't->tm_mon==31+29' is always false [knownConditionTrueFalse] pdns-5.0.0/pdns/unix_utility.cc:248:18: note: Assuming that condition 't->tm_mon==1' is not redundant pdns-5.0.0/pdns/unix_utility.cc:249:20: note: Condition 't->tm_mon==31+29' is always false pdns-5.0.0/pdns/unix_utility.cc:125:42: style:inconclusive: Function 'sleep' argument 1 names different: declaration 'seconds' definition 'sec'. [funcArgNamesDifferent] pdns-5.0.0/pdns/utility.hh:133:43: note: Function 'sleep' argument 1 names different: declaration 'seconds' definition 'sec'. pdns-5.0.0/pdns/unix_utility.cc:125:42: note: Function 'sleep' argument 1 names different: declaration 'seconds' definition 'sec'. pdns-5.0.0/pdns/unix_utility.cc:220:41: style:inconclusive: Function 'timegm' argument 1 names different: declaration 'tm' definition 't'. [funcArgNamesDifferent] pdns-5.0.0/pdns/utility.hh:138:35: note: Function 'timegm' argument 1 names different: declaration 'tm' definition 't'. pdns-5.0.0/pdns/unix_utility.cc:220:41: note: Function 'timegm' argument 1 names different: declaration 'tm' definition 't'. pdns-5.0.0/pdns/version.cc:195:50: error: There is an unknown macro here somewhere. Configuration is required. If BUILD_HOST is a macro then please configure it. [unknownMacro] pdns-5.0.0/pdns/webserver.cc:50:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/webserver.cc:105:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable headers [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/webserver.cc:112:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable headers [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/webserver.cc:119:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable headers [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/webserver.cc:126:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable headers [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/webserver.cc:134:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable status [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/webserver.cc:140:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable status [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/webserver.cc:161:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/webserver.cc:217:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/webserver.cc:239:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/webserver.cc:264:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/webserver.cc:385:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/webserver.cc:437:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/webserver.cc:489:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable set [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/webserver.cc:547:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/webserver.cc:635:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/webserver.cc:679:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/webserver.cc:63:65: style:inconclusive: Function 'compareAuthorization' argument 1 names different: declaration 'expectedCredentials' definition 'credentials'. [funcArgNamesDifferent] pdns-5.0.0/pdns/webserver.hh:62:54: note: Function 'compareAuthorization' argument 1 names different: declaration 'expectedCredentials' definition 'credentials'. pdns-5.0.0/pdns/webserver.cc:63:65: note: Function 'compareAuthorization' argument 1 names different: declaration 'expectedCredentials' definition 'credentials'. pdns-5.0.0/pdns/webserver.cc:93:85: style:inconclusive: Function 'compareHeader' argument 2 names different: declaration 'expectedCredentials' definition 'credentials'. [funcArgNamesDifferent] pdns-5.0.0/pdns/webserver.hh:63:74: note: Function 'compareHeader' argument 2 names different: declaration 'expectedCredentials' definition 'credentials'. pdns-5.0.0/pdns/webserver.cc:93:85: note: Function 'compareHeader' argument 2 names different: declaration 'expectedCredentials' definition 'credentials'. pdns-5.0.0/pdns/webserver.cc:131:73: style:inconclusive: Function 'setErrorResult' argument 2 names different: declaration 'status' definition 'status_'. [funcArgNamesDifferent] pdns-5.0.0/pdns/webserver.hh:84:61: note: Function 'setErrorResult' argument 2 names different: declaration 'status' definition 'status_'. pdns-5.0.0/pdns/webserver.cc:131:73: note: Function 'setErrorResult' argument 2 names different: declaration 'status' definition 'status_'. pdns-5.0.0/pdns/webserver.cc:137:75: style:inconclusive: Function 'setSuccessResult' argument 2 names different: declaration 'status' definition 'status_'. [funcArgNamesDifferent] pdns-5.0.0/pdns/webserver.hh:85:63: note: Function 'setSuccessResult' argument 2 names different: declaration 'status' definition 'status_'. pdns-5.0.0/pdns/webserver.cc:137:75: note: Function 'setSuccessResult' argument 2 names different: declaration 'status' definition 'status_'. pdns-5.0.0/pdns/webserver.cc:253:44: style:inconclusive: Function 'handleRequest' argument 1 names different: declaration 'request' definition 'req'. [funcArgNamesDifferent] pdns-5.0.0/pdns/webserver.hh:241:35: note: Function 'handleRequest' argument 1 names different: declaration 'request' definition 'req'. pdns-5.0.0/pdns/webserver.cc:253:44: note: Function 'handleRequest' argument 1 names different: declaration 'request' definition 'req'. pdns-5.0.0/pdns/webserver.cc:234:21: style: Variable 'msg' is assigned a value that is never used. [unreadVariable] pdns-5.0.0/pdns/webserver.cc:664:16: style: Variable 'msg' is assigned a value that is never used. [unreadVariable] pdns-5.0.0/pdns/webserver.cc:667:20: style: Variable 'acceptmsg' is assigned a value that is never used. [unreadVariable] pdns-5.0.0/pdns/ws-api.cc:109:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/ws-api.cc:300:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/ws-api.cc:394:117: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/ws-api.cc:360:40: style:inconclusive: Function 'apiZoneNameToId' argument 1 names different: declaration 'name' definition 'dname'. [funcArgNamesDifferent] pdns-5.0.0/pdns/ws-api.hh:36:40: note: Function 'apiZoneNameToId' argument 1 names different: declaration 'name' definition 'dname'. pdns-5.0.0/pdns/ws-api.cc:360:40: note: Function 'apiZoneNameToId' argument 1 names different: declaration 'name' definition 'dname'. pdns-5.0.0/pdns/ws-api.cc:399:54: style:inconclusive: Function 'apiCheckQNameAllowedCharacters' argument 1 names different: declaration 'name' definition 'qname'. [funcArgNamesDifferent] pdns-5.0.0/pdns/ws-api.hh:39:54: note: Function 'apiCheckQNameAllowedCharacters' argument 1 names different: declaration 'name' definition 'qname'. pdns-5.0.0/pdns/ws-api.cc:399:54: note: Function 'apiCheckQNameAllowedCharacters' argument 1 names different: declaration 'name' definition 'qname'. pdns-5.0.0/pdns/ws-api.cc:151:9: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/ws-auth.cc:150:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/ws-auth.cc:191:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/ws-auth.cc:225:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/ws-auth.cc:237:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/ws-auth.cc:272:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/ws-auth.cc:580:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/ws-auth.cc:621:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/ws-auth.cc:726:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/ws-auth.cc:1004:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_api_swagger_yaml [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/ws-auth.cc:2282:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/ws-auth.cc:2690:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/ws-auth.cc:2827:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/ws-auth.cc:2885:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/ws-auth.cc:2976:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/ws-auth.cc:250:21: style:inconclusive: Technically the member function 'AuthWebServer::indexfunction' can be const. [functionConst] pdns-5.0.0/pdns/ws-auth.hh:57:8: note: Technically the member function 'AuthWebServer::indexfunction' can be const. pdns-5.0.0/pdns/ws-auth.cc:250:21: note: Technically the member function 'AuthWebServer::indexfunction' can be const. pdns-5.0.0/pdns/ws-auth.cc:1017:3: style: Class 'ZoneData' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/ws-auth.cc:1752:3: style: Class 'TSIGKeyData' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pdns-5.0.0/pdns/ws-auth.cc:1594:8: style: The scope of the variable 'seenSOA' can be reduced. [variableScope] pdns-5.0.0/pdns/ws-auth.cc:2338:8: style: The scope of the variable 'zone_disabled' can be reduced. [variableScope] pdns-5.0.0/pdns/ws-auth.cc:2341:29: style: The scope of the variable 'new_records' can be reduced. [variableScope] pdns-5.0.0/pdns/ws-auth.cc:2342:19: style: The scope of the variable 'new_comments' can be reduced. [variableScope] pdns-5.0.0/pdns/ws-auth.cc:2702:78: style: Parameter 'zones' can be declared as reference to const [constParameterReference] pdns-5.0.0/pdns/ws-auth.cc:1001:27: style: Parameter 'req' can be declared as pointer to const. However it seems that 'apiDocs' is a callback function, if 'req' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pdns-5.0.0/pdns/ws-auth.cc:2963:45: note: You might need to cast the function pointer here pdns-5.0.0/pdns/ws-auth.cc:1001:27: note: Parameter 'req' can be declared as pointer to const pdns-5.0.0/pdns/ws-auth.cc:1830:59: style: Parameter 'req' can be declared as pointer to const. However it seems that 'apiServerAutoprimaryDetailDELETE' is a callback function, if 'req' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pdns-5.0.0/pdns/ws-auth.cc:2924:94: note: You might need to cast the function pointer here pdns-5.0.0/pdns/ws-auth.cc:1830:59: note: Parameter 'req' can be declared as pointer to const pdns-5.0.0/pdns/ws-auth.cc:2723:44: style: Parameter 'req' can be declared as pointer to const. However it seems that 'apiServerViewsGET' is a callback function, if 'req' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pdns-5.0.0/pdns/ws-auth.cc:2936:74: note: You might need to cast the function pointer here pdns-5.0.0/pdns/ws-auth.cc:2723:44: note: Parameter 'req' can be declared as pointer to const pdns-5.0.0/pdns/ws-auth.cc:984:7: performance: Inefficient usage of string::find() in condition; string::starts_with() could be faster. [stlIfStrFind] pdns-5.0.0/pdns/ws-auth.cc:354:15: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/ws-auth.cc:435:23: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/ws-auth.cc:441:25: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/ws-auth.cc:989:38: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/ws-auth.cc:1051:15: style: Consider using std::copy algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/ws-auth.cc:1113:18: style: Consider using std::copy algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/ws-auth.cc:1146:13: style: Consider using std::copy algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/ws-auth.cc:1215:52: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/ws-auth.cc:1716:9: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/ws-auth.cc:2119:9: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/ws-auth.cc:2705:11: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] pdns-5.0.0/pdns/ws-auth.cc:1069:18: style: Unused variable: entries [unusedVariable] pdns-5.0.0/pdns/ws-auth.cc:2343:29: style: Unused variable: new_ptrs [unusedVariable] pdns-5.0.0/pdns/zone2json.cc:66:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/zone2json.cc:120:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/zone2json.cc:96:18: style: The scope of the variable 'lines' can be reduced. [variableScope] pdns-5.0.0/pdns/zone2json.cc:139:9: style: The scope of the variable 'count' can be reduced. [variableScope] pdns-5.0.0/pdns/zone2json.cc:230:22: style: Variable 'ae' can be declared as reference to const [constVariableReference] pdns-5.0.0/pdns/zone2json.cc:59:10: style: Unused variable: retval [unusedVariable] pdns-5.0.0/pdns/zone2json.cc:209:14: style: Unused variable: zname [unusedVariable] pdns-5.0.0/pdns/zone2ldap.cc:77:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/zone2ldap.cc:158:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/zone2ldap.cc:256:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/zone2ldap.cc:359:31: style: Variable 'ae' can be declared as reference to const [constVariableReference] pdns-5.0.0/pdns/zone2ldap.cc:230:24: style: Unused variable: parts [unusedVariable] pdns-5.0.0/pdns/zone2sql.cc:100:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/zone2sql.cc:118:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/zone2sql.cc:150:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/zone2sql.cc:234:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/zone2sql.cc:270:9: style: The scope of the variable 'count' can be reduced. [variableScope] pdns-5.0.0/pdns/zone2sql.cc:378:22: style: Variable 'ae' can be declared as reference to const [constVariableReference] pdns-5.0.0/pdns/zoneparser-tng.cc:63:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/zoneparser-tng.cc:280:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/zoneparser-tng.cc:351:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] pdns-5.0.0/pdns/zoneparser-tng.cc:41:16: warning: Member variable 'ZoneParserTNG::d_zonedataline' is not initialized in the constructor. [uninitMemberVar] pdns-5.0.0/pdns/zoneparser-tng.cc:317:25: style:inconclusive: Technically the member function 'ZoneParserTNG::getZoneName' can be const. [functionConst] pdns-5.0.0/pdns/zoneparser-tng.hh:41:12: note: Technically the member function 'ZoneParserTNG::getZoneName' can be const. pdns-5.0.0/pdns/zoneparser-tng.cc:317:25: note: Technically the member function 'ZoneParserTNG::getZoneName' can be const. pdns-5.0.0/pdns/zoneparser-tng.cc:256:11: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] pdns-5.0.0/pdns/zoneparser-tng.cc:479:44: warning: Either the condition 'd_parts.empty()' is redundant or expression 'd_parts[0]' causes access out of bounds. [containerOutOfBounds] pdns-5.0.0/pdns/zoneparser-tng.cc:495:19: note: Assuming that condition 'd_parts.empty()' is not redundant pdns-5.0.0/pdns/zoneparser-tng.cc:480:17: note: Assuming condition is false pdns-5.0.0/pdns/zoneparser-tng.cc:479:44: note: Access out of bounds pdns-5.0.0/pdns/zoneparser-tng.cc:227:16: performance: Constructing a std::string from the result of c_str() is slow and redundant. [stlcstrConstructor] pdns-5.0.0/pdns/comfun.cc:46:1: error: The one definition rule is violated, different classes/structs have the same name 'DNSResult' [ctuOneDefinitionRuleViolation] pdns-5.0.0/pdns/dnsbulktest.cc:62:1: note: The one definition rule is violated, different classes/structs have the same name 'DNSResult' pdns-5.0.0/pdns/comfun.cc:46:1: note: The one definition rule is violated, different classes/structs have the same name 'DNSResult' pdns-5.0.0/pdns/comfun.cc:61:1: error: The one definition rule is violated, different classes/structs have the same name 'SendReceive' [ctuOneDefinitionRuleViolation] pdns-5.0.0/pdns/dnsbulktest.cc:76:1: note: The one definition rule is violated, different classes/structs have the same name 'SendReceive' pdns-5.0.0/pdns/comfun.cc:61:1: note: The one definition rule is violated, different classes/structs have the same name 'SendReceive' pdns-5.0.0/pdns/dnsreplay.cc:169:1: error: The one definition rule is violated, different classes/structs have the same name 'QuestionData' [ctuOneDefinitionRuleViolation] pdns-5.0.0/pdns/dnsscope.cc:64:1: note: The one definition rule is violated, different classes/structs have the same name 'QuestionData' pdns-5.0.0/pdns/dnsreplay.cc:169:1: note: The one definition rule is violated, different classes/structs have the same name 'QuestionData' pdns-5.0.0/pdns/misc.cc:850:39: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [ctunullpointerOutOfResources] pdns-5.0.0/pdns/dnstcpbench.cc:267:41: note: Assuming allocation function fails pdns-5.0.0/pdns/dnstcpbench.cc:267:34: note: Assignment 'filePtr=std::unique_ptr(fdopen(0,"r"))', assigned value is 0 pdns-5.0.0/pdns/dnstcpbench.cc:277:20: note: Calling function stringfgets, 1st argument is null pdns-5.0.0/pdns/misc.cc:850:39: note: Dereferencing argument fp that is null diff: head pdns-5.0.0/pdns/arguments.cc:346:15: style:inconclusive: Technically the member function 'ArgvMap::parmIsset' can be const. [functionConst] pdns-5.0.0/pdns/arguments.hh:93:8: note: Technically the member function 'ArgvMap::parmIsset' can be const. pdns-5.0.0/pdns/arguments.cc:346:15: note: Technically the member function 'ArgvMap::parmIsset' can be const. 2.18.0 pdns-5.0.0/pdns/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] head pdns-5.0.0/pdns/minicurl.cc:55:3: warning: Class 'MiniCurl' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] head pdns-5.0.0/pdns/statbag.cc:52:17: style:inconclusive: Technically the member function 'StatBag::directory' can be const. [functionConst] pdns-5.0.0/pdns/statbag.hh:140:10: note: Technically the member function 'StatBag::directory' can be const. pdns-5.0.0/pdns/statbag.cc:52:17: note: Technically the member function 'StatBag::directory' can be const. head pdns-5.0.0/pdns/statbag.cc:77:24: style:inconclusive: Technically the member function 'StatBag::getEntries' can be const. [functionConst] pdns-5.0.0/pdns/statbag.hh:141:18: note: Technically the member function 'StatBag::getEntries' can be const. pdns-5.0.0/pdns/statbag.cc:77:24: note: Technically the member function 'StatBag::getEntries' can be const. DONE