2026-05-03 02:32 ftp://ftp.de.debian.org/debian/pool/main/libc/libconfig/libconfig_1.8.2.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=ruby --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-111-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.70 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04.1) 14.2.0 cppcheck: head 2.20.0 head-info: e5c4a73 (2026-05-01 11:10:43 +0200) count: 369 369 elapsed-time: 3.2 2.7 head-timing-info: old-timing-info: head results: hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:61:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TypeBoolean [valueFlowBailoutIncompleteVar] hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:67:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TypeInt [valueFlowBailoutIncompleteVar] hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:73:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TypeInt64 [valueFlowBailoutIncompleteVar] hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:79:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TypeFloat [valueFlowBailoutIncompleteVar] hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:85:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TypeString [valueFlowBailoutIncompleteVar] hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:91:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TypeString [valueFlowBailoutIncompleteVar] hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:153:87: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:236:129: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:261:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TypeGroup [valueFlowBailoutIncompleteVar] hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:287:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TypeList [valueFlowBailoutIncompleteVar] hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:311:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TypeNone [valueFlowBailoutIncompleteVar] hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:460:82: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:487:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TypeNone [valueFlowBailoutIncompleteVar] hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:497:101: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:528:104: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TypeInt [valueFlowBailoutIncompleteVar] hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:529:105: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TypeInt [valueFlowBailoutIncompleteVar] hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:530:105: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TypeInt [valueFlowBailoutIncompleteVar] hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:531:106: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TypeInt [valueFlowBailoutIncompleteVar] hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:532:105: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TypeInt [valueFlowBailoutIncompleteVar] hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:533:106: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TypeInt [valueFlowBailoutIncompleteVar] hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:534:105: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TypeInt64 [valueFlowBailoutIncompleteVar] hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:535:106: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TypeInt64 [valueFlowBailoutIncompleteVar] hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:536:103: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TypeFloat [valueFlowBailoutIncompleteVar] hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:537:104: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TypeFloat [valueFlowBailoutIncompleteVar] hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:538:109: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TypeString [valueFlowBailoutIncompleteVar] hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:539:102: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TypeBoolean [valueFlowBailoutIncompleteVar] hyperrealm-libconfig-a42cb47/contrib/chained/examples/example1.cpp:47:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:52:4: warning: Member variable 'Variant::value_bool' is not initialized in the constructor. [uninitMemberVar] hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:52:4: warning: Member variable 'Variant::value_int' is not initialized in the constructor. [uninitMemberVar] hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:52:4: warning: Member variable 'Variant::value_float' is not initialized in the constructor. [uninitMemberVar] hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:57:4: warning: Member variable 'Variant::value_int' is not initialized in the constructor. [uninitMemberVar] hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:57:4: warning: Member variable 'Variant::value_float' is not initialized in the constructor. [uninitMemberVar] hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:63:4: warning: Member variable 'Variant::value_bool' is not initialized in the constructor. [uninitMemberVar] hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:63:4: warning: Member variable 'Variant::value_float' is not initialized in the constructor. [uninitMemberVar] hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:69:4: warning: Member variable 'Variant::value_bool' is not initialized in the constructor. [uninitMemberVar] hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:69:4: warning: Member variable 'Variant::value_float' is not initialized in the constructor. [uninitMemberVar] hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:75:4: warning: Member variable 'Variant::value_bool' is not initialized in the constructor. [uninitMemberVar] hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:75:4: warning: Member variable 'Variant::value_int' is not initialized in the constructor. [uninitMemberVar] hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:81:4: warning: Member variable 'Variant::value_bool' is not initialized in the constructor. [uninitMemberVar] hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:81:4: warning: Member variable 'Variant::value_int' is not initialized in the constructor. [uninitMemberVar] hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:81:4: warning: Member variable 'Variant::value_float' is not initialized in the constructor. [uninitMemberVar] hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:87:4: warning: Member variable 'Variant::value_bool' is not initialized in the constructor. [uninitMemberVar] hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:87:4: warning: Member variable 'Variant::value_int' is not initialized in the constructor. [uninitMemberVar] hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:87:4: warning: Member variable 'Variant::value_float' is not initialized in the constructor. [uninitMemberVar] hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:380:8: style: Unused private function: 'ChainedSetting::ConditionalSetCapturedDefaultValue' [unusedPrivateFunction] hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:380:8: note: Unused private function: 'ChainedSetting::ConditionalSetCapturedDefaultValue' hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:380:8: note: Unused private function: 'ChainedSetting::ConditionalSetCapturedDefaultValue' hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:539:53: style: Unused private function: 'ChainedSetting::GetRequestedType < bool >' [unusedPrivateFunction] hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:539:53: note: Unused private function: 'ChainedSetting::GetRequestedType < bool >' hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:539:53: note: Unused private function: 'ChainedSetting::GetRequestedType < bool >' hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:538:53: style: Unused private function: 'ChainedSetting::GetRequestedType < std :: string >' [unusedPrivateFunction] hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:538:53: note: Unused private function: 'ChainedSetting::GetRequestedType < std :: string >' hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:538:53: note: Unused private function: 'ChainedSetting::GetRequestedType < std :: string >' hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:537:53: style: Unused private function: 'ChainedSetting::GetRequestedType < double >' [unusedPrivateFunction] hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:537:53: note: Unused private function: 'ChainedSetting::GetRequestedType < double >' hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:537:53: note: Unused private function: 'ChainedSetting::GetRequestedType < double >' hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:536:53: style: Unused private function: 'ChainedSetting::GetRequestedType < float >' [unusedPrivateFunction] hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:536:53: note: Unused private function: 'ChainedSetting::GetRequestedType < float >' hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:536:53: note: Unused private function: 'ChainedSetting::GetRequestedType < float >' hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:535:53: style: Unused private function: 'ChainedSetting::GetRequestedType < uint64_t >' [unusedPrivateFunction] hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:535:53: note: Unused private function: 'ChainedSetting::GetRequestedType < uint64_t >' hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:535:53: note: Unused private function: 'ChainedSetting::GetRequestedType < uint64_t >' hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:534:53: style: Unused private function: 'ChainedSetting::GetRequestedType < int64_t >' [unusedPrivateFunction] hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:534:53: note: Unused private function: 'ChainedSetting::GetRequestedType < int64_t >' hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:534:53: note: Unused private function: 'ChainedSetting::GetRequestedType < int64_t >' hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:533:53: style: Unused private function: 'ChainedSetting::GetRequestedType < uint32_t >' [unusedPrivateFunction] hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:533:53: note: Unused private function: 'ChainedSetting::GetRequestedType < uint32_t >' hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:533:53: note: Unused private function: 'ChainedSetting::GetRequestedType < uint32_t >' hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:532:53: style: Unused private function: 'ChainedSetting::GetRequestedType < int32_t >' [unusedPrivateFunction] hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:532:53: note: Unused private function: 'ChainedSetting::GetRequestedType < int32_t >' hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:532:53: note: Unused private function: 'ChainedSetting::GetRequestedType < int32_t >' hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:531:53: style: Unused private function: 'ChainedSetting::GetRequestedType < uint16_t >' [unusedPrivateFunction] hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:531:53: note: Unused private function: 'ChainedSetting::GetRequestedType < uint16_t >' hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:531:53: note: Unused private function: 'ChainedSetting::GetRequestedType < uint16_t >' hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:530:53: style: Unused private function: 'ChainedSetting::GetRequestedType < int16_t >' [unusedPrivateFunction] hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:530:53: note: Unused private function: 'ChainedSetting::GetRequestedType < int16_t >' hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:530:53: note: Unused private function: 'ChainedSetting::GetRequestedType < int16_t >' hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:529:53: style: Unused private function: 'ChainedSetting::GetRequestedType < uint8_t >' [unusedPrivateFunction] hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:529:53: note: Unused private function: 'ChainedSetting::GetRequestedType < uint8_t >' hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:529:53: note: Unused private function: 'ChainedSetting::GetRequestedType < uint8_t >' hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:528:53: style: Unused private function: 'ChainedSetting::GetRequestedType < int8_t >' [unusedPrivateFunction] hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:528:53: note: Unused private function: 'ChainedSetting::GetRequestedType < int8_t >' hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:528:53: note: Unused private function: 'ChainedSetting::GetRequestedType < int8_t >' hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:61:5: performance: Variable 'type' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:67:5: performance: Variable 'type' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:73:5: performance: Variable 'type' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:79:5: performance: Variable 'type' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:83:5: performance: Variable 'value_string' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:85:5: performance: Variable 'type' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:89:5: performance: Variable 'value_string' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:91:5: performance: Variable 'type' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:518:26: style: The member function 'libconfig::ChainedSetting::ConditionalSetCapturedDefaultValue < Setting >' can be static. [functionStatic] hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:518:26: note: The member function 'libconfig::ChainedSetting::ConditionalSetCapturedDefaultValue < Setting >' can be static. hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:518:26: note: The member function 'libconfig::ChainedSetting::ConditionalSetCapturedDefaultValue < Setting >' can be static. hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:464:5: style: The member function 'libconfig::ChainedSetting::GetUnsetDefaultValue' can be static. [functionStatic] hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:539:53: style: The member function 'libconfig::ChainedSetting::GetRequestedType < bool >' can be static. [functionStatic] hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:539:53: note: The member function 'libconfig::ChainedSetting::GetRequestedType < bool >' can be static. hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:539:53: note: The member function 'libconfig::ChainedSetting::GetRequestedType < bool >' can be static. hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:538:53: style: The member function 'libconfig::ChainedSetting::GetRequestedType < std :: string >' can be static. [functionStatic] hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:538:53: note: The member function 'libconfig::ChainedSetting::GetRequestedType < std :: string >' can be static. hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:538:53: note: The member function 'libconfig::ChainedSetting::GetRequestedType < std :: string >' can be static. hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:537:53: style: The member function 'libconfig::ChainedSetting::GetRequestedType < double >' can be static. [functionStatic] hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:537:53: note: The member function 'libconfig::ChainedSetting::GetRequestedType < double >' can be static. hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:537:53: note: The member function 'libconfig::ChainedSetting::GetRequestedType < double >' can be static. hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:536:53: style: The member function 'libconfig::ChainedSetting::GetRequestedType < float >' can be static. [functionStatic] hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:536:53: note: The member function 'libconfig::ChainedSetting::GetRequestedType < float >' can be static. hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:536:53: note: The member function 'libconfig::ChainedSetting::GetRequestedType < float >' can be static. hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:535:53: style: The member function 'libconfig::ChainedSetting::GetRequestedType < uint64_t >' can be static. [functionStatic] hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:535:53: note: The member function 'libconfig::ChainedSetting::GetRequestedType < uint64_t >' can be static. hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:535:53: note: The member function 'libconfig::ChainedSetting::GetRequestedType < uint64_t >' can be static. hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:534:53: style: The member function 'libconfig::ChainedSetting::GetRequestedType < int64_t >' can be static. [functionStatic] hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:534:53: note: The member function 'libconfig::ChainedSetting::GetRequestedType < int64_t >' can be static. hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:534:53: note: The member function 'libconfig::ChainedSetting::GetRequestedType < int64_t >' can be static. hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:533:53: style: The member function 'libconfig::ChainedSetting::GetRequestedType < uint32_t >' can be static. [functionStatic] hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:533:53: note: The member function 'libconfig::ChainedSetting::GetRequestedType < uint32_t >' can be static. hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:533:53: note: The member function 'libconfig::ChainedSetting::GetRequestedType < uint32_t >' can be static. hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:532:53: style: The member function 'libconfig::ChainedSetting::GetRequestedType < int32_t >' can be static. [functionStatic] hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:532:53: note: The member function 'libconfig::ChainedSetting::GetRequestedType < int32_t >' can be static. hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:532:53: note: The member function 'libconfig::ChainedSetting::GetRequestedType < int32_t >' can be static. hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:531:53: style: The member function 'libconfig::ChainedSetting::GetRequestedType < uint16_t >' can be static. [functionStatic] hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:531:53: note: The member function 'libconfig::ChainedSetting::GetRequestedType < uint16_t >' can be static. hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:531:53: note: The member function 'libconfig::ChainedSetting::GetRequestedType < uint16_t >' can be static. hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:530:53: style: The member function 'libconfig::ChainedSetting::GetRequestedType < int16_t >' can be static. [functionStatic] hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:530:53: note: The member function 'libconfig::ChainedSetting::GetRequestedType < int16_t >' can be static. hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:530:53: note: The member function 'libconfig::ChainedSetting::GetRequestedType < int16_t >' can be static. hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:529:53: style: The member function 'libconfig::ChainedSetting::GetRequestedType < uint8_t >' can be static. [functionStatic] hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:529:53: note: The member function 'libconfig::ChainedSetting::GetRequestedType < uint8_t >' can be static. hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:529:53: note: The member function 'libconfig::ChainedSetting::GetRequestedType < uint8_t >' can be static. hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:528:53: style: The member function 'libconfig::ChainedSetting::GetRequestedType < int8_t >' can be static. [functionStatic] hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:528:53: note: The member function 'libconfig::ChainedSetting::GetRequestedType < int8_t >' can be static. hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:528:53: note: The member function 'libconfig::ChainedSetting::GetRequestedType < int8_t >' can be static. hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:483:17: style: The member function 'libconfig::ChainedSetting::GetRequestedType' can be static. [functionStatic] hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:120:3: style: Class 'ChainedSetting' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:57:4: style: Struct 'Variant' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:63:4: style: Struct 'Variant' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:69:4: style: Struct 'Variant' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:75:4: style: Struct 'Variant' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:81:4: style: Struct 'Variant' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:87:4: style: Struct 'Variant' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:233:8: style: Local variable 'min' shadows outer function [shadowFunction] hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:182:19: note: Shadowed declaration hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:233:8: note: Shadow variable hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:242:8: style: Local variable 'max' shadows outer function [shadowFunction] hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:191:19: note: Shadowed declaration hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:242:8: note: Shadow variable hyperrealm-libconfig-a42cb47/contrib/chained/libconfig_chained.h:81:25: style: Parameter 'value' can be declared as reference to const [constParameterReference] hyperrealm-libconfig-a42cb47/contrib/chained/examples/example1.cpp:40:14: style: Variable 'name' is assigned a value that is never used. [unreadVariable] hyperrealm-libconfig-a42cb47/contrib/chained/examples/example1.cpp:41:18: style: Variable 'abstract' is assigned a value that is never used. [unreadVariable] hyperrealm-libconfig-a42cb47/contrib/chained/examples/example1.cpp:42:19: style: Variable 'longitude' is assigned a value that is never used. [unreadVariable] hyperrealm-libconfig-a42cb47/contrib/chained/examples/example1.cpp:43:18: style: Variable 'latitude' is assigned a value that is never used. [unreadVariable] hyperrealm-libconfig-a42cb47/contrib/chained/examples/example2.cpp:42:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] hyperrealm-libconfig-a42cb47/contrib/chained/examples/example3.cpp:41:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OptionOpenBraceOnSeparateLine [valueFlowBailoutIncompleteVar] hyperrealm-libconfig-a42cb47/contrib/chained/examples/example3.cpp:45:14: style: Variable 'name' is assigned a value that is never used. [unreadVariable] hyperrealm-libconfig-a42cb47/contrib/chained/examples/example3.cpp:46:18: style: Variable 'abstract' is assigned a value that is never used. [unreadVariable] hyperrealm-libconfig-a42cb47/contrib/chained/examples/example3.cpp:47:19: style: Variable 'longitude' is assigned a value that is never used. [unreadVariable] hyperrealm-libconfig-a42cb47/contrib/chained/examples/example3.cpp:48:18: style: Variable 'latitude' is assigned a value that is never used. [unreadVariable] hyperrealm-libconfig-a42cb47/contrib/chained/examples/example3.cpp:51:19: style: Variable 'book0tile' is assigned a value that is never used. [unreadVariable] hyperrealm-libconfig-a42cb47/contrib/chained/examples/examples.cpp:51:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] hyperrealm-libconfig-a42cb47/contrib/copy_setting.c:19:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONFIG_TYPE_INT [valueFlowBailoutIncompleteVar] hyperrealm-libconfig-a42cb47/contrib/copy_setting.c:45:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONFIG_TYPE_INT [valueFlowBailoutIncompleteVar] hyperrealm-libconfig-a42cb47/contrib/copy_setting.c:88:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONFIG_FALSE [valueFlowBailoutIncompleteVar] hyperrealm-libconfig-a42cb47/contrib/copy_setting.c:118:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONFIG_FALSE [valueFlowBailoutIncompleteVar] hyperrealm-libconfig-a42cb47/contrib/copy_setting.c:140:19: style: Variable 'dst' is reassigned a value before the old one has been used. [redundantAssignment] hyperrealm-libconfig-a42cb47/contrib/copy_setting.c:138:9: note: dst is assigned hyperrealm-libconfig-a42cb47/contrib/copy_setting.c:140:19: note: dst is overwritten hyperrealm-libconfig-a42cb47/contrib/copy_setting.c:135:24: style: Variable 'src' can be declared as pointer to const [constVariablePointer] hyperrealm-libconfig-a42cb47/contrib/copy_setting.c:56:13: style: Variable 'set' is assigned a value that is never used. [unreadVariable] hyperrealm-libconfig-a42cb47/contrib/copy_setting.c:58:13: style: Variable 'set' is assigned a value that is never used. [unreadVariable] hyperrealm-libconfig-a42cb47/contrib/copy_setting.c:60:13: style: Variable 'set' is assigned a value that is never used. [unreadVariable] hyperrealm-libconfig-a42cb47/contrib/libconfig-ruby/ext/rconfig.c:29:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qfalse [valueFlowBailoutIncompleteVar] hyperrealm-libconfig-a42cb47/contrib/libconfig-ruby/ext/rconfig.c:43:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rb_cObject [valueFlowBailoutIncompleteVar] hyperrealm-libconfig-a42cb47/contrib/libconfig-ruby/ext/rconfig.c:52:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qnil [valueFlowBailoutIncompleteVar] hyperrealm-libconfig-a42cb47/contrib/libconfig-ruby/ext/rconfig.c:74:105: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qfalse [valueFlowBailoutIncompleteVar] hyperrealm-libconfig-a42cb47/contrib/libconfig-ruby/ext/rconfig.c:98:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T_BIGNUM [valueFlowBailoutIncompleteVar] hyperrealm-libconfig-a42cb47/contrib/libconfig-ruby/ext/rconfig.c:129:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T_FIXNUM [valueFlowBailoutIncompleteVar] hyperrealm-libconfig-a42cb47/contrib/libconfig-ruby/ext/rconfig.c:149:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONFIG_TYPE_INT [valueFlowBailoutIncompleteVar] hyperrealm-libconfig-a42cb47/contrib/libconfig-ruby/ext/rconfig.c:207:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qnil [valueFlowBailoutIncompleteVar] hyperrealm-libconfig-a42cb47/contrib/libconfig-ruby/ext/rconfig.c:216:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qnil [valueFlowBailoutIncompleteVar] hyperrealm-libconfig-a42cb47/contrib/libconfig-ruby/ext/rconfig.c:227:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qnil [valueFlowBailoutIncompleteVar] hyperrealm-libconfig-a42cb47/contrib/libconfig-ruby/ext/rconfig.c:238:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qnil [valueFlowBailoutIncompleteVar] hyperrealm-libconfig-a42cb47/contrib/libconfig-ruby/ext/rconfig.c:249:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qnil [valueFlowBailoutIncompleteVar] hyperrealm-libconfig-a42cb47/contrib/libconfig-ruby/ext/rconfig.c:260:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qnil [valueFlowBailoutIncompleteVar] hyperrealm-libconfig-a42cb47/contrib/libconfig-ruby/ext/rconfig.c:279:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qnil [valueFlowBailoutIncompleteVar] hyperrealm-libconfig-a42cb47/contrib/libconfig-ruby/ext/rconfig.c:292:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qnil [valueFlowBailoutIncompleteVar] hyperrealm-libconfig-a42cb47/contrib/libconfig-ruby/ext/rconfig.c:305:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qnil [valueFlowBailoutIncompleteVar] hyperrealm-libconfig-a42cb47/contrib/libconfig-ruby/ext/rconfig.c:318:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qnil [valueFlowBailoutIncompleteVar] hyperrealm-libconfig-a42cb47/contrib/libconfig-ruby/ext/rconfig.c:329:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qnil [valueFlowBailoutIncompleteVar] hyperrealm-libconfig-a42cb47/contrib/libconfig-ruby/ext/rconfig.c:345:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qnil [valueFlowBailoutIncompleteVar] hyperrealm-libconfig-a42cb47/contrib/libconfig-ruby/ext/rconfig.c:379:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qnil [valueFlowBailoutIncompleteVar] hyperrealm-libconfig-a42cb47/contrib/libconfig-ruby/ext/rconfig.c:391:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qnil [valueFlowBailoutIncompleteVar] hyperrealm-libconfig-a42cb47/contrib/libconfig-ruby/ext/rconfig.c:428:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qnil [valueFlowBailoutIncompleteVar] hyperrealm-libconfig-a42cb47/contrib/libconfig-ruby/ext/rconfig.c:457:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T_STRING [valueFlowBailoutIncompleteVar] hyperrealm-libconfig-a42cb47/contrib/libconfig-ruby/ext/rconfig.c:485:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qnil [valueFlowBailoutIncompleteVar] hyperrealm-libconfig-a42cb47/contrib/libconfig-ruby/ext/rconfig.c:524:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable config_t [valueFlowBailoutIncompleteVar] hyperrealm-libconfig-a42cb47/contrib/libconfig-ruby/ext/rconfig.c:536:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T_STRING [valueFlowBailoutIncompleteVar] hyperrealm-libconfig-a42cb47/contrib/libconfig-ruby/ext/rconfig.c:554:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T_STRING [valueFlowBailoutIncompleteVar] hyperrealm-libconfig-a42cb47/contrib/libconfig-ruby/ext/rconfig.c:567:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T_STRING [valueFlowBailoutIncompleteVar] hyperrealm-libconfig-a42cb47/contrib/libconfig-ruby/ext/rconfig.c:577:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T_STRING [valueFlowBailoutIncompleteVar] hyperrealm-libconfig-a42cb47/contrib/libconfig-ruby/ext/rconfig.c:588:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable config_t [valueFlowBailoutIncompleteVar] hyperrealm-libconfig-a42cb47/contrib/libconfig-ruby/ext/rconfig.c:595:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T_STRING [valueFlowBailoutIncompleteVar] hyperrealm-libconfig-a42cb47/contrib/libconfig-ruby/ext/rconfig.c:630:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rb_cObject [valueFlowBailoutIncompleteVar] hyperrealm-libconfig-a42cb47/contrib/libconfig-ruby/ext/rconfig.c:36:52: style: Parameter 'setting' can be declared as pointer to const. However it seems that 'rconfig_free_setting' is a callback function, if 'setting' is declared with const you might also need to cast function pointer(s). [constParameterCallback] hyperrealm-libconfig-a42cb47/contrib/libconfig-ruby/ext/rconfig.c:43:51: note: You might need to cast the function pointer here hyperrealm-libconfig-a42cb47/contrib/libconfig-ruby/ext/rconfig.c:36:52: note: Parameter 'setting' can be declared as pointer to const hyperrealm-libconfig-a42cb47/contrib/libconfig-ruby/ext/rconfig.c:48:43: style: Parameter 'hook' can be declared as pointer to const. However it seems that 'rconfig_destroy_setting' is a callback function, if 'hook' is declared with const you might also need to cast function pointer(s). [constParameterCallback] hyperrealm-libconfig-a42cb47/contrib/libconfig-ruby/ext/rconfig.c:526:34: note: You might need to cast the function pointer here hyperrealm-libconfig-a42cb47/contrib/libconfig-ruby/ext/rconfig.c:48:43: note: Parameter 'hook' can be declared as pointer to const hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:39:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:99:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:123:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:146:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:178:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONFIG_FALSE [valueFlowBailoutIncompleteVar] hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:308:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONFIG_TYPE_GROUP [valueFlowBailoutIncompleteVar] hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:811:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONFIG_FALSE [valueFlowBailoutIncompleteVar] hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:912:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONFIG_TRUE [valueFlowBailoutIncompleteVar] hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:1137:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:195:12: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:201:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:237:12: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:243:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:1311:9: warning: Either the condition 'fd<0' is redundant or close() argument nr 1 can have invalid value. The value is -1 but the valid values are '0:'. [invalidFunctionArg] hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:1308:9: note: Assuming that condition 'fd<0' is not redundant hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:1311:9: note: Invalid argument hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:1186:13: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:1194:13: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:1202:13: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:1209:13: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:1216:13: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:1249:13: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:1259:13: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:1269:13: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:1278:13: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:1291:12: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:856:5: error: Memory leak: dataTypeName [memleak] hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:856:5: error: Memory leak: dataValueString [memleak] hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:868:5: error: Memory leak: dataTypeName [memleak] hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:868:5: error: Memory leak: dataValueString [memleak] hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:196:2: error: Common realloc mistake: 'last_ptr' nulled but not freed upon failure [memleakOnRealloc] hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:204:5: error: Common realloc mistake: 'newpath' nulled but not freed upon failure [memleakOnRealloc] hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:208:4: error: Common realloc mistake: 'last_ptr' nulled but not freed upon failure [memleakOnRealloc] hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:211:4: error: Common realloc mistake: 'last_ptr' nulled but not freed upon failure [memleakOnRealloc] hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:241:3: error: Common realloc mistake: 'name' nulled but not freed upon failure [memleakOnRealloc] hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:879:4: error: Common realloc mistake: 'dataTypeName' nulled but not freed upon failure [memleakOnRealloc] hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:882:4: error: Common realloc mistake: 'dataValueString' nulled but not freed upon failure [memleakOnRealloc] hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:886:4: error: Common realloc mistake: 'dataTypeName' nulled but not freed upon failure [memleakOnRealloc] hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:889:4: error: Common realloc mistake: 'dataValueString' nulled but not freed upon failure [memleakOnRealloc] hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:893:4: error: Common realloc mistake: 'dataTypeName' nulled but not freed upon failure [memleakOnRealloc] hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:896:4: error: Common realloc mistake: 'dataValueString' nulled but not freed upon failure [memleakOnRealloc] hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:900:4: error: Common realloc mistake: 'dataTypeName' nulled but not freed upon failure [memleakOnRealloc] hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:903:4: error: Common realloc mistake: 'dataValueString' nulled but not freed upon failure [memleakOnRealloc] hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:907:4: error: Common realloc mistake: 'dataTypeName' nulled but not freed upon failure [memleakOnRealloc] hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:913:6: error: Common realloc mistake: 'dataValueString' nulled but not freed upon failure [memleakOnRealloc] hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:916:6: error: Common realloc mistake: 'dataValueString' nulled but not freed upon failure [memleakOnRealloc] hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:922:6: error: Common realloc mistake: 'dataValueString' nulled but not freed upon failure [memleakOnRealloc] hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:927:4: error: Common realloc mistake: 'dataTypeName' nulled but not freed upon failure [memleakOnRealloc] hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:941:8: error: Common realloc mistake: 'dataValueString' nulled but not freed upon failure [memleakOnRealloc] hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:947:8: error: Common realloc mistake: 'dataValueString' nulled but not freed upon failure [memleakOnRealloc] hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:953:8: error: Common realloc mistake: 'dataValueString' nulled but not freed upon failure [memleakOnRealloc] hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:960:8: error: Common realloc mistake: 'dataValueString' nulled but not freed upon failure [memleakOnRealloc] hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:969:10: error: Common realloc mistake: 'dataValueString' nulled but not freed upon failure [memleakOnRealloc] hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:973:10: error: Common realloc mistake: 'dataValueString' nulled but not freed upon failure [memleakOnRealloc] hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:980:9: error: Common realloc mistake: 'dataValueString' nulled but not freed upon failure [memleakOnRealloc] hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:987:9: error: Common realloc mistake: 'dataValueString' nulled but not freed upon failure [memleakOnRealloc] hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:993:9: error: Common realloc mistake: 'dataValueString' nulled but not freed upon failure [memleakOnRealloc] hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:999:9: error: Common realloc mistake: 'dataValueString' nulled but not freed upon failure [memleakOnRealloc] hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:1009:4: error: Common realloc mistake: 'dataTypeName' nulled but not freed upon failure [memleakOnRealloc] hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:1022:8: error: Common realloc mistake: 'dataValueString' nulled but not freed upon failure [memleakOnRealloc] hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:1028:8: error: Common realloc mistake: 'dataValueString' nulled but not freed upon failure [memleakOnRealloc] hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:1034:8: error: Common realloc mistake: 'dataValueString' nulled but not freed upon failure [memleakOnRealloc] hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:1041:8: error: Common realloc mistake: 'dataValueString' nulled but not freed upon failure [memleakOnRealloc] hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:1050:10: error: Common realloc mistake: 'dataValueString' nulled but not freed upon failure [memleakOnRealloc] hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:1054:10: error: Common realloc mistake: 'dataValueString' nulled but not freed upon failure [memleakOnRealloc] hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:1061:9: error: Common realloc mistake: 'dataValueString' nulled but not freed upon failure [memleakOnRealloc] hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:1068:9: error: Common realloc mistake: 'dataValueString' nulled but not freed upon failure [memleakOnRealloc] hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:1074:9: error: Common realloc mistake: 'dataValueString' nulled but not freed upon failure [memleakOnRealloc] hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:1080:9: error: Common realloc mistake: 'dataValueString' nulled but not freed upon failure [memleakOnRealloc] hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:1090:4: error: Common realloc mistake: 'dataTypeName' nulled but not freed upon failure [memleakOnRealloc] hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:1101:6: error: Common realloc mistake: 'dataValueString' nulled but not freed upon failure [memleakOnRealloc] hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:190:9: warning: If memory allocation fails, then there is a possible null pointer dereference: newpath [nullPointerOutOfMemory] hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:189:18: note: Assuming allocation function fails hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:189:18: note: Assignment 'newpath=malloc(1)', assigned value is 0 hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:190:9: note: Null pointer dereference hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:192:9: warning: If memory allocation fails, then there is a possible null pointer dereference: last_ptr [nullPointerOutOfMemory] hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:191:19: note: Assuming allocation function fails hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:191:19: note: Assignment 'last_ptr=malloc(1)', assigned value is 0 hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:192:9: note: Null pointer dereference hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:218:12: warning: If memory allocation fails, then there is a possible null pointer dereference: newpath [nullPointerOutOfMemory] hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:189:18: note: Assuming allocation function fails hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:189:18: note: Assignment 'newpath=malloc(1)', assigned value is 0 hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:200:16: note: Assuming condition is false hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:218:12: note: Null pointer dereference hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:233:9: warning: If memory allocation fails, then there is a possible null pointer dereference: name [nullPointerOutOfMemory] hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:229:15: note: Assuming allocation function fails hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:229:15: note: Assignment 'name=malloc(1)', assigned value is 0 hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:233:9: note: Null pointer dereference hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:234:9: warning: If memory allocation fails, then there is a possible null pointer dereference: tk [nullPointerOutOfMemory] hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:232:13: note: Assuming allocation function fails hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:232:13: note: Assignment 'tk=malloc((strlen(dataPath)+1)*sizeof(char))', assigned value is 0 hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:234:9: note: Null pointer dereference hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:248:12: warning: If memory allocation fails, then there is a possible null pointer dereference: name [nullPointerOutOfMemory] hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:229:15: note: Assuming allocation function fails hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:229:15: note: Assignment 'name=malloc(1)', assigned value is 0 hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:240:16: note: Assuming condition is false hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:248:12: note: Null pointer dereference hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:847:9: warning: If memory allocation fails, then there is a possible null pointer dereference: dataValueString [nullPointerOutOfMemory] hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:845:26: note: Assuming allocation function fails hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:845:26: note: Assignment 'dataValueString=malloc(1)', assigned value is 0 hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:847:9: note: Null pointer dereference hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:848:9: warning: If memory allocation fails, then there is a possible null pointer dereference: dataTypeName [nullPointerOutOfMemory] hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:846:23: note: Assuming allocation function fails hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:846:23: note: Assignment 'dataTypeName=malloc(1)', assigned value is 0 hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:848:9: note: Null pointer dereference hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:1189:14: warning: If memory allocation fails, then there is a possible null pointer dereference: dataPath [nullPointerOutOfMemory] hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:1188:31: note: Assuming allocation function fails hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:1188:18: note: Assignment 'dataPath=(char*)malloc((strlen(sinp)+1)*sizeof(char))', assigned value is 0 hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:1189:14: note: Null pointer dereference hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:1197:14: warning: If memory allocation fails, then there is a possible null pointer dereference: dataPath [nullPointerOutOfMemory] hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:1196:31: note: Assuming allocation function fails hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:1196:18: note: Assignment 'dataPath=(char*)malloc((strlen(sinp)+1)*sizeof(char))', assigned value is 0 hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:1197:14: note: Null pointer dereference hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:1205:14: warning: If memory allocation fails, then there is a possible null pointer dereference: dataString [nullPointerOutOfMemory] hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:1204:33: note: Assuming allocation function fails hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:1204:20: note: Assignment 'dataString=(char*)malloc((strlen(sinp)+1)*sizeof(char))', assigned value is 0 hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:1205:14: note: Null pointer dereference hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:1212:14: warning: If memory allocation fails, then there is a possible null pointer dereference: dataType [nullPointerOutOfMemory] hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:1211:31: note: Assuming allocation function fails hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:1211:18: note: Assignment 'dataType=(char*)malloc((strlen(sinp)+1)*sizeof(char))', assigned value is 0 hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:1212:14: note: Null pointer dereference hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:1219:14: warning: If memory allocation fails, then there is a possible null pointer dereference: configFile [nullPointerOutOfMemory] hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:1218:33: note: Assuming allocation function fails hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:1218:20: note: Assignment 'configFile=(char*)malloc((strlen(sinp)+1)*sizeof(char))', assigned value is 0 hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:1219:14: note: Null pointer dereference hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:1252:14: warning: If memory allocation fails, then there is a possible null pointer dereference: dataPath [nullPointerOutOfMemory] hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:1251:31: note: Assuming allocation function fails hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:1251:18: note: Assignment 'dataPath=(char*)malloc((strlen(sinp)+1)*sizeof(char))', assigned value is 0 hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:1252:14: note: Null pointer dereference hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:1262:14: warning: If memory allocation fails, then there is a possible null pointer dereference: dataPath [nullPointerOutOfMemory] hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:1261:31: note: Assuming allocation function fails hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:1261:18: note: Assignment 'dataPath=(char*)malloc((strlen(sinp)+1)*sizeof(char))', assigned value is 0 hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:1262:14: note: Null pointer dereference hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:1272:14: warning: If memory allocation fails, then there is a possible null pointer dereference: dataString [nullPointerOutOfMemory] hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:1271:33: note: Assuming allocation function fails hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:1271:20: note: Assignment 'dataString=(char*)malloc((strlen(sinp)+1)*sizeof(char))', assigned value is 0 hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:1272:14: note: Null pointer dereference hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:1281:14: warning: If memory allocation fails, then there is a possible null pointer dereference: dataType [nullPointerOutOfMemory] hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:1280:31: note: Assuming allocation function fails hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:1280:18: note: Assignment 'dataType=(char*)malloc((strlen(sinp)+1)*sizeof(char))', assigned value is 0 hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:1281:14: note: Null pointer dereference hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:1294:13: warning: If memory allocation fails, then there is a possible null pointer dereference: configFile [nullPointerOutOfMemory] hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:1293:32: note: Assuming allocation function fails hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:1293:19: note: Assignment 'configFile=(char*)malloc((strlen(sinp)+1)*sizeof(char))', assigned value is 0 hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:1294:13: note: Null pointer dereference hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:93:53: style: Parameter 'dataString' can be declared as pointer to const [constParameterPointer] hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:117:55: style: Parameter 'dataString' can be declared as pointer to const [constParameterPointer] hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:140:55: style: Parameter 'dataString' can be declared as pointer to const [constParameterPointer] hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:163:54: style: Parameter 'dataString' can be declared as pointer to const [constParameterPointer] hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:188:8: style: Variable 'str_ptr' can be declared as pointer to const [constVariablePointer] hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:188:39: style: Variable 'dot' can be declared as pointer to const [constVariablePointer] hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:227:23: style: Parameter 'dataPath' can be declared as pointer to const [constParameterPointer] hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:228:8: style: Variable 'str_ptr' can be declared as pointer to const [constVariablePointer] hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:262:97: style: Parameter 'dataType' can be declared as pointer to const [constParameterPointer] hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:842:8: style: Variable 'dataName' can be declared as pointer to const [constVariablePointer] hyperrealm-libconfig-a42cb47/contrib/ls-config/src/ls-config.c:1153:16: style: Variable 'long_options' can be declared as const array [constVariable] hyperrealm-libconfig-a42cb47/examples/c++/example1.cpp:48:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] hyperrealm-libconfig-a42cb47/examples/c++/example2.cpp:44:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OptionFsync [valueFlowBailoutIncompleteVar] hyperrealm-libconfig-a42cb47/examples/c++/example3.cpp:45:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TypeGroup [valueFlowBailoutIncompleteVar] hyperrealm-libconfig-a42cb47/examples/c++/example4.cpp:47:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] hyperrealm-libconfig-a42cb47/examples/c/example1.c:42:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] hyperrealm-libconfig-a42cb47/examples/c/example2.c:40:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONFIG_OPTION_FSYNC [valueFlowBailoutIncompleteVar] hyperrealm-libconfig-a42cb47/examples/c/example3.c:42:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONFIG_TYPE_GROUP [valueFlowBailoutIncompleteVar] hyperrealm-libconfig-a42cb47/examples/c/example4.c:80:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FNM_PATHNAME [valueFlowBailoutIncompleteVar] hyperrealm-libconfig-a42cb47/examples/c/example4.c:122:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] hyperrealm-libconfig-a42cb47/examples/c/example4.c:102:4: warning: Possible null pointer dereference: result_next [nullPointer] hyperrealm-libconfig-a42cb47/examples/c/example4.c:50:19: note: Assignment 'result=NULL', assigned value is 0 hyperrealm-libconfig-a42cb47/examples/c/example4.c:51:24: note: Assignment 'result_next=result', assigned value is 0 hyperrealm-libconfig-a42cb47/examples/c/example4.c:71:6: note: Assuming condition is false hyperrealm-libconfig-a42cb47/examples/c/example4.c:102:4: note: Null pointer dereference hyperrealm-libconfig-a42cb47/examples/c/example4.c:45:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] hyperrealm-libconfig-a42cb47/examples/c/example4.c:47:18: style: Variable 'dir_entry' can be declared as pointer to const [constVariablePointer] hyperrealm-libconfig-a42cb47/examples/c/pathbuf.c:50:3: error: Memory leak: buf.path [memleak] hyperrealm-libconfig-a42cb47/examples/c/pathbuf.c:45:3: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] hyperrealm-libconfig-a42cb47/examples/c/pathbuf.c:44:39: note: Assuming allocation function fails hyperrealm-libconfig-a42cb47/examples/c/pathbuf.c:44:20: note: Assignment 'buf=(struct pathbuf_t*)malloc(sizeof(struct pathbuf_t))', assigned value is 0 hyperrealm-libconfig-a42cb47/examples/c/pathbuf.c:45:3: note: Null pointer dereference hyperrealm-libconfig-a42cb47/examples/c/pathbuf.c:46:5: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] hyperrealm-libconfig-a42cb47/examples/c/pathbuf.c:44:39: note: Assuming allocation function fails hyperrealm-libconfig-a42cb47/examples/c/pathbuf.c:44:20: note: Assignment 'buf=(struct pathbuf_t*)malloc(sizeof(struct pathbuf_t))', assigned value is 0 hyperrealm-libconfig-a42cb47/examples/c/pathbuf.c:46:5: note: Null pointer dereference hyperrealm-libconfig-a42cb47/examples/c/pathbuf.c:47:3: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] hyperrealm-libconfig-a42cb47/examples/c/pathbuf.c:44:39: note: Assuming allocation function fails hyperrealm-libconfig-a42cb47/examples/c/pathbuf.c:44:20: note: Assignment 'buf=(struct pathbuf_t*)malloc(sizeof(struct pathbuf_t))', assigned value is 0 hyperrealm-libconfig-a42cb47/examples/c/pathbuf.c:47:3: note: Null pointer dereference hyperrealm-libconfig-a42cb47/examples/c/pathbuf.c:48:3: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] hyperrealm-libconfig-a42cb47/examples/c/pathbuf.c:44:39: note: Assuming allocation function fails hyperrealm-libconfig-a42cb47/examples/c/pathbuf.c:44:20: note: Assignment 'buf=(struct pathbuf_t*)malloc(sizeof(struct pathbuf_t))', assigned value is 0 hyperrealm-libconfig-a42cb47/examples/c/pathbuf.c:48:3: note: Null pointer dereference hyperrealm-libconfig-a42cb47/fuzz/fuzz_config_read.c:169:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONFIG_TRUE [valueFlowBailoutIncompleteVar] hyperrealm-libconfig-a42cb47/fuzz/fuzz_config_read.c:189:21: portability: Casting between unsigned char * and double * which have an incompatible binary data representation. [invalidPointerCast] grammar.y:123:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONFIG_TYPE_NONE [valueFlowBailoutIncompleteVar] grammar.c:1036:5: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] grammar.c:1137:3: style: The comparison '0 <= yystate' is always true. [knownConditionTrueFalse] grammar.c:1079:31: note: 'yystate' is assigned value '0' here. grammar.c:1137:3: note: The comparison '0 <= yystate' is always true. hyperrealm-libconfig-a42cb47/lib/libconfig.c:1977:9: warning: Either the condition 'settingName' is redundant or there is possible null pointer dereference: settingName. [nullPointerRedundantCheck] hyperrealm-libconfig-a42cb47/lib/libconfig.c:1974:11: note: Assuming that condition 'settingName' is not redundant hyperrealm-libconfig-a42cb47/lib/libconfig.c:1977:9: note: Null pointer dereference hyperrealm-libconfig-a42cb47/lib/libconfig.c:184:17: style: Variable 'str' can be declared as pointer to const [constVariablePointer] hyperrealm-libconfig-a42cb47/lib/libconfig.c:211:17: style: Variable 'str' can be declared as pointer to const [constVariablePointer] hyperrealm-libconfig-a42cb47/lib/libconfig.c:1040:21: style: Variable 'member' can be declared as pointer to const [constVariablePointer] hyperrealm-libconfig-a42cb47/lib/libconfig.c:1057:21: style: Variable 'member' can be declared as pointer to const [constVariablePointer] hyperrealm-libconfig-a42cb47/lib/libconfig.c:1129:21: style: Variable 'member' can be declared as pointer to const [constVariablePointer] hyperrealm-libconfig-a42cb47/lib/libconfig.c:1147:21: style: Variable 'member' can be declared as pointer to const [constVariablePointer] hyperrealm-libconfig-a42cb47/lib/libconfig.c:1169:21: style: Variable 'member' can be declared as pointer to const [constVariablePointer] hyperrealm-libconfig-a42cb47/lib/libconfig.c:1683:21: style: Variable 'element' can be declared as pointer to const [constVariablePointer] hyperrealm-libconfig-a42cb47/lib/libconfig.c:1953:45: style: Parameter 'parent' can be declared as pointer to const [constParameterPointer] hyperrealm-libconfig-a42cb47/lib/libconfig.c:445:11: warning: Size of pointer 'base' used instead of size of its data. [pointerSize] hyperrealm-libconfig-a42cb47/lib/libconfigcpp.c++:903:20: style: 'operator=' should return reference to 'this' instance. [operatorEqRetRefThis] hyperrealm-libconfig-a42cb47/lib/libconfigcpp.c++:215:37: warning: 'operator=' should check for assignment to self to avoid problems with dynamic memory. [operatorEqToSelf] hyperrealm-libconfig-a42cb47/lib/libconfig.h++:427:26: style:inconclusive: Technically the member function 'libconfig::SettingConstIterator::operator->' can be const. [functionConst] hyperrealm-libconfig-a42cb47/lib/libconfig.h++:67:3: style: Class 'SettingException' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] hyperrealm-libconfig-a42cb47/lib/libconfig.h++:70:3: style: Class 'SettingException' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] hyperrealm-libconfig-a42cb47/lib/libconfig.h++:90:3: style: Class 'SettingTypeException' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] hyperrealm-libconfig-a42cb47/lib/libconfig.h++:101:3: style: Class 'SettingRangeException' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] hyperrealm-libconfig-a42cb47/lib/libconfig.h++:112:3: style: Class 'SettingNotFoundException' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] hyperrealm-libconfig-a42cb47/lib/libconfig.h++:344:3: style: Class 'Setting' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] hyperrealm-libconfig-a42cb47/lib/libconfig.h++:358:3: style: Class 'SettingIterator' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] hyperrealm-libconfig-a42cb47/lib/libconfig.h++:413:3: style: Class 'SettingConstIterator' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] hyperrealm-libconfig-a42cb47/lib/libconfig.h++:94:23: style: The function 'what' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] hyperrealm-libconfig-a42cb47/lib/libconfig.h++:79:23: note: Virtual function in base class hyperrealm-libconfig-a42cb47/lib/libconfig.h++:94:23: note: Function in derived class hyperrealm-libconfig-a42cb47/lib/libconfig.h++:105:23: style: The function 'what' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] hyperrealm-libconfig-a42cb47/lib/libconfig.h++:79:23: note: Virtual function in base class hyperrealm-libconfig-a42cb47/lib/libconfig.h++:105:23: note: Function in derived class hyperrealm-libconfig-a42cb47/lib/libconfig.h++:116:23: style: The function 'what' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] hyperrealm-libconfig-a42cb47/lib/libconfig.h++:79:23: note: Virtual function in base class hyperrealm-libconfig-a42cb47/lib/libconfig.h++:116:23: note: Function in derived class hyperrealm-libconfig-a42cb47/lib/libconfig.h++:125:23: style: The function 'what' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] hyperrealm-libconfig-a42cb47/lib/libconfig.h++:79:23: note: Virtual function in base class hyperrealm-libconfig-a42cb47/lib/libconfig.h++:125:23: note: Function in derived class hyperrealm-libconfig-a42cb47/lib/libconfigcpp.c++:81:10: style: C-style pointer casting [cstyleCast] hyperrealm-libconfig-a42cb47/lib/libconfigcpp.c++:622:3: style: C-style pointer casting [cstyleCast] hyperrealm-libconfig-a42cb47/lib/libconfigcpp.c++:629:3: style: C-style pointer casting [cstyleCast] hyperrealm-libconfig-a42cb47/lib/libconfigcpp.c++:1078:3: style: C-style pointer casting [cstyleCast] hyperrealm-libconfig-a42cb47/lib/libconfigcpp.c++:1085:3: style: C-style pointer casting [cstyleCast] hyperrealm-libconfig-a42cb47/lib/libconfigcpp.c++:998:35: style:inconclusive: Function 'operator[]' argument 1 names different: declaration 'index' definition 'i'. [funcArgNamesDifferent] hyperrealm-libconfig-a42cb47/lib/libconfig.h++:237:28: note: Function 'operator[]' argument 1 names different: declaration 'index' definition 'i'. hyperrealm-libconfig-a42cb47/lib/libconfigcpp.c++:998:35: note: Function 'operator[]' argument 1 names different: declaration 'index' definition 'i'. hyperrealm-libconfig-a42cb47/lib/libconfigcpp.c++:1291:50: style:inconclusive: Function 'wrapSetting' argument 1 names different: declaration 'setting' definition 's'. [funcArgNamesDifferent] hyperrealm-libconfig-a42cb47/lib/libconfig.h++:347:50: note: Function 'wrapSetting' argument 1 names different: declaration 'setting' definition 's'. hyperrealm-libconfig-a42cb47/lib/libconfigcpp.c++:1291:50: note: Function 'wrapSetting' argument 1 names different: declaration 'setting' definition 's'. hyperrealm-libconfig-a42cb47/lib/libconfigcpp.c++:1465:72: style:inconclusive: Function 'SettingConstIterator' argument 1 names different: declaration 'rhs' definition 'other'. [funcArgNamesDifferent] hyperrealm-libconfig-a42cb47/lib/libconfig.h++:414:52: note: Function 'SettingConstIterator' argument 1 names different: declaration 'rhs' definition 'other'. hyperrealm-libconfig-a42cb47/lib/libconfigcpp.c++:1465:72: note: Function 'SettingConstIterator' argument 1 names different: declaration 'rhs' definition 'other'. hyperrealm-libconfig-a42cb47/lib/libconfigcpp.c++:1475:31: style:inconclusive: Function 'operator=' argument 1 names different: declaration 'rhs' definition 'other'. [funcArgNamesDifferent] hyperrealm-libconfig-a42cb47/lib/libconfig.h++:415:63: note: Function 'operator=' argument 1 names different: declaration 'rhs' definition 'other'. hyperrealm-libconfig-a42cb47/lib/libconfigcpp.c++:1475:31: note: Function 'operator=' argument 1 names different: declaration 'rhs' definition 'other'. hyperrealm-libconfig-a42cb47/lib/libconfigcpp.c++:1542:66: style: Parameter 'si' can be declared as reference to const [constParameterReference] hyperrealm-libconfig-a42cb47/lib/libconfigcpp.c++:550:21: style: Variable 's' can be declared as pointer to const [constVariablePointer] hyperrealm-libconfig-a42cb47/lib/libconfigcpp.c++:1095:21: style: Variable 'setting' can be declared as pointer to const [constVariablePointer] scanner.c:1198:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] scanner.c:1903:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] scanner.c:2217:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] scanner.c:2462:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] scanner.c:2650:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] scanner.c:2681:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] scanner.c:2760:5: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] scanner.c:1903:3: style: Redundant initialization for 'c'. The initialized value is overwritten before it is read. [redundantInitialization] scanner.c:1903:3: note: c is initialized scanner.c:1903:3: note: c is overwritten scanner.l:185:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] scanner.l:248:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] scanner.l:253:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] scanner.l:258:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] scanner.l:263:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] scanner.l:268:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] scanner.l:273:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] scanner.l:278:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] scanner.l:283:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] scanner.l:318:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] scanner.l:390:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] scanner.l:395:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] scanner.l:400:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] scanner.l:405:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] scanner.l:410:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] scanner.l:415:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] scanner.c:1984:59: style:inconclusive: Function 'yy_try_NUL_trans' argument 1 names different: declaration 'current_state' definition 'yy_current_state'. [funcArgNamesDifferent] scanner.c:570:55: note: Function 'yy_try_NUL_trans' argument 1 names different: declaration 'current_state' definition 'yy_current_state'. scanner.c:1984:59: note: Function 'yy_try_NUL_trans' argument 1 names different: declaration 'current_state' definition 'yy_current_state'. scanner.c:2411:46: style:inconclusive: Function 'libconfig_yy_scan_string' argument 1 names different: declaration 'yy_str' definition 'yystr'. [funcArgNamesDifferent] scanner.c:531:46: note: Function 'libconfig_yy_scan_string' argument 1 names different: declaration 'yy_str' definition 'yystr'. scanner.c:2411:46: note: Function 'libconfig_yy_scan_string' argument 1 names different: declaration 'yy_str' definition 'yystr'. scanner.c:2424:46: style:inconclusive: Function 'libconfig_yy_scan_bytes' argument 1 names different: declaration 'bytes' definition 'yybytes'. [funcArgNamesDifferent] scanner.c:532:45: note: Function 'libconfig_yy_scan_bytes' argument 1 names different: declaration 'bytes' definition 'yybytes'. scanner.c:2424:46: note: Function 'libconfig_yy_scan_bytes' argument 1 names different: declaration 'bytes' definition 'yybytes'. scanner.c:2424:60: style:inconclusive: Function 'libconfig_yy_scan_bytes' argument 2 names different: declaration 'len' definition '_yybytes_len'. [funcArgNamesDifferent] scanner.c:532:56: note: Function 'libconfig_yy_scan_bytes' argument 2 names different: declaration 'len' definition '_yybytes_len'. scanner.c:2424:60: note: Function 'libconfig_yy_scan_bytes' argument 2 names different: declaration 'len' definition '_yybytes_len'. scanner.c:2621:24: style:inconclusive: Function 'libconfig_yyset_debug' argument 1 names different: declaration 'debug_flag' definition '_bdebug'. [funcArgNamesDifferent] scanner.c:1007:24: note: Function 'libconfig_yyset_debug' argument 1 names different: declaration 'debug_flag' definition '_bdebug'. scanner.c:2621:24: note: Function 'libconfig_yyset_debug' argument 1 names different: declaration 'debug_flag' definition '_bdebug'. scanner.c:2647:26: style:inconclusive: Function 'libconfig_yylex_init' argument 1 names different: declaration 'scanner' definition 'ptr_yy_globals'. [funcArgNamesDifferent] scanner.c:996:27: note: Function 'libconfig_yylex_init' argument 1 names different: declaration 'scanner' definition 'ptr_yy_globals'. scanner.c:2647:26: note: Function 'libconfig_yylex_init' argument 1 names different: declaration 'scanner' definition 'ptr_yy_globals'. scanner.c:2674:37: style:inconclusive: Function 'libconfig_yylex_init_extra' argument 1 names different: declaration 'user_defined' definition 'yy_user_defined'. [funcArgNamesDifferent] scanner.c:998:38: note: Function 'libconfig_yylex_init_extra' argument 1 names different: declaration 'user_defined' definition 'yy_user_defined'. scanner.c:2674:37: note: Function 'libconfig_yylex_init_extra' argument 1 names different: declaration 'user_defined' definition 'yy_user_defined'. scanner.c:2674:64: style:inconclusive: Function 'libconfig_yylex_init_extra' argument 2 names different: declaration 'scanner' definition 'ptr_yy_globals'. [funcArgNamesDifferent] scanner.c:998:62: note: Function 'libconfig_yylex_init_extra' argument 2 names different: declaration 'scanner' definition 'ptr_yy_globals'. scanner.c:2674:64: note: Function 'libconfig_yylex_init_extra' argument 2 names different: declaration 'scanner' definition 'ptr_yy_globals'. scanner.c:2791:21: style:inconclusive: Function 'libconfig_yyfree' argument 1 names different: declaration '' definition 'ptr'. [funcArgNamesDifferentUnnamed] scanner.l:267:32: style:inconclusive: Function 'libconfig_yyalloc' argument 1 names different: declaration '' definition 'bytes'. [funcArgNamesDifferentUnnamed] scanner.l:272:33: style:inconclusive: Function 'libconfig_yyrealloc' argument 1 names different: declaration '' definition 'ptr'. [funcArgNamesDifferentUnnamed] scanner.l:272:45: style:inconclusive: Function 'libconfig_yyrealloc' argument 2 names different: declaration '' definition 'bytes'. [funcArgNamesDifferentUnnamed] scanner.c:1177:1: style: Parameter 'yylval_param' can be declared as pointer to const [constParameterPointer] scanner.c:1815:8: style: Variable 'source' can be declared as pointer to const [constVariablePointer] scanner.c:2490:23: style: Variable 'yyg' can be declared as pointer to const [constVariablePointer] scanner.c:2525:23: style: Variable 'yyg' can be declared as pointer to const [constVariablePointer] scanner.c:2534:23: style: Variable 'yyg' can be declared as pointer to const [constVariablePointer] scanner.c:2543:23: style: Variable 'yyg' can be declared as pointer to const [constVariablePointer] scanner.c:2553:23: style: Variable 'yyg' can be declared as pointer to const [constVariablePointer] scanner.c:2617:23: style: Variable 'yyg' can be declared as pointer to const [constVariablePointer] scanner.c:2631:23: style: Variable 'yyg' can be declared as pointer to const [constVariablePointer] scanner.l:267:45: style: Parameter 'yyscanner' can be declared as pointer to const [constParameterPointer] hyperrealm-libconfig-a42cb47/lib/util.c:105:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] hyperrealm-libconfig-a42cb47/tests/tests.c:507:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONFIG_OPTION_ALLOW_OVERRIDES [valueFlowBailoutIncompleteVar] hyperrealm-libconfig-a42cb47/tests/tests.c:566:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONFIG_OPTION_ALLOW_OVERRIDES [valueFlowBailoutIncompleteVar] hyperrealm-libconfig-a42cb47/tests/tests.c:755:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LibConfigTests [valueFlowBailoutIncompleteVar] hyperrealm-libconfig-a42cb47/tests/tests.c:127:13: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] hyperrealm-libconfig-a42cb47/tests/tests.c:121:23: note: Assuming allocation function fails hyperrealm-libconfig-a42cb47/tests/tests.c:121:9: note: Assignment 'buf=(char*)malloc(size+1)', assigned value is 0 hyperrealm-libconfig-a42cb47/tests/tests.c:127:13: note: Null pointer dereference hyperrealm-libconfig-a42cb47/tests/tests.c:127:27: warning:inconclusive: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] hyperrealm-libconfig-a42cb47/tests/tests.c:124:13: note: Assuming allocation function fails hyperrealm-libconfig-a42cb47/tests/tests.c:124:13: note: Assignment 'fp=fopen(file,"rt")', assigned value is 0 hyperrealm-libconfig-a42cb47/tests/tests.c:127:27: note: Null pointer dereference hyperrealm-libconfig-a42cb47/tests/tests.c:176:65: warning:inconclusive: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] hyperrealm-libconfig-a42cb47/tests/tests.c:174:15: note: Assuming allocation function fails hyperrealm-libconfig-a42cb47/tests/tests.c:174:15: note: Assignment 'fp=fopen(error_file,"rt")', assigned value is 0 hyperrealm-libconfig-a42cb47/tests/tests.c:176:65: note: Null pointer dereference hyperrealm-libconfig-a42cb47/tests/tests.c:206:65: warning:inconclusive: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] hyperrealm-libconfig-a42cb47/tests/tests.c:204:15: note: Assuming allocation function fails hyperrealm-libconfig-a42cb47/tests/tests.c:204:15: note: Assignment 'fp=fopen(error_file,"rt")', assigned value is 0 hyperrealm-libconfig-a42cb47/tests/tests.c:206:65: note: Null pointer dereference hyperrealm-libconfig-a42cb47/tests/tests.c:661:10: warning:inconclusive: If resource allocation fails, then there is a possible null pointer dereference: stream [nullPointerOutOfResources] hyperrealm-libconfig-a42cb47/tests/tests.c:656:17: note: Assuming allocation function fails hyperrealm-libconfig-a42cb47/tests/tests.c:656:17: note: Assignment 'stream=fopen("testdata/nesting.cfg","rt")', assigned value is 0 hyperrealm-libconfig-a42cb47/tests/tests.c:661:10: note: Null pointer dereference hyperrealm-libconfig-a42cb47/tinytest/tinytest.c:569:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] hyperrealm-libconfig-a42cb47/tinytest/tinytest.c:229:3: error: Memory leak: suite.name [memleak] hyperrealm-libconfig-a42cb47/tinytest/tinytest.c:228:3: warning: If memory allocation fails, then there is a possible null pointer dereference: suite [nullPointerOutOfMemory] hyperrealm-libconfig-a42cb47/tinytest/tinytest.c:227:33: note: Assuming allocation function fails hyperrealm-libconfig-a42cb47/tinytest/tinytest.c:227:33: note: Assignment 'suite=calloc(1,sizeof(struct tt_testsuite_t))', assigned value is 0 hyperrealm-libconfig-a42cb47/tinytest/tinytest.c:228:3: note: Null pointer dereference hyperrealm-libconfig-a42cb47/tinytest/tinytest.c:258:3: warning: If memory allocation fails, then there is a possible null pointer dereference: test [nullPointerOutOfMemory] hyperrealm-libconfig-a42cb47/tinytest/tinytest.c:257:27: note: Assuming allocation function fails hyperrealm-libconfig-a42cb47/tinytest/tinytest.c:257:27: note: Assignment 'test=calloc(1,sizeof(struct tt_test_t))', assigned value is 0 hyperrealm-libconfig-a42cb47/tinytest/tinytest.c:258:3: note: Null pointer dereference hyperrealm-libconfig-a42cb47/tinytest/tinytest.c:259:3: warning: If memory allocation fails, then there is a possible null pointer dereference: test [nullPointerOutOfMemory] hyperrealm-libconfig-a42cb47/tinytest/tinytest.c:257:27: note: Assuming allocation function fails hyperrealm-libconfig-a42cb47/tinytest/tinytest.c:257:27: note: Assignment 'test=calloc(1,sizeof(struct tt_test_t))', assigned value is 0 hyperrealm-libconfig-a42cb47/tinytest/tinytest.c:259:3: note: Null pointer dereference hyperrealm-libconfig-a42cb47/tinytest/tinytest.c:93:21: style: Variable 'p' can be declared as pointer to const [constVariablePointer] hyperrealm-libconfig-a42cb47/tinytest/tinytest.c:93:25: style: Variable 'q' can be declared as pointer to const [constVariablePointer] hyperrealm-libconfig-a42cb47/tinytest/tinytest.c:171:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] hyperrealm-libconfig-a42cb47/tinytest/tinytest.c:171:15: style: Variable 'q' can be declared as pointer to const [constVariablePointer] hyperrealm-libconfig-a42cb47/tinytest/tinytest.c:171:19: style: Variable 'pe' can be declared as pointer to const [constVariablePointer] hyperrealm-libconfig-a42cb47/tinytest/tinytest.c:171:24: style: Variable 'qe' can be declared as pointer to const [constVariablePointer] diff: 2.20.0 hyperrealm-libconfig-a42cb47/contrib/chained/examples/example3.cpp:50:24: style: Variable 'movie0' is assigned a value that is never used. [unreadVariable] 2.20.0 hyperrealm-libconfig-a42cb47/tests/tests.c:128:10: warning:inconclusive: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] hyperrealm-libconfig-a42cb47/tests/tests.c:124:13: note: Assuming allocation function fails hyperrealm-libconfig-a42cb47/tests/tests.c:124:13: note: Assignment 'fp=fopen(file,"rt")', assigned value is 0 hyperrealm-libconfig-a42cb47/tests/tests.c:128:10: note: Null pointer dereference 2.20.0 hyperrealm-libconfig-a42cb47/tests/tests.c:132:9: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] hyperrealm-libconfig-a42cb47/tests/tests.c:121:23: note: Assuming allocation function fails hyperrealm-libconfig-a42cb47/tests/tests.c:121:9: note: Assignment 'buf=(char*)malloc(size+1)', assigned value is 0 hyperrealm-libconfig-a42cb47/tests/tests.c:132:9: note: Null pointer addition 2.20.0 hyperrealm-libconfig-a42cb47/tests/tests.c:177:12: warning:inconclusive: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] hyperrealm-libconfig-a42cb47/tests/tests.c:174:15: note: Assuming allocation function fails hyperrealm-libconfig-a42cb47/tests/tests.c:174:15: note: Assignment 'fp=fopen(error_file,"rt")', assigned value is 0 hyperrealm-libconfig-a42cb47/tests/tests.c:177:12: note: Null pointer dereference 2.20.0 hyperrealm-libconfig-a42cb47/tests/tests.c:207:12: warning:inconclusive: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] hyperrealm-libconfig-a42cb47/tests/tests.c:204:15: note: Assuming allocation function fails hyperrealm-libconfig-a42cb47/tests/tests.c:204:15: note: Assignment 'fp=fopen(error_file,"rt")', assigned value is 0 hyperrealm-libconfig-a42cb47/tests/tests.c:207:12: note: Null pointer dereference head scanner.c:1177:1: style: Parameter 'yylval_param' can be declared as pointer to const [constParameterPointer] head scanner.c:2791:21: style:inconclusive: Function 'libconfig_yyfree' argument 1 names different: declaration '' definition 'ptr'. [funcArgNamesDifferentUnnamed] head scanner.l:267:32: style:inconclusive: Function 'libconfig_yyalloc' argument 1 names different: declaration '' definition 'bytes'. [funcArgNamesDifferentUnnamed] head scanner.l:272:33: style:inconclusive: Function 'libconfig_yyrealloc' argument 1 names different: declaration '' definition 'ptr'. [funcArgNamesDifferentUnnamed] head scanner.l:272:45: style:inconclusive: Function 'libconfig_yyrealloc' argument 2 names different: declaration '' definition 'bytes'. [funcArgNamesDifferentUnnamed] DONE