2025-07-07 20:24 ftp://ftp.de.debian.org/debian/pool/main/e/entropybroker/entropybroker_2.9.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=zlib --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-63-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 cppcheck: head 2.17.0 head-info: 8833e3e (2025-07-07 13:50:36 +0200) count: 665 659 elapsed-time: 2.5 2.6 head-timing-info: old-timing-info: head results: entropybroker-2.9/ComScire_R2000KU/qwqng.cpp:476:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dev [valueFlowBailoutIncompleteVar] entropybroker-2.9/ComScire_R2000KU/qwqng.hpp:173:34: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] entropybroker-2.9/ComScire_R2000KU/qwqng.hpp:300:45: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] entropybroker-2.9/ComScire_R2000KU/qwqng.cpp:589:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] entropybroker-2.9/ComScire_R2000KU/qwqng.cpp:51:8: warning: Member variable 'QWQNG::statusString_' is not initialized in the constructor. [uninitMemberVarPrivate] entropybroker-2.9/ComScire_R2000KU/qwqng.cpp:51:8: warning: Member variable 'QWQNG::devId_' is not initialized in the constructor. [uninitMemberVarPrivate] entropybroker-2.9/ComScire_R2000KU/qwqng.hpp:170:3: warning: Member variable 'QWQNG::pDevice' is not initialized in the copy constructor. [uninitMemberVarPrivate] entropybroker-2.9/ComScire_R2000KU/qwqng.hpp:170:3: warning: Member variable 'QWQNG::statusString_' is not initialized in the copy constructor. [uninitMemberVarPrivate] entropybroker-2.9/ComScire_R2000KU/qwqng.hpp:170:3: warning: Member variable 'QWQNG::devId_' is not initialized in the copy constructor. [uninitMemberVarPrivate] entropybroker-2.9/ComScire_R2000KU/qwqng.hpp:173:10: warning: Member variable 'QWQNG::pDevice' is not assigned a value in 'QWQNG::operator='. [operatorEqVarError] entropybroker-2.9/ComScire_R2000KU/qwqng.hpp:173:10: warning: Member variable 'QWQNG::statusString_' is not assigned a value in 'QWQNG::operator='. [operatorEqVarError] entropybroker-2.9/ComScire_R2000KU/qwqng.hpp:173:10: warning: Member variable 'QWQNG::devId_' is not assigned a value in 'QWQNG::operator='. [operatorEqVarError] entropybroker-2.9/ComScire_R2000KU/qwqng.hpp:297:5: warning: Member variable 'QngStatus::status_' is not initialized in the copy constructor. [uninitMemberVarPrivate] entropybroker-2.9/ComScire_R2000KU/qwqng.hpp:297:5: warning:inconclusive: Member variable 'QngStatus::statusString_' is not assigned in the copy constructor. Should it be copied? [missingMemberCopy] entropybroker-2.9/ComScire_R2000KU/qwqng.hpp:300:16: warning: Member variable 'QngStatus::status_' is not assigned a value in 'QngStatus::operator='. [operatorEqVarError] entropybroker-2.9/ComScire_R2000KU/qwqng.hpp:300:16: warning:inconclusive: Member variable 'QngStatus::statusString_' is not assigned a value in 'QngStatus::operator='. [operatorEqVarError] entropybroker-2.9/ComScire_R2000KU/qwqng.hpp:173:10: style: 'operator=' should return reference to 'this' instance. [operatorEqRetRefThis] entropybroker-2.9/ComScire_R2000KU/qwqng.hpp:300:16: style: 'operator=' should return reference to 'this' instance. [operatorEqRetRefThis] entropybroker-2.9/ComScire_R2000KU/qwqng.cpp:726:20: performance:inconclusive: Technically the member function 'FtdiDevice::Uint48ToUniform' can be static (but you may consider moving to unnamed namespace). [functionStatic] entropybroker-2.9/ComScire_R2000KU/qwqng.hpp:274:12: note: Technically the member function 'FtdiDevice::Uint48ToUniform' can be static (but you may consider moving to unnamed namespace). entropybroker-2.9/ComScire_R2000KU/qwqng.cpp:726:20: note: Technically the member function 'FtdiDevice::Uint48ToUniform' can be static (but you may consider moving to unnamed namespace). entropybroker-2.9/ComScire_R2000KU/qwqng.cpp:737:19: performance:inconclusive: Technically the member function 'FtdiDevice::CalcEntropy' can be static (but you may consider moving to unnamed namespace). [functionStatic] entropybroker-2.9/ComScire_R2000KU/qwqng.hpp:275:11: note: Technically the member function 'FtdiDevice::CalcEntropy' can be static (but you may consider moving to unnamed namespace). entropybroker-2.9/ComScire_R2000KU/qwqng.cpp:737:19: note: Technically the member function 'FtdiDevice::CalcEntropy' can be static (but you may consider moving to unnamed namespace). entropybroker-2.9/ComScire_R2000KU/qwqng.cpp:765:17: style:inconclusive: Technically the member function 'QngStatus::GetStatus' can be const. [functionConst] entropybroker-2.9/ComScire_R2000KU/qwqng.hpp:287:10: note: Technically the member function 'QngStatus::GetStatus' can be const. entropybroker-2.9/ComScire_R2000KU/qwqng.cpp:765:17: note: Technically the member function 'QngStatus::GetStatus' can be const. entropybroker-2.9/ComScire_R2000KU/qwqng.hpp:251:18: style: Virtual function 'Open' is called from constructor 'FtdiDevice()' at line 203. Dynamic binding is not used. [virtualCallInConstructor] entropybroker-2.9/ComScire_R2000KU/qwqng.cpp:203:5: note: Calling Open entropybroker-2.9/ComScire_R2000KU/qwqng.hpp:251:18: note: Open is a virtual function entropybroker-2.9/ComScire_R2000KU/qwqng.hpp:252:18: style: Virtual function 'Close' is called from destructor '~FtdiDevice()' at line 209. Dynamic binding is not used. [virtualCallInConstructor] entropybroker-2.9/ComScire_R2000KU/qwqng.cpp:209:5: note: Calling Close entropybroker-2.9/ComScire_R2000KU/qwqng.hpp:252:18: note: Close is a virtual function entropybroker-2.9/ComScire_R2000KU/qwqng.hpp:251:18: style: The function 'Open' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] entropybroker-2.9/ComScire_R2000KU/qwqng.hpp:188:18: note: Virtual function in base class entropybroker-2.9/ComScire_R2000KU/qwqng.hpp:251:18: note: Function in derived class entropybroker-2.9/ComScire_R2000KU/qwqng.hpp:252:18: style: The function 'Close' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] entropybroker-2.9/ComScire_R2000KU/qwqng.hpp:189:18: note: Virtual function in base class entropybroker-2.9/ComScire_R2000KU/qwqng.hpp:252:18: note: Function in derived class entropybroker-2.9/ComScire_R2000KU/qwqng.hpp:253:18: style: The function 'Clear' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] entropybroker-2.9/ComScire_R2000KU/qwqng.hpp:190:18: note: Virtual function in base class entropybroker-2.9/ComScire_R2000KU/qwqng.hpp:253:18: note: Function in derived class entropybroker-2.9/ComScire_R2000KU/qwqng.hpp:254:18: style: The function 'Reset' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] entropybroker-2.9/ComScire_R2000KU/qwqng.hpp:191:18: note: Virtual function in base class entropybroker-2.9/ComScire_R2000KU/qwqng.hpp:254:18: note: Function in derived class entropybroker-2.9/ComScire_R2000KU/qwqng.hpp:255:18: style: The function 'GetBytes' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] entropybroker-2.9/ComScire_R2000KU/qwqng.hpp:193:18: note: Virtual function in base class entropybroker-2.9/ComScire_R2000KU/qwqng.hpp:255:18: note: Function in derived class entropybroker-2.9/ComScire_R2000KU/qwqng.hpp:256:18: style: The function 'GetInt32' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] entropybroker-2.9/ComScire_R2000KU/qwqng.hpp:194:18: note: Virtual function in base class entropybroker-2.9/ComScire_R2000KU/qwqng.hpp:256:18: note: Function in derived class entropybroker-2.9/ComScire_R2000KU/qwqng.hpp:257:18: style: The function 'GetUniform' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] entropybroker-2.9/ComScire_R2000KU/qwqng.hpp:195:18: note: Virtual function in base class entropybroker-2.9/ComScire_R2000KU/qwqng.hpp:257:18: note: Function in derived class entropybroker-2.9/ComScire_R2000KU/qwqng.hpp:258:18: style: The function 'GetNormal' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] entropybroker-2.9/ComScire_R2000KU/qwqng.hpp:196:18: note: Virtual function in base class entropybroker-2.9/ComScire_R2000KU/qwqng.hpp:258:18: note: Function in derived class entropybroker-2.9/ComScire_R2000KU/qwqng.hpp:259:18: style: The function 'GetRuntimeInfo' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] entropybroker-2.9/ComScire_R2000KU/qwqng.hpp:198:18: note: Virtual function in base class entropybroker-2.9/ComScire_R2000KU/qwqng.hpp:259:18: note: Function in derived class entropybroker-2.9/ComScire_R2000KU/qwqng.cpp:53:13: style: C-style pointer casting [cstyleCast] entropybroker-2.9/ComScire_R2000KU/qwqng.cpp:609:41: style: C-style pointer casting [cstyleCast] entropybroker-2.9/ComScire_R2000KU/qwqng.cpp:629:41: style: C-style pointer casting [cstyleCast] entropybroker-2.9/ComScire_R2000KU/qwqng.cpp:645:42: style: C-style pointer casting [cstyleCast] entropybroker-2.9/ComScire_R2000KU/qwqng.cpp:97:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] entropybroker-2.9/ComScire_R2000KU/qwqng.cpp:434:9: style: The scope of the variable 'ret' can be reduced. [variableScope] entropybroker-2.9/ComScire_R2000KU/qwqng.cpp:71:15: performance:inconclusive: Use const reference for 'statusString' to avoid unnecessary data copying. [redundantCopyLocalConst] entropybroker-2.9/ComScire_R2000KU/qwqng.cpp:434:12: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] entropybroker-2.9/auth.cpp:46:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] entropybroker-2.9/auth.cpp:196:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] entropybroker-2.9/auth.cpp:210:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRWXG [valueFlowBailoutIncompleteVar] entropybroker-2.9/auth.cpp:235:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] entropybroker-2.9/auth.cpp:336:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] entropybroker-2.9/protocol.h:39:15: style:inconclusive: Technically the member function 'protocol::get_max_get_put_size' can be const. [functionConst] entropybroker-2.9/statistics_user.h:9:7: warning: The class 'statistics_user' defines member function with name 'register_msg' also defined in its parent class 'statistics'. [duplInheritedMember] entropybroker-2.9/statistics.h:62:7: note: Parent function 'statistics::register_msg' entropybroker-2.9/statistics_user.h:9:7: note: Derived function 'statistics_user::register_msg' entropybroker-2.9/random_source.h:17:2: style: Class 'random_source' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] entropybroker-2.9/math.h:12:2: style: Class 'bit_count_estimator' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] entropybroker-2.9/statistics_global.h:25:3: style: The destructor '~statistics_global' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] entropybroker-2.9/statistics.h:48:11: note: Virtual destructor in base class entropybroker-2.9/statistics_global.h:25:3: note: Destructor in derived class entropybroker-2.9/auth.cpp:123:16: style: C-style pointer casting [cstyleCast] entropybroker-2.9/auth.cpp:288:16: style: C-style pointer casting [cstyleCast] entropybroker-2.9/auth.cpp:34:262: performance: Function parameter 'handshake_hash' should be passed by const reference. [passedByValue] entropybroker-2.9/auth.cpp:189:234: performance: Function parameter 'handshake_hash' should be passed by const reference. [passedByValue] entropybroker-2.9/auth.cpp:229:156: performance: Function parameter 'type' should be passed by const reference. [passedByValue] entropybroker-2.9/auth.cpp:330:151: performance: Function parameter 'type' should be passed by const reference. [passedByValue] entropybroker-2.9/auth.cpp:229:59: style: Parameter 'username' can be declared as reference to const [constParameterReference] entropybroker-2.9/auth.cpp:229:83: style: Parameter 'password' can be declared as reference to const [constParameterReference] entropybroker-2.9/client_egd.cpp:255:27: error: There is an unknown macro here somewhere. Configuration is required. If VERSION is a macro then please configure it. [unknownMacro] entropybroker-2.9/client_file.cpp:44:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] entropybroker-2.9/client_file.cpp:85:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] entropybroker-2.9/client_file.cpp:57:6: style: The if condition is the same as the previous if condition [duplicateCondition] entropybroker-2.9/client_file.cpp:55:6: note: First condition entropybroker-2.9/client_file.cpp:57:6: note: Second condition entropybroker-2.9/client_linux_kernel.cpp:71:36: error: There is an unknown macro here somewhere. Configuration is required. If VERSION is a macro then please configure it. [unknownMacro] entropybroker-2.9/config.cpp:111:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FONT [valueFlowBailoutIncompleteVar] entropybroker-2.9/config.cpp:120:68: warning: If resource allocation fails, then there is a possible null pointer dereference: fh [nullPointerOutOfResources] entropybroker-2.9/config.cpp:49:25: note: Assuming allocation function fails entropybroker-2.9/config.cpp:49:25: note: Assignment 'fh=fopen(config,"r")', assigned value is 0 entropybroker-2.9/config.cpp:120:68: note: Null pointer dereference entropybroker-2.9/config.cpp:140:18: warning: Either the condition '!is' is redundant or there is possible null pointer dereference: is. [nullPointerRedundantCheck] entropybroker-2.9/config.cpp:137:21: note: Assuming that condition '!is' is not redundant entropybroker-2.9/config.cpp:140:18: note: Null pointer dereference entropybroker-2.9/config.cpp:168:42: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: p_file [nullPointerOutOfMemory] entropybroker-2.9/config.cpp:161:45: note: Assuming allocation function fails entropybroker-2.9/config.cpp:161:38: note: Assignment 'p_file=static_cast(malloc(strlen(cur_dir)+strlen(par)+1+1))', assigned value is 0 entropybroker-2.9/config.cpp:168:42: note: Null pointer dereference entropybroker-2.9/config.cpp:141:26: warning: Either the condition '!is' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] entropybroker-2.9/config.cpp:137:21: note: Assuming that condition '!is' is not redundant entropybroker-2.9/config.cpp:141:26: note: Null pointer addition entropybroker-2.9/config.cpp:33:26: style: Parameter 'what' can be declared as pointer to const [constParameterPointer] entropybroker-2.9/config.cpp:45:8: style: Variable 'cur_dir_dummy' can be declared as pointer to const [constVariablePointer] entropybroker-2.9/data_logger.cpp:47:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VAR_DIR [valueFlowBailoutIncompleteVar] entropybroker-2.9/data_logger.cpp:106:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] entropybroker-2.9/data_logger.cpp:145:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] entropybroker-2.9/data_store_int.h:25:6: style:inconclusive: Technically the member function 'data_store_int::get_cur_t' can be const. [functionConst] entropybroker-2.9/data_store_int.h:26:6: style:inconclusive: Technically the member function 'data_store_int::get_n_samples' can be const. [functionConst] entropybroker-2.9/data_store_int.h:27:6: style:inconclusive: Technically the member function 'data_store_int::get_interval' can be const. [functionConst] entropybroker-2.9/data_logger.cpp:50:3: warning: Class 'data_logger' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] entropybroker-2.9/data_logger.cpp:50:3: warning: Class 'data_logger' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] entropybroker-2.9/data_store_int.h:14:2: style: Class 'data_store_int' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] entropybroker-2.9/data_store_int.cpp:57:22: style:inconclusive: Technically the member function 'data_store_int::dump' can be const. [functionConst] entropybroker-2.9/data_store_int.h:17:7: note: Technically the member function 'data_store_int::dump' can be const. entropybroker-2.9/data_store_int.cpp:57:22: note: Technically the member function 'data_store_int::dump' can be const. entropybroker-2.9/data_store_int.cpp:136:22: style:inconclusive: Technically the member function 'data_store_int::get' can be const. [functionConst] entropybroker-2.9/data_store_int.h:21:7: note: Technically the member function 'data_store_int::get' can be const. entropybroker-2.9/data_store_int.cpp:136:22: note: Technically the member function 'data_store_int::get' can be const. entropybroker-2.9/data_store_int.cpp:74:9: warning: If resource allocation fails, then there is a possible null pointer dereference: fh [nullPointerOutOfResources] entropybroker-2.9/data_store_int.cpp:59:18: note: Assuming allocation function fails entropybroker-2.9/data_store_int.cpp:59:18: note: Assignment 'fh=fopen(file.c_str(),"wb")', assigned value is 0 entropybroker-2.9/data_store_int.cpp:74:9: note: Null pointer dereference entropybroker-2.9/data_store_int.cpp:13:11: style: C-style pointer casting [cstyleCast] entropybroker-2.9/data_store_int.cpp:14:11: style: C-style pointer casting [cstyleCast] entropybroker-2.9/data_store_int.cpp:15:10: style: C-style pointer casting [cstyleCast] entropybroker-2.9/data_store_int.cpp:33:11: style: C-style pointer casting [cstyleCast] entropybroker-2.9/data_store_int.cpp:34:11: style: C-style pointer casting [cstyleCast] entropybroker-2.9/data_store_int.cpp:35:10: style: C-style pointer casting [cstyleCast] entropybroker-2.9/data_store_int.cpp:152:7: style: C-style pointer casting [cstyleCast] entropybroker-2.9/data_store_int.cpp:153:7: style: C-style pointer casting [cstyleCast] entropybroker-2.9/data_store_int.cpp:11:36: style:inconclusive: Function 'data_store_int' argument 1 names different: declaration 'n_samples' definition 'n_samples_in'. [funcArgNamesDifferent] entropybroker-2.9/data_store_int.h:13:21: note: Function 'data_store_int' argument 1 names different: declaration 'n_samples' definition 'n_samples_in'. entropybroker-2.9/data_store_int.cpp:11:36: note: Function 'data_store_int' argument 1 names different: declaration 'n_samples' definition 'n_samples_in'. entropybroker-2.9/data_store_int.cpp:11:54: style:inconclusive: Function 'data_store_int' argument 2 names different: declaration 'interval' definition 'interval_in'. [funcArgNamesDifferent] entropybroker-2.9/data_store_int.h:13:36: note: Function 'data_store_int' argument 2 names different: declaration 'interval' definition 'interval_in'. entropybroker-2.9/data_store_int.cpp:11:54: note: Function 'data_store_int' argument 2 names different: declaration 'interval' definition 'interval_in'. entropybroker-2.9/data_store_int.cpp:20:44: performance: Function parameter 'file' should be passed by const reference. [passedByValue] entropybroker-2.9/data_store_int.cpp:57:39: performance: Function parameter 'file' should be passed by const reference. [passedByValue] entropybroker-2.9/encrypt_stream_3des.h:12:3: style: The destructor '~encrypt_stream_3des' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] entropybroker-2.9/encrypt_stream.h:5:11: note: Virtual destructor in base class entropybroker-2.9/encrypt_stream_3des.h:12:3: note: Destructor in derived class entropybroker-2.9/encrypt_stream_3des.h:14:6: style: The function 'get_ivec_size' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] entropybroker-2.9/encrypt_stream.h:9:14: note: Virtual function in base class entropybroker-2.9/encrypt_stream_3des.h:14:6: note: Function in derived class entropybroker-2.9/encrypt_stream_3des.h:15:6: style: The function 'get_key_size' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] entropybroker-2.9/encrypt_stream.h:10:14: note: Virtual function in base class entropybroker-2.9/encrypt_stream_3des.h:15:6: note: Function in derived class entropybroker-2.9/encrypt_stream_3des.h:17:7: style: The function 'init' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] entropybroker-2.9/encrypt_stream.h:12:15: note: Virtual function in base class entropybroker-2.9/encrypt_stream_3des.h:17:7: note: Function in derived class entropybroker-2.9/encrypt_stream_3des.h:19:14: style: The function 'get_name' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] entropybroker-2.9/encrypt_stream.h:14:22: note: Virtual function in base class entropybroker-2.9/encrypt_stream_3des.h:19:14: note: Function in derived class entropybroker-2.9/encrypt_stream_3des.h:21:7: style: The function 'encrypt' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] entropybroker-2.9/encrypt_stream.h:16:15: note: Virtual function in base class entropybroker-2.9/encrypt_stream_3des.h:21:7: note: Function in derived class entropybroker-2.9/encrypt_stream_3des.h:22:7: style: The function 'decrypt' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] entropybroker-2.9/encrypt_stream.h:17:15: note: Virtual function in base class entropybroker-2.9/encrypt_stream_3des.h:22:7: note: Function in derived class entropybroker-2.9/encrypt_stream_aes.h:12:3: style: The destructor '~encrypt_stream_aes' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] entropybroker-2.9/encrypt_stream.h:5:11: note: Virtual destructor in base class entropybroker-2.9/encrypt_stream_aes.h:12:3: note: Destructor in derived class entropybroker-2.9/encrypt_stream_aes.h:14:6: style: The function 'get_ivec_size' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] entropybroker-2.9/encrypt_stream.h:9:14: note: Virtual function in base class entropybroker-2.9/encrypt_stream_aes.h:14:6: note: Function in derived class entropybroker-2.9/encrypt_stream_aes.h:15:6: style: The function 'get_key_size' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] entropybroker-2.9/encrypt_stream.h:10:14: note: Virtual function in base class entropybroker-2.9/encrypt_stream_aes.h:15:6: note: Function in derived class entropybroker-2.9/encrypt_stream_aes.h:17:7: style: The function 'init' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] entropybroker-2.9/encrypt_stream.h:12:15: note: Virtual function in base class entropybroker-2.9/encrypt_stream_aes.h:17:7: note: Function in derived class entropybroker-2.9/encrypt_stream_aes.h:19:14: style: The function 'get_name' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] entropybroker-2.9/encrypt_stream.h:14:22: note: Virtual function in base class entropybroker-2.9/encrypt_stream_aes.h:19:14: note: Function in derived class entropybroker-2.9/encrypt_stream_aes.h:21:7: style: The function 'encrypt' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] entropybroker-2.9/encrypt_stream.h:16:15: note: Virtual function in base class entropybroker-2.9/encrypt_stream_aes.h:21:7: note: Function in derived class entropybroker-2.9/encrypt_stream_aes.h:22:7: style: The function 'decrypt' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] entropybroker-2.9/encrypt_stream.h:17:15: note: Virtual function in base class entropybroker-2.9/encrypt_stream_aes.h:22:7: note: Function in derived class entropybroker-2.9/encrypt_stream_blowfish.h:12:3: style: The destructor '~encrypt_stream_blowfish' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] entropybroker-2.9/encrypt_stream.h:5:11: note: Virtual destructor in base class entropybroker-2.9/encrypt_stream_blowfish.h:12:3: note: Destructor in derived class entropybroker-2.9/encrypt_stream_blowfish.h:14:6: style: The function 'get_ivec_size' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] entropybroker-2.9/encrypt_stream.h:9:14: note: Virtual function in base class entropybroker-2.9/encrypt_stream_blowfish.h:14:6: note: Function in derived class entropybroker-2.9/encrypt_stream_blowfish.h:15:6: style: The function 'get_key_size' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] entropybroker-2.9/encrypt_stream.h:10:14: note: Virtual function in base class entropybroker-2.9/encrypt_stream_blowfish.h:15:6: note: Function in derived class entropybroker-2.9/encrypt_stream_blowfish.h:17:7: style: The function 'init' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] entropybroker-2.9/encrypt_stream.h:12:15: note: Virtual function in base class entropybroker-2.9/encrypt_stream_blowfish.h:17:7: note: Function in derived class entropybroker-2.9/encrypt_stream_blowfish.h:19:14: style: The function 'get_name' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] entropybroker-2.9/encrypt_stream.h:14:22: note: Virtual function in base class entropybroker-2.9/encrypt_stream_blowfish.h:19:14: note: Function in derived class entropybroker-2.9/encrypt_stream_blowfish.h:21:7: style: The function 'encrypt' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] entropybroker-2.9/encrypt_stream.h:16:15: note: Virtual function in base class entropybroker-2.9/encrypt_stream_blowfish.h:21:7: note: Function in derived class entropybroker-2.9/encrypt_stream_blowfish.h:22:7: style: The function 'decrypt' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] entropybroker-2.9/encrypt_stream.h:17:15: note: Virtual function in base class entropybroker-2.9/encrypt_stream_blowfish.h:22:7: note: Function in derived class entropybroker-2.9/encrypt_stream_camellia.h:12:3: style: The destructor '~encrypt_stream_camellia' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] entropybroker-2.9/encrypt_stream.h:5:11: note: Virtual destructor in base class entropybroker-2.9/encrypt_stream_camellia.h:12:3: note: Destructor in derived class entropybroker-2.9/encrypt_stream_camellia.h:14:6: style: The function 'get_ivec_size' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] entropybroker-2.9/encrypt_stream.h:9:14: note: Virtual function in base class entropybroker-2.9/encrypt_stream_camellia.h:14:6: note: Function in derived class entropybroker-2.9/encrypt_stream_camellia.h:15:6: style: The function 'get_key_size' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] entropybroker-2.9/encrypt_stream.h:10:14: note: Virtual function in base class entropybroker-2.9/encrypt_stream_camellia.h:15:6: note: Function in derived class entropybroker-2.9/encrypt_stream_camellia.h:17:7: style: The function 'init' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] entropybroker-2.9/encrypt_stream.h:12:15: note: Virtual function in base class entropybroker-2.9/encrypt_stream_camellia.h:17:7: note: Function in derived class entropybroker-2.9/encrypt_stream_camellia.h:19:14: style: The function 'get_name' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] entropybroker-2.9/encrypt_stream.h:14:22: note: Virtual function in base class entropybroker-2.9/encrypt_stream_camellia.h:19:14: note: Function in derived class entropybroker-2.9/encrypt_stream_camellia.h:21:7: style: The function 'encrypt' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] entropybroker-2.9/encrypt_stream.h:16:15: note: Virtual function in base class entropybroker-2.9/encrypt_stream_camellia.h:21:7: note: Function in derived class entropybroker-2.9/encrypt_stream_camellia.h:22:7: style: The function 'decrypt' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] entropybroker-2.9/encrypt_stream.h:17:15: note: Virtual function in base class entropybroker-2.9/encrypt_stream_camellia.h:22:7: note: Function in derived class entropybroker-2.9/encrypt_stream.cpp:19:60: performance: Function parameter 'type' should be passed by const reference. [passedByValue] entropybroker-2.9/encrypt_stream_3des.cpp:22:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BLOCKSIZE [valueFlowBailoutIncompleteVar] entropybroker-2.9/encrypt_stream_3des.cpp:27:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEFAULT_KEYLENGTH [valueFlowBailoutIncompleteVar] entropybroker-2.9/encrypt_stream_3des.cpp:30:47: style:inconclusive: Function 'init' argument 1 names different: declaration 'key' definition 'key_in'. [funcArgNamesDifferent] entropybroker-2.9/encrypt_stream_3des.h:17:27: note: Function 'init' argument 1 names different: declaration 'key' definition 'key_in'. entropybroker-2.9/encrypt_stream_3des.cpp:30:47: note: Function 'init' argument 1 names different: declaration 'key' definition 'key_in'. entropybroker-2.9/encrypt_stream_3des.cpp:30:83: style:inconclusive: Function 'init' argument 3 names different: declaration 'ivec' definition 'ivec_in'. [funcArgNamesDifferent] entropybroker-2.9/encrypt_stream_3des.h:17:60: note: Function 'init' argument 3 names different: declaration 'ivec' definition 'ivec_in'. entropybroker-2.9/encrypt_stream_3des.cpp:30:83: note: Function 'init' argument 3 names different: declaration 'ivec' definition 'ivec_in'. entropybroker-2.9/encrypt_stream_3des.cpp:58:50: style:inconclusive: Function 'encrypt' argument 1 names different: declaration 'p_in' definition 'p'. [funcArgNamesDifferent] entropybroker-2.9/encrypt_stream_3des.h:21:30: note: Function 'encrypt' argument 1 names different: declaration 'p_in' definition 'p'. entropybroker-2.9/encrypt_stream_3des.cpp:58:50: note: Function 'encrypt' argument 1 names different: declaration 'p_in' definition 'p'. entropybroker-2.9/encrypt_stream_3des.cpp:75:50: style:inconclusive: Function 'decrypt' argument 1 names different: declaration 'p_in' definition 'p'. [funcArgNamesDifferent] entropybroker-2.9/encrypt_stream_3des.h:22:30: note: Function 'decrypt' argument 1 names different: declaration 'p_in' definition 'p'. entropybroker-2.9/encrypt_stream_3des.cpp:75:50: note: Function 'decrypt' argument 1 names different: declaration 'p_in' definition 'p'. entropybroker-2.9/encrypt_stream_aes.cpp:25:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BLOCKSIZE [valueFlowBailoutIncompleteVar] entropybroker-2.9/encrypt_stream_aes.cpp:30:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEFAULT_KEYLENGTH [valueFlowBailoutIncompleteVar] entropybroker-2.9/encrypt_stream_aes.cpp:41:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEFAULT_KEYLENGTH [valueFlowBailoutIncompleteVar] entropybroker-2.9/encrypt_stream_aes.cpp:33:46: style:inconclusive: Function 'init' argument 1 names different: declaration 'key' definition 'key_in'. [funcArgNamesDifferent] entropybroker-2.9/encrypt_stream_aes.h:17:27: note: Function 'init' argument 1 names different: declaration 'key' definition 'key_in'. entropybroker-2.9/encrypt_stream_aes.cpp:33:46: note: Function 'init' argument 1 names different: declaration 'key' definition 'key_in'. entropybroker-2.9/encrypt_stream_aes.cpp:33:82: style:inconclusive: Function 'init' argument 3 names different: declaration 'ivec' definition 'ivec_in'. [funcArgNamesDifferent] entropybroker-2.9/encrypt_stream_aes.h:17:60: note: Function 'init' argument 3 names different: declaration 'ivec' definition 'ivec_in'. entropybroker-2.9/encrypt_stream_aes.cpp:33:82: note: Function 'init' argument 3 names different: declaration 'ivec' definition 'ivec_in'. entropybroker-2.9/encrypt_stream_aes.cpp:59:49: style:inconclusive: Function 'encrypt' argument 1 names different: declaration 'p_in' definition 'p'. [funcArgNamesDifferent] entropybroker-2.9/encrypt_stream_aes.h:21:30: note: Function 'encrypt' argument 1 names different: declaration 'p_in' definition 'p'. entropybroker-2.9/encrypt_stream_aes.cpp:59:49: note: Function 'encrypt' argument 1 names different: declaration 'p_in' definition 'p'. entropybroker-2.9/encrypt_stream_aes.cpp:76:49: style:inconclusive: Function 'decrypt' argument 1 names different: declaration 'p_in' definition 'p'. [funcArgNamesDifferent] entropybroker-2.9/encrypt_stream_aes.h:22:30: note: Function 'decrypt' argument 1 names different: declaration 'p_in' definition 'p'. entropybroker-2.9/encrypt_stream_aes.cpp:76:49: note: Function 'decrypt' argument 1 names different: declaration 'p_in' definition 'p'. entropybroker-2.9/encrypt_stream_blowfish.cpp:24:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BLOCKSIZE [valueFlowBailoutIncompleteVar] entropybroker-2.9/encrypt_stream_blowfish.cpp:29:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEFAULT_KEYLENGTH [valueFlowBailoutIncompleteVar] entropybroker-2.9/encrypt_stream_blowfish.cpp:32:51: style:inconclusive: Function 'init' argument 1 names different: declaration 'key' definition 'key_in'. [funcArgNamesDifferent] entropybroker-2.9/encrypt_stream_blowfish.h:17:27: note: Function 'init' argument 1 names different: declaration 'key' definition 'key_in'. entropybroker-2.9/encrypt_stream_blowfish.cpp:32:51: note: Function 'init' argument 1 names different: declaration 'key' definition 'key_in'. entropybroker-2.9/encrypt_stream_blowfish.cpp:32:87: style:inconclusive: Function 'init' argument 3 names different: declaration 'ivec' definition 'ivec_in'. [funcArgNamesDifferent] entropybroker-2.9/encrypt_stream_blowfish.h:17:60: note: Function 'init' argument 3 names different: declaration 'ivec' definition 'ivec_in'. entropybroker-2.9/encrypt_stream_blowfish.cpp:32:87: note: Function 'init' argument 3 names different: declaration 'ivec' definition 'ivec_in'. entropybroker-2.9/encrypt_stream_blowfish.cpp:56:54: style:inconclusive: Function 'encrypt' argument 1 names different: declaration 'p_in' definition 'p'. [funcArgNamesDifferent] entropybroker-2.9/encrypt_stream_blowfish.h:21:30: note: Function 'encrypt' argument 1 names different: declaration 'p_in' definition 'p'. entropybroker-2.9/encrypt_stream_blowfish.cpp:56:54: note: Function 'encrypt' argument 1 names different: declaration 'p_in' definition 'p'. entropybroker-2.9/encrypt_stream_blowfish.cpp:73:54: style:inconclusive: Function 'decrypt' argument 1 names different: declaration 'p_in' definition 'p'. [funcArgNamesDifferent] entropybroker-2.9/encrypt_stream_blowfish.h:22:30: note: Function 'decrypt' argument 1 names different: declaration 'p_in' definition 'p'. entropybroker-2.9/encrypt_stream_blowfish.cpp:73:54: note: Function 'decrypt' argument 1 names different: declaration 'p_in' definition 'p'. entropybroker-2.9/encrypt_stream_camellia.cpp:25:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BLOCKSIZE [valueFlowBailoutIncompleteVar] entropybroker-2.9/encrypt_stream_camellia.cpp:30:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEFAULT_KEYLENGTH [valueFlowBailoutIncompleteVar] entropybroker-2.9/encrypt_stream_camellia.cpp:41:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEFAULT_KEYLENGTH [valueFlowBailoutIncompleteVar] entropybroker-2.9/encrypt_stream_camellia.cpp:33:51: style:inconclusive: Function 'init' argument 1 names different: declaration 'key' definition 'key_in'. [funcArgNamesDifferent] entropybroker-2.9/encrypt_stream_camellia.h:17:27: note: Function 'init' argument 1 names different: declaration 'key' definition 'key_in'. entropybroker-2.9/encrypt_stream_camellia.cpp:33:51: note: Function 'init' argument 1 names different: declaration 'key' definition 'key_in'. entropybroker-2.9/encrypt_stream_camellia.cpp:33:87: style:inconclusive: Function 'init' argument 3 names different: declaration 'ivec' definition 'ivec_in'. [funcArgNamesDifferent] entropybroker-2.9/encrypt_stream_camellia.h:17:60: note: Function 'init' argument 3 names different: declaration 'ivec' definition 'ivec_in'. entropybroker-2.9/encrypt_stream_camellia.cpp:33:87: note: Function 'init' argument 3 names different: declaration 'ivec' definition 'ivec_in'. entropybroker-2.9/encrypt_stream_camellia.cpp:60:54: style:inconclusive: Function 'encrypt' argument 1 names different: declaration 'p_in' definition 'p'. [funcArgNamesDifferent] entropybroker-2.9/encrypt_stream_camellia.h:21:30: note: Function 'encrypt' argument 1 names different: declaration 'p_in' definition 'p'. entropybroker-2.9/encrypt_stream_camellia.cpp:60:54: note: Function 'encrypt' argument 1 names different: declaration 'p_in' definition 'p'. entropybroker-2.9/encrypt_stream_camellia.cpp:77:54: style:inconclusive: Function 'decrypt' argument 1 names different: declaration 'p_in' definition 'p'. [funcArgNamesDifferent] entropybroker-2.9/encrypt_stream_camellia.h:22:30: note: Function 'decrypt' argument 1 names different: declaration 'p_in' definition 'p'. entropybroker-2.9/encrypt_stream_camellia.cpp:77:54: note: Function 'decrypt' argument 1 names different: declaration 'p_in' definition 'p'. entropybroker-2.9/error.cpp:26:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_CRIT [valueFlowBailoutIncompleteVar] entropybroker-2.9/error.cpp:34:35: warning: If memory allocation fails, then there is a possible null pointer dereference: messages [nullPointerOutOfMemory] entropybroker-2.9/error.cpp:31:37: note: Assuming allocation function fails entropybroker-2.9/error.cpp:31:37: note: Assignment 'messages=backtrace_symbols(trace,trace_size)', assigned value is 0 entropybroker-2.9/error.cpp:34:35: note: Null pointer dereference entropybroker-2.9/fips140.cpp:83:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] entropybroker-2.9/fips140.cpp:149:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_CRIT [valueFlowBailoutIncompleteVar] entropybroker-2.9/fips140.cpp:230:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_CRIT [valueFlowBailoutIncompleteVar] entropybroker-2.9/graph.cpp:160:19: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] entropybroker-2.9/graph.cpp:19:13: performance:inconclusive: Technically the member function 'graph::calc_text_width' can be static (but you may consider moving to unnamed namespace). [functionStatic] entropybroker-2.9/graph.h:6:7: note: Technically the member function 'graph::calc_text_width' can be static (but you may consider moving to unnamed namespace). entropybroker-2.9/graph.cpp:19:13: note: Technically the member function 'graph::calc_text_width' can be static (but you may consider moving to unnamed namespace). entropybroker-2.9/graph.cpp:31:13: performance:inconclusive: Technically the member function 'graph::draw_text' can be static (but you may consider moving to unnamed namespace). [functionStatic] entropybroker-2.9/graph.h:7:7: note: Technically the member function 'graph::draw_text' can be static (but you may consider moving to unnamed namespace). entropybroker-2.9/graph.cpp:31:13: note: Technically the member function 'graph::draw_text' can be static (but you may consider moving to unnamed namespace). entropybroker-2.9/graph.cpp:38:20: performance:inconclusive: Technically the member function 'graph::shorten' can be static (but you may consider moving to unnamed namespace). [functionStatic] entropybroker-2.9/graph.h:8:14: note: Technically the member function 'graph::shorten' can be static (but you may consider moving to unnamed namespace). entropybroker-2.9/graph.cpp:38:20: note: Technically the member function 'graph::shorten' can be static (but you may consider moving to unnamed namespace). entropybroker-2.9/graph.h:11:2: style: Class 'graph' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] entropybroker-2.9/graph.cpp:259:9: warning:inconclusive: Either the condition '!fh' is redundant or there is possible null pointer dereference: fh. [nullPointerRedundantCheck] entropybroker-2.9/graph.cpp:254:6: note: Assuming that condition '!fh' is not redundant entropybroker-2.9/graph.cpp:259:9: note: Null pointer dereference entropybroker-2.9/graph.cpp:23:56: style: C-style pointer casting [cstyleCast] entropybroker-2.9/graph.cpp:23:107: style: C-style pointer casting [cstyleCast] entropybroker-2.9/graph.cpp:35:40: style: C-style pointer casting [cstyleCast] entropybroker-2.9/graph.cpp:35:91: style: C-style pointer casting [cstyleCast] entropybroker-2.9/graph.cpp:88:73: style:inconclusive: Function 'do_draw' argument 4 names different: declaration 't' definition 'ts'. [funcArgNamesDifferent] entropybroker-2.9/graph.h:14:67: note: Function 'do_draw' argument 4 names different: declaration 't' definition 'ts'. entropybroker-2.9/graph.cpp:88:73: note: Function 'do_draw' argument 4 names different: declaration 't' definition 'ts'. entropybroker-2.9/graph.cpp:88:85: style:inconclusive: Function 'do_draw' argument 5 names different: declaration 'v' definition 'values'. [funcArgNamesDifferent] entropybroker-2.9/graph.h:14:78: note: Function 'do_draw' argument 5 names different: declaration 'v' definition 'values'. entropybroker-2.9/graph.cpp:88:85: note: Function 'do_draw' argument 5 names different: declaration 'v' definition 'values'. entropybroker-2.9/graph.cpp:11:26: performance: Function parameter 'font_in' should be passed by const reference. [passedByValue] entropybroker-2.9/graph.cpp:88:56: performance: Function parameter 'title' should be passed by const reference. [passedByValue] entropybroker-2.9/graph.cpp:88:73: style: Parameter 'ts' can be declared as pointer to const [constParameterPointer] entropybroker-2.9/graph.cpp:88:85: style: Parameter 'values' can be declared as pointer to const [constParameterPointer] entropybroker-2.9/graph.cpp:160:14: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] entropybroker-2.9/handle_client.cpp:71:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ESRCH [valueFlowBailoutIncompleteVar] entropybroker-2.9/handle_client.cpp:125:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] entropybroker-2.9/handle_client.cpp:171:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] entropybroker-2.9/handle_client.cpp:264:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_WARNING [valueFlowBailoutIncompleteVar] entropybroker-2.9/handle_client.cpp:369:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] entropybroker-2.9/handle_client.cpp:445:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] entropybroker-2.9/handle_client.cpp:536:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] entropybroker-2.9/handle_client.cpp:551:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] entropybroker-2.9/handle_client.cpp:549:2: portability: Using memset() on struct which contains a floating point number. [memsetClassFloat] entropybroker-2.9/handle_client.cpp:375:3: warning: Either the condition '!p' is redundant or there is possible null pointer dereference: p. [nullPointerRedundantCheck] entropybroker-2.9/handle_client.cpp:372:7: note: Assuming that condition '!p' is not redundant entropybroker-2.9/handle_client.cpp:375:3: note: Null pointer dereference entropybroker-2.9/handle_client.cpp:377:3: warning: Either the condition '!p' is redundant or there is possible null pointer dereference: p. [nullPointerRedundantCheck] entropybroker-2.9/handle_client.cpp:372:7: note: Assuming that condition '!p' is not redundant entropybroker-2.9/handle_client.cpp:377:3: note: Null pointer dereference entropybroker-2.9/handle_client.cpp:378:3: warning: Either the condition '!p' is redundant or there is possible null pointer dereference: p. [nullPointerRedundantCheck] entropybroker-2.9/handle_client.cpp:372:7: note: Assuming that condition '!p' is not redundant entropybroker-2.9/handle_client.cpp:378:3: note: Null pointer dereference entropybroker-2.9/handle_client.cpp:379:3: warning: Either the condition '!p' is redundant or there is possible null pointer dereference: p. [nullPointerRedundantCheck] entropybroker-2.9/handle_client.cpp:372:7: note: Assuming that condition '!p' is not redundant entropybroker-2.9/handle_client.cpp:379:3: note: Null pointer dereference entropybroker-2.9/handle_client.cpp:380:3: warning: Either the condition '!p' is redundant or there is possible null pointer dereference: p. [nullPointerRedundantCheck] entropybroker-2.9/handle_client.cpp:372:7: note: Assuming that condition '!p' is not redundant entropybroker-2.9/handle_client.cpp:380:3: note: Null pointer dereference entropybroker-2.9/handle_client.cpp:382:3: warning: Either the condition '!p' is redundant or there is possible null pointer dereference: p. [nullPointerRedundantCheck] entropybroker-2.9/handle_client.cpp:372:7: note: Assuming that condition '!p' is not redundant entropybroker-2.9/handle_client.cpp:382:3: note: Null pointer dereference entropybroker-2.9/handle_client.cpp:383:3: warning: Either the condition '!p' is redundant or there is possible null pointer dereference: p. [nullPointerRedundantCheck] entropybroker-2.9/handle_client.cpp:372:7: note: Assuming that condition '!p' is not redundant entropybroker-2.9/handle_client.cpp:383:3: note: Null pointer dereference entropybroker-2.9/handle_client.cpp:384:8: warning: Either the condition '!p' is redundant or there is possible null pointer dereference: p. [nullPointerRedundantCheck] entropybroker-2.9/handle_client.cpp:372:7: note: Assuming that condition '!p' is not redundant entropybroker-2.9/handle_client.cpp:384:8: note: Null pointer dereference entropybroker-2.9/handle_client.cpp:235:16: style: C-style pointer casting [cstyleCast] entropybroker-2.9/handle_client.cpp:211:29: style: The comparison 'rc_client == 0' is always true. [knownConditionTrueFalse] entropybroker-2.9/handle_client.cpp:210:18: note: 'rc_client' is assigned value '0' here. entropybroker-2.9/handle_client.cpp:211:29: note: The comparison 'rc_client == 0' is always true. entropybroker-2.9/handle_client.cpp:542:199: style:inconclusive: Function 'main_loop' argument 8 names different: declaration 'stats' definition 'gs'. [funcArgNamesDifferent] entropybroker-2.9/handle_client.h:55:199: note: Function 'main_loop' argument 8 names different: declaration 'stats' definition 'gs'. entropybroker-2.9/handle_client.cpp:542:199: note: Function 'main_loop' argument 8 names different: declaration 'stats' definition 'gs'. entropybroker-2.9/handle_client.cpp:553:31: style: Local variable 'send_need_data' shadows outer function [shadowFunction] entropybroker-2.9/hc_protocol.h:6:5: note: Shadowed declaration entropybroker-2.9/handle_client.cpp:553:31: note: Shadow variable entropybroker-2.9/handle_client.cpp:100:98: style: Parameter 'tid' can be declared as pointer to const [constParameterPointer] entropybroker-2.9/handle_client.cpp:478:15: style: Variable 'cur_msg' can be declared as pointer to const [constVariablePointer] entropybroker-2.9/handle_client.cpp:507:14: style: Variable 'cur_cl' can be declared as pointer to const [constVariablePointer] entropybroker-2.9/handle_client.cpp:519:13: style: Variable 'p' can be declared as pointer to const [constVariablePointer] entropybroker-2.9/hasher_md5.h:8:3: style: The destructor '~hasher_md5' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] entropybroker-2.9/hasher.h:5:11: note: Virtual destructor in base class entropybroker-2.9/hasher_md5.h:8:3: note: Destructor in derived class entropybroker-2.9/hasher_md5.h:10:14: style: The function 'get_name' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] entropybroker-2.9/hasher.h:7:22: note: Virtual function in base class entropybroker-2.9/hasher_md5.h:10:14: note: Function in derived class entropybroker-2.9/hasher_md5.h:12:6: style: The function 'get_hash_size' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] entropybroker-2.9/hasher.h:11:14: note: Virtual function in base class entropybroker-2.9/hasher_md5.h:12:6: note: Function in derived class entropybroker-2.9/hasher_md5.h:13:7: style: The function 'do_hash' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] entropybroker-2.9/hasher.h:12:15: note: Virtual function in base class entropybroker-2.9/hasher_md5.h:13:7: note: Function in derived class entropybroker-2.9/hasher_ripemd160.h:7:3: style: The destructor '~hasher_ripemd160' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] entropybroker-2.9/hasher.h:5:11: note: Virtual destructor in base class entropybroker-2.9/hasher_ripemd160.h:7:3: note: Destructor in derived class entropybroker-2.9/hasher_ripemd160.h:9:14: style: The function 'get_name' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] entropybroker-2.9/hasher.h:7:22: note: Virtual function in base class entropybroker-2.9/hasher_ripemd160.h:9:14: note: Function in derived class entropybroker-2.9/hasher_ripemd160.h:11:6: style: The function 'get_hash_size' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] entropybroker-2.9/hasher.h:11:14: note: Virtual function in base class entropybroker-2.9/hasher_ripemd160.h:11:6: note: Function in derived class entropybroker-2.9/hasher_ripemd160.h:12:7: style: The function 'do_hash' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] entropybroker-2.9/hasher.h:12:15: note: Virtual function in base class entropybroker-2.9/hasher_ripemd160.h:12:7: note: Function in derived class entropybroker-2.9/hasher_sha512.h:7:3: style: The destructor '~hasher_sha512' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] entropybroker-2.9/hasher.h:5:11: note: Virtual destructor in base class entropybroker-2.9/hasher_sha512.h:7:3: note: Destructor in derived class entropybroker-2.9/hasher_sha512.h:9:14: style: The function 'get_name' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] entropybroker-2.9/hasher.h:7:22: note: Virtual function in base class entropybroker-2.9/hasher_sha512.h:9:14: note: Function in derived class entropybroker-2.9/hasher_sha512.h:11:6: style: The function 'get_hash_size' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] entropybroker-2.9/hasher.h:11:14: note: Virtual function in base class entropybroker-2.9/hasher_sha512.h:11:6: note: Function in derived class entropybroker-2.9/hasher_sha512.h:12:7: style: The function 'do_hash' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] entropybroker-2.9/hasher.h:12:15: note: Virtual function in base class entropybroker-2.9/hasher_sha512.h:12:7: note: Function in derived class entropybroker-2.9/hasher_whirlpool.h:7:3: style: The destructor '~hasher_whirlpool' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] entropybroker-2.9/hasher.h:5:11: note: Virtual destructor in base class entropybroker-2.9/hasher_whirlpool.h:7:3: note: Destructor in derived class entropybroker-2.9/hasher_whirlpool.h:9:14: style: The function 'get_name' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] entropybroker-2.9/hasher.h:7:22: note: Virtual function in base class entropybroker-2.9/hasher_whirlpool.h:9:14: note: Function in derived class entropybroker-2.9/hasher_whirlpool.h:11:6: style: The function 'get_hash_size' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] entropybroker-2.9/hasher.h:11:14: note: Virtual function in base class entropybroker-2.9/hasher_whirlpool.h:11:6: note: Function in derived class entropybroker-2.9/hasher_whirlpool.h:12:7: style: The function 'do_hash' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] entropybroker-2.9/hasher.h:12:15: note: Virtual function in base class entropybroker-2.9/hasher_whirlpool.h:12:7: note: Function in derived class entropybroker-2.9/hasher.cpp:16:43: performance: Function parameter 'type' should be passed by const reference. [passedByValue] entropybroker-2.9/hasher_md5.cpp:21:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DIGESTSIZE [valueFlowBailoutIncompleteVar] entropybroker-2.9/hasher_ripemd160.cpp:21:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DIGESTSIZE [valueFlowBailoutIncompleteVar] entropybroker-2.9/hasher_sha512.cpp:21:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DIGESTSIZE [valueFlowBailoutIncompleteVar] entropybroker-2.9/hasher_whirlpool.cpp:21:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DIGESTSIZE [valueFlowBailoutIncompleteVar] entropybroker-2.9/hc_protocol.cpp:63:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] entropybroker-2.9/hc_protocol.cpp:120:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] entropybroker-2.9/hc_protocol.cpp:306:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] entropybroker-2.9/hc_protocol.cpp:434:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] entropybroker-2.9/hc_protocol.cpp:382:13: warning: If memory allocation fails, then there is a possible null pointer dereference: hash [nullPointerOutOfMemory] entropybroker-2.9/hc_protocol.cpp:378:64: note: Assuming allocation function fails entropybroker-2.9/hc_protocol.cpp:378:57: note: Assignment 'hash=reinterpret_cast(malloc(hash_len))', assigned value is 0 entropybroker-2.9/hc_protocol.cpp:382:13: note: Null pointer dereference entropybroker-2.9/hc_protocol.cpp:382:19: warning: Either the condition '!buffer_out' is redundant or there is possible null pointer dereference: buffer_out. [nullPointerRedundantCheck] entropybroker-2.9/hc_protocol.cpp:370:6: note: Assuming that condition '!buffer_out' is not redundant entropybroker-2.9/hc_protocol.cpp:382:19: note: Null pointer dereference entropybroker-2.9/hc_protocol.cpp:423:25: style:inconclusive: Function 'do_client' argument 1 names different: declaration 'p' definition 'client'. [funcArgNamesDifferent] entropybroker-2.9/hc_protocol.h:13:25: note: Function 'do_client' argument 1 names different: declaration 'p' definition 'client'. entropybroker-2.9/hc_protocol.cpp:423:25: note: Function 'do_client' argument 1 names different: declaration 'p' definition 'client'. entropybroker-2.9/hc_protocol.cpp:56:60: performance: Function parameter 'host' should be passed by const reference. [passedByValue] entropybroker-2.9/hc_protocol.cpp:36:41: style: Parameter 'config' can be declared as pointer to const [constParameterPointer] entropybroker-2.9/hc_protocol.cpp:46:41: style: Parameter 'config' can be declared as pointer to const [constParameterPointer] entropybroker-2.9/hc_protocol.cpp:56:40: style: Parameter 'config' can be declared as pointer to const [constParameterPointer] entropybroker-2.9/hc_protocol.cpp:71:67: style: Parameter 'config' can be declared as pointer to const [constParameterPointer] entropybroker-2.9/hc_protocol.cpp:83:52: style: Parameter 'config' can be declared as pointer to const [constParameterPointer] entropybroker-2.9/hc_protocol.cpp:93:38: style: Parameter 'config' can be declared as pointer to const [constParameterPointer] entropybroker-2.9/hc_protocol.cpp:102:60: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] entropybroker-2.9/hc_protocol.cpp:481:49: style: Parameter 'config' can be declared as pointer to const [constParameterPointer] entropybroker-2.9/http_bundle.cpp:10:2: performance: Variable 'headers' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] entropybroker-2.9/http_bundle.cpp:26:2: performance: Variable 'headers' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] entropybroker-2.9/http_bundle.cpp:34:2: performance: Variable 'headers' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] entropybroker-2.9/http_bundle.cpp:45:39: style:inconclusive: Technically the member function 'http_bundle::get_headers' can be const. [functionConst] entropybroker-2.9/http_bundle.h:13:27: note: Technically the member function 'http_bundle::get_headers' can be const. entropybroker-2.9/http_bundle.cpp:45:39: note: Technically the member function 'http_bundle::get_headers' can be const. entropybroker-2.9/http_bundle.cpp:50:18: style:inconclusive: Technically the member function 'http_bundle::get_data_len' can be const. [functionConst] entropybroker-2.9/http_bundle.h:14:6: note: Technically the member function 'http_bundle::get_data_len' can be const. entropybroker-2.9/http_bundle.cpp:50:18: note: Technically the member function 'http_bundle::get_data_len' can be const. entropybroker-2.9/http_bundle.h:13:27: performance: Function 'get_headers()' should return member 'headers' by const reference. [returnByReference] entropybroker-2.9/http_bundle.cpp:18:10: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] entropybroker-2.9/http_bundle.cpp:17:50: note: Assuming allocation function fails entropybroker-2.9/http_bundle.cpp:17:43: note: Assignment 'data=reinterpret_cast(malloc(data_len_in))', assigned value is 0 entropybroker-2.9/http_bundle.cpp:18:10: note: Null pointer dereference entropybroker-2.9/http_bundle.cpp:8:51: style:inconclusive: Function 'http_bundle' argument 1 names different: declaration 'headers' definition 'headers_in'. [funcArgNamesDifferent] entropybroker-2.9/http_bundle.h:8:39: note: Function 'http_bundle' argument 1 names different: declaration 'headers' definition 'headers_in'. entropybroker-2.9/http_bundle.cpp:8:51: note: Function 'http_bundle' argument 1 names different: declaration 'headers' definition 'headers_in'. entropybroker-2.9/http_bundle.cpp:8:78: style:inconclusive: Function 'http_bundle' argument 2 names different: declaration 'data' definition 'data_in'. [funcArgNamesDifferent] entropybroker-2.9/http_bundle.h:8:63: note: Function 'http_bundle' argument 2 names different: declaration 'data' definition 'data_in'. entropybroker-2.9/http_bundle.cpp:8:78: note: Function 'http_bundle' argument 2 names different: declaration 'data' definition 'data_in'. entropybroker-2.9/http_bundle.cpp:8:91: style:inconclusive: Function 'http_bundle' argument 3 names different: declaration 'data_len' definition 'data_len_in'. [funcArgNamesDifferent] entropybroker-2.9/http_bundle.h:8:73: note: Function 'http_bundle' argument 3 names different: declaration 'data_len' definition 'data_len_in'. entropybroker-2.9/http_bundle.cpp:8:91: note: Function 'http_bundle' argument 3 names different: declaration 'data_len' definition 'data_len_in'. entropybroker-2.9/http_bundle.cpp:24:51: style:inconclusive: Function 'http_bundle' argument 1 names different: declaration 'headers' definition 'headers_in'. [funcArgNamesDifferent] entropybroker-2.9/http_bundle.h:9:39: note: Function 'http_bundle' argument 1 names different: declaration 'headers' definition 'headers_in'. entropybroker-2.9/http_bundle.cpp:24:51: note: Function 'http_bundle' argument 1 names different: declaration 'headers' definition 'headers_in'. entropybroker-2.9/http_bundle.cpp:24:75: style:inconclusive: Function 'http_bundle' argument 2 names different: declaration 'data' definition 'data_in'. [funcArgNamesDifferent] entropybroker-2.9/http_bundle.h:9:60: note: Function 'http_bundle' argument 2 names different: declaration 'data' definition 'data_in'. entropybroker-2.9/http_bundle.cpp:24:75: note: Function 'http_bundle' argument 2 names different: declaration 'data' definition 'data_in'. entropybroker-2.9/http_bundle.cpp:32:51: style:inconclusive: Function 'http_bundle' argument 1 names different: declaration 'headers' definition 'headers_in'. [funcArgNamesDifferent] entropybroker-2.9/http_bundle.h:10:39: note: Function 'http_bundle' argument 1 names different: declaration 'headers' definition 'headers_in'. entropybroker-2.9/http_bundle.cpp:32:51: note: Function 'http_bundle' argument 1 names different: declaration 'headers' definition 'headers_in'. entropybroker-2.9/http_bundle.cpp:32:75: style:inconclusive: Function 'http_bundle' argument 2 names different: declaration 'data' definition 'data_in'. [funcArgNamesDifferent] entropybroker-2.9/http_bundle.h:10:60: note: Function 'http_bundle' argument 2 names different: declaration 'data' definition 'data_in'. entropybroker-2.9/http_bundle.cpp:32:75: note: Function 'http_bundle' argument 2 names different: declaration 'data' definition 'data_in'. entropybroker-2.9/http_bundle.cpp:8:51: performance: Function parameter 'headers_in' should be passed by const reference. [passedByValue] entropybroker-2.9/http_bundle.cpp:24:51: performance: Function parameter 'headers_in' should be passed by const reference. [passedByValue] entropybroker-2.9/http_bundle.cpp:32:51: performance: Function parameter 'headers_in' should be passed by const reference. [passedByValue] entropybroker-2.9/http_bundle.cpp:32:75: performance: Function parameter 'data_in' should be passed by const reference. [passedByValue] entropybroker-2.9/http_bundle.cpp:8:78: style: Parameter 'data_in' can be declared as pointer to const [constParameterPointer] entropybroker-2.9/http_file.cpp:66:24: performance:inconclusive: Technically the member function 'http_file::get_style_header' can be static (but you may consider moving to unnamed namespace). [functionStatic] entropybroker-2.9/http_file.h:13:14: note: Technically the member function 'http_file::get_style_header' can be static (but you may consider moving to unnamed namespace). entropybroker-2.9/http_file.cpp:66:24: note: Technically the member function 'http_file::get_style_header' can be static (but you may consider moving to unnamed namespace). entropybroker-2.9/http_file.cpp:104:24: performance:inconclusive: Technically the member function 'http_file::get_style_tail' can be static (but you may consider moving to unnamed namespace). [functionStatic] entropybroker-2.9/http_file.h:14:14: note: Technically the member function 'http_file::get_style_tail' can be static (but you may consider moving to unnamed namespace). entropybroker-2.9/http_file.cpp:104:24: note: Technically the member function 'http_file::get_style_tail' can be static (but you may consider moving to unnamed namespace). entropybroker-2.9/http_file.cpp:28:76: performance: Function parameter 'url' should be passed by const reference. [passedByValue] entropybroker-2.9/http_file.cpp:116:71: performance: Function parameter 'username' should be passed by const reference. [passedByValue] entropybroker-2.9/http_file_file.h:10:11: style: The destructor '~http_file_file' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] entropybroker-2.9/http_file.h:5:11: note: Virtual destructor in base class entropybroker-2.9/http_file_file.h:10:11: note: Destructor in derived class entropybroker-2.9/http_file_file.h:12:14: style: The function 'get_url' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] entropybroker-2.9/http_file.h:7:22: note: Virtual function in base class entropybroker-2.9/http_file_file.h:12:14: note: Function in derived class entropybroker-2.9/http_file_file.h:14:14: style: The function 'get_meta_type' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] entropybroker-2.9/http_file.h:9:22: note: Virtual function in base class entropybroker-2.9/http_file_file.h:14:14: note: Function in derived class entropybroker-2.9/http_file_file.h:16:16: style: The function 'do_request' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] entropybroker-2.9/http_file.h:16:24: note: Virtual function in base class entropybroker-2.9/http_file_file.h:16:16: note: Function in derived class entropybroker-2.9/http_file_404.h:5:3: style: The destructor '~http_file_404' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] entropybroker-2.9/http_file_file.h:10:11: note: Virtual destructor in base class entropybroker-2.9/http_file_404.h:5:3: note: Destructor in derived class entropybroker-2.9/http_file_file.cpp:48:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] entropybroker-2.9/http_file_file.cpp:60:8: style: C-style pointer casting [cstyleCast] entropybroker-2.9/http_file_file.cpp:86:8: style: C-style pointer casting [cstyleCast] entropybroker-2.9/http_file_file.cpp:21:85: performance: Function parameter 'file_in' should be passed by const reference. [passedByValue] entropybroker-2.9/http_file_graph_data_logger.cpp:99:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] entropybroker-2.9/http_file_graph_data_logger.cpp:37:2: warning: Class 'http_file_graph_data_logger' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] entropybroker-2.9/http_file_graph_data_logger.cpp:37:2: warning: Class 'http_file_graph_data_logger' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] entropybroker-2.9/http_file_graph_data_logger.h:9:3: style: The destructor '~http_file_graph_data_logger' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] entropybroker-2.9/http_file.h:5:11: note: Virtual destructor in base class entropybroker-2.9/http_file_graph_data_logger.h:9:3: note: Destructor in derived class entropybroker-2.9/http_file_graph_data_logger.h:11:14: style: The function 'get_url' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] entropybroker-2.9/http_file.h:7:22: note: Virtual function in base class entropybroker-2.9/http_file_graph_data_logger.h:11:14: note: Function in derived class entropybroker-2.9/http_file_graph_data_logger.h:13:14: style: The function 'get_meta_type' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] entropybroker-2.9/http_file.h:9:22: note: Virtual function in base class entropybroker-2.9/http_file_graph_data_logger.h:13:14: note: Function in derived class entropybroker-2.9/http_file_graph_data_logger.h:15:16: style: The function 'do_request' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] entropybroker-2.9/http_file.h:16:24: note: Virtual function in base class entropybroker-2.9/http_file_graph_data_logger.h:15:16: note: Function in derived class entropybroker-2.9/http_file_graph_data_logger.cpp:110:55: style: C-style pointer casting [cstyleCast] entropybroker-2.9/http_file_graph_data_logger.cpp:35:90: performance: Function parameter 'font' should be passed by const reference. [passedByValue] entropybroker-2.9/http_file_logfile.h:7:2: style: Class 'http_file_logfile' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] entropybroker-2.9/http_file_logfile.h:8:3: style: The destructor '~http_file_logfile' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] entropybroker-2.9/http_file.h:5:11: note: Virtual destructor in base class entropybroker-2.9/http_file_logfile.h:8:3: note: Destructor in derived class entropybroker-2.9/http_file_logfile.h:10:14: style: The function 'get_url' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] entropybroker-2.9/http_file.h:7:22: note: Virtual function in base class entropybroker-2.9/http_file_logfile.h:10:14: note: Function in derived class entropybroker-2.9/http_file_logfile.h:12:14: style: The function 'get_meta_type' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] entropybroker-2.9/http_file.h:9:22: note: Virtual function in base class entropybroker-2.9/http_file_logfile.h:12:14: note: Function in derived class entropybroker-2.9/http_file_logfile.h:14:16: style: The function 'do_request' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] entropybroker-2.9/http_file.h:16:24: note: Virtual function in base class entropybroker-2.9/http_file_logfile.h:14:16: note: Function in derived class entropybroker-2.9/http_file_root.h:5:3: style: The destructor '~http_file_root' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] entropybroker-2.9/http_file.h:5:11: note: Virtual destructor in base class entropybroker-2.9/http_file_root.h:5:3: note: Destructor in derived class entropybroker-2.9/http_file_root.h:7:14: style: The function 'get_url' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] entropybroker-2.9/http_file.h:7:22: note: Virtual function in base class entropybroker-2.9/http_file_root.h:7:14: note: Function in derived class entropybroker-2.9/http_file_root.h:9:14: style: The function 'get_meta_type' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] entropybroker-2.9/http_file.h:9:22: note: Virtual function in base class entropybroker-2.9/http_file_root.h:9:14: note: Function in derived class entropybroker-2.9/http_file_root.h:11:16: style: The function 'do_request' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] entropybroker-2.9/http_file.h:16:24: note: Virtual function in base class entropybroker-2.9/http_file_root.h:11:16: note: Function in derived class entropybroker-2.9/http_file_stats.h:13:3: style: The destructor '~http_file_stats' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] entropybroker-2.9/http_file.h:5:11: note: Virtual destructor in base class entropybroker-2.9/http_file_stats.h:13:3: note: Destructor in derived class entropybroker-2.9/http_file_stats.h:15:14: style: The function 'get_url' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] entropybroker-2.9/http_file.h:7:22: note: Virtual function in base class entropybroker-2.9/http_file_stats.h:15:14: note: Function in derived class entropybroker-2.9/http_file_stats.h:17:14: style: The function 'get_meta_type' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] entropybroker-2.9/http_file.h:9:22: note: Virtual function in base class entropybroker-2.9/http_file_stats.h:17:14: note: Function in derived class entropybroker-2.9/http_file_stats.h:19:16: style: The function 'do_request' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] entropybroker-2.9/http_file.h:16:24: note: Virtual function in base class entropybroker-2.9/http_file_stats.h:19:16: note: Function in derived class entropybroker-2.9/http_file_stats.cpp:31:113: style:inconclusive: Function 'http_file_stats' argument 3 names different: declaration 'ppools' definition 'ppools_in'. [funcArgNamesDifferent] entropybroker-2.9/http_file_stats.h:12:97: note: Function 'http_file_stats' argument 3 names different: declaration 'ppools' definition 'ppools_in'. entropybroker-2.9/http_file_stats.cpp:31:113: note: Function 'http_file_stats' argument 3 names different: declaration 'ppools' definition 'ppools_in'. entropybroker-2.9/http_file_users.h:7:2: style: Class 'http_file_users' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] entropybroker-2.9/http_file_users.h:8:3: style: The destructor '~http_file_users' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] entropybroker-2.9/http_file.h:5:11: note: Virtual destructor in base class entropybroker-2.9/http_file_users.h:8:3: note: Destructor in derived class entropybroker-2.9/http_file_users.h:10:14: style: The function 'get_url' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] entropybroker-2.9/http_file.h:7:22: note: Virtual function in base class entropybroker-2.9/http_file_users.h:10:14: note: Function in derived class entropybroker-2.9/http_file_users.h:12:14: style: The function 'get_meta_type' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] entropybroker-2.9/http_file.h:9:22: note: Virtual function in base class entropybroker-2.9/http_file_users.h:12:14: note: Function in derived class entropybroker-2.9/http_file_users.h:14:16: style: The function 'do_request' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] entropybroker-2.9/http_file.h:16:24: note: Virtual function in base class entropybroker-2.9/http_file_users.h:14:16: note: Function in derived class entropybroker-2.9/http_file_users.cpp:51:56: style: Variable 'request_parameters' is assigned a value that is never used. [unreadVariable] entropybroker-2.9/http_file_users.cpp:51:37: style: Variable 'request_parameters' is assigned a value that is never used. [unreadVariable] entropybroker-2.9/http_file_version.cpp:35:84: error: There is an unknown macro here somewhere. Configuration is required. If VERSION is a macro then please configure it. [unknownMacro] entropybroker-2.9/http_server.cpp:30:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] entropybroker-2.9/http_server.cpp:132:19: style:inconclusive: Technically the member function 'http_server::send' can be const. [functionConst] entropybroker-2.9/http_server.h:13:7: note: Technically the member function 'http_server::send' can be const. entropybroker-2.9/http_server.cpp:132:19: note: Technically the member function 'http_server::send' can be const. entropybroker-2.9/http_server.cpp:108:29: style:inconclusive: Technically the member function 'http_server::get_request_type' can be const. [functionConst] entropybroker-2.9/http_server.h:20:17: note: Technically the member function 'http_server::get_request_type' can be const. entropybroker-2.9/http_server.cpp:108:29: note: Technically the member function 'http_server::get_request_type' can be const. entropybroker-2.9/http_server.cpp:118:26: style:inconclusive: Technically the member function 'http_server::get_request_url' can be const. [functionConst] entropybroker-2.9/http_server.h:22:14: note: Technically the member function 'http_server::get_request_url' can be const. entropybroker-2.9/http_server.cpp:118:26: note: Technically the member function 'http_server::get_request_url' can be const. entropybroker-2.9/http_server.h:17:2: style: Class 'http_server' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] entropybroker-2.9/http_server.h:22:14: performance: Function 'get_request_url()' should return member 'request_url' by const reference. [returnByReference] entropybroker-2.9/http_server.cpp:129:14: style: C-style pointer casting [cstyleCast] entropybroker-2.9/http_server.cpp:16:30: style:inconclusive: Function 'http_server' argument 1 names different: declaration 'fd' definition 'fd_in'. [funcArgNamesDifferent] entropybroker-2.9/http_server.h:17:18: note: Function 'http_server' argument 1 names different: declaration 'fd' definition 'fd_in'. entropybroker-2.9/http_server.cpp:16:30: note: Function 'http_server' argument 1 names different: declaration 'fd' definition 'fd_in'. entropybroker-2.9/http_server.cpp:132:39: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] entropybroker-2.9/http_server.cpp:156:6: style: Variable 'ok' is assigned a value that is never used. [unreadVariable] entropybroker-2.9/kernel_prng_io.cpp:23:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] entropybroker-2.9/kernel_prng_io.cpp:39:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] entropybroker-2.9/kernel_prng_io.cpp:48:2: warning: If memory allocation fails, then there is a possible null pointer dereference: output [nullPointerOutOfMemory] entropybroker-2.9/kernel_prng_io.cpp:44:49: note: Assuming allocation function fails entropybroker-2.9/kernel_prng_io.cpp:44:18: note: Assignment 'output=(struct rand_pool_info*)malloc(total_size)', assigned value is 0 entropybroker-2.9/kernel_prng_io.cpp:48:2: note: Null pointer dereference entropybroker-2.9/kernel_prng_io.cpp:49:2: warning: If memory allocation fails, then there is a possible null pointer dereference: output [nullPointerOutOfMemory] entropybroker-2.9/kernel_prng_io.cpp:44:49: note: Assuming allocation function fails entropybroker-2.9/kernel_prng_io.cpp:44:18: note: Assignment 'output=(struct rand_pool_info*)malloc(total_size)', assigned value is 0 entropybroker-2.9/kernel_prng_io.cpp:49:2: note: Null pointer dereference entropybroker-2.9/kernel_prng_io.cpp:44:18: style: C-style pointer casting [cstyleCast] entropybroker-2.9/kernel_prng_io.cpp:35:43: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] entropybroker-2.9/kernel_prng_rw.cpp:22:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] entropybroker-2.9/kernel_prng_rw.cpp:38:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] entropybroker-2.9/kernel_prng_rw.cpp:65:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] entropybroker-2.9/kernel_prng_rw.cpp:44:13: warning: Either the condition 'fd==-1' is redundant or read() argument nr 1 can have invalid value. The value is -1 but the valid values are '0:'. [invalidFunctionArg] entropybroker-2.9/kernel_prng_rw.cpp:39:9: note: Assuming that condition 'fd==-1' is not redundant entropybroker-2.9/kernel_prng_rw.cpp:44:13: note: Invalid argument entropybroker-2.9/kernel_prng_rw.cpp:62:50: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] entropybroker-2.9/log.cpp:41:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_CRIT [valueFlowBailoutIncompleteVar] entropybroker-2.9/log.cpp:65:3: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] entropybroker-2.9/log.cpp:25:3: style: Obsolescent function 'ctime_r' called. It is recommended to use 'strftime' instead. [prohibitedctime_rCalled] entropybroker-2.9/log.cpp:65:6: style: Variable 'll' is assigned a value that is never used. [unreadVariable] entropybroker-2.9/main.cpp:58:43: error: There is an unknown macro here somewhere. Configuration is required. If VERSION is a macro then please configure it. [unknownMacro] entropybroker-2.9/math.cpp:44:26: performance:inconclusive: Technically the member function 'bit_count_estimator::determine_number_of_bits_of_data_shannon' can be static (but you may consider moving to unnamed namespace). [functionStatic] entropybroker-2.9/math.h:8:6: note: Technically the member function 'bit_count_estimator::determine_number_of_bits_of_data_shannon' can be static (but you may consider moving to unnamed namespace). entropybroker-2.9/math.cpp:44:26: note: Technically the member function 'bit_count_estimator::determine_number_of_bits_of_data_shannon' can be static (but you may consider moving to unnamed namespace). entropybroker-2.9/math.cpp:74:26: performance:inconclusive: Technically the member function 'bit_count_estimator::determine_number_of_bits_of_data_compression' can be static (but you may consider moving to unnamed namespace). [functionStatic] entropybroker-2.9/math.h:9:6: note: Technically the member function 'bit_count_estimator::determine_number_of_bits_of_data_compression' can be static (but you may consider moving to unnamed namespace). entropybroker-2.9/math.cpp:74:26: note: Technically the member function 'bit_count_estimator::determine_number_of_bits_of_data_compression' can be static (but you may consider moving to unnamed namespace). entropybroker-2.9/my_pty.cpp:139:0: error: #error I'm sorry, but I don't know what kind of system this is. [preprocessorErrorDirective] entropybroker-2.9/my_pty.cpp:139:2: error: #error I'm sorry, but I don't know what kind of system this is. [preprocessorErrorDirective] entropybroker-2.9/plot.cpp:15:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] entropybroker-2.9/plot.cpp:30:3: error: Memory leak: points [memleak] entropybroker-2.9/plot.cpp:37:3: error: Memory leak: points [memleak] entropybroker-2.9/plot.cpp:37:3: error: Resource leak: fhi [resourceLeak] entropybroker-2.9/plot.cpp:75:4: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] entropybroker-2.9/plot.cpp:64:49: note: Assuming allocation function fails entropybroker-2.9/plot.cpp:64:26: note: Assignment 'result=(unsigned char*)calloc(1,bytes)', assigned value is 0 entropybroker-2.9/plot.cpp:70:28: note: Assuming condition is false entropybroker-2.9/plot.cpp:75:4: note: Null pointer dereference entropybroker-2.9/plot.cpp:75:38: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] entropybroker-2.9/plot.cpp:64:49: note: Assuming allocation function fails entropybroker-2.9/plot.cpp:64:26: note: Assignment 'result=(unsigned char*)calloc(1,bytes)', assigned value is 0 entropybroker-2.9/plot.cpp:70:28: note: Assuming condition is false entropybroker-2.9/plot.cpp:75:38: note: Null pointer dereference entropybroker-2.9/plot.cpp:24:25: style: C-style pointer casting [cstyleCast] entropybroker-2.9/plot.cpp:64:26: style: C-style pointer casting [cstyleCast] entropybroker-2.9/plot.cpp:20:8: style: Variable 'file_in' can be declared as pointer to const [constVariablePointer] entropybroker-2.9/plot.cpp:21:8: style: Variable 'file_out' can be declared as pointer to const [constVariablePointer] entropybroker-2.9/plot.cpp:53:36: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned] entropybroker-2.9/pool.cpp:59:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] entropybroker-2.9/pool.cpp:125:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EBUSY [valueFlowBailoutIncompleteVar] entropybroker-2.9/pool.cpp:144:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLOCK_REALTIME [valueFlowBailoutIncompleteVar] entropybroker-2.9/pool.cpp:56:35: warning: Either the condition 'pool_size_bytes<0' is redundant or fread() argument nr 3 can have invalid value. The value is -1 but the valid values are '0:'. [invalidFunctionArg] entropybroker-2.9/pool.cpp:50:22: note: Assuming that condition 'pool_size_bytes<0' is not redundant entropybroker-2.9/pool.cpp:56:35: note: Invalid argument entropybroker-2.9/pool.cpp:106:2: portability: Using memset() on struct which contains a floating point number. [memsetClassFloat] entropybroker-2.9/pool.cpp:71:14: warning: If resource allocation fails, then there is a possible null pointer dereference: fh [nullPointerOutOfResources] entropybroker-2.9/pool.cpp:66:18: note: Assuming allocation function fails entropybroker-2.9/pool.cpp:66:18: note: Assignment 'fh=fopen(file_name.c_str(),"rb")', assigned value is 0 entropybroker-2.9/pool.cpp:71:14: note: Null pointer dereference entropybroker-2.9/pool.cpp:354:70: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] entropybroker-2.9/pool.cpp:354:70: portability:inconclusive: Casting from double * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] entropybroker-2.9/pool.cpp:29:58: style:inconclusive: Function 'pool' argument 2 names different: declaration 'bce' definition 'bce_in'. [funcArgNamesDifferent] entropybroker-2.9/pool.h:32:53: note: Function 'pool' argument 2 names different: declaration 'bce' definition 'bce_in'. entropybroker-2.9/pool.cpp:29:58: note: Function 'pool' argument 2 names different: declaration 'bce' definition 'bce_in'. entropybroker-2.9/pool.cpp:39:56: style:inconclusive: Function 'pool' argument 3 names different: declaration 'bce' definition 'bce_in'. [funcArgNamesDifferent] entropybroker-2.9/pool.h:33:51: note: Function 'pool' argument 3 names different: declaration 'bce' definition 'bce_in'. entropybroker-2.9/pool.cpp:39:56: note: Function 'pool' argument 3 names different: declaration 'bce' definition 'bce_in'. entropybroker-2.9/pool.cpp:203:61: style:inconclusive: Function 'add_entropy_data' argument 2 names different: declaration 'n_bytes' definition 'n_bytes_in'. [funcArgNamesDifferent] entropybroker-2.9/pool.h:47:56: note: Function 'add_entropy_data' argument 2 names different: declaration 'n_bytes' definition 'n_bytes_in'. entropybroker-2.9/pool.cpp:203:61: note: Function 'add_entropy_data' argument 2 names different: declaration 'n_bytes' definition 'n_bytes_in'. entropybroker-2.9/pool.cpp:64:42: performance: Function parameter 'file_name' should be passed by const reference. [passedByValue] entropybroker-2.9/pool_crypto.cpp:44:3: warning: Class 'pool_crypto' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] entropybroker-2.9/pool_crypto.cpp:44:3: warning: Class 'pool_crypto' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] entropybroker-2.9/stirrer_3des.h:10:3: style: The destructor '~stirrer_3des' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] entropybroker-2.9/stirrer.h:5:11: note: Virtual destructor in base class entropybroker-2.9/stirrer_3des.h:10:3: note: Destructor in derived class entropybroker-2.9/stirrer_3des.h:12:6: style: The function 'get_ivec_size' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] entropybroker-2.9/stirrer.h:7:14: note: Virtual function in base class entropybroker-2.9/stirrer_3des.h:12:6: note: Function in derived class entropybroker-2.9/stirrer_3des.h:13:6: style: The function 'get_stir_size' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] entropybroker-2.9/stirrer.h:8:14: note: Virtual function in base class entropybroker-2.9/stirrer_3des.h:13:6: note: Function in derived class entropybroker-2.9/stirrer_3des.h:14:7: style: The function 'do_stir' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] entropybroker-2.9/stirrer.h:9:15: note: Virtual function in base class entropybroker-2.9/stirrer_3des.h:14:7: note: Function in derived class entropybroker-2.9/stirrer_aes.h:8:3: style: The destructor '~stirrer_aes' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] entropybroker-2.9/stirrer.h:5:11: note: Virtual destructor in base class entropybroker-2.9/stirrer_aes.h:8:3: note: Destructor in derived class entropybroker-2.9/stirrer_aes.h:10:6: style: The function 'get_ivec_size' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] entropybroker-2.9/stirrer.h:7:14: note: Virtual function in base class entropybroker-2.9/stirrer_aes.h:10:6: note: Function in derived class entropybroker-2.9/stirrer_aes.h:11:6: style: The function 'get_stir_size' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] entropybroker-2.9/stirrer.h:8:14: note: Virtual function in base class entropybroker-2.9/stirrer_aes.h:11:6: note: Function in derived class entropybroker-2.9/stirrer_aes.h:12:7: style: The function 'do_stir' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] entropybroker-2.9/stirrer.h:9:15: note: Virtual function in base class entropybroker-2.9/stirrer_aes.h:12:7: note: Function in derived class entropybroker-2.9/stirrer_blowfish.h:8:3: style: The destructor '~stirrer_blowfish' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] entropybroker-2.9/stirrer.h:5:11: note: Virtual destructor in base class entropybroker-2.9/stirrer_blowfish.h:8:3: note: Destructor in derived class entropybroker-2.9/stirrer_blowfish.h:10:6: style: The function 'get_ivec_size' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] entropybroker-2.9/stirrer.h:7:14: note: Virtual function in base class entropybroker-2.9/stirrer_blowfish.h:10:6: note: Function in derived class entropybroker-2.9/stirrer_blowfish.h:11:6: style: The function 'get_stir_size' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] entropybroker-2.9/stirrer.h:8:14: note: Virtual function in base class entropybroker-2.9/stirrer_blowfish.h:11:6: note: Function in derived class entropybroker-2.9/stirrer_blowfish.h:12:7: style: The function 'do_stir' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] entropybroker-2.9/stirrer.h:9:15: note: Virtual function in base class entropybroker-2.9/stirrer_blowfish.h:12:7: note: Function in derived class entropybroker-2.9/stirrer_camellia.h:7:3: style: The destructor '~stirrer_camellia' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] entropybroker-2.9/stirrer.h:5:11: note: Virtual destructor in base class entropybroker-2.9/stirrer_camellia.h:7:3: note: Destructor in derived class entropybroker-2.9/stirrer_camellia.h:9:6: style: The function 'get_ivec_size' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] entropybroker-2.9/stirrer.h:7:14: note: Virtual function in base class entropybroker-2.9/stirrer_camellia.h:9:6: note: Function in derived class entropybroker-2.9/stirrer_camellia.h:10:6: style: The function 'get_stir_size' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] entropybroker-2.9/stirrer.h:8:14: note: Virtual function in base class entropybroker-2.9/stirrer_camellia.h:10:6: note: Function in derived class entropybroker-2.9/stirrer_camellia.h:11:7: style: The function 'do_stir' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] entropybroker-2.9/stirrer.h:9:15: note: Virtual function in base class entropybroker-2.9/stirrer_camellia.h:11:7: note: Function in derived class entropybroker-2.9/pools.cpp:110:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] entropybroker-2.9/pools.cpp:171:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] entropybroker-2.9/pools.cpp:250:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] entropybroker-2.9/pools.cpp:336:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] entropybroker-2.9/pools.cpp:353:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] entropybroker-2.9/pools.cpp:458:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] entropybroker-2.9/pools.cpp:617:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] entropybroker-2.9/pools.cpp:684:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] entropybroker-2.9/pools.cpp:372:13: performance:inconclusive: Technically the member function 'pools::verify_quality' can be static (but you may consider moving to unnamed namespace). [functionStatic] entropybroker-2.9/pools.h:34:7: note: Technically the member function 'pools::verify_quality' can be static (but you may consider moving to unnamed namespace). entropybroker-2.9/pools.cpp:372:13: note: Technically the member function 'pools::verify_quality' can be static (but you may consider moving to unnamed namespace). entropybroker-2.9/pools.cpp:136:20: warning: If resource allocation fails, then there is a possible null pointer dereference: fh [nullPointerOutOfResources] entropybroker-2.9/pools.cpp:132:19: note: Assuming allocation function fails entropybroker-2.9/pools.cpp:132:19: note: Assignment 'fh=fopen(new_cache_file.c_str(),"wb")', assigned value is 0 entropybroker-2.9/pools.cpp:136:20: note: Null pointer dereference entropybroker-2.9/pools.cpp:183:20: warning: If resource allocation fails, then there is a possible null pointer dereference: fh [nullPointerOutOfResources] entropybroker-2.9/pools.cpp:179:19: note: Assuming allocation function fails entropybroker-2.9/pools.cpp:179:19: note: Assignment 'fh=fopen(cache_list.at(0).first.c_str(),"r")', assigned value is 0 entropybroker-2.9/pools.cpp:183:20: note: Null pointer dereference entropybroker-2.9/pools.cpp:283:3: warning: If memory allocation fails, then there is a possible null pointer dereference: list [nullPointerOutOfMemory] entropybroker-2.9/pools.cpp:277:52: note: Assuming allocation function fails entropybroker-2.9/pools.cpp:277:45: note: Assignment 'list=reinterpret_cast(malloc(n_in*sizeof(struct merge_t)))', assigned value is 0 entropybroker-2.9/pools.cpp:280:49: note: Assuming condition is false entropybroker-2.9/pools.cpp:283:3: note: Null pointer dereference entropybroker-2.9/pools.cpp:284:3: warning: If memory allocation fails, then there is a possible null pointer dereference: list [nullPointerOutOfMemory] entropybroker-2.9/pools.cpp:277:52: note: Assuming allocation function fails entropybroker-2.9/pools.cpp:277:45: note: Assignment 'list=reinterpret_cast(malloc(n_in*sizeof(struct merge_t)))', assigned value is 0 entropybroker-2.9/pools.cpp:280:49: note: Assuming condition is false entropybroker-2.9/pools.cpp:284:3: note: Null pointer dereference entropybroker-2.9/pools.cpp:286:7: warning: If memory allocation fails, then there is a possible null pointer dereference: list [nullPointerOutOfMemory] entropybroker-2.9/pools.cpp:277:52: note: Assuming allocation function fails entropybroker-2.9/pools.cpp:277:45: note: Assignment 'list=reinterpret_cast(malloc(n_in*sizeof(struct merge_t)))', assigned value is 0 entropybroker-2.9/pools.cpp:280:49: note: Assuming condition is false entropybroker-2.9/pools.cpp:286:7: note: Null pointer dereference entropybroker-2.9/pools.cpp:346:22: warning: If resource allocation fails, then there is a possible null pointer dereference: dirp [nullPointerOutOfResources] entropybroker-2.9/pools.cpp:341:21: note: Assuming allocation function fails entropybroker-2.9/pools.cpp:341:21: note: Assignment 'dirp=opendir(cache_dir.c_str())', assigned value is 0 entropybroker-2.9/pools.cpp:346:22: note: Null pointer dereference entropybroker-2.9/pools.cpp:262:16: style: C-style pointer casting [cstyleCast] entropybroker-2.9/pools.cpp:263:16: style: C-style pointer casting [cstyleCast] entropybroker-2.9/pools.cpp:44:26: style: Checking if unsigned expression 'min_store_on_disk_n' is less than zero. [unsignedLessThanZero] entropybroker-2.9/pools.cpp:50:23: style: Checking if unsigned expression 'max_n_disk_pools' is less than zero. [unsignedLessThanZero] entropybroker-2.9/pools.cpp:32:26: style:inconclusive: Function 'pools' argument 1 names different: declaration 'cache_dir' definition 'cache_dir_in'. [funcArgNamesDifferent] entropybroker-2.9/pools.h:38:20: note: Function 'pools' argument 1 names different: declaration 'cache_dir' definition 'cache_dir_in'. entropybroker-2.9/pools.cpp:32:26: note: Function 'pools' argument 1 names different: declaration 'cache_dir' definition 'cache_dir_in'. entropybroker-2.9/pools.cpp:32:53: style:inconclusive: Function 'pools' argument 2 names different: declaration 'max_n_mem_pools' definition 'max_n_mem_pools_in'. [funcArgNamesDifferent] entropybroker-2.9/pools.h:38:44: note: Function 'pools' argument 2 names different: declaration 'max_n_mem_pools' definition 'max_n_mem_pools_in'. entropybroker-2.9/pools.cpp:32:53: note: Function 'pools' argument 2 names different: declaration 'max_n_mem_pools' definition 'max_n_mem_pools_in'. entropybroker-2.9/pools.cpp:32:86: style:inconclusive: Function 'pools' argument 3 names different: declaration 'max_n_disk_pools' definition 'max_n_disk_pools_in'. [funcArgNamesDifferent] entropybroker-2.9/pools.h:38:74: note: Function 'pools' argument 3 names different: declaration 'max_n_disk_pools' definition 'max_n_disk_pools_in'. entropybroker-2.9/pools.cpp:32:86: note: Function 'pools' argument 3 names different: declaration 'max_n_disk_pools' definition 'max_n_disk_pools_in'. entropybroker-2.9/pools.cpp:32:120: style:inconclusive: Function 'pools' argument 4 names different: declaration 'min_store_on_disk_n' definition 'min_store_on_disk_n_in'. [funcArgNamesDifferent] entropybroker-2.9/pools.h:38:105: note: Function 'pools' argument 4 names different: declaration 'min_store_on_disk_n' definition 'min_store_on_disk_n_in'. entropybroker-2.9/pools.cpp:32:120: note: Function 'pools' argument 4 names different: declaration 'min_store_on_disk_n' definition 'min_store_on_disk_n_in'. entropybroker-2.9/pools.cpp:635:102: style:inconclusive: Function 'add_bits_to_pools' argument 4 names different: declaration 'prt' definition 'pfips'. [funcArgNamesDifferent] entropybroker-2.9/pools.h:42:96: note: Function 'add_bits_to_pools' argument 4 names different: declaration 'prt' definition 'pfips'. entropybroker-2.9/pools.cpp:635:102: note: Function 'add_bits_to_pools' argument 4 names different: declaration 'prt' definition 'pfips'. entropybroker-2.9/pools.cpp:262:11: style: Variable 'ma' can be declared as pointer to const [constVariablePointer] entropybroker-2.9/pools.cpp:263:11: style: Variable 'mb' can be declared as pointer to const [constVariablePointer] entropybroker-2.9/pools.cpp:372:43: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] entropybroker-2.9/pools.cpp:412:19: style: Variable 'cond' can be declared as pointer to const [constVariablePointer] entropybroker-2.9/pools.cpp:597:20: style: Variable 'cond' can be declared as pointer to const [constVariablePointer] entropybroker-2.9/protocol.cpp:50:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_WARNING [valueFlowBailoutIncompleteVar] entropybroker-2.9/protocol.cpp:148:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_WARNING [valueFlowBailoutIncompleteVar] entropybroker-2.9/protocol.cpp:181:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] entropybroker-2.9/protocol.cpp:260:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] entropybroker-2.9/protocol.cpp:314:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] entropybroker-2.9/protocol.cpp:479:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] entropybroker-2.9/protocol.cpp:150:2: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] entropybroker-2.9/protocol.cpp:144:16: performance:inconclusive: Technically the member function 'protocol::error_sleep' can be static (but you may consider moving to unnamed namespace). [functionStatic] entropybroker-2.9/protocol.h:33:7: note: Technically the member function 'protocol::error_sleep' can be static (but you may consider moving to unnamed namespace). entropybroker-2.9/protocol.cpp:144:16: note: Technically the member function 'protocol::error_sleep' can be static (but you may consider moving to unnamed namespace). entropybroker-2.9/protocol.cpp:84:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] entropybroker-2.9/protocol.cpp:618:15: warning: If memory allocation fails, then there is a possible null pointer dereference: hash [nullPointerOutOfMemory] entropybroker-2.9/protocol.cpp:609:66: note: Assuming allocation function fails entropybroker-2.9/protocol.cpp:609:59: note: Assignment 'hash=reinterpret_cast(malloc(hash_len))', assigned value is 0 entropybroker-2.9/protocol.cpp:618:15: note: Null pointer dereference entropybroker-2.9/protocol.cpp:110:68: style:inconclusive: Function 'protocol' argument 2 names different: declaration 'username' definition 'username_in'. [funcArgNamesDifferent] entropybroker-2.9/protocol.h:36:60: note: Function 'protocol' argument 2 names different: declaration 'username' definition 'username_in'. entropybroker-2.9/protocol.cpp:110:68: note: Function 'protocol' argument 2 names different: declaration 'username' definition 'username_in'. entropybroker-2.9/protocol.cpp:110:93: style:inconclusive: Function 'protocol' argument 3 names different: declaration 'password' definition 'password_in'. [funcArgNamesDifferent] entropybroker-2.9/protocol.h:36:82: note: Function 'protocol' argument 3 names different: declaration 'password' definition 'password_in'. entropybroker-2.9/protocol.cpp:110:93: note: Function 'protocol' argument 3 names different: declaration 'password' definition 'password_in'. entropybroker-2.9/protocol.cpp:110:111: style:inconclusive: Function 'protocol' argument 4 names different: declaration 'is_server' definition 'is_server_in'. [funcArgNamesDifferent] entropybroker-2.9/protocol.h:36:97: note: Function 'protocol' argument 4 names different: declaration 'is_server' definition 'is_server_in'. entropybroker-2.9/protocol.cpp:110:111: note: Function 'protocol' argument 4 names different: declaration 'is_server' definition 'is_server_in'. entropybroker-2.9/protocol.cpp:110:137: style:inconclusive: Function 'protocol' argument 5 names different: declaration 'type' definition 'type_in'. [funcArgNamesDifferent] entropybroker-2.9/protocol.h:36:120: note: Function 'protocol' argument 5 names different: declaration 'type' definition 'type_in'. entropybroker-2.9/protocol.cpp:110:137: note: Function 'protocol' argument 5 names different: declaration 'type' definition 'type_in'. entropybroker-2.9/protocol.cpp:110:153: style:inconclusive: Function 'protocol' argument 6 names different: declaration 'comm_time_out' definition 'comm_time_out_in'. [funcArgNamesDifferent] entropybroker-2.9/protocol.h:36:133: note: Function 'protocol' argument 6 names different: declaration 'comm_time_out' definition 'comm_time_out_in'. entropybroker-2.9/protocol.cpp:110:153: note: Function 'protocol' argument 6 names different: declaration 'comm_time_out' definition 'comm_time_out_in'. entropybroker-2.9/protocol.cpp:91:17: style: Variable 'prnd' can be declared as pointer to const [constVariablePointer] entropybroker-2.9/protocol.cpp:92:17: style: Variable 'pcnt' can be declared as pointer to const [constVariablePointer] entropybroker-2.9/protocol.cpp:153:60: style: Parameter 'do_exit' can be declared as pointer to const [constParameterPointer] entropybroker-2.9/protocol.cpp:179:39: warning:inconclusive: Either the condition 'host_index==hosts->size()' is redundant or 'host_index' can have the value hosts.size()+4294967295. Expression 'hosts->at(host_index)' causes access out of bounds. [containerOutOfBounds] entropybroker-2.9/protocol.cpp:197:19: note: Assuming that condition 'host_index==hosts->size()' is not redundant entropybroker-2.9/protocol.cpp:196:4: note: host_index is incremented', new value is symbolic=hosts->size()+4294967295 entropybroker-2.9/protocol.cpp:179:39: note: Access out of bounds entropybroker-2.9/proxy_knuth_b.cpp:100:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] entropybroker-2.9/proxy_knuth_b.cpp:136:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] entropybroker-2.9/proxy_knuth_b.cpp:184:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] entropybroker-2.9/proxy_knuth_b.cpp:270:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] entropybroker-2.9/proxy_knuth_b.cpp:307:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] entropybroker-2.9/proxy_knuth_b.cpp:352:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] entropybroker-2.9/proxy_knuth_b.cpp:377:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CACHE_DIR [valueFlowBailoutIncompleteVar] entropybroker-2.9/proxy_knuth_b.cpp:392:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CACHE_DIR [valueFlowBailoutIncompleteVar] entropybroker-2.9/proxy_knuth_b.cpp:344:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] entropybroker-2.9/proxy_knuth_b.cpp:91:27: warning: If resource allocation fails, then there is a possible null pointer dereference: fh [nullPointerOutOfResources] entropybroker-2.9/proxy_knuth_b.cpp:138:18: note: Assuming allocation function fails entropybroker-2.9/proxy_knuth_b.cpp:138:18: note: Assignment 'fh=fopen(file.c_str(),"wb")', assigned value is 0 entropybroker-2.9/proxy_knuth_b.cpp:142:14: note: Calling function 'write_value', 1st argument 'fh' value is 0 entropybroker-2.9/proxy_knuth_b.cpp:91:27: note: Null pointer dereference entropybroker-2.9/proxy_knuth_b.cpp:145:36: warning: If resource allocation fails, then there is a possible null pointer dereference: fh [nullPointerOutOfResources] entropybroker-2.9/proxy_knuth_b.cpp:138:18: note: Assuming allocation function fails entropybroker-2.9/proxy_knuth_b.cpp:138:18: note: Assignment 'fh=fopen(file.c_str(),"wb")', assigned value is 0 entropybroker-2.9/proxy_knuth_b.cpp:145:36: note: Null pointer dereference entropybroker-2.9/proxy_knuth_b.cpp:205:13: warning: If memory allocation fails, then there is a possible null pointer dereference: hash [nullPointerOutOfMemory] entropybroker-2.9/proxy_knuth_b.cpp:201:64: note: Assuming allocation function fails entropybroker-2.9/proxy_knuth_b.cpp:201:57: note: Assignment 'hash=reinterpret_cast(malloc(hash_len))', assigned value is 0 entropybroker-2.9/proxy_knuth_b.cpp:205:13: note: Null pointer dereference entropybroker-2.9/proxy_knuth_b.cpp:205:19: warning: If memory allocation fails, then there is a possible null pointer dereference: buffer_out [nullPointerOutOfMemory] entropybroker-2.9/proxy_knuth_b.cpp:191:70: note: Assuming allocation function fails entropybroker-2.9/proxy_knuth_b.cpp:191:63: note: Assignment 'buffer_out=reinterpret_cast(malloc(in_len))', assigned value is 0 entropybroker-2.9/proxy_knuth_b.cpp:205:19: note: Null pointer dereference entropybroker-2.9/proxy_knuth_b.cpp:331:5: warning: If memory allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfMemory] entropybroker-2.9/proxy_knuth_b.cpp:317:50: note: Assuming allocation function fails entropybroker-2.9/proxy_knuth_b.cpp:317:26: note: Assignment 'out=(unsigned short*)malloc(n_bytes)', assigned value is 0 entropybroker-2.9/proxy_knuth_b.cpp:331:5: note: Null pointer dereference entropybroker-2.9/proxy_knuth_b.cpp:106:17: style: C-style pointer casting [cstyleCast] entropybroker-2.9/proxy_knuth_b.cpp:108:13: style: C-style pointer casting [cstyleCast] entropybroker-2.9/proxy_knuth_b.cpp:116:17: style: C-style pointer casting [cstyleCast] entropybroker-2.9/proxy_knuth_b.cpp:126:13: style: C-style pointer casting [cstyleCast] entropybroker-2.9/proxy_knuth_b.cpp:296:21: style: C-style pointer casting [cstyleCast] entropybroker-2.9/proxy_knuth_b.cpp:317:26: style: C-style pointer casting [cstyleCast] entropybroker-2.9/proxy_knuth_b.cpp:95:34: performance: Function parameter 'file' should be passed by const reference. [passedByValue] entropybroker-2.9/proxy_knuth_b.cpp:134:35: performance: Function parameter 'file' should be passed by const reference. [passedByValue] entropybroker-2.9/proxy_knuth_b.cpp:134:51: style: Parameter 'lt' can be declared as pointer to const [constParameterPointer] entropybroker-2.9/proxy_knuth_b.cpp:51:20: style: struct member 'proxy_client_t::type' is never used. [unusedStructMember] entropybroker-2.9/proxy_knuth_m.cpp:103:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] entropybroker-2.9/proxy_knuth_m.cpp:145:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] entropybroker-2.9/proxy_knuth_m.cpp:195:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] entropybroker-2.9/proxy_knuth_m.cpp:294:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] entropybroker-2.9/proxy_knuth_m.cpp:331:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] entropybroker-2.9/proxy_knuth_m.cpp:376:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] entropybroker-2.9/proxy_knuth_m.cpp:401:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CACHE_DIR [valueFlowBailoutIncompleteVar] entropybroker-2.9/proxy_knuth_m.cpp:416:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CACHE_DIR [valueFlowBailoutIncompleteVar] entropybroker-2.9/proxy_knuth_m.cpp:368:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] entropybroker-2.9/proxy_knuth_m.cpp:94:27: warning: If resource allocation fails, then there is a possible null pointer dereference: fh [nullPointerOutOfResources] entropybroker-2.9/proxy_knuth_m.cpp:147:18: note: Assuming allocation function fails entropybroker-2.9/proxy_knuth_m.cpp:147:18: note: Assignment 'fh=fopen(file.c_str(),"wb")', assigned value is 0 entropybroker-2.9/proxy_knuth_m.cpp:151:14: note: Calling function 'write_value', 1st argument 'fh' value is 0 entropybroker-2.9/proxy_knuth_m.cpp:94:27: note: Null pointer dereference entropybroker-2.9/proxy_knuth_m.cpp:154:36: warning: If resource allocation fails, then there is a possible null pointer dereference: fh [nullPointerOutOfResources] entropybroker-2.9/proxy_knuth_m.cpp:147:18: note: Assuming allocation function fails entropybroker-2.9/proxy_knuth_m.cpp:147:18: note: Assignment 'fh=fopen(file.c_str(),"wb")', assigned value is 0 entropybroker-2.9/proxy_knuth_m.cpp:154:36: note: Null pointer dereference entropybroker-2.9/proxy_knuth_m.cpp:216:13: warning: If memory allocation fails, then there is a possible null pointer dereference: hash [nullPointerOutOfMemory] entropybroker-2.9/proxy_knuth_m.cpp:212:64: note: Assuming allocation function fails entropybroker-2.9/proxy_knuth_m.cpp:212:57: note: Assignment 'hash=reinterpret_cast(malloc(hash_len))', assigned value is 0 entropybroker-2.9/proxy_knuth_m.cpp:216:13: note: Null pointer dereference entropybroker-2.9/proxy_knuth_m.cpp:216:19: warning: If memory allocation fails, then there is a possible null pointer dereference: buffer_out [nullPointerOutOfMemory] entropybroker-2.9/proxy_knuth_m.cpp:202:70: note: Assuming allocation function fails entropybroker-2.9/proxy_knuth_m.cpp:202:63: note: Assignment 'buffer_out=reinterpret_cast(malloc(in_len))', assigned value is 0 entropybroker-2.9/proxy_knuth_m.cpp:216:19: note: Null pointer dereference entropybroker-2.9/proxy_knuth_m.cpp:355:5: warning: If memory allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfMemory] entropybroker-2.9/proxy_knuth_m.cpp:341:50: note: Assuming allocation function fails entropybroker-2.9/proxy_knuth_m.cpp:341:26: note: Assignment 'out=(unsigned short*)malloc(n_bytes)', assigned value is 0 entropybroker-2.9/proxy_knuth_m.cpp:355:5: note: Null pointer dereference entropybroker-2.9/proxy_knuth_m.cpp:109:17: style: C-style pointer casting [cstyleCast] entropybroker-2.9/proxy_knuth_m.cpp:111:13: style: C-style pointer casting [cstyleCast] entropybroker-2.9/proxy_knuth_m.cpp:112:13: style: C-style pointer casting [cstyleCast] entropybroker-2.9/proxy_knuth_m.cpp:122:17: style: C-style pointer casting [cstyleCast] entropybroker-2.9/proxy_knuth_m.cpp:132:13: style: C-style pointer casting [cstyleCast] entropybroker-2.9/proxy_knuth_m.cpp:135:13: style: C-style pointer casting [cstyleCast] entropybroker-2.9/proxy_knuth_m.cpp:320:21: style: C-style pointer casting [cstyleCast] entropybroker-2.9/proxy_knuth_m.cpp:341:26: style: C-style pointer casting [cstyleCast] entropybroker-2.9/proxy_knuth_m.cpp:98:34: performance: Function parameter 'file' should be passed by const reference. [passedByValue] entropybroker-2.9/proxy_knuth_m.cpp:143:35: performance: Function parameter 'file' should be passed by const reference. [passedByValue] entropybroker-2.9/proxy_knuth_m.cpp:143:51: style: Parameter 'lt' can be declared as pointer to const [constParameterPointer] entropybroker-2.9/proxy_knuth_m.cpp:52:20: style: struct member 'proxy_client_t::type' is never used. [unusedStructMember] entropybroker-2.9/random_source.cpp:54:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_WARNING [valueFlowBailoutIncompleteVar] entropybroker-2.9/random_source.cpp:92:21: performance:inconclusive: Technically the member function 'random_source::dump_state' can be static (but you may consider moving to unnamed namespace). [functionStatic] entropybroker-2.9/random_source.h:13:7: note: Technically the member function 'random_source::dump_state' can be static (but you may consider moving to unnamed namespace). entropybroker-2.9/random_source.cpp:92:21: note: Technically the member function 'random_source::dump_state' can be static (but you may consider moving to unnamed namespace). entropybroker-2.9/random_source.cpp:96:21: performance:inconclusive: Technically the member function 'random_source::retrieve_state' can be static (but you may consider moving to unnamed namespace). [functionStatic] entropybroker-2.9/random_source.h:14:7: note: Technically the member function 'random_source::retrieve_state' can be static (but you may consider moving to unnamed namespace). entropybroker-2.9/random_source.cpp:96:21: note: Technically the member function 'random_source::retrieve_state' can be static (but you may consider moving to unnamed namespace). entropybroker-2.9/random_source.cpp:81:21: performance:inconclusive: Technically the member function 'random_source::check_empty' can be static (but you may consider moving to unnamed namespace). [functionStatic] entropybroker-2.9/random_source.h:22:7: note: Technically the member function 'random_source::check_empty' can be static (but you may consider moving to unnamed namespace). entropybroker-2.9/random_source.cpp:81:21: note: Technically the member function 'random_source::check_empty' can be static (but you may consider moving to unnamed namespace). entropybroker-2.9/random_source.cpp:88:21: performance:inconclusive: Technically the member function 'random_source::seed' can be static (but you may consider moving to unnamed namespace). [functionStatic] entropybroker-2.9/random_source.h:23:7: note: Technically the member function 'random_source::seed' can be static (but you may consider moving to unnamed namespace). entropybroker-2.9/random_source.cpp:88:21: note: Technically the member function 'random_source::seed' can be static (but you may consider moving to unnamed namespace). entropybroker-2.9/random_source.cpp:21:2: warning: Class 'random_source' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] entropybroker-2.9/random_source.cpp:21:2: warning: Class 'random_source' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] entropybroker-2.9/random_source.cpp:48:4: style: Exception should be caught by reference. [catchExceptionByValue] entropybroker-2.9/random_source.cpp:12:52: style:inconclusive: Function 'random_source' argument 1 names different: declaration 'rst' definition 'rs_in'. [funcArgNamesDifferent] entropybroker-2.9/random_source.h:17:38: note: Function 'random_source' argument 1 names different: declaration 'rst' definition 'rs_in'. entropybroker-2.9/random_source.cpp:12:52: note: Function 'random_source' argument 1 names different: declaration 'rst' definition 'rs_in'. entropybroker-2.9/random_source.cpp:17:52: style:inconclusive: Function 'random_source' argument 1 names different: declaration 'rst' definition 'rs_in'. [funcArgNamesDifferent] entropybroker-2.9/random_source.h:18:38: note: Function 'random_source' argument 1 names different: declaration 'rst' definition 'rs_in'. entropybroker-2.9/random_source.cpp:17:52: note: Function 'random_source' argument 1 names different: declaration 'rst' definition 'rs_in'. entropybroker-2.9/random_source.cpp:17:79: style:inconclusive: Function 'random_source' argument 2 names different: declaration 'dump_file_in' definition 'state_file_in'. [funcArgNamesDifferent] entropybroker-2.9/random_source.h:18:63: note: Function 'random_source' argument 2 names different: declaration 'dump_file_in' definition 'state_file_in'. entropybroker-2.9/random_source.cpp:17:79: note: Function 'random_source' argument 2 names different: declaration 'dump_file_in' definition 'state_file_in'. entropybroker-2.9/scc.cpp:35:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] entropybroker-2.9/scc.cpp:101:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_WARNING [valueFlowBailoutIncompleteVar] entropybroker-2.9/scc.cpp:55:13: style:inconclusive: Technically the member function 'scc::get_cur_scc' can be const. [functionConst] entropybroker-2.9/scc.h:11:9: note: Technically the member function 'scc::get_cur_scc' can be const. entropybroker-2.9/scc.cpp:55:13: note: Technically the member function 'scc::get_cur_scc' can be const. entropybroker-2.9/server_Araneus_Alea.cpp:82:45: error: There is an unknown macro here somewhere. Configuration is required. If VERSION is a macro then please configure it. [unknownMacro] entropybroker-2.9/server_ComScire_R2000KU.cpp:79:49: error: There is an unknown macro here somewhere. Configuration is required. If VERSION is a macro then please configure it. [unknownMacro] entropybroker-2.9/server_audio.cpp:154:64: error: There is an unknown macro here somewhere. Configuration is required. If VERSION is a macro then please configure it. [unknownMacro] entropybroker-2.9/server_cycle_count.cpp:96:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] entropybroker-2.9/server_cycle_count.cpp:126:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] entropybroker-2.9/server_cycle_count.cpp:70:13: warning: %d in format string (no. 1) requires 'int *' but the argument type is 'unsigned int *'. [invalidScanfArgType_int] entropybroker-2.9/server_cycle_count.cpp:86:13: warning: %d in format string (no. 1) requires 'int *' but the argument type is 'unsigned int *'. [invalidScanfArgType_int] entropybroker-2.9/server_egd.cpp:118:36: error: There is an unknown macro here somewhere. Configuration is required. If VERSION is a macro then please configure it. [unknownMacro] entropybroker-2.9/server_ext_proc.cpp:43:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] entropybroker-2.9/server_ext_proc.cpp:78:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] entropybroker-2.9/server_linux_kernel.cpp:38:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] entropybroker-2.9/server_linux_kernel.cpp:68:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] entropybroker-2.9/server_push_file.cpp:38:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] entropybroker-2.9/server_push_file.cpp:70:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] entropybroker-2.9/server_push_file.cpp:138:19: warning: Either the condition '!file' is redundant or there is possible null pointer dereference: file. [nullPointerRedundantCheck] entropybroker-2.9/server_push_file.cpp:131:6: note: Assuming that condition '!file' is not redundant entropybroker-2.9/server_push_file.cpp:138:19: note: Null pointer dereference entropybroker-2.9/server_qwqng.cpp:78:45: error: There is an unknown macro here somewhere. Configuration is required. If VERSION is a macro then please configure it. [unknownMacro] entropybroker-2.9/server_smartcard.cpp:37:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] entropybroker-2.9/server_smartcard.cpp:84:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] entropybroker-2.9/server_smartcard.cpp:68:2: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] entropybroker-2.9/server_smartcard.cpp:226:16: style: Comparing expression of type 'signed short' against value 36864. Condition is always false. [compareValueOutOfTypeRangeError] entropybroker-2.9/server_stream.cpp:40:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] entropybroker-2.9/server_stream.cpp:49:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable B9600 [valueFlowBailoutIncompleteVar] entropybroker-2.9/server_stream.cpp:258:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] entropybroker-2.9/server_stream.cpp:44:42: style: Parameter 'pars_in' can be declared as pointer to const [constParameterPointer] entropybroker-2.9/server_timers.cpp:38:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] entropybroker-2.9/server_timers.cpp:63:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLOCK_MONOTONIC [valueFlowBailoutIncompleteVar] entropybroker-2.9/server_timers.cpp:74:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLOCK_MONOTONIC [valueFlowBailoutIncompleteVar] entropybroker-2.9/server_timers.cpp:91:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] entropybroker-2.9/server_usb.cpp:50:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLOCK_REALTIME [valueFlowBailoutIncompleteVar] entropybroker-2.9/server_usb.cpp:66:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] entropybroker-2.9/server_usb.cpp:99:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] entropybroker-2.9/server_usb.cpp:197:10: style: C-style pointer casting [cstyleCast] entropybroker-2.9/server_utils.cpp:58:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] entropybroker-2.9/server_utils.cpp:26:31: warning: If resource allocation fails, then there is a possible null pointer dereference: fh [nullPointerOutOfResources] entropybroker-2.9/server_utils.cpp:22:18: note: Assuming allocation function fails entropybroker-2.9/server_utils.cpp:22:18: note: Assignment 'fh=fopen(file,"a+")', assigned value is 0 entropybroker-2.9/server_utils.cpp:26:31: note: Null pointer dereference entropybroker-2.9/server_utils.cpp:20:53: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] entropybroker-2.9/server_v4l.cpp:46:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] entropybroker-2.9/server_v4l.cpp:52:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] entropybroker-2.9/server_v4l.cpp:123:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VIDIOC_DQBUF [valueFlowBailoutIncompleteVar] entropybroker-2.9/server_v4l.cpp:129:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VIDIOC_QBUF [valueFlowBailoutIncompleteVar] entropybroker-2.9/server_v4l.cpp:166:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] entropybroker-2.9/server_v4l.cpp:299:10: warning: Either the condition '!img1' is redundant or there is possible null pointer dereference: img1. [nullPointerRedundantCheck] entropybroker-2.9/server_v4l.cpp:289:7: note: Assuming that condition '!img1' is not redundant entropybroker-2.9/server_v4l.cpp:299:10: note: Null pointer dereference entropybroker-2.9/server_v4l.cpp:306:10: warning: Either the condition '!img2' is redundant or there is possible null pointer dereference: img2. [nullPointerRedundantCheck] entropybroker-2.9/server_v4l.cpp:289:16: note: Assuming that condition '!img2' is not redundant entropybroker-2.9/server_v4l.cpp:306:10: note: Null pointer dereference entropybroker-2.9/server_v4l.cpp:157:17: style: The scope of the variable 'img1' can be reduced. [variableScope] entropybroker-2.9/server_v4l.cpp:157:24: style: The scope of the variable 'img2' can be reduced. [variableScope] entropybroker-2.9/server_v4l.cpp:75:7: style: Local variable 'format' shadows outer function [shadowFunction] entropybroker-2.9/utils.h:46:13: note: Shadowed declaration entropybroker-2.9/server_v4l.cpp:75:7: note: Shadow variable entropybroker-2.9/server_v4l.cpp:114:42: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] entropybroker-2.9/signals.cpp:58:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] entropybroker-2.9/statistics.cpp:240:18: style:inconclusive: Technically the member function 'statistics::get_sent_avg_sd' can be const. [functionConst] entropybroker-2.9/statistics.h:79:7: note: Technically the member function 'statistics::get_sent_avg_sd' can be const. entropybroker-2.9/statistics.cpp:240:18: note: Technically the member function 'statistics::get_sent_avg_sd' can be const. entropybroker-2.9/statistics.cpp:247:18: style:inconclusive: Technically the member function 'statistics::get_recv_avg_sd' can be const. [functionConst] entropybroker-2.9/statistics.h:80:7: note: Technically the member function 'statistics::get_recv_avg_sd' can be const. entropybroker-2.9/statistics.cpp:247:18: note: Technically the member function 'statistics::get_recv_avg_sd' can be const. entropybroker-2.9/statistics.cpp:254:18: style:inconclusive: Technically the member function 'statistics::get_recv_in_avg_sd' can be const. [functionConst] entropybroker-2.9/statistics.h:81:7: note: Technically the member function 'statistics::get_recv_in_avg_sd' can be const. entropybroker-2.9/statistics.cpp:254:18: note: Technically the member function 'statistics::get_recv_in_avg_sd' can be const. entropybroker-2.9/statistics.cpp:119:52: style:inconclusive: Function 'track_recvs' argument 2 names different: declaration 'n_bits_added_in' definition 'n_bits_in'. [funcArgNamesDifferent] entropybroker-2.9/statistics.h:61:41: note: Function 'track_recvs' argument 2 names different: declaration 'n_bits_added_in' definition 'n_bits_in'. entropybroker-2.9/statistics.cpp:119:52: note: Function 'track_recvs' argument 2 names different: declaration 'n_bits_added_in' definition 'n_bits_in'. entropybroker-2.9/statistics_global.cpp:31:128: style:inconclusive: Function 'put_history_log' argument 5 names different: declaration 'start_ts' definition 'start_ts_in'. [funcArgNamesDifferent] entropybroker-2.9/statistics_global.h:27:104: note: Function 'put_history_log' argument 5 names different: declaration 'start_ts' definition 'start_ts_in'. entropybroker-2.9/statistics_global.cpp:31:128: note: Function 'put_history_log' argument 5 names different: declaration 'start_ts' definition 'start_ts_in'. entropybroker-2.9/statistics_global.cpp:31:173: style:inconclusive: Function 'put_history_log' argument 7 names different: declaration 'details' definition 'details_in'. [funcArgNamesDifferent] entropybroker-2.9/statistics_global.h:27:146: note: Function 'put_history_log' argument 7 names different: declaration 'details' definition 'details_in'. entropybroker-2.9/statistics_global.cpp:31:173: note: Function 'put_history_log' argument 7 names different: declaration 'details' definition 'details_in'. entropybroker-2.9/statistics_global.cpp:31:70: performance: Function parameter 'host_in' should be passed by const reference. [passedByValue] entropybroker-2.9/statistics_global.cpp:31:91: performance: Function parameter 'type_in' should be passed by const reference. [passedByValue] entropybroker-2.9/statistics_global.cpp:31:112: performance: Function parameter 'user_in' should be passed by const reference. [passedByValue] entropybroker-2.9/statistics_global.cpp:31:173: performance: Function parameter 'details_in' should be passed by const reference. [passedByValue] entropybroker-2.9/statistics_log.cpp:40:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RUSAGE_SELF [valueFlowBailoutIncompleteVar] entropybroker-2.9/statistics_log.cpp:74:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] entropybroker-2.9/statistics_log.cpp:33:39: performance: Function parameter 'file' should be passed by const reference. [passedByValue] entropybroker-2.9/statistics_user.cpp:18:23: warning: The class 'statistics_user' defines member function with name 'register_msg' also defined in its parent class 'statistics'. [duplInheritedMember] entropybroker-2.9/statistics.h:62:7: note: Parent function 'statistics::register_msg' entropybroker-2.9/statistics_user.cpp:18:23: note: Derived function 'statistics_user::register_msg' entropybroker-2.9/test_TFO.cpp:6:26: style: Parameter 'argv' can be declared as const array [constParameter] entropybroker-2.9/test_asound2.cpp:3:26: style: Parameter 'argv' can be declared as const array [constParameter] entropybroker-2.9/test_cryptopp.cpp:10:26: style: Parameter 'argv' can be declared as const array [constParameter] entropybroker-2.9/test_gcc.cpp:3:26: style: Parameter 'argv' can be declared as const array [constParameter] entropybroker-2.9/test_libftdi.cpp:3:26: style: Parameter 'argv' can be declared as const array [constParameter] entropybroker-2.9/test_libgd2.cpp:3:26: style: Parameter 'argv' can be declared as const array [constParameter] entropybroker-2.9/test_libpng.cpp:3:26: style: Parameter 'argv' can be declared as const array [constParameter] entropybroker-2.9/test_libqwqng.cpp:3:26: style: Parameter 'argv' can be declared as const array [constParameter] entropybroker-2.9/test_libusb.cpp:3:26: style: Parameter 'argv' can be declared as const array [constParameter] entropybroker-2.9/test_pcsclite.cpp:3:26: style: Parameter 'argv' can be declared as const array [constParameter] entropybroker-2.9/test_zlib.cpp:3:26: style: Parameter 'argv' can be declared as const array [constParameter] entropybroker-2.9/users.cpp:52:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] entropybroker-2.9/users.cpp:121:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_WARNING [valueFlowBailoutIncompleteVar] entropybroker-2.9/users.cpp:15:8: warning: Member variable 'users::dummy_user' is not initialized in the constructor. [uninitMemberVar] entropybroker-2.9/users.cpp:15:26: style:inconclusive: Function 'users' argument 1 names different: declaration 'filename' definition 'filename_in'. [funcArgNamesDifferent] entropybroker-2.9/users.h:38:20: note: Function 'users' argument 1 names different: declaration 'filename' definition 'filename_in'. entropybroker-2.9/users.cpp:15:26: note: Function 'users' argument 1 names different: declaration 'filename' definition 'filename_in'. entropybroker-2.9/users.cpp:15:43: style:inconclusive: Function 'users' argument 2 names different: declaration 'default_max_get_bps' definition 'default_max_get_bps_in'. [funcArgNamesDifferent] entropybroker-2.9/users.h:38:34: note: Function 'users' argument 2 names different: declaration 'default_max_get_bps' definition 'default_max_get_bps_in'. entropybroker-2.9/users.cpp:15:43: note: Function 'users' argument 2 names different: declaration 'default_max_get_bps' definition 'default_max_get_bps_in'. entropybroker-2.9/users.cpp:128:38: performance: Function parameter 'username' should be passed by const reference. [passedByValue] entropybroker-2.9/users.cpp:144:43: performance: Function parameter 'username' should be passed by const reference. [passedByValue] entropybroker-2.9/users.cpp:179:39: performance: Function parameter 'username' should be passed by const reference. [passedByValue] entropybroker-2.9/users.cpp:197:42: performance: Function parameter 'username' should be passed by const reference. [passedByValue] entropybroker-2.9/users.cpp:223:42: performance: Function parameter 'username' should be passed by const reference. [passedByValue] entropybroker-2.9/users.cpp:238:40: performance: Function parameter 'username' should be passed by const reference. [passedByValue] entropybroker-2.9/users.cpp:249:47: performance: Function parameter 'username' should be passed by const reference. [passedByValue] entropybroker-2.9/users.cpp:270:41: performance: Function parameter 'username' should be passed by const reference. [passedByValue] entropybroker-2.9/users.cpp:282:38: performance: Function parameter 'username' should be passed by const reference. [passedByValue] entropybroker-2.9/users.cpp:294:43: performance: Function parameter 'username' should be passed by const reference. [passedByValue] entropybroker-2.9/users.cpp:306:43: performance: Function parameter 'username' should be passed by const reference. [passedByValue] entropybroker-2.9/users.cpp:318:42: performance: Function parameter 'username' should be passed by const reference. [passedByValue] entropybroker-2.9/users.cpp:330:37: performance: Function parameter 'username' should be passed by const reference. [passedByValue] entropybroker-2.9/users.cpp:342:47: performance: Function parameter 'username' should be passed by const reference. [passedByValue] entropybroker-2.9/users.cpp:354:43: performance: Function parameter 'username' should be passed by const reference. [passedByValue] entropybroker-2.9/users.cpp:366:44: performance: Function parameter 'username' should be passed by const reference. [passedByValue] entropybroker-2.9/users.cpp:378:41: performance: Function parameter 'username' should be passed by const reference. [passedByValue] entropybroker-2.9/users.cpp:390:37: performance: Function parameter 'username' should be passed by const reference. [passedByValue] entropybroker-2.9/users.cpp:402:37: performance: Function parameter 'username' should be passed by const reference. [passedByValue] entropybroker-2.9/users.cpp:414:38: performance: Function parameter 'username' should be passed by const reference. [passedByValue] entropybroker-2.9/users.cpp:426:42: performance: Function parameter 'username' should be passed by const reference. [passedByValue] entropybroker-2.9/users.cpp:441:36: performance: Function parameter 'username' should be passed by const reference. [passedByValue] entropybroker-2.9/users.cpp:456:40: performance: Function parameter 'username' should be passed by const reference. [passedByValue] entropybroker-2.9/users.cpp:471:40: performance: Function parameter 'username' should be passed by const reference. [passedByValue] entropybroker-2.9/users.cpp:486:39: performance: Function parameter 'username' should be passed by const reference. [passedByValue] entropybroker-2.9/users.cpp:501:40: performance: Function parameter 'username' should be passed by const reference. [passedByValue] entropybroker-2.9/users.cpp:516:46: performance: Function parameter 'username' should be passed by const reference. [passedByValue] entropybroker-2.9/users.cpp:531:42: performance: Function parameter 'username' should be passed by const reference. [passedByValue] entropybroker-2.9/users.cpp:546:43: performance: Function parameter 'username' should be passed by const reference. [passedByValue] entropybroker-2.9/users.cpp:561:40: performance: Function parameter 'username' should be passed by const reference. [passedByValue] entropybroker-2.9/users.cpp:576:35: performance: Function parameter 'username' should be passed by const reference. [passedByValue] entropybroker-2.9/users.cpp:588:35: performance: Function parameter 'username' should be passed by const reference. [passedByValue] entropybroker-2.9/users.cpp:600:43: performance: Function parameter 'username' should be passed by const reference. [passedByValue] entropybroker-2.9/users.cpp:615:47: performance: Function parameter 'username' should be passed by const reference. [passedByValue] entropybroker-2.9/users.cpp:630:47: performance: Function parameter 'username' should be passed by const reference. [passedByValue] entropybroker-2.9/users.cpp:645:41: performance: Function parameter 'username' should be passed by const reference. [passedByValue] entropybroker-2.9/users.cpp:657:41: performance: Function parameter 'username' should be passed by const reference. [passedByValue] entropybroker-2.9/users.cpp:669:44: performance: Function parameter 'username' should be passed by const reference. [passedByValue] entropybroker-2.9/users.cpp:229:10: style: Variable 'u' can be declared as pointer to const [constVariablePointer] entropybroker-2.9/users.cpp:90:20: warning: Either the condition 'pars.size()==1' is redundant or size of 'pars' can be 1. Expression 'pars[1]' causes access out of bounds. [containerOutOfBounds] entropybroker-2.9/users.cpp:86:19: note: Assuming that condition 'pars.size()==1' is not redundant entropybroker-2.9/users.cpp:90:20: note: Access out of bounds entropybroker-2.9/users.cpp:110:27: error: Uninitialized variable: u.last_logon [uninitvar] entropybroker-2.9/users.cpp:57:57: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] entropybroker-2.9/users.cpp:216:32: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] entropybroker-2.9/utils.cpp:48:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLOCK_REALTIME [valueFlowBailoutIncompleteVar] entropybroker-2.9/utils.cpp:80:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] entropybroker-2.9/utils.cpp:118:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fd [valueFlowBailoutIncompleteVar] entropybroker-2.9/utils.cpp:188:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] entropybroker-2.9/utils.cpp:226:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fd [valueFlowBailoutIncompleteVar] entropybroker-2.9/utils.cpp:280:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNSPEC [valueFlowBailoutIncompleteVar] entropybroker-2.9/utils.cpp:322:108: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] entropybroker-2.9/utils.cpp:331:114: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] entropybroker-2.9/utils.cpp:403:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_DFL [valueFlowBailoutIncompleteVar] entropybroker-2.9/utils.cpp:428:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RLIMIT_CORE [valueFlowBailoutIncompleteVar] entropybroker-2.9/utils.cpp:441:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_WARNING [valueFlowBailoutIncompleteVar] entropybroker-2.9/utils.cpp:456:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_CRIT [valueFlowBailoutIncompleteVar] entropybroker-2.9/utils.cpp:529:87: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] entropybroker-2.9/utils.cpp:560:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] entropybroker-2.9/utils.cpp:653:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] entropybroker-2.9/utils.cpp:896:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] entropybroker-2.9/utils.cpp:344:3: warning: Return value of function seed48() is not used. [ignoredReturnValue] entropybroker-2.9/utils.cpp:409:3: warning: Return value of function dup() is not used. [ignoredReturnValue] entropybroker-2.9/utils.cpp:410:3: warning: Return value of function dup() is not used. [ignoredReturnValue] entropybroker-2.9/utils.cpp:411:3: warning: Return value of function dup() is not used. [ignoredReturnValue] entropybroker-2.9/utils.cpp:801:18: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] entropybroker-2.9/utils.cpp:377:10: warning: If resource allocation fails, then there is a possible null pointer dereference: fh [nullPointerOutOfResources] entropybroker-2.9/utils.cpp:373:18: note: Assuming allocation function fails entropybroker-2.9/utils.cpp:373:18: note: Assignment 'fh=fopen(file,"w")', assigned value is 0 entropybroker-2.9/utils.cpp:377:10: note: Null pointer dereference entropybroker-2.9/utils.cpp:379:9: warning: If resource allocation fails, then there is a possible null pointer dereference: fh [nullPointerOutOfResources] entropybroker-2.9/utils.cpp:373:18: note: Assuming allocation function fails entropybroker-2.9/utils.cpp:373:18: note: Assignment 'fh=fopen(file,"w")', assigned value is 0 entropybroker-2.9/utils.cpp:379:9: note: Null pointer dereference entropybroker-2.9/utils.cpp:477:6: warning: If memory allocation fails, then there is a possible null pointer dereference: copy [nullPointerOutOfMemory] entropybroker-2.9/utils.cpp:473:21: note: Assuming allocation function fails entropybroker-2.9/utils.cpp:473:21: note: Assignment 'copy=strdup(in.c_str())', assigned value is 0 entropybroker-2.9/utils.cpp:477:6: note: Null pointer dereference entropybroker-2.9/utils.cpp:483:4: warning: Either the condition '!end' is redundant or there is possible null pointer dereference: end. [nullPointerRedundantCheck] entropybroker-2.9/utils.cpp:480:7: note: Assuming that condition '!end' is not redundant entropybroker-2.9/utils.cpp:483:4: note: Null pointer dereference entropybroker-2.9/utils.cpp:487:7: warning: Either the condition '!end' is redundant or there is possible null pointer dereference: end. [nullPointerRedundantCheck] entropybroker-2.9/utils.cpp:480:7: note: Assuming that condition '!end' is not redundant entropybroker-2.9/utils.cpp:487:7: note: Null pointer dereference entropybroker-2.9/utils.cpp:674:17: warning: If memory allocation fails, then there is a possible null pointer dereference: copy_in [nullPointerOutOfMemory] entropybroker-2.9/utils.cpp:665:24: note: Assuming allocation function fails entropybroker-2.9/utils.cpp:665:24: note: Assignment 'copy_in=strdup(in)', assigned value is 0 entropybroker-2.9/utils.cpp:674:17: note: Null pointer dereference entropybroker-2.9/utils.cpp:828:12: style: C-style pointer casting [cstyleCast] entropybroker-2.9/utils.cpp:841:19: style: C-style pointer casting [cstyleCast] entropybroker-2.9/utils.cpp:843:19: style: C-style pointer casting [cstyleCast] entropybroker-2.9/utils.cpp:865:13: style: C-style pointer casting [cstyleCast] entropybroker-2.9/utils.cpp:516:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] entropybroker-2.9/utils.cpp:528:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] entropybroker-2.9/utils.cpp:911:15: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] entropybroker-2.9/utils.cpp:435:14: style: The scope of the variable 'notified_err' can be reduced. [variableScope] entropybroker-2.9/utils.cpp:450:14: style: The scope of the variable 'notified_err' can be reduced. [variableScope] entropybroker-2.9/utils.cpp:471:42: performance: Function parameter 'in' should be passed by const reference. [passedByValue] entropybroker-2.9/utils.cpp:596:34: performance: Function parameter 'name' should be passed by const reference. [passedByValue] entropybroker-2.9/utils.cpp:691:51: performance: Function parameter 'in' should be passed by const reference. [passedByValue] entropybroker-2.9/utils.cpp:691:67: performance: Function parameter 'split' should be passed by const reference. [passedByValue] entropybroker-2.9/utils.cpp:65:51: style: Parameter 'do_exit' can be declared as pointer to const [constParameterPointer] entropybroker-2.9/utils.cpp:103:65: style: Parameter 'do_exit' can be declared as pointer to const [constParameterPointer] entropybroker-2.9/utils.cpp:173:58: style: Parameter 'do_exit' can be declared as pointer to const [constParameterPointer] entropybroker-2.9/utils.cpp:211:72: style: Parameter 'do_exit' can be declared as pointer to const [constParameterPointer] entropybroker-2.9/utils.cpp:463:29: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] entropybroker-2.9/utils.cpp:543:50: style: Parameter 'ok' can be declared as const array [constParameter] entropybroker-2.9/utils.cpp:620:40: style: Parameter 'thread' can be declared as pointer to const [constParameterPointer] entropybroker-2.9/utils.cpp:711:43: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] entropybroker-2.9/utils.cpp:801:13: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] entropybroker-2.9/web_server.cpp:72:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTHREAD_CREATE_DETACHED [valueFlowBailoutIncompleteVar] entropybroker-2.9/web_server.cpp:86:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WEB_DIR [valueFlowBailoutIncompleteVar] entropybroker-2.9/web_server.cpp:124:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] entropybroker-2.9/web_server.cpp:171:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTHREAD_CREATE_DETACHED [valueFlowBailoutIncompleteVar] entropybroker-2.9/web_server.cpp:200:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] entropybroker-2.9/http_file_version.h:5:3: style: The destructor '~http_file_version' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] entropybroker-2.9/http_file.h:5:11: note: Virtual destructor in base class entropybroker-2.9/http_file_version.h:5:3: note: Destructor in derived class entropybroker-2.9/http_file_version.h:7:14: style: The function 'get_url' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] entropybroker-2.9/http_file.h:7:22: note: Virtual function in base class entropybroker-2.9/http_file_version.h:7:14: note: Function in derived class entropybroker-2.9/http_file_version.h:9:14: style: The function 'get_meta_type' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] entropybroker-2.9/http_file.h:9:22: note: Virtual function in base class entropybroker-2.9/http_file_version.h:9:14: note: Function in derived class entropybroker-2.9/http_file_version.h:11:16: style: The function 'do_request' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] entropybroker-2.9/http_file.h:16:24: note: Virtual function in base class entropybroker-2.9/http_file_version.h:11:16: note: Function in derived class entropybroker-2.9/web_server.cpp:201:9: performance: Ineffective call of function 'substr' because a prefix of the string is assigned to itself. Use resize() or pop_back() instead. [uselessCallsSubstr] entropybroker-2.9/web_server.cpp:107:3: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] entropybroker-2.9/proxy_knuth_b.cpp:61:9: error: The one definition rule is violated, different classes/structs have the same name 'lookup_t' [ctuOneDefinitionRuleViolation] entropybroker-2.9/proxy_knuth_m.cpp:62:9: note: The one definition rule is violated, different classes/structs have the same name 'lookup_t' entropybroker-2.9/proxy_knuth_b.cpp:61:9: note: The one definition rule is violated, different classes/structs have the same name 'lookup_t' entropybroker-2.9/proxy_knuth_b.cpp:91:27: warning: If resource allocation fails, then there is a possible null pointer dereference: fh [ctunullpointerOutOfResources] entropybroker-2.9/proxy_knuth_b.cpp:138:18: note: Assuming allocation function fails entropybroker-2.9/proxy_knuth_b.cpp:138:18: note: Assignment 'fh=fopen(file.c_str(),"wb")', assigned value is 0 entropybroker-2.9/proxy_knuth_b.cpp:142:13: note: Calling function write_value, 1st argument is null entropybroker-2.9/proxy_knuth_b.cpp:91:27: note: Dereferencing argument fh that is null entropybroker-2.9/proxy_knuth_m.cpp:94:27: warning: If resource allocation fails, then there is a possible null pointer dereference: fh [ctunullpointerOutOfResources] entropybroker-2.9/proxy_knuth_m.cpp:147:18: note: Assuming allocation function fails entropybroker-2.9/proxy_knuth_m.cpp:147:18: note: Assignment 'fh=fopen(file.c_str(),"wb")', assigned value is 0 entropybroker-2.9/proxy_knuth_m.cpp:151:13: note: Calling function write_value, 1st argument is null entropybroker-2.9/proxy_knuth_m.cpp:94:27: note: Dereferencing argument fh that is null entropybroker-2.9/utils.cpp:828:34: warning: If resource allocation fails, then there is a possible null pointer dereference: fh [ctunullpointerOutOfResources] entropybroker-2.9/data_store_int.cpp:22:18: note: Assuming allocation function fails entropybroker-2.9/data_store_int.cpp:22:18: note: Assignment 'fh=fopen(file.c_str(),"r")', assigned value is 0 entropybroker-2.9/data_store_int.cpp:26:14: note: Calling function get_int, 1st argument is null entropybroker-2.9/utils.cpp:828:34: note: Dereferencing argument fh that is null entropybroker-2.9/utils.cpp:853:23: warning: If resource allocation fails, then there is a possible null pointer dereference: fh [ctunullpointerOutOfResources] entropybroker-2.9/data_store_int.cpp:59:18: note: Assuming allocation function fails entropybroker-2.9/data_store_int.cpp:59:18: note: Assignment 'fh=fopen(file.c_str(),"wb")', assigned value is 0 entropybroker-2.9/data_store_int.cpp:71:11: note: Calling function put_bool, 1st argument is null entropybroker-2.9/utils.cpp:853:23: note: Dereferencing argument fh that is null entropybroker-2.9/utils.cpp:865:35: warning: Null pointer dereference: fh [ctunullpointer] entropybroker-2.9/data_store_int.cpp:59:18: note: Assuming allocation function fails entropybroker-2.9/data_store_int.cpp:59:18: note: Assignment 'fh=fopen(file.c_str(),"wb")', assigned value is 0 entropybroker-2.9/data_store_int.cpp:69:20: note: Calling function put_long_long_int, 1st argument is null entropybroker-2.9/utils.cpp:871:2: note: Calling function put_int, 1st argument is null entropybroker-2.9/utils.cpp:865:35: note: Dereferencing argument fh that is null diff: head entropybroker-2.9/ComScire_R2000KU/qwqng.cpp:726:20: performance:inconclusive: Technically the member function 'FtdiDevice::Uint48ToUniform' can be static (but you may consider moving to unnamed namespace). [functionStatic] entropybroker-2.9/ComScire_R2000KU/qwqng.hpp:274:12: note: Technically the member function 'FtdiDevice::Uint48ToUniform' can be static (but you may consider moving to unnamed namespace). entropybroker-2.9/ComScire_R2000KU/qwqng.cpp:726:20: note: Technically the member function 'FtdiDevice::Uint48ToUniform' can be static (but you may consider moving to unnamed namespace). head entropybroker-2.9/ComScire_R2000KU/qwqng.cpp:737:19: performance:inconclusive: Technically the member function 'FtdiDevice::CalcEntropy' can be static (but you may consider moving to unnamed namespace). [functionStatic] entropybroker-2.9/ComScire_R2000KU/qwqng.hpp:275:11: note: Technically the member function 'FtdiDevice::CalcEntropy' can be static (but you may consider moving to unnamed namespace). entropybroker-2.9/ComScire_R2000KU/qwqng.cpp:737:19: note: Technically the member function 'FtdiDevice::CalcEntropy' can be static (but you may consider moving to unnamed namespace). head entropybroker-2.9/ComScire_R2000KU/qwqng.cpp:765:17: style:inconclusive: Technically the member function 'QngStatus::GetStatus' can be const. [functionConst] entropybroker-2.9/ComScire_R2000KU/qwqng.hpp:287:10: note: Technically the member function 'QngStatus::GetStatus' can be const. entropybroker-2.9/ComScire_R2000KU/qwqng.cpp:765:17: note: Technically the member function 'QngStatus::GetStatus' can be const. 2.17.0 entropybroker-2.9/ComScire_R2000KU/qwqng.cpp:97:21: style: C-style pointer casting [cstyleCast] head entropybroker-2.9/ComScire_R2000KU/qwqng.cpp:97:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.17.0 entropybroker-2.9/ComScire_R2000KU/qwqng.hpp:274:12: performance:inconclusive: Technically the member function 'FtdiDevice::Uint48ToUniform' can be static (but you may consider moving to unnamed namespace). [functionStatic] entropybroker-2.9/ComScire_R2000KU/qwqng.cpp:726:20: note: Technically the member function 'FtdiDevice::Uint48ToUniform' can be static (but you may consider moving to unnamed namespace). entropybroker-2.9/ComScire_R2000KU/qwqng.hpp:274:12: note: Technically the member function 'FtdiDevice::Uint48ToUniform' can be static (but you may consider moving to unnamed namespace). 2.17.0 entropybroker-2.9/ComScire_R2000KU/qwqng.hpp:275:11: performance:inconclusive: Technically the member function 'FtdiDevice::CalcEntropy' can be static (but you may consider moving to unnamed namespace). [functionStatic] entropybroker-2.9/ComScire_R2000KU/qwqng.cpp:737:19: note: Technically the member function 'FtdiDevice::CalcEntropy' can be static (but you may consider moving to unnamed namespace). entropybroker-2.9/ComScire_R2000KU/qwqng.hpp:275:11: note: Technically the member function 'FtdiDevice::CalcEntropy' can be static (but you may consider moving to unnamed namespace). 2.17.0 entropybroker-2.9/ComScire_R2000KU/qwqng.hpp:287:10: style:inconclusive: Technically the member function 'QngStatus::GetStatus' can be const. [functionConst] entropybroker-2.9/ComScire_R2000KU/qwqng.cpp:765:17: note: Technically the member function 'QngStatus::GetStatus' can be const. entropybroker-2.9/ComScire_R2000KU/qwqng.hpp:287:10: note: Technically the member function 'QngStatus::GetStatus' can be const. head entropybroker-2.9/data_store_int.cpp:136:22: style:inconclusive: Technically the member function 'data_store_int::get' can be const. [functionConst] entropybroker-2.9/data_store_int.h:21:7: note: Technically the member function 'data_store_int::get' can be const. entropybroker-2.9/data_store_int.cpp:136:22: note: Technically the member function 'data_store_int::get' can be const. head entropybroker-2.9/data_store_int.cpp:57:22: style:inconclusive: Technically the member function 'data_store_int::dump' can be const. [functionConst] entropybroker-2.9/data_store_int.h:17:7: note: Technically the member function 'data_store_int::dump' can be const. entropybroker-2.9/data_store_int.cpp:57:22: note: Technically the member function 'data_store_int::dump' can be const. 2.17.0 entropybroker-2.9/data_store_int.h:17:7: style:inconclusive: Technically the member function 'data_store_int::dump' can be const. [functionConst] entropybroker-2.9/data_store_int.cpp:57:22: note: Technically the member function 'data_store_int::dump' can be const. entropybroker-2.9/data_store_int.h:17:7: note: Technically the member function 'data_store_int::dump' can be const. 2.17.0 entropybroker-2.9/data_store_int.h:21:7: style:inconclusive: Technically the member function 'data_store_int::get' can be const. [functionConst] entropybroker-2.9/data_store_int.cpp:136:22: note: Technically the member function 'data_store_int::get' can be const. entropybroker-2.9/data_store_int.h:21:7: note: Technically the member function 'data_store_int::get' can be const. head entropybroker-2.9/graph.cpp:19:13: performance:inconclusive: Technically the member function 'graph::calc_text_width' can be static (but you may consider moving to unnamed namespace). [functionStatic] entropybroker-2.9/graph.h:6:7: note: Technically the member function 'graph::calc_text_width' can be static (but you may consider moving to unnamed namespace). entropybroker-2.9/graph.cpp:19:13: note: Technically the member function 'graph::calc_text_width' can be static (but you may consider moving to unnamed namespace). head entropybroker-2.9/graph.cpp:23:107: style: C-style pointer casting [cstyleCast] head entropybroker-2.9/graph.cpp:31:13: performance:inconclusive: Technically the member function 'graph::draw_text' can be static (but you may consider moving to unnamed namespace). [functionStatic] entropybroker-2.9/graph.h:7:7: note: Technically the member function 'graph::draw_text' can be static (but you may consider moving to unnamed namespace). entropybroker-2.9/graph.cpp:31:13: note: Technically the member function 'graph::draw_text' can be static (but you may consider moving to unnamed namespace). head entropybroker-2.9/graph.cpp:35:91: style: C-style pointer casting [cstyleCast] head entropybroker-2.9/graph.cpp:38:20: performance:inconclusive: Technically the member function 'graph::shorten' can be static (but you may consider moving to unnamed namespace). [functionStatic] entropybroker-2.9/graph.h:8:14: note: Technically the member function 'graph::shorten' can be static (but you may consider moving to unnamed namespace). entropybroker-2.9/graph.cpp:38:20: note: Technically the member function 'graph::shorten' can be static (but you may consider moving to unnamed namespace). 2.17.0 entropybroker-2.9/graph.h:6:7: performance:inconclusive: Technically the member function 'graph::calc_text_width' can be static (but you may consider moving to unnamed namespace). [functionStatic] entropybroker-2.9/graph.cpp:19:13: note: Technically the member function 'graph::calc_text_width' can be static (but you may consider moving to unnamed namespace). entropybroker-2.9/graph.h:6:7: note: Technically the member function 'graph::calc_text_width' can be static (but you may consider moving to unnamed namespace). 2.17.0 entropybroker-2.9/graph.h:7:7: performance:inconclusive: Technically the member function 'graph::draw_text' can be static (but you may consider moving to unnamed namespace). [functionStatic] entropybroker-2.9/graph.cpp:31:13: note: Technically the member function 'graph::draw_text' can be static (but you may consider moving to unnamed namespace). entropybroker-2.9/graph.h:7:7: note: Technically the member function 'graph::draw_text' can be static (but you may consider moving to unnamed namespace). 2.17.0 entropybroker-2.9/graph.h:8:14: performance:inconclusive: Technically the member function 'graph::shorten' can be static (but you may consider moving to unnamed namespace). [functionStatic] entropybroker-2.9/graph.cpp:38:20: note: Technically the member function 'graph::shorten' can be static (but you may consider moving to unnamed namespace). entropybroker-2.9/graph.h:8:14: note: Technically the member function 'graph::shorten' can be static (but you may consider moving to unnamed namespace). head entropybroker-2.9/handle_client.cpp:235:16: style: C-style pointer casting [cstyleCast] 2.17.0 entropybroker-2.9/handle_client.cpp:235:17: style: C-style pointer casting [cstyleCast] head entropybroker-2.9/http_bundle.cpp:45:39: style:inconclusive: Technically the member function 'http_bundle::get_headers' can be const. [functionConst] entropybroker-2.9/http_bundle.h:13:27: note: Technically the member function 'http_bundle::get_headers' can be const. entropybroker-2.9/http_bundle.cpp:45:39: note: Technically the member function 'http_bundle::get_headers' can be const. head entropybroker-2.9/http_bundle.cpp:50:18: style:inconclusive: Technically the member function 'http_bundle::get_data_len' can be const. [functionConst] entropybroker-2.9/http_bundle.h:14:6: note: Technically the member function 'http_bundle::get_data_len' can be const. entropybroker-2.9/http_bundle.cpp:50:18: note: Technically the member function 'http_bundle::get_data_len' can be const. 2.17.0 entropybroker-2.9/http_bundle.h:13:27: style:inconclusive: Technically the member function 'http_bundle::get_headers' can be const. [functionConst] entropybroker-2.9/http_bundle.cpp:45:39: note: Technically the member function 'http_bundle::get_headers' can be const. entropybroker-2.9/http_bundle.h:13:27: note: Technically the member function 'http_bundle::get_headers' can be const. 2.17.0 entropybroker-2.9/http_bundle.h:14:6: style:inconclusive: Technically the member function 'http_bundle::get_data_len' can be const. [functionConst] entropybroker-2.9/http_bundle.cpp:50:18: note: Technically the member function 'http_bundle::get_data_len' can be const. entropybroker-2.9/http_bundle.h:14:6: note: Technically the member function 'http_bundle::get_data_len' can be const. head entropybroker-2.9/http_file.cpp:104:24: performance:inconclusive: Technically the member function 'http_file::get_style_tail' can be static (but you may consider moving to unnamed namespace). [functionStatic] entropybroker-2.9/http_file.h:14:14: note: Technically the member function 'http_file::get_style_tail' can be static (but you may consider moving to unnamed namespace). entropybroker-2.9/http_file.cpp:104:24: note: Technically the member function 'http_file::get_style_tail' can be static (but you may consider moving to unnamed namespace). head entropybroker-2.9/http_file.cpp:66:24: performance:inconclusive: Technically the member function 'http_file::get_style_header' can be static (but you may consider moving to unnamed namespace). [functionStatic] entropybroker-2.9/http_file.h:13:14: note: Technically the member function 'http_file::get_style_header' can be static (but you may consider moving to unnamed namespace). entropybroker-2.9/http_file.cpp:66:24: note: Technically the member function 'http_file::get_style_header' can be static (but you may consider moving to unnamed namespace). 2.17.0 entropybroker-2.9/http_file.h:13:14: performance:inconclusive: Technically the member function 'http_file::get_style_header' can be static (but you may consider moving to unnamed namespace). [functionStatic] entropybroker-2.9/http_file.cpp:66:24: note: Technically the member function 'http_file::get_style_header' can be static (but you may consider moving to unnamed namespace). entropybroker-2.9/http_file.h:13:14: note: Technically the member function 'http_file::get_style_header' can be static (but you may consider moving to unnamed namespace). 2.17.0 entropybroker-2.9/http_file.h:14:14: performance:inconclusive: Technically the member function 'http_file::get_style_tail' can be static (but you may consider moving to unnamed namespace). [functionStatic] entropybroker-2.9/http_file.cpp:104:24: note: Technically the member function 'http_file::get_style_tail' can be static (but you may consider moving to unnamed namespace). entropybroker-2.9/http_file.h:14:14: note: Technically the member function 'http_file::get_style_tail' can be static (but you may consider moving to unnamed namespace). head entropybroker-2.9/http_file_users.cpp:51:37: style: Variable 'request_parameters' is assigned a value that is never used. [unreadVariable] head entropybroker-2.9/http_server.cpp:108:29: style:inconclusive: Technically the member function 'http_server::get_request_type' can be const. [functionConst] entropybroker-2.9/http_server.h:20:17: note: Technically the member function 'http_server::get_request_type' can be const. entropybroker-2.9/http_server.cpp:108:29: note: Technically the member function 'http_server::get_request_type' can be const. head entropybroker-2.9/http_server.cpp:118:26: style:inconclusive: Technically the member function 'http_server::get_request_url' can be const. [functionConst] entropybroker-2.9/http_server.h:22:14: note: Technically the member function 'http_server::get_request_url' can be const. entropybroker-2.9/http_server.cpp:118:26: note: Technically the member function 'http_server::get_request_url' can be const. head entropybroker-2.9/http_server.cpp:132:19: style:inconclusive: Technically the member function 'http_server::send' can be const. [functionConst] entropybroker-2.9/http_server.h:13:7: note: Technically the member function 'http_server::send' can be const. entropybroker-2.9/http_server.cpp:132:19: note: Technically the member function 'http_server::send' can be const. 2.17.0 entropybroker-2.9/http_server.h:13:7: style:inconclusive: Technically the member function 'http_server::send' can be const. [functionConst] entropybroker-2.9/http_server.cpp:132:19: note: Technically the member function 'http_server::send' can be const. entropybroker-2.9/http_server.h:13:7: note: Technically the member function 'http_server::send' can be const. 2.17.0 entropybroker-2.9/http_server.h:20:17: style:inconclusive: Technically the member function 'http_server::get_request_type' can be const. [functionConst] entropybroker-2.9/http_server.cpp:108:29: note: Technically the member function 'http_server::get_request_type' can be const. entropybroker-2.9/http_server.h:20:17: note: Technically the member function 'http_server::get_request_type' can be const. 2.17.0 entropybroker-2.9/http_server.h:22:14: style:inconclusive: Technically the member function 'http_server::get_request_url' can be const. [functionConst] entropybroker-2.9/http_server.cpp:118:26: note: Technically the member function 'http_server::get_request_url' can be const. entropybroker-2.9/http_server.h:22:14: note: Technically the member function 'http_server::get_request_url' can be const. head entropybroker-2.9/kernel_prng_io.cpp:44:18: style: C-style pointer casting [cstyleCast] 2.17.0 entropybroker-2.9/kernel_prng_io.cpp:44:19: style: C-style pointer casting [cstyleCast] head entropybroker-2.9/math.cpp:44:26: performance:inconclusive: Technically the member function 'bit_count_estimator::determine_number_of_bits_of_data_shannon' can be static (but you may consider moving to unnamed namespace). [functionStatic] entropybroker-2.9/math.h:8:6: note: Technically the member function 'bit_count_estimator::determine_number_of_bits_of_data_shannon' can be static (but you may consider moving to unnamed namespace). entropybroker-2.9/math.cpp:44:26: note: Technically the member function 'bit_count_estimator::determine_number_of_bits_of_data_shannon' can be static (but you may consider moving to unnamed namespace). head entropybroker-2.9/math.cpp:74:26: performance:inconclusive: Technically the member function 'bit_count_estimator::determine_number_of_bits_of_data_compression' can be static (but you may consider moving to unnamed namespace). [functionStatic] entropybroker-2.9/math.h:9:6: note: Technically the member function 'bit_count_estimator::determine_number_of_bits_of_data_compression' can be static (but you may consider moving to unnamed namespace). entropybroker-2.9/math.cpp:74:26: note: Technically the member function 'bit_count_estimator::determine_number_of_bits_of_data_compression' can be static (but you may consider moving to unnamed namespace). 2.17.0 entropybroker-2.9/math.h:8:6: performance:inconclusive: Technically the member function 'bit_count_estimator::determine_number_of_bits_of_data_shannon' can be static (but you may consider moving to unnamed namespace). [functionStatic] entropybroker-2.9/math.cpp:44:26: note: Technically the member function 'bit_count_estimator::determine_number_of_bits_of_data_shannon' can be static (but you may consider moving to unnamed namespace). entropybroker-2.9/math.h:8:6: note: Technically the member function 'bit_count_estimator::determine_number_of_bits_of_data_shannon' can be static (but you may consider moving to unnamed namespace). 2.17.0 entropybroker-2.9/math.h:9:6: performance:inconclusive: Technically the member function 'bit_count_estimator::determine_number_of_bits_of_data_compression' can be static (but you may consider moving to unnamed namespace). [functionStatic] entropybroker-2.9/math.cpp:74:26: note: Technically the member function 'bit_count_estimator::determine_number_of_bits_of_data_compression' can be static (but you may consider moving to unnamed namespace). entropybroker-2.9/math.h:9:6: note: Technically the member function 'bit_count_estimator::determine_number_of_bits_of_data_compression' can be static (but you may consider moving to unnamed namespace). head entropybroker-2.9/my_pty.cpp:139:2: error: #error I'm sorry, but I don't know what kind of system this is. [preprocessorErrorDirective] head entropybroker-2.9/plot.cpp:75:38: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] entropybroker-2.9/plot.cpp:64:49: note: Assuming allocation function fails entropybroker-2.9/plot.cpp:64:26: note: Assignment 'result=(unsigned char*)calloc(1,bytes)', assigned value is 0 entropybroker-2.9/plot.cpp:70:28: note: Assuming condition is false entropybroker-2.9/plot.cpp:75:38: note: Null pointer dereference 2.17.0 entropybroker-2.9/pool.cpp:354:70: style: C-style pointer casting [cstyleCast] head entropybroker-2.9/pool.cpp:354:70: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] head entropybroker-2.9/pools.cpp:262:16: style: C-style pointer casting [cstyleCast] 2.17.0 entropybroker-2.9/pools.cpp:262:17: style: C-style pointer casting [cstyleCast] head entropybroker-2.9/pools.cpp:263:16: style: C-style pointer casting [cstyleCast] 2.17.0 entropybroker-2.9/pools.cpp:263:17: style: C-style pointer casting [cstyleCast] 2.17.0 entropybroker-2.9/pools.cpp:346:14: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] head entropybroker-2.9/pools.cpp:372:13: performance:inconclusive: Technically the member function 'pools::verify_quality' can be static (but you may consider moving to unnamed namespace). [functionStatic] entropybroker-2.9/pools.h:34:7: note: Technically the member function 'pools::verify_quality' can be static (but you may consider moving to unnamed namespace). entropybroker-2.9/pools.cpp:372:13: note: Technically the member function 'pools::verify_quality' can be static (but you may consider moving to unnamed namespace). 2.17.0 entropybroker-2.9/pools.h:34:7: performance:inconclusive: Technically the member function 'pools::verify_quality' can be static (but you may consider moving to unnamed namespace). [functionStatic] entropybroker-2.9/pools.cpp:372:13: note: Technically the member function 'pools::verify_quality' can be static (but you may consider moving to unnamed namespace). entropybroker-2.9/pools.h:34:7: note: Technically the member function 'pools::verify_quality' can be static (but you may consider moving to unnamed namespace). head entropybroker-2.9/protocol.cpp:144:16: performance:inconclusive: Technically the member function 'protocol::error_sleep' can be static (but you may consider moving to unnamed namespace). [functionStatic] entropybroker-2.9/protocol.h:33:7: note: Technically the member function 'protocol::error_sleep' can be static (but you may consider moving to unnamed namespace). entropybroker-2.9/protocol.cpp:144:16: note: Technically the member function 'protocol::error_sleep' can be static (but you may consider moving to unnamed namespace). 2.17.0 entropybroker-2.9/protocol.h:33:7: performance:inconclusive: Technically the member function 'protocol::error_sleep' can be static (but you may consider moving to unnamed namespace). [functionStatic] entropybroker-2.9/protocol.cpp:144:16: note: Technically the member function 'protocol::error_sleep' can be static (but you may consider moving to unnamed namespace). entropybroker-2.9/protocol.h:33:7: note: Technically the member function 'protocol::error_sleep' can be static (but you may consider moving to unnamed namespace). head entropybroker-2.9/proxy_knuth_b.cpp:296:21: style: C-style pointer casting [cstyleCast] 2.17.0 entropybroker-2.9/proxy_knuth_b.cpp:296:22: style: C-style pointer casting [cstyleCast] head entropybroker-2.9/proxy_knuth_b.cpp:91:27: warning: If resource allocation fails, then there is a possible null pointer dereference: fh [ctunullpointerOutOfResources] entropybroker-2.9/proxy_knuth_b.cpp:138:18: note: Assuming allocation function fails entropybroker-2.9/proxy_knuth_b.cpp:138:18: note: Assignment 'fh=fopen(file.c_str(),"wb")', assigned value is 0 entropybroker-2.9/proxy_knuth_b.cpp:142:13: note: Calling function write_value, 1st argument is null entropybroker-2.9/proxy_knuth_b.cpp:91:27: note: Dereferencing argument fh that is null head entropybroker-2.9/proxy_knuth_m.cpp:320:21: style: C-style pointer casting [cstyleCast] 2.17.0 entropybroker-2.9/proxy_knuth_m.cpp:320:22: style: C-style pointer casting [cstyleCast] head entropybroker-2.9/proxy_knuth_m.cpp:94:27: warning: If resource allocation fails, then there is a possible null pointer dereference: fh [ctunullpointerOutOfResources] entropybroker-2.9/proxy_knuth_m.cpp:147:18: note: Assuming allocation function fails entropybroker-2.9/proxy_knuth_m.cpp:147:18: note: Assignment 'fh=fopen(file.c_str(),"wb")', assigned value is 0 entropybroker-2.9/proxy_knuth_m.cpp:151:13: note: Calling function write_value, 1st argument is null entropybroker-2.9/proxy_knuth_m.cpp:94:27: note: Dereferencing argument fh that is null head entropybroker-2.9/random_source.cpp:81:21: performance:inconclusive: Technically the member function 'random_source::check_empty' can be static (but you may consider moving to unnamed namespace). [functionStatic] entropybroker-2.9/random_source.h:22:7: note: Technically the member function 'random_source::check_empty' can be static (but you may consider moving to unnamed namespace). entropybroker-2.9/random_source.cpp:81:21: note: Technically the member function 'random_source::check_empty' can be static (but you may consider moving to unnamed namespace). head entropybroker-2.9/random_source.cpp:88:21: performance:inconclusive: Technically the member function 'random_source::seed' can be static (but you may consider moving to unnamed namespace). [functionStatic] entropybroker-2.9/random_source.h:23:7: note: Technically the member function 'random_source::seed' can be static (but you may consider moving to unnamed namespace). entropybroker-2.9/random_source.cpp:88:21: note: Technically the member function 'random_source::seed' can be static (but you may consider moving to unnamed namespace). head entropybroker-2.9/random_source.cpp:92:21: performance:inconclusive: Technically the member function 'random_source::dump_state' can be static (but you may consider moving to unnamed namespace). [functionStatic] entropybroker-2.9/random_source.h:13:7: note: Technically the member function 'random_source::dump_state' can be static (but you may consider moving to unnamed namespace). entropybroker-2.9/random_source.cpp:92:21: note: Technically the member function 'random_source::dump_state' can be static (but you may consider moving to unnamed namespace). head entropybroker-2.9/random_source.cpp:96:21: performance:inconclusive: Technically the member function 'random_source::retrieve_state' can be static (but you may consider moving to unnamed namespace). [functionStatic] entropybroker-2.9/random_source.h:14:7: note: Technically the member function 'random_source::retrieve_state' can be static (but you may consider moving to unnamed namespace). entropybroker-2.9/random_source.cpp:96:21: note: Technically the member function 'random_source::retrieve_state' can be static (but you may consider moving to unnamed namespace). 2.17.0 entropybroker-2.9/random_source.h:13:7: performance:inconclusive: Technically the member function 'random_source::dump_state' can be static (but you may consider moving to unnamed namespace). [functionStatic] entropybroker-2.9/random_source.cpp:92:21: note: Technically the member function 'random_source::dump_state' can be static (but you may consider moving to unnamed namespace). entropybroker-2.9/random_source.h:13:7: note: Technically the member function 'random_source::dump_state' can be static (but you may consider moving to unnamed namespace). 2.17.0 entropybroker-2.9/random_source.h:14:7: performance:inconclusive: Technically the member function 'random_source::retrieve_state' can be static (but you may consider moving to unnamed namespace). [functionStatic] entropybroker-2.9/random_source.cpp:96:21: note: Technically the member function 'random_source::retrieve_state' can be static (but you may consider moving to unnamed namespace). entropybroker-2.9/random_source.h:14:7: note: Technically the member function 'random_source::retrieve_state' can be static (but you may consider moving to unnamed namespace). 2.17.0 entropybroker-2.9/random_source.h:22:7: performance:inconclusive: Technically the member function 'random_source::check_empty' can be static (but you may consider moving to unnamed namespace). [functionStatic] entropybroker-2.9/random_source.cpp:81:21: note: Technically the member function 'random_source::check_empty' can be static (but you may consider moving to unnamed namespace). entropybroker-2.9/random_source.h:22:7: note: Technically the member function 'random_source::check_empty' can be static (but you may consider moving to unnamed namespace). 2.17.0 entropybroker-2.9/random_source.h:23:7: performance:inconclusive: Technically the member function 'random_source::seed' can be static (but you may consider moving to unnamed namespace). [functionStatic] entropybroker-2.9/random_source.cpp:88:21: note: Technically the member function 'random_source::seed' can be static (but you may consider moving to unnamed namespace). entropybroker-2.9/random_source.h:23:7: note: Technically the member function 'random_source::seed' can be static (but you may consider moving to unnamed namespace). head entropybroker-2.9/scc.cpp:55:13: style:inconclusive: Technically the member function 'scc::get_cur_scc' can be const. [functionConst] entropybroker-2.9/scc.h:11:9: note: Technically the member function 'scc::get_cur_scc' can be const. entropybroker-2.9/scc.cpp:55:13: note: Technically the member function 'scc::get_cur_scc' can be const. 2.17.0 entropybroker-2.9/scc.h:11:9: style:inconclusive: Technically the member function 'scc::get_cur_scc' can be const. [functionConst] entropybroker-2.9/scc.cpp:55:13: note: Technically the member function 'scc::get_cur_scc' can be const. entropybroker-2.9/scc.h:11:9: note: Technically the member function 'scc::get_cur_scc' can be const. head entropybroker-2.9/statistics.cpp:240:18: style:inconclusive: Technically the member function 'statistics::get_sent_avg_sd' can be const. [functionConst] entropybroker-2.9/statistics.h:79:7: note: Technically the member function 'statistics::get_sent_avg_sd' can be const. entropybroker-2.9/statistics.cpp:240:18: note: Technically the member function 'statistics::get_sent_avg_sd' can be const. head entropybroker-2.9/statistics.cpp:247:18: style:inconclusive: Technically the member function 'statistics::get_recv_avg_sd' can be const. [functionConst] entropybroker-2.9/statistics.h:80:7: note: Technically the member function 'statistics::get_recv_avg_sd' can be const. entropybroker-2.9/statistics.cpp:247:18: note: Technically the member function 'statistics::get_recv_avg_sd' can be const. head entropybroker-2.9/statistics.cpp:254:18: style:inconclusive: Technically the member function 'statistics::get_recv_in_avg_sd' can be const. [functionConst] entropybroker-2.9/statistics.h:81:7: note: Technically the member function 'statistics::get_recv_in_avg_sd' can be const. entropybroker-2.9/statistics.cpp:254:18: note: Technically the member function 'statistics::get_recv_in_avg_sd' can be const. 2.17.0 entropybroker-2.9/statistics.h:79:7: style:inconclusive: Technically the member function 'statistics::get_sent_avg_sd' can be const. [functionConst] entropybroker-2.9/statistics.cpp:240:18: note: Technically the member function 'statistics::get_sent_avg_sd' can be const. entropybroker-2.9/statistics.h:79:7: note: Technically the member function 'statistics::get_sent_avg_sd' can be const. 2.17.0 entropybroker-2.9/statistics.h:80:7: style:inconclusive: Technically the member function 'statistics::get_recv_avg_sd' can be const. [functionConst] entropybroker-2.9/statistics.cpp:247:18: note: Technically the member function 'statistics::get_recv_avg_sd' can be const. entropybroker-2.9/statistics.h:80:7: note: Technically the member function 'statistics::get_recv_avg_sd' can be const. 2.17.0 entropybroker-2.9/statistics.h:81:7: style:inconclusive: Technically the member function 'statistics::get_recv_in_avg_sd' can be const. [functionConst] entropybroker-2.9/statistics.cpp:254:18: note: Technically the member function 'statistics::get_recv_in_avg_sd' can be const. entropybroker-2.9/statistics.h:81:7: note: Technically the member function 'statistics::get_recv_in_avg_sd' can be const. head entropybroker-2.9/utils.cpp:516:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.17.0 entropybroker-2.9/utils.cpp:516:23: style: C-style pointer casting [cstyleCast] head entropybroker-2.9/utils.cpp:528:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.17.0 entropybroker-2.9/utils.cpp:528:23: style: C-style pointer casting [cstyleCast] head entropybroker-2.9/utils.cpp:911:15: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.17.0 entropybroker-2.9/utils.cpp:911:16: style: C-style pointer casting [cstyleCast] DONE