2024-04-21 22:51 ftp://ftp.de.debian.org/debian/pool/main/r/rspamd/rspamd_3.8.1.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --library=openssl --library=sqlite3 --library=lua --library=zlib --library=icu --library=pcre --library=libcurl --library=bsd --library=gtk --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning -D__GNUC__ --platform=unix64 -j4 platform: Linux-6.1.0-20-amd64-x86_64-with-glibc2.36 python: 3.11.2 client-version: 1.3.56 compiler: g++ (Debian 12.2.0-14) 12.2.0 cppcheck: head 2.14.0 head-info: ea2e716 (2024-04-21 15:59:20 +0200) count: 3649 3649 elapsed-time: 56.6 56.8 head-timing-info: old-timing-info: head results: rspamd-3.8.1/clang-plugin/plugin.cc:33:3: style: Class 'RspamdASTConsumer' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] rspamd-3.8.1/clang-plugin/printf_check.cc:84:2: debug: Failed to parse 'using arg_parser_t = bool ( * ) ( const Expr * , struct PrintfArgChecker * ) ;'. The checking continues anyway. [simplifyUsing] rspamd-3.8.1/clang-plugin/printf_check.cc:92:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Error [valueFlowBailoutIncompleteVar] rspamd-3.8.1/clang-plugin/printf_check.cc:103:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Warning [valueFlowBailoutIncompleteVar] rspamd-3.8.1/clang-plugin/printf_check.cc:114:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Remark [valueFlowBailoutIncompleteVar] rspamd-3.8.1/clang-plugin/printf_check.cc:484:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Ty [valueFlowBailoutIncompleteVar] rspamd-3.8.1/clang-plugin/printf_check.cc:521:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Ty [valueFlowBailoutIncompleteVar] rspamd-3.8.1/clang-plugin/printf_check.cc:564:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Int [valueFlowBailoutIncompleteVar] rspamd-3.8.1/clang-plugin/printf_check.cc:574:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Long [valueFlowBailoutIncompleteVar] rspamd-3.8.1/clang-plugin/printf_check.cc:585:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Int [valueFlowBailoutIncompleteVar] rspamd-3.8.1/clang-plugin/printf_check.cc:599:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ULongLong [valueFlowBailoutIncompleteVar] rspamd-3.8.1/clang-plugin/printf_check.cc:629:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Double [valueFlowBailoutIncompleteVar] rspamd-3.8.1/clang-plugin/printf_check.cc:638:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LongDouble [valueFlowBailoutIncompleteVar] rspamd-3.8.1/clang-plugin/printf_check.cc:649:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Long [valueFlowBailoutIncompleteVar] rspamd-3.8.1/clang-plugin/printf_check.cc:671:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Long [valueFlowBailoutIncompleteVar] rspamd-3.8.1/clang-plugin/printf_check.cc:689:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Ty [valueFlowBailoutIncompleteVar] rspamd-3.8.1/clang-plugin/printf_check.cc:708:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ULongLong [valueFlowBailoutIncompleteVar] rspamd-3.8.1/clang-plugin/printf_check.cc:730:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ULong [valueFlowBailoutIncompleteVar] rspamd-3.8.1/clang-plugin/printf_check.cc:750:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Ty [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/aho-corasick/acism.c:72:15: style: Local variable 's' shadows outer variable [shadowVariable] rspamd-3.8.1/contrib/aho-corasick/acism.c:34:13: note: Shadowed declaration rspamd-3.8.1/contrib/aho-corasick/acism.c:72:15: note: Shadow variable rspamd-3.8.1/contrib/backward-cpp/backward.hpp:518:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/backward-cpp/backward.hpp:654:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/backward-cpp/backward.hpp:3897:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/backward-cpp/backward.hpp:4062:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable left [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/cdb/cdb_find.c:39:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/cdb/cdb_find.c:99:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/cdb/cdb_find.c:124:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/backward-cpp/backward.hpp:743:8: performance:inconclusive: Technically the member function 'backward::StackTraceImplBase::load_thread_info' can be static (but you may consider moving to unnamed namespace). [functionStatic] rspamd-3.8.1/contrib/backward-cpp/backward.hpp:3809:28: performance:inconclusive: Technically the member function 'backward::SourceFile::get_paths_from_env_variable_impl' can be static (but you may consider moving to unnamed namespace). [functionStatic] rspamd-3.8.1/contrib/backward-cpp/backward.hpp:3743:12: style:inconclusive: Technically the member function 'backward::SourceFile::get_lines::isspace::operator()' can be const. [functionConst] rspamd-3.8.1/contrib/backward-cpp/backward.hpp:3774:10: style:inconclusive: Technically the member function 'backward::SourceFile::not_isspace::operator()' can be const. [functionConst] rspamd-3.8.1/contrib/backward-cpp/backward.hpp:3779:10: style:inconclusive: Technically the member function 'backward::SourceFile::not_isempty::operator()' can be const. [functionConst] rspamd-3.8.1/contrib/backward-cpp/backward.hpp:3973:8: performance:inconclusive: Technically the member function 'backward::Colorize::activate' can be static (but you may consider moving to unnamed namespace). [functionStatic] rspamd-3.8.1/contrib/backward-cpp/backward.hpp:3974:8: performance:inconclusive: Technically the member function 'backward::Colorize::activate' can be static (but you may consider moving to unnamed namespace). [functionStatic] rspamd-3.8.1/contrib/backward-cpp/backward.hpp:3975:8: performance:inconclusive: Technically the member function 'backward::Colorize::set_color' can be static (but you may consider moving to unnamed namespace). [functionStatic] rspamd-3.8.1/contrib/backward-cpp/backward.hpp:4052:8: performance:inconclusive: Technically the member function 'backward::Printer::print_header' can be static (but you may consider moving to unnamed namespace). [functionStatic] rspamd-3.8.1/contrib/backward-cpp/backward.hpp:4122:8: style:inconclusive: Technically the member function 'backward::Printer::print_source_loc' can be const. [functionConst] rspamd-3.8.1/contrib/backward-cpp/backward.hpp:4463:8: performance:inconclusive: Technically the member function 'backward::SignalHandling::init' can be static (but you may consider moving to unnamed namespace). [functionStatic] rspamd-3.8.1/contrib/backward-cpp/backward.hpp:4464:8: performance:inconclusive: Technically the member function 'backward::SignalHandling::loaded' can be static (but you may consider moving to unnamed namespace). [functionStatic] rspamd-3.8.1/contrib/backward-cpp/backward.hpp:723:10: performance:inconclusive: Technically the member function 'StackTraceImpl < unknown_tag >::size' can be static (but you may consider moving to unnamed namespace). [functionStatic] rspamd-3.8.1/contrib/backward-cpp/backward.hpp:725:10: performance:inconclusive: Technically the member function 'StackTraceImpl < unknown_tag >::load_here' can be static (but you may consider moving to unnamed namespace). [functionStatic] rspamd-3.8.1/contrib/backward-cpp/backward.hpp:726:10: performance:inconclusive: Technically the member function 'StackTraceImpl < unknown_tag >::load_from' can be static (but you may consider moving to unnamed namespace). [functionStatic] rspamd-3.8.1/contrib/backward-cpp/backward.hpp:729:10: performance:inconclusive: Technically the member function 'StackTraceImpl < unknown_tag >::thread_id' can be static (but you may consider moving to unnamed namespace). [functionStatic] rspamd-3.8.1/contrib/backward-cpp/backward.hpp:730:8: performance:inconclusive: Technically the member function 'StackTraceImpl < unknown_tag >::skip_n_firsts' can be static (but you may consider moving to unnamed namespace). [functionStatic] rspamd-3.8.1/contrib/backward-cpp/backward.hpp:715:3: style: Struct 'ResolvedTrace' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] rspamd-3.8.1/contrib/backward-cpp/backward.hpp:3697:3: style: Class 'SourceFile' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] rspamd-3.8.1/contrib/backward-cpp/backward.hpp:3894:3: style: Class 'cfile_streambuf' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] rspamd-3.8.1/contrib/backward-cpp/backward.hpp:3972:3: style: Class 'Colorize' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] rspamd-3.8.1/contrib/backward-cpp/backward.hpp:4462:3: style: Class 'SignalHandling' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] rspamd-3.8.1/contrib/backward-cpp/backward.hpp:522:22: style: Parameter 'ptr' can be declared as reference to const [constParameterReference] rspamd-3.8.1/contrib/backward-cpp/backward.hpp:4124:31: style: Parameter 'addr' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/clang-plugin/printf_check.cc:368:4: performance: Variable 'printf_functions' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] rspamd-3.8.1/clang-plugin/printf_check.cc:378:4: performance: Variable 'format_specs' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] rspamd-3.8.1/clang-plugin/printf_check.cc:721:3: style:inconclusive: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] rspamd-3.8.1/clang-plugin/printf_check.cc:743:3: style:inconclusive: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] rspamd-3.8.1/clang-plugin/printf_check.cc:538:20: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] rspamd-3.8.1/contrib/cdb/cdb_init.c:36:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/cdb/cdb_init.c:95:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/cdb/cdb_init.c:118:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/cdb/cdb_init.c:136:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable loop [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/aho-corasick/acism_create.c:143:47: style:inconclusive: Function 'fill_symv' argument 3 names different: declaration 'ns' definition 'nstrs'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/aho-corasick/acism_create.c:47:52: note: Function 'fill_symv' argument 3 names different: declaration 'ns' definition 'nstrs'. rspamd-3.8.1/contrib/aho-corasick/acism_create.c:143:47: note: Function 'fill_symv' argument 3 names different: declaration 'ns' definition 'nstrs'. rspamd-3.8.1/contrib/aho-corasick/acism_create.c:327:49: style:inconclusive: Function 'fill_hashv' argument 3 names different: declaration 'nn' definition 'nnodes'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/aho-corasick/acism_create.c:52:52: note: Function 'fill_hashv' argument 3 names different: declaration 'nn' definition 'nnodes'. rspamd-3.8.1/contrib/aho-corasick/acism_create.c:327:49: note: Function 'fill_hashv' argument 3 names different: declaration 'nn' definition 'nnodes'. rspamd-3.8.1/contrib/aho-corasick/acism_create.c:140:24: style: Parameter 'a' can be declared as pointer to const. However it seems that 'frcmp' is a callback function, if 'a' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rspamd-3.8.1/contrib/aho-corasick/acism_create.c:153:44: note: You might need to cast the function pointer here rspamd-3.8.1/contrib/aho-corasick/acism_create.c:140:24: note: Parameter 'a' can be declared as pointer to const rspamd-3.8.1/contrib/aho-corasick/acism_create.c:140:33: style: Parameter 'b' can be declared as pointer to const. However it seems that 'frcmp' is a callback function, if 'b' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rspamd-3.8.1/contrib/aho-corasick/acism_create.c:153:44: note: You might need to cast the function pointer here rspamd-3.8.1/contrib/aho-corasick/acism_create.c:140:33: note: Parameter 'b' can be declared as pointer to const rspamd-3.8.1/contrib/cdb/cdb_init.c:112:36: style: Parameter 'w' can be declared as pointer to const. However it seems that 'cdb_timer_callback' is a callback function, if 'w' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rspamd-3.8.1/contrib/cdb/cdb_init.c:137:32: note: You might need to cast the function pointer here rspamd-3.8.1/contrib/cdb/cdb_init.c:112:36: note: Parameter 'w' can be declared as pointer to const rspamd-3.8.1/contrib/exim/dlfunc-json/rspamd.c:247:48: error: There is an unknown macro here somewhere. Configuration is required. If OFF_T_FMT is a macro then please configure it. [unknownMacro] rspamd-3.8.1/contrib/cdb/cdb_make.c:38:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/cdb/cdb_make.c:95:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/cdb/cdb_make.c:191:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/cdb/cdb_make.c:300:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/cdb/cdb_make.c:391:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/cdb/cdb_make.c:430:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/cdb/cdb_make.c:447:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/exim/local_scan.c:100:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_MAIN [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/exim/local_scan.c:148:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_MAIN [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/exim/local_scan.c:190:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/exim/local_scan.c:212:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_MAIN [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/exim/local_scan.c:296:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable header_list [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/exim/local_scan.c:340:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_MAIN [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/exim/local_scan.c:387:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable header_list [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/exim/local_scan.c:415:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable header_list [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/exim/local_scan.c:488:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOCAL_SCAN_ACCEPT [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/exim/local_scan.c:673:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_MAIN [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest_fwd.h:416:1: debug: Failed to parse 'typedef decltype ( nullptr ) nullptr_t ;'. The checking continues anyway. [simplifyTypedef] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest_fwd.h:812:48: debug: Failed to parse 'typedef __underlying_type ( T ) type ;'. The checking continues anyway. [simplifyTypedef] rspamd-3.8.1/contrib/cdb/cdb_make.c:220:41: style: Parameter 'cdbmp' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/fastutf8/fastutf8.c:80:45: style: Condition '(char)byte2<=(char)0xBF' is always false [knownConditionTrueFalse] rspamd-3.8.1/contrib/fastutf8/fastutf8.c:77:36: note: Assignment 'byte2=data[1]', assigned value is greater than -1 rspamd-3.8.1/contrib/fastutf8/fastutf8.c:77:30: note: byte2 is assigned 'data[1]' here. rspamd-3.8.1/contrib/fastutf8/fastutf8.c:80:45: note: Condition '(char)byte2<=(char)0xBF' is always false rspamd-3.8.1/contrib/fastutf8/fastutf8.c:83:8: style: Condition 'byte2_ok' is always false [knownConditionTrueFalse] rspamd-3.8.1/contrib/fastutf8/fastutf8.c:77:36: note: Assignment 'byte2=data[1]', assigned value is greater than -1 rspamd-3.8.1/contrib/fastutf8/fastutf8.c:77:30: note: byte2 is assigned 'data[1]' here. rspamd-3.8.1/contrib/fastutf8/fastutf8.c:80:45: note: Assignment 'byte2_ok=(char)byte2<=(char)0xBF', assigned value is 0 rspamd-3.8.1/contrib/fastutf8/fastutf8.c:83:8: note: Condition 'byte2_ok' is always false rspamd-3.8.1/contrib/fastutf8/fastutf8.c:98:9: style: Condition 'byte2_ok' is always false [knownConditionTrueFalse] rspamd-3.8.1/contrib/fastutf8/fastutf8.c:77:36: note: Assignment 'byte2=data[1]', assigned value is greater than -1 rspamd-3.8.1/contrib/fastutf8/fastutf8.c:77:30: note: byte2 is assigned 'data[1]' here. rspamd-3.8.1/contrib/fastutf8/fastutf8.c:80:45: note: Assignment 'byte2_ok=(char)byte2<=(char)0xBF', assigned value is 0 rspamd-3.8.1/contrib/fastutf8/fastutf8.c:98:9: note: Condition 'byte2_ok' is always false rspamd-3.8.1/contrib/google-ced/util/languages/languages.h:72:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TG_UNKNOWN_LANGUAGE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/fpconv/fpconv.c:333:15: style: Condition 'offset>0' is always true [knownConditionTrueFalse] rspamd-3.8.1/contrib/fpconv/fpconv.c:275:14: note: Assuming that condition 'offset<=0' is not redundant rspamd-3.8.1/contrib/fpconv/fpconv.c:333:15: note: Condition 'offset>0' is always true rspamd-3.8.1/contrib/fpconv/fpconv.c:449:21: style:inconclusive: Function 'fpconv_dtoa' argument 1 names different: declaration 'fp' definition 'd'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/fpconv/fpconv.h:30:24: note: Function 'fpconv_dtoa' argument 1 names different: declaration 'fp' definition 'd'. rspamd-3.8.1/contrib/fpconv/fpconv.c:449:21: note: Function 'fpconv_dtoa' argument 1 names different: declaration 'fp' definition 'd'. rspamd-3.8.1/contrib/fpconv/fpconv.c:66:44: style: Parameter 'fp' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/fpconv/fpconv.c:91:25: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/fpconv/fpconv.c:91:32: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/fpconv/fpconv.c:120:33: style: Parameter 'fp' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/fpconv/fpconv.c:120:41: style: Parameter 'upper' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/fpconv/fpconv.c:120:52: style: Parameter 'lower' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/fpconv/fpconv.c:203:39: style: Parameter 'digits' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/fpconv/fpconv.c:225:49: style: Parameter 'digits' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/fpconv/fpconv.c:29:10: style: union member 'Anonymous0::dbl' is never used. [unusedStructMember] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest_fwd.h:799:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest_fwd.h:904:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest_fwd.h:1111:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest_fwd.h:1112:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest_fwd.h:1113:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest_fwd.h:1114:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest_fwd.h:1115:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest_fwd.h:1116:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest_fwd.h:1117:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest_fwd.h:1118:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest_fwd.h:1119:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest_fwd.h:1120:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest_fwd.h:1121:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest_fwd.h:1122:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest_fwd.h:1123:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest_fwd.h:1124:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest_fwd.h:1125:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest_fwd.h:1126:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest_fwd.h:1127:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest_fwd.h:1128:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest_fwd.h:1129:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest_fwd.h:1130:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest_fwd.h:1131:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest_fwd.h:1132:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest_fwd.h:1244:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest_fwd.h:1245:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest_fwd.h:1246:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest_fwd.h:1247:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest_fwd.h:1248:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest_fwd.h:1249:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest_fwd.h:1250:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest_fwd.h:1251:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest_fwd.h:1252:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest_fwd.h:1253:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest_fwd.h:1254:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest_fwd.h:1255:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest_fwd.h:1256:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest_fwd.h:1257:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest_fwd.h:1258:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest_fwd.h:1259:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest_fwd.h:1262:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest_fwd.h:1263:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest_fwd.h:1290:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable L [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest_fwd.h:1544:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest_fwd.h:1623:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable L [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest_fwd.h:1650:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest.cpp:213:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fixed [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest.cpp:256:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hex [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest.cpp:462:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBL_EPSILON [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest.cpp:1350:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest.cpp:1411:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable boolalpha [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest.cpp:1673:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SA_ONSTACK [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest.cpp:1737:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_cs [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest.cpp:1789:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_running_in_test [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest.cpp:1823:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_running_in_test [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest.cpp:1869:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest.cpp:2013:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uppercase [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest.cpp:2188:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest.cpp:2241:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest.cpp:2252:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest.cpp:2743:78: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest.cpp:2763:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest.cpp:3090:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dec [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest.cpp:3142:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fixed [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest.cpp:3416:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable detail [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest.cpp:3568:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable detail [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest.cpp:3839:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stringifiedContexts [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/google-ced/compact_enc_det_hint_code.cc:88:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISO_8859_1 [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/google-ced/util/string_util.h:52:29: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/contrib/google-ced/util/encodings/encodings.cc:236:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LATIN1 [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/google-ced/util/encodings/encodings.cc:257:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kNumEncodings [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/google-ced/util/encodings/encodings.cc:270:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UNKNOWN_ENCODING [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/google-ced/util/encodings/encodings.cc:420:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISO_8859_8 [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/google-ced/util/encodings/encodings.cc:464:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISO_2022_KR [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/google-ced/util/encodings/encodings.cc:469:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JAPANESE_JIS [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/google-ced/util/encodings/encodings.cc:475:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JAPANESE_SHIFT_JIS [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/google-ced/util/encodings/encodings.cc:483:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KDDI_ISO_2022_JP [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/google-ced/util/encodings/encodings.cc:502:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kNumEncodings [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/google-ced/util/encodings/encodings.cc:511:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kNumEncodings [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/google-ced/util/encodings/encodings.cc:517:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UNKNOWN_ENCODING [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/google-ced/util/encodings/encodings.cc:549:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NUM_ENCODINGS [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/google-ced/util/encodings/encodings.cc:857:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UNKNOWN_ENCODING [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/google-ced/util/encodings/encodings.cc:871:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LATIN1 [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/google-ced/util/encodings/encodings.cc:890:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UTF8 [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/google-ced/util/encodings/encodings.cc:569:42: performance: Searching before insertion is not necessary. Instead of 'encoding_map[mime_encoding_name]=e' consider using 'encoding_map.try_emplace(mime_encoding_name, e);'. [stlFindInsert] rspamd-3.8.1/contrib/google-ced/util/languages/languages.cc:23:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENGLISH [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/google-ced/util/languages/languages.cc:217:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENGLISH [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/google-ced/util/languages/languages.cc:262:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENGLISH [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/google-ced/util/languages/languages.cc:282:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CHINESE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/google-ced/util/languages/languages.cc:290:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UNKNOWN_LANGUAGE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/exim/local_scan.c:355:17: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] rspamd-3.8.1/contrib/exim/local_scan.c:503:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] rspamd-3.8.1/contrib/exim/local_scan.c:533:25: warning: Logical disjunction always evaluates to true: *tmp != '\r' || *tmp != '\n'. [incorrectLogicOperator] rspamd-3.8.1/contrib/exim/local_scan.c:561:25: warning: Logical disjunction always evaluates to true: *tmp != '\r' || *tmp != '\n'. [incorrectLogicOperator] rspamd-3.8.1/contrib/exim/local_scan.c:585:25: warning: Logical disjunction always evaluates to true: *tmp != '\r' || *tmp != '\n'. [incorrectLogicOperator] rspamd-3.8.1/contrib/exim/local_scan.c:509:21: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] rspamd-3.8.1/contrib/exim/local_scan.c:537:21: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] rspamd-3.8.1/contrib/exim/local_scan.c:690:12: style: Redundant initialization for 'retval'. The initialized value is overwritten before it is read. [redundantInitialization] rspamd-3.8.1/contrib/exim/local_scan.c:649:17: note: retval is initialized rspamd-3.8.1/contrib/exim/local_scan.c:690:12: note: retval is overwritten rspamd-3.8.1/contrib/exim/local_scan.c:83:28: style: Parameter 'pszDir' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/exim/local_scan.c:83:42: style: Parameter 'pszPrefix' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/exim/local_scan.c:87:11: style: Variable 'pszSep' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/exim/local_scan.c:124:24: style: Parameter 'sName' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/exim/local_scan.c:134:28: style: Parameter 'command' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/exim/local_scan.c:135:28: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/exim/local_scan.c:287:25: style: Variable 'h_line' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/exim/local_scan.c:383:26: style: Parameter 'hdr' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/exim/local_scan.c:490:11: style: Variable 'hdr' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/exim/local_scan.c:490:24: style: Variable 'hdrv' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/exim/local_scan.c:490:38: style: Variable 'spmStr' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/exim/local_scan.c:441:46: warning: Uninitialized variable: subject [uninitvar] rspamd-3.8.1/contrib/exim/local_scan.c:417:19: note: Assuming condition is false rspamd-3.8.1/contrib/exim/local_scan.c:441:46: note: Uninitialized variable: subject rspamd-3.8.1/contrib/exim/local_scan.c:207:22: style: Unused variable: rh [unusedVariable] rspamd-3.8.1/contrib/exim/local_scan.c:331:10: style: Unused variable: answ [unusedVariable] rspamd-3.8.1/contrib/exim/local_scan.c:333:10: style: Unused variable: Len [unusedVariable] rspamd-3.8.1/contrib/exim/local_scan.c:607:12: style: Variable 'i' is assigned a value that is never used. [unreadVariable] rspamd-3.8.1/contrib/exim/local_scan.c:488:46: style: Unused variable: answer_size [unusedVariable] rspamd-3.8.1/contrib/exim/local_scan.c:488:59: style: Variable 'spm' is assigned a value that is never used. [unreadVariable] rspamd-3.8.1/contrib/exim/local_scan.c:488:78: style: Variable 'ns' is assigned a value that is never used. [unreadVariable] rspamd-3.8.1/contrib/exim/local_scan.c:490:11: style: Variable 'hdr' is assigned a value that is never used. [unreadVariable] rspamd-3.8.1/contrib/exim/local_scan.c:490:24: style: Variable 'hdrv' is assigned a value that is never used. [unreadVariable] rspamd-3.8.1/contrib/exim/local_scan.c:490:38: style: Variable 'spmStr' is assigned a value that is never used. [unreadVariable] rspamd-3.8.1/contrib/hiredis/async.c:505:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/hiredis/hiredis.c:584:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/hiredis/hiredis.c:808:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/hiredis/hiredis.c:845:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/hiredis/hiredis.c:102:66: style: Parameter 'str' can be declared as pointer to const. However it seems that 'createStringObject' is a callback function, if 'str' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rspamd-3.8.1/contrib/hiredis/hiredis.c:55:5: note: You might need to cast the function pointer here rspamd-3.8.1/contrib/hiredis/hiredis.c:102:66: note: Parameter 'str' can be declared as pointer to const rspamd-3.8.1/contrib/hiredis/hiredis.c:253:19: style: Variable 'arg' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/hiredis/sds.h:51:20: style: Variable 'sh' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/hiredis/sds.h:56:20: style: Variable 'sh' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/hiredis/net.c:75:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/hiredis/net.c:91:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_STREAM [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/hiredis/net.c:110:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/hiredis/net.c:134:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/hiredis/net.c:188:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fd [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/hiredis/net.c:241:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/hiredis/net.c:291:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timeval [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/hiredis/net.c:425:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_LOCAL [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/hiredis/async.c:340:16: warning: Assert statement calls a function which may have desired side effects: '__redisShiftCallback'. [assertWithSideEffect] rspamd-3.8.1/contrib/hiredis/async.c:227:72: style: Parameter 'source' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/hiredis/async.c:368:16: style: Variable 'de' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/hiredis/async.c:370:11: style: Variable 'stype' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/hiredis/net.c:325:51: error: Memory leak: servinfo [memleak] rspamd-3.8.1/contrib/hiredis/net.c:327:13: error: Memory leak: servinfo [memleak] rspamd-3.8.1/contrib/hiredis/net.c:266:56: style: Variable 'b' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/hiredis/read.c:176:15: style: Variable 's' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/hiredis/read.c:191:26: style: Variable 'prv' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/hiredis/read.c:369:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/hiredis/read.c:307:14: style: Variable 'root' is assigned a value that is never used. [unreadVariable] rspamd-3.8.1/contrib/hiredis/sds.c:65:5: error: Memory leak: sh [memleak] rspamd-3.8.1/contrib/hiredis/sds.c:146:5: error: Memory leak: newsh [memleak] rspamd-3.8.1/contrib/hiredis/sds.c:159:5: error: Common realloc mistake: 'sh' nulled but not freed upon failure [memleakOnRealloc] rspamd-3.8.1/contrib/hiredis/sds.c:905:13: error: Common realloc mistake: 'vector' nulled but not freed upon failure [memleakOnRealloc] rspamd-3.8.1/contrib/hiredis/sds.c:433:7: style: Redundant initialization for 'f'. The initialized value is overwritten before it is read. [redundantInitialization] rspamd-3.8.1/contrib/hiredis/sds.c:428:19: note: f is initialized rspamd-3.8.1/contrib/hiredis/sds.c:433:7: note: f is overwritten rspamd-3.8.1/contrib/hiredis/sds.c:172:20: style: Variable 'sh' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/hiredis/sds.c:545:19: style: Variable 'end' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/hiredis/sds.c:950:42: style: Parameter 'sep' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/http-parser/http_parser.c:198:14: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] rspamd-3.8.1/contrib/http-parser/http_parser.c:202:14: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] rspamd-3.8.1/contrib/http-parser/http_parser.c:204:14: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] rspamd-3.8.1/contrib/http-parser/http_parser.c:206:14: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] rspamd-3.8.1/contrib/http-parser/http_parser.c:212:68: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] rspamd-3.8.1/contrib/http-parser/http_parser.c:228:68: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] rspamd-3.8.1/contrib/http-parser/http_parser.c:1961:3: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] rspamd-3.8.1/contrib/http-parser/http_parser.c:1966:5: note: Found duplicate branches for 'if' and 'else'. rspamd-3.8.1/contrib/http-parser/http_parser.c:1961:3: note: Found duplicate branches for 'if' and 'else'. rspamd-3.8.1/contrib/http-parser/http_parser.c:1985:44: style:inconclusive: Function 'http_parser_init' argument 2 names different: declaration 'type' definition 't'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/http-parser/http_parser.h:281:48: note: Function 'http_parser_init' argument 2 names different: declaration 'type' definition 't'. rspamd-3.8.1/contrib/http-parser/http_parser.c:1985:44: note: Function 'http_parser_init' argument 2 names different: declaration 'type' definition 't'. rspamd-3.8.1/contrib/kann/kann.c:488:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/kann/kann.c:520:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/kann/kann.c:864:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLT_MAX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/kann/kann.c:466:36: style:inconclusive: Function 'kann_class_error' argument 1 names different: declaration 'ann' definition 'a'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/kann/kann.h:137:36: note: Function 'kann_class_error' argument 1 names different: declaration 'ann' definition 'a'. rspamd-3.8.1/contrib/kann/kann.c:466:36: note: Function 'kann_class_error' argument 1 names different: declaration 'ann' definition 'a'. rspamd-3.8.1/contrib/kann/kann.c:467:26: style:inconclusive: Function 'kann_switch' argument 1 names different: declaration 'a' definition 'ann'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/kann/kann.h:176:26: note: Function 'kann_switch' argument 1 names different: declaration 'a' definition 'ann'. rspamd-3.8.1/contrib/kann/kann.c:467:26: note: Function 'kann_switch' argument 1 names different: declaration 'a' definition 'ann'. rspamd-3.8.1/contrib/kann/kann.c:954:30: style:inconclusive: Function 'kann_cost_fnn1' argument 1 names different: declaration 'a' definition 'ann'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/kann/kann.h:227:30: note: Function 'kann_cost_fnn1' argument 1 names different: declaration 'a' definition 'ann'. rspamd-3.8.1/contrib/kann/kann.c:954:30: note: Function 'kann_cost_fnn1' argument 1 names different: declaration 'a' definition 'ann'. rspamd-3.8.1/contrib/kann/kann.c:463:22: style: Parameter 'ann' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/kann/kann.c:532:107: style: Parameter 'd' can be declared as const array [constParameter] rspamd-3.8.1/contrib/google-ced/compact_enc_det.cc:1295:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/google-ced/compact_enc_det.cc:1316:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/google-ced/compact_enc_det.cc:1374:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/google-ced/compact_enc_det.cc:1853:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UNKNOWN_LANGUAGE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/google-ced/compact_enc_det.cc:2055:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UNKNOWN_LANGUAGE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/google-ced/compact_enc_det.cc:4413:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/google-ced/compact_enc_det.cc:4433:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/google-ced/compact_enc_det.cc:4464:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/google-ced/compact_enc_det.cc:4787:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/google-ced/compact_enc_det.cc:5169:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/google-ced/compact_enc_det.cc:5546:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/kann/kautodiff.c:1801:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLT_MAX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/kann/kautodiff.c:2063:94: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kernel_size [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/kann/kautodiff.c:2112:94: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kernel_size [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/kann/kautodiff.c:2274:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLT_MAX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/kann/kautodiff.c:2451:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/lc-btrie/btrie.c:1129:56: style:inconclusive: Function 'init_tbm_node' argument 2 names different: declaration 'node' definition 'dst'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/lc-btrie/btrie.c:968:56: note: Function 'init_tbm_node' argument 2 names different: declaration 'node' definition 'dst'. rspamd-3.8.1/contrib/lc-btrie/btrie.c:1129:56: note: Function 'init_tbm_node' argument 2 names different: declaration 'node' definition 'dst'. rspamd-3.8.1/contrib/lc-btrie/btrie.c:1408:60: style:inconclusive: Function 'btrie_lookup' argument 2 names different: declaration 'pfx' definition 'prefix'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/lc-btrie/btrie.h:70:72: note: Function 'btrie_lookup' argument 2 names different: declaration 'pfx' definition 'prefix'. rspamd-3.8.1/contrib/lc-btrie/btrie.c:1408:60: note: Function 'btrie_lookup' argument 2 names different: declaration 'pfx' definition 'prefix'. rspamd-3.8.1/contrib/lc-btrie/btrie.c:1085:14: style: Local variable 'bit' shadows outer function [shadowFunction] rspamd-3.8.1/contrib/lc-btrie/btrie.c:595:28: note: Shadowed declaration rspamd-3.8.1/contrib/lc-btrie/btrie.c:1085:14: note: Shadow variable rspamd-3.8.1/contrib/libev/ev.c:2068:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libev/ev.c:2327:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable events [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libev/ev.c:2514:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFD [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libev/ev.c:2527:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libev/ev.c:2632:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libev/ev.c:2691:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libev/ev.c:2743:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libev/ev.c:2788:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable memory_order_seq_cst [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libev/ev.c:2867:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable memory_order_seq_cst [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libev/ev.c:2907:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable memory_order_acquire [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libev/ev.c:2948:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable memory_order_release [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libev/ev.c:2999:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable priority [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libev/ev.c:3018:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WNOHANG [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libev/ev.c:3375:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libev/ev.c:3419:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libev/ev.c:3567:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libev/ev.c:3615:99: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libev/ev.c:3626:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libev/ev.c:3640:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libev/ev.c:3675:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libev/ev.c:3754:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libev/ev.c:3858:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable at [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libev/ev.c:3903:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable at [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libev/ev.c:3923:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable at [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libev/ev.c:3962:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable at [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libev/ev.c:4130:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable memory_order_seq_cst [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libev/ev.c:4323:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libev/ev.c:4348:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable priority [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libev/ev.c:4377:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libev/ev.c:4406:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libev/ev.c:4428:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libev/ev.c:4454:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libev/ev.c:4488:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libev/ev.c:4511:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable at [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libev/ev.c:4519:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libev/ev.c:4556:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libev/ev.c:4600:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libev/ev.c:4684:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libev/ev.c:4727:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libev/ev.c:4742:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libev/ev.c:5066:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libev/ev.c:5098:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libev/ev.c:5123:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libev/ev.c:5147:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libev/ev.c:5170:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libev/ev.c:5186:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libev/ev.c:5208:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libev/ev.c:5224:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libev/ev.c:5307:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libev/ev.c:5341:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libev/ev.c:5362:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libev/ev.c:5378:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libev/ev.c:5400:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libev/ev.c:5418:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libev/ev.c:5441:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libev/ev.c:5461:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libev/ev.c:5533:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable active [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libev/ev.c:1544:25: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] rspamd-3.8.1/contrib/libev/ev.c:3147:45: style: Condition 'ev_linux_version()>=0x050601' is always false [knownConditionTrueFalse] rspamd-3.8.1/contrib/libev/ev.c:3147:42: note: Calling function 'ev_linux_version' returns 0 rspamd-3.8.1/contrib/libev/ev.c:3147:45: note: Condition 'ev_linux_version()>=0x050601' is always false rspamd-3.8.1/contrib/libev/ev.c:3193:27: style: Condition 'ev_linux_version()<0x020620' is always true [knownConditionTrueFalse] rspamd-3.8.1/contrib/libev/ev.c:3193:24: note: Calling function 'ev_linux_version' returns 0 rspamd-3.8.1/contrib/libev/ev.c:3193:27: note: Condition 'ev_linux_version()<0x020620' is always true rspamd-3.8.1/contrib/libev/ev.c:1470:24: style: Local variable 's' shadows outer variable [shadowVariable] rspamd-3.8.1/contrib/libev/ev.c:1455:16: note: Shadowed declaration rspamd-3.8.1/contrib/libev/ev.c:1470:24: note: Shadow variable rspamd-3.8.1/contrib/libev/ev.c:2216:9: style: Parameter 'loop' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/libev/ev.c:2315:12: style: Parameter 'loop' can be declared as pointer to const. However it seems that 'pendingcb' is a callback function, if 'loop' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rspamd-3.8.1/contrib/libev/ev.c:3375:7: note: You might need to cast the function pointer here rspamd-3.8.1/contrib/libev/ev.c:2315:12: note: Parameter 'loop' can be declared as pointer to const rspamd-3.8.1/contrib/libev/ev.c:2315:30: style: Parameter 'w' can be declared as pointer to const. However it seems that 'pendingcb' is a callback function, if 'w' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rspamd-3.8.1/contrib/libev/ev.c:3375:7: note: You might need to cast the function pointer here rspamd-3.8.1/contrib/libev/ev.c:2315:30: note: Parameter 'w' can be declared as pointer to const rspamd-3.8.1/contrib/libev/ev.c:2385:9: style: Variable 'anfd' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/libev/ev.c:2602:9: style: Variable 'E' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/libev/ev.c:3202:13: style: Parameter 'loop' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/libev/ev.c:3209:15: style: Parameter 'loop' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/libev/ev.c:3215:11: style: Parameter 'loop' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/libev/ev.c:3239:14: style: Parameter 'loop' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/libev/ev.c:3391:21: style: Parameter 'loop' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/libev/ev.c:3883:18: style: Parameter 'loop' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/libev/ev.c:5311:5: style: Variable 'loop' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/libev/ev.c:5670:16: style: Parameter 'loop' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/libev/ev.c:1523:19: error: Signed integer overflow for expression '14-24'. [integerOverflow] rspamd-3.8.1/contrib/libev/ev.c:1332:13: style: union member 'Anonymous5::c' is never used. [unusedStructMember] rspamd-3.8.1/contrib/libev/ev.c:3348:15: style: Variable 'flags' is assigned a value that is never used. [unreadVariable] rspamd-3.8.1/contrib/libev/ev_epoll.c:87:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable anfds [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libev/ev_epoll.c:149:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable epoll_epermcnt [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libev/ev_epoll.c:266:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable backend_fd [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libev/ev_epoll.c:283:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable epoll_events [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libev/ev_epoll.c:291:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable backend_fd [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libev/ev_epoll.c:102:11: warning: Identical condition '!nev', second condition is always false [identicalConditionAfterEarlyExit] rspamd-3.8.1/contrib/libev/ev_epoll.c:84:7: note: If condition '!nev' is true, the function will return/exit rspamd-3.8.1/contrib/libev/ev_epoll.c:102:11: note: Testing identical condition '!nev' rspamd-3.8.1/contrib/libev/ev_epoll.c:93:33: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] rspamd-3.8.1/contrib/libev/ev_epoll.c:94:33: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] rspamd-3.8.1/contrib/libev/ev_epoll.c:172:65: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] rspamd-3.8.1/contrib/libev/ev_epoll.c:173:65: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] rspamd-3.8.1/contrib/libev/ev_epoll.c:203:41: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] rspamd-3.8.1/contrib/libev/ev_epoll.c:204:41: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] rspamd-3.8.1/contrib/libev/ev_iouring.c:594:33: error: There is an unknown macro here somewhere. Configuration is required. If EV_A_ is a macro then please configure it. [unknownMacro] rspamd-3.8.1/contrib/libev/ev_kqueue.c:50:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kqueue_changecnt [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libev/ev_kqueue.c:69:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_READ [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libev/ev_kqueue.c:93:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kqueue_changecnt [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libev/ev_kqueue.c:167:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kqueue_fd_pid [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libev/ev_kqueue.c:191:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kqueue_events [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libev/ev_kqueue.c:209:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kqueue_fd_pid [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libev/ev_linuxaio.c:291:15: error: There is an unknown macro here somewhere. Configuration is required. If EV_A_ is a macro then please configure it. [unknownMacro] rspamd-3.8.1/contrib/libev/ev_poll.c:64:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pollidxs [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libev/ev_poll.c:97:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_RELEASE_CB [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libev/ev_poll.c:139:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable backend_mintime [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libev/ev_poll.c:153:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pollidxs [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libev/ev_poll.c:77:24: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] rspamd-3.8.1/contrib/libev/ev_poll.c:78:27: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] rspamd-3.8.1/contrib/libev/ev_poll.c:128:61: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] rspamd-3.8.1/contrib/libev/ev_poll.c:129:62: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] rspamd-3.8.1/contrib/libev/ev_port.c:65:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_READ [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libev/ev_port.c:106:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable port_events [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libev/ev_port.c:148:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable backend_fd [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libev/ev_port.c:175:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable port_events [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libev/ev_port.c:182:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable backend_fd [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libev/ev_port.c:65:24: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] rspamd-3.8.1/contrib/libev/ev_port.c:66:27: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] rspamd-3.8.1/contrib/libev/ev_port.c:127:76: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] rspamd-3.8.1/contrib/libev/ev_port.c:128:77: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] rspamd-3.8.1/contrib/libev/ev_select.c:85:84: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FD_SETSIZE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libev/ev_select.c:146:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_RELEASE_CB [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libev/ev_select.c:278:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable backend_mintime [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libev/ev_select.c:308:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vec_ri [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libottery/ottery.c:390:18: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] rspamd-3.8.1/contrib/libottery/ottery.c:453:13: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] rspamd-3.8.1/contrib/libottery/ottery.c:803:22: style: Condition 'lim' is always true [knownConditionTrueFalse] rspamd-3.8.1/contrib/libottery/ottery.c:802:23: note: Assignment 'lim=upper+1', assigned value is greater than 0 rspamd-3.8.1/contrib/libottery/ottery.c:803:22: note: Condition 'lim' is always true rspamd-3.8.1/contrib/libottery/ottery.c:816:22: style: Condition 'lim' is always true [knownConditionTrueFalse] rspamd-3.8.1/contrib/libottery/ottery.c:815:23: note: Assignment 'lim=upper+1', assigned value is greater than 0 rspamd-3.8.1/contrib/libottery/ottery.c:816:22: note: Condition 'lim' is always true rspamd-3.8.1/contrib/libottery/ottery.c:274:20: style:inconclusive: Function 'ottery_config_mark_entropy_sources_weak' argument 2 names different: declaration 'weak_source' definition 'disabled_sources'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/libottery/ottery_common.h:265:55: note: Function 'ottery_config_mark_entropy_sources_weak' argument 2 names different: declaration 'weak_source' definition 'disabled_sources'. rspamd-3.8.1/contrib/libottery/ottery.c:274:20: note: Function 'ottery_config_mark_entropy_sources_weak' argument 2 names different: declaration 'weak_source' definition 'disabled_sources'. rspamd-3.8.1/contrib/libottery/ottery.c:382:39: style:inconclusive: Function 'ottery_st_reseed' argument 1 names different: declaration 'state' definition 'st'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/libottery/ottery.c:49:50: note: Function 'ottery_st_reseed' argument 1 names different: declaration 'state' definition 'st'. rspamd-3.8.1/contrib/libottery/ottery.c:382:39: note: Function 'ottery_st_reseed' argument 1 names different: declaration 'state' definition 'st'. rspamd-3.8.1/contrib/libottery/ottery.c:695:53: style:inconclusive: Function 'ottery_st_rand_bytes' argument 2 names different: declaration 'buf' definition 'out_'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/libottery/ottery_st.h:134:58: note: Function 'ottery_st_rand_bytes' argument 2 names different: declaration 'buf' definition 'out_'. rspamd-3.8.1/contrib/libottery/ottery.c:695:53: note: Function 'ottery_st_rand_bytes' argument 2 names different: declaration 'buf' definition 'out_'. rspamd-3.8.1/contrib/libottery/ottery.c:704:67: style:inconclusive: Function 'ottery_st_rand_bytes_nolock' argument 2 names different: declaration 'buf' definition 'out_'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/libottery/ottery_nolock.h:140:72: note: Function 'ottery_st_rand_bytes_nolock' argument 2 names different: declaration 'buf' definition 'out_'. rspamd-3.8.1/contrib/libottery/ottery.c:704:67: note: Function 'ottery_st_rand_bytes_nolock' argument 2 names different: declaration 'buf' definition 'out_'. rspamd-3.8.1/contrib/libottery/ottery.c:800:70: style:inconclusive: Function 'ottery_st_rand_range_nolock' argument 2 names different: declaration 'top' definition 'upper'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/libottery/ottery_nolock.h:174:79: note: Function 'ottery_st_rand_range_nolock' argument 2 names different: declaration 'top' definition 'upper'. rspamd-3.8.1/contrib/libottery/ottery.c:800:70: note: Function 'ottery_st_rand_range_nolock' argument 2 names different: declaration 'top' definition 'upper'. rspamd-3.8.1/contrib/libottery/ottery.c:813:72: style:inconclusive: Function 'ottery_st_rand_range64_nolock' argument 2 names different: declaration 'top' definition 'upper'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/libottery/ottery_nolock.h:184:81: note: Function 'ottery_st_rand_range64_nolock' argument 2 names different: declaration 'top' definition 'upper'. rspamd-3.8.1/contrib/libottery/ottery.c:813:72: note: Function 'ottery_st_rand_range64_nolock' argument 2 names different: declaration 'top' definition 'upper'. rspamd-3.8.1/contrib/libottery/ottery.c:826:43: style:inconclusive: Function 'ottery_st_rand_range' argument 1 names different: declaration 'st' definition 'state'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/libottery/ottery_st.h:168:52: note: Function 'ottery_st_rand_range' argument 1 names different: declaration 'st' definition 'state'. rspamd-3.8.1/contrib/libottery/ottery.c:826:43: note: Function 'ottery_st_rand_range' argument 1 names different: declaration 'st' definition 'state'. rspamd-3.8.1/contrib/libottery/ottery.c:826:59: style:inconclusive: Function 'ottery_st_rand_range' argument 2 names different: declaration 'top' definition 'upper'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/libottery/ottery_st.h:168:65: note: Function 'ottery_st_rand_range' argument 2 names different: declaration 'top' definition 'upper'. rspamd-3.8.1/contrib/libottery/ottery.c:826:59: note: Function 'ottery_st_rand_range' argument 2 names different: declaration 'top' definition 'upper'. rspamd-3.8.1/contrib/libottery/ottery.c:838:45: style:inconclusive: Function 'ottery_st_rand_range64' argument 1 names different: declaration 'st' definition 'state'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/libottery/ottery_st.h:178:54: note: Function 'ottery_st_rand_range64' argument 1 names different: declaration 'st' definition 'state'. rspamd-3.8.1/contrib/libottery/ottery.c:838:45: note: Function 'ottery_st_rand_range64' argument 1 names different: declaration 'st' definition 'state'. rspamd-3.8.1/contrib/libottery/ottery.c:838:61: style:inconclusive: Function 'ottery_st_rand_range64' argument 2 names different: declaration 'top' definition 'upper'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/libottery/ottery_st.h:178:67: note: Function 'ottery_st_rand_range64' argument 2 names different: declaration 'top' definition 'upper'. rspamd-3.8.1/contrib/libottery/ottery.c:838:61: note: Function 'ottery_st_rand_range64' argument 2 names different: declaration 'top' definition 'upper'. rspamd-3.8.1/contrib/doctest/doctest/parts/doctest.cpp:259:31: error: Returning object that will be invalid when returning. [returnDanglingLifetime] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest.cpp:259:31: note: Pointer to container is created here. rspamd-3.8.1/contrib/doctest/doctest/parts/doctest.cpp:259:31: note: Returning object that will be invalid when returning. rspamd-3.8.1/contrib/doctest/doctest/parts/doctest.cpp:273:33: error: Returning object that will be invalid when returning. [returnDanglingLifetime] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest.cpp:273:33: note: Pointer to container is created here. rspamd-3.8.1/contrib/doctest/doctest/parts/doctest.cpp:273:33: note: Returning object that will be invalid when returning. rspamd-3.8.1/contrib/doctest/doctest/parts/doctest.cpp:3339:29: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest.cpp:3345:28: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest_fwd.h:1596:9: warning: Member variable 'MessageBuilder::m_stream' is not initialized in the constructor. [uninitMemberVar] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest_fwd.h:1596:9: warning: Member variable 'MessageData::m_file' is not initialized in the constructor. Maybe it should be initialized directly in the class MessageData? [uninitDerivedMemberVar] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest_fwd.h:1596:9: warning: Member variable 'MessageData::m_line' is not initialized in the constructor. Maybe it should be initialized directly in the class MessageData? [uninitDerivedMemberVar] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest_fwd.h:1596:9: warning: Member variable 'MessageData::m_severity' is not initialized in the constructor. Maybe it should be initialized directly in the class MessageData? [uninitDerivedMemberVar] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest.cpp:2796:9: warning: Member variable 'ConsoleReporter::hasLoggedCurrentTestStart' is not initialized in the constructor. [uninitMemberVar] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest.cpp:2796:9: warning: Member variable 'ConsoleReporter::currentSubcaseLevel' is not initialized in the constructor. [uninitMemberVar] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest.cpp:2796:9: warning: Member variable 'ConsoleReporter::tc' is not initialized in the constructor. [uninitMemberVar] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest.cpp:2800:9: warning: Member variable 'ConsoleReporter::hasLoggedCurrentTestStart' is not initialized in the constructor. [uninitMemberVar] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest.cpp:2800:9: warning: Member variable 'ConsoleReporter::currentSubcaseLevel' is not initialized in the constructor. [uninitMemberVar] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest.cpp:2800:9: warning: Member variable 'ConsoleReporter::tc' is not initialized in the constructor. [uninitMemberVar] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest.cpp:342:5: style: The class 'MultiLaneAtomic < int >' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest_fwd.h:1216:26: style:inconclusive: Technically the member function 'doctest::detail::Expression_lhs::operatorResult' can be const. [functionConst] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest_fwd.h:1238:9: debug: CheckClass::checkConst found unlinked template argument list 'doctest::detail::declval()()'. [debug] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest_fwd.h:1618:14: style:inconclusive: Technically the member function 'doctest::detail::MessageBuilder::react' can be const. [functionConst] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest.cpp:1854:26: note: Technically the member function 'doctest::detail::MessageBuilder::react' can be const. rspamd-3.8.1/contrib/doctest/doctest/parts/doctest_fwd.h:1618:14: note: Technically the member function 'doctest::detail::MessageBuilder::react' can be const. rspamd-3.8.1/contrib/doctest/doctest/parts/doctest_fwd.h:1695:10: style:inconclusive: Technically the member function 'doctest::Context::shouldExit' can be const. [functionConst] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest.cpp:3560:15: note: Technically the member function 'doctest::Context::shouldExit' can be const. rspamd-3.8.1/contrib/doctest/doctest/parts/doctest_fwd.h:1695:10: note: Technically the member function 'doctest::Context::shouldExit' can be const. rspamd-3.8.1/contrib/doctest/doctest/parts/doctest_fwd.h:1697:10: style:inconclusive: Technically the member function 'doctest::Context::setAsDefaultForAssertsOutOfTestCases' can be const. [functionConst] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest.cpp:3562:15: note: Technically the member function 'doctest::Context::setAsDefaultForAssertsOutOfTestCases' can be const. rspamd-3.8.1/contrib/doctest/doctest/parts/doctest_fwd.h:1697:10: note: Technically the member function 'doctest::Context::setAsDefaultForAssertsOutOfTestCases' can be const. rspamd-3.8.1/contrib/doctest/doctest/parts/doctest.cpp:2754:14: performance:inconclusive: Technically the member function 'doctest::::JUnitReporter::log_contexts' can be static (but you may consider moving to unnamed namespace). [functionStatic] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest.cpp:2814:21: performance:inconclusive: Technically the member function 'doctest::::ConsoleReporter::getSuccessOrFailString' can be static (but you may consider moving to unnamed namespace). [functionStatic] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest.cpp:2821:21: performance:inconclusive: Technically the member function 'doctest::::ConsoleReporter::getSuccessOrFailColor' can be static (but you may consider moving to unnamed namespace). [functionStatic] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest.cpp:3396:11: warning: Class 'Context' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest.cpp:3396:11: warning: Class 'Context' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest_fwd.h:1108:9: style: Struct 'Result' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest_fwd.h:1282:9: style: Struct 'ExpressionDecomposer' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest_fwd.h:1637:1: style: Struct 'test_suite' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest_fwd.h:1638:1: style: Struct 'description' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest_fwd.h:1639:1: style: Struct 'skip' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest_fwd.h:1640:1: style: Struct 'no_breaks' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest_fwd.h:1641:1: style: Struct 'no_output' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest_fwd.h:1642:1: style: Struct 'timeout' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest_fwd.h:1643:1: style: Struct 'may_fail' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest_fwd.h:1644:1: style: Struct 'should_fail' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest_fwd.h:1645:1: style: Struct 'expected_failures' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest.cpp:1892:9: style: Class 'XmlEncode' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest.cpp:1927:9: style: Class 'XmlWriter' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest.cpp:1908:13: style: Class 'ScopedElement' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest.cpp:2272:9: style: Struct 'XmlReporter' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest.cpp:2642:9: style: Struct 'JUnitReporter' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest.cpp:2796:9: style: Struct 'ConsoleReporter' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] rspamd-3.8.1/contrib/libottery/ottery_entropy_urandom.c:79:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libottery/ottery_entropy_egd.c:37:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_STREAM [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest.cpp:236:16: style: Condition '*ptr' is always true [knownConditionTrueFalse] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest.cpp:233:21: note: Assignment 'x=1', assigned value is 1 rspamd-3.8.1/contrib/doctest/doctest/parts/doctest.cpp:236:16: note: Condition '*ptr' is always true rspamd-3.8.1/contrib/doctest/doctest/parts/doctest.cpp:3843:53: style:inconclusive: Function 'registerReporterImpl' argument 2 names different: declaration 'prio' definition 'priority'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest_fwd.h:1805:71: note: Function 'registerReporterImpl' argument 2 names different: declaration 'prio' definition 'priority'. rspamd-3.8.1/contrib/doctest/doctest/parts/doctest.cpp:3843:53: note: Function 'registerReporterImpl' argument 2 names different: declaration 'prio' definition 'priority'. rspamd-3.8.1/contrib/libottery/ottery_entropy.c:62:31: style:inconclusive: Function 'ottery_get_entropy_' argument 3 names different: declaration 'require_flags' definition 'select_sources'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/libottery/ottery-internal.h:129:35: note: Function 'ottery_get_entropy_' argument 3 names different: declaration 'require_flags' definition 'select_sources'. rspamd-3.8.1/contrib/libottery/ottery_entropy.c:62:31: note: Function 'ottery_get_entropy_' argument 3 names different: declaration 'require_flags' definition 'select_sources'. rspamd-3.8.1/contrib/libottery/ottery_entropy.c:63:56: style:inconclusive: Function 'ottery_get_entropy_' argument 6 names different: declaration 'bufsize' definition 'buflen'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/libottery/ottery-internal.h:130:60: note: Function 'ottery_get_entropy_' argument 6 names different: declaration 'bufsize' definition 'buflen'. rspamd-3.8.1/contrib/libottery/ottery_entropy.c:63:56: note: Function 'ottery_get_entropy_' argument 6 names different: declaration 'bufsize' definition 'buflen'. rspamd-3.8.1/contrib/libottery/ottery_entropy.c:93:16: style: Local variable 'flags' shadows outer variable [shadowVariable] rspamd-3.8.1/contrib/libottery/ottery_entropy.c:78:14: note: Shadowed declaration rspamd-3.8.1/contrib/libottery/ottery_entropy.c:93:16: note: Shadow variable rspamd-3.8.1/contrib/doctest/doctest/parts/doctest.cpp:1816:31: performance: Function parameter 'result' should be passed by const reference. [passedByValue] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest.cpp:1645:29: style: Variable 'def' can be declared as reference to const [constVariableReference] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest.cpp:2330:27: style: Variable 'curr' can be declared as reference to const [constVariableReference] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest.cpp:2334:27: style: Variable 'curr' can be declared as reference to const [constVariableReference] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest.cpp:3016:31: style: Variable 'curr' can be declared as reference to const [constVariableReference] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest.cpp:235:18: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest.cpp:219:17: performance: Ineffective call of function 'substr' because a prefix of the string is assigned to itself. Use resize() or pop_back() instead. [uselessCallsSubstr] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest.cpp:2180:20: performance: Ineffective call of function 'substr' because a prefix of the string is assigned to itself. Use resize() or pop_back() instead. [uselessCallsSubstr] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest.cpp:3642:19: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest.cpp:372:24: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] rspamd-3.8.1/contrib/libottery/ottery_entropy_egd.c:33:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OTTERY_ERR_INIT_STRONG_RNG [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest.cpp:1716:19: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] rspamd-3.8.1/contrib/doctest/doctest/parts/doctest.cpp:1721:19: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] rspamd-3.8.1/contrib/libottery/ottery_global.c:75:25: style:inconclusive: Function 'ottery_rand_bytes' argument 1 names different: declaration 'buf' definition 'out'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/libottery/ottery.h:37:30: note: Function 'ottery_rand_bytes' argument 1 names different: declaration 'buf' definition 'out'. rspamd-3.8.1/contrib/libottery/ottery_global.c:75:25: note: Function 'ottery_rand_bytes' argument 1 names different: declaration 'buf' definition 'out'. rspamd-3.8.1/contrib/librdns/compression.c:101:16: debug: Function::addArguments found argument 'rdns_compression_hash' with varid 0. [varid0] rspamd-3.8.1/contrib/librdns/compression.c:91:32: debug: Function::addArguments found argument 'rdns_compression_hash' with varid 0. [varid0] rspamd-3.8.1/contrib/librdns/compression.c:35:63: debug: Function::addArguments found argument 'rdns_compression_hash' with varid 0. [varid0] rspamd-3.8.1/contrib/librdns/compression.c:73:15: debug: Function::addArguments found argument 'rdns_compression_hash' with varid 0. [varid0] rspamd-3.8.1/contrib/librdns/compression.c:40:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable comp [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/librdns/compression.c:79:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable comp [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/librdns/compression.c:93:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable comp [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/librdns/compression.c:109:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable comp [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/librdns/curve.c:870:53: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/librdns/curve.c:875:53: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/librdns/curve.c:879:56: style: Parameter 'resolver' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/librdns/curve.c:880:26: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/librdns/logger.c:36:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/librdns/logger.c:33:24: style: Variable 'resolver' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/librdns/compression.c:115:34: style: Variable 'test' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/librdns/parse.c:280:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in_addr [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/librdns/packet.c:86:67: style:inconclusive: Function 'rdns_format_dns_name' argument 2 names different: declaration 'name' definition 'in'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/librdns/rdns.h:478:15: note: Function 'rdns_format_dns_name' argument 2 names different: declaration 'name' definition 'in'. rspamd-3.8.1/contrib/librdns/packet.c:86:67: note: Function 'rdns_format_dns_name' argument 2 names different: declaration 'name' definition 'in'. rspamd-3.8.1/contrib/librdns/packet.c:87:10: style:inconclusive: Function 'rdns_format_dns_name' argument 3 names different: declaration 'namelen' definition 'inlen'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/librdns/rdns.h:478:28: note: Function 'rdns_format_dns_name' argument 3 names different: declaration 'namelen' definition 'inlen'. rspamd-3.8.1/contrib/librdns/packet.c:87:10: note: Function 'rdns_format_dns_name' argument 3 names different: declaration 'namelen' definition 'inlen'. rspamd-3.8.1/contrib/librdns/packet.c:217:12: style: Variable 'remain' is assigned a value that is never used. [unreadVariable] rspamd-3.8.1/contrib/librdns/packet.c:218:7: style: Variable 'p' is assigned a value that is never used. [unreadVariable] rspamd-3.8.1/contrib/librdns/parse.c:134:6: style:inconclusive: Same expression used in consecutive assignments of 'length' and 'new_remain'. [duplicateAssignExpression] rspamd-3.8.1/contrib/librdns/parse.c:134:24: note: Same expression used in consecutive assignments of 'length' and 'new_remain'. rspamd-3.8.1/contrib/librdns/parse.c:134:6: note: Same expression used in consecutive assignments of 'length' and 'new_remain'. rspamd-3.8.1/contrib/librdns/punycode.c:157:7: style: Non-boolean value returned from function returning bool [returnNonBoolInBooleanFunction] rspamd-3.8.1/contrib/librdns/punycode.c:163:6: style: Non-boolean value returned from function returning bool [returnNonBoolInBooleanFunction] rspamd-3.8.1/contrib/librdns/resolver.c:63:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rdns_requests_hash [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/librdns/resolver.c:163:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rdns_requests_hash [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/librdns/resolver.c:329:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/librdns/resolver.c:463:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/librdns/resolver.c:692:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable elt [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/librdns/resolver.c:763:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable elt [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/librdns/resolver.c:871:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable iov_base [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/librdns/resolver.c:919:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/librdns/resolver.c:1015:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable elt [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/librdns/resolver.c:1042:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rdns_compression_hash [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/librdns/resolver.c:1381:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/librdns/resolver.c:1548:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hh [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/librdns/util.c:50:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rdns_requests_hash [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/librdns/util.c:63:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/librdns/util.c:120:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNIX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/librdns/util.c:179:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/librdns/util.c:557:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rdns_requests_hash [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/librdns/util.c:595:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_DGRAM [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/librdns/util.c:763:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rdns_requests_hash [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/librdns/util.c:784:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_STREAM [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/librdns/util.c:918:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/librdns/util.c:1001:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/kann/kautodiff.c:1483:14: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] rspamd-3.8.1/contrib/kann/kautodiff.c:166:58: style:inconclusive: Function 'kad_conv2d' argument 3 names different: declaration 'r_stride' definition 'stride_r'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/kann/kautodiff.h:165:58: note: Function 'kad_conv2d' argument 3 names different: declaration 'r_stride' definition 'stride_r'. rspamd-3.8.1/contrib/kann/kautodiff.c:166:58: note: Function 'kad_conv2d' argument 3 names different: declaration 'r_stride' definition 'stride_r'. rspamd-3.8.1/contrib/kann/kautodiff.c:166:72: style:inconclusive: Function 'kad_conv2d' argument 4 names different: declaration 'c_stride' definition 'stride_c'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/kann/kautodiff.h:165:72: note: Function 'kad_conv2d' argument 4 names different: declaration 'c_stride' definition 'stride_c'. rspamd-3.8.1/contrib/kann/kautodiff.c:166:72: note: Function 'kad_conv2d' argument 4 names different: declaration 'c_stride' definition 'stride_c'. rspamd-3.8.1/contrib/kann/kautodiff.c:166:86: style:inconclusive: Function 'kad_conv2d' argument 5 names different: declaration 'r_pad' definition 'top_pad'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/kann/kautodiff.h:165:86: note: Function 'kad_conv2d' argument 5 names different: declaration 'r_pad' definition 'top_pad'. rspamd-3.8.1/contrib/kann/kautodiff.c:166:86: note: Function 'kad_conv2d' argument 5 names different: declaration 'r_pad' definition 'top_pad'. rspamd-3.8.1/contrib/kann/kautodiff.c:166:99: style:inconclusive: Function 'kad_conv2d' argument 6 names different: declaration 'c_pad' definition 'left_pad'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/kann/kautodiff.h:165:97: note: Function 'kad_conv2d' argument 6 names different: declaration 'c_pad' definition 'left_pad'. rspamd-3.8.1/contrib/kann/kautodiff.c:166:99: note: Function 'kad_conv2d' argument 6 names different: declaration 'c_pad' definition 'left_pad'. rspamd-3.8.1/contrib/kann/kautodiff.c:177:42: style:inconclusive: Function 'kad_max2d' argument 2 names different: declaration 'kernel_h' definition 'kernel_r'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/kann/kautodiff.h:166:42: note: Function 'kad_max2d' argument 2 names different: declaration 'kernel_h' definition 'kernel_r'. rspamd-3.8.1/contrib/kann/kautodiff.c:177:42: note: Function 'kad_max2d' argument 2 names different: declaration 'kernel_h' definition 'kernel_r'. rspamd-3.8.1/contrib/kann/kautodiff.c:177:56: style:inconclusive: Function 'kad_max2d' argument 3 names different: declaration 'kernel_w' definition 'kernel_c'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/kann/kautodiff.h:166:56: note: Function 'kad_max2d' argument 3 names different: declaration 'kernel_w' definition 'kernel_c'. rspamd-3.8.1/contrib/kann/kautodiff.c:177:56: note: Function 'kad_max2d' argument 3 names different: declaration 'kernel_w' definition 'kernel_c'. rspamd-3.8.1/contrib/kann/kautodiff.c:177:70: style:inconclusive: Function 'kad_max2d' argument 4 names different: declaration 'r_stride' definition 'stride_r'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/kann/kautodiff.h:166:70: note: Function 'kad_max2d' argument 4 names different: declaration 'r_stride' definition 'stride_r'. rspamd-3.8.1/contrib/kann/kautodiff.c:177:70: note: Function 'kad_max2d' argument 4 names different: declaration 'r_stride' definition 'stride_r'. rspamd-3.8.1/contrib/kann/kautodiff.c:177:84: style:inconclusive: Function 'kad_max2d' argument 5 names different: declaration 'c_stride' definition 'stride_c'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/kann/kautodiff.h:166:84: note: Function 'kad_max2d' argument 5 names different: declaration 'c_stride' definition 'stride_c'. rspamd-3.8.1/contrib/kann/kautodiff.c:177:84: note: Function 'kad_max2d' argument 5 names different: declaration 'c_stride' definition 'stride_c'. rspamd-3.8.1/contrib/kann/kautodiff.c:177:98: style:inconclusive: Function 'kad_max2d' argument 6 names different: declaration 'r_pad' definition 'top_pad'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/kann/kautodiff.h:166:98: note: Function 'kad_max2d' argument 6 names different: declaration 'r_pad' definition 'top_pad'. rspamd-3.8.1/contrib/kann/kautodiff.c:177:98: note: Function 'kad_max2d' argument 6 names different: declaration 'r_pad' definition 'top_pad'. rspamd-3.8.1/contrib/kann/kautodiff.c:177:111: style:inconclusive: Function 'kad_max2d' argument 7 names different: declaration 'c_pad' definition 'left_pad'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/kann/kautodiff.h:166:109: note: Function 'kad_max2d' argument 7 names different: declaration 'c_pad' definition 'left_pad'. rspamd-3.8.1/contrib/kann/kautodiff.c:177:111: note: Function 'kad_max2d' argument 7 names different: declaration 'c_pad' definition 'left_pad'. rspamd-3.8.1/contrib/kann/kautodiff.c:197:70: style:inconclusive: Function 'kad_conv1d' argument 4 names different: declaration 'pad' definition 'left_pad'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/kann/kautodiff.h:167:70: note: Function 'kad_conv1d' argument 4 names different: declaration 'pad' definition 'left_pad'. rspamd-3.8.1/contrib/kann/kautodiff.c:197:70: note: Function 'kad_conv1d' argument 4 names different: declaration 'pad' definition 'left_pad'. rspamd-3.8.1/contrib/kann/kautodiff.c:208:71: style:inconclusive: Function 'kad_max1d' argument 4 names different: declaration 'pad' definition 'left_pad'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/kann/kautodiff.h:168:71: note: Function 'kad_max1d' argument 4 names different: declaration 'pad' definition 'left_pad'. rspamd-3.8.1/contrib/kann/kautodiff.c:208:71: note: Function 'kad_max1d' argument 4 names different: declaration 'pad' definition 'left_pad'. rspamd-3.8.1/contrib/kann/kautodiff.c:219:71: style:inconclusive: Function 'kad_avg1d' argument 4 names different: declaration 'pad' definition 'left_pad'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/kann/kautodiff.h:169:71: note: Function 'kad_avg1d' argument 4 names different: declaration 'pad' definition 'left_pad'. rspamd-3.8.1/contrib/kann/kautodiff.c:219:71: note: Function 'kad_avg1d' argument 4 names different: declaration 'pad' definition 'left_pad'. rspamd-3.8.1/contrib/kann/kautodiff.c:278:52: style:inconclusive: Function 'kad_dropout' argument 2 names different: declaration 'r' definition 'y'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/kann/kautodiff.h:171:52: note: Function 'kad_dropout' argument 2 names different: declaration 'r' definition 'y'. rspamd-3.8.1/contrib/kann/kautodiff.c:278:52: note: Function 'kad_dropout' argument 2 names different: declaration 'r' definition 'y'. rspamd-3.8.1/contrib/kann/kautodiff.c:2122:8: style: Local variable 'i' shadows outer variable [shadowVariable] rspamd-3.8.1/contrib/kann/kautodiff.c:2116:25: note: Shadowed declaration rspamd-3.8.1/contrib/kann/kautodiff.c:2122:8: note: Shadow variable rspamd-3.8.1/contrib/kann/kautodiff.c:413:30: style: Argument 'v[i],4' to function kad_op_list is always 4. It does not matter what value 'i' has. [knownArgument] rspamd-3.8.1/contrib/kann/kautodiff.c:563:30: style: Argument 'a[i],2' to function kad_op_list is always 2. It does not matter what value 'i' has. [knownArgument] rspamd-3.8.1/contrib/kann/kautodiff.c:588:30: style: Argument 'a[i],3' to function kad_op_list is always 3. It does not matter what value 'i' has. [knownArgument] rspamd-3.8.1/contrib/kann/kautodiff.c:826:34: style: Argument 'w.v[i],4' to function kad_op_list is always 4. It does not matter what value 'i' has. [knownArgument] rspamd-3.8.1/contrib/kann/kautodiff.c:545:14: style: Variable 'aux' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/kann/kautodiff.c:796:67: style: Parameter 'len' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/kann/kautodiff.c:971:37: style: Parameter 'A' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/kann/kautodiff.c:971:47: style: Parameter 'eigenvals' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/kann/kautodiff.c:1371:12: style: Variable 'flag' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/kann/kautodiff.c:1397:10: style: Variable 'r' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/kann/kautodiff.c:1432:11: style: Variable 'aux' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/kann/kautodiff.c:1473:13: style: Variable 'aux' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/kann/kautodiff.c:1638:34: style: Variable 'x0' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/kann/kautodiff.c:1645:34: style: Variable 'x0' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/kann/kautodiff.c:1656:55: style: Variable 'x0' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/kann/kautodiff.c:1662:55: style: Variable 'x0' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/kann/kautodiff.c:1687:31: style: Variable 'qx' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/kann/kautodiff.c:1699:10: style: Variable 'si' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/kann/kautodiff.c:1701:11: style: Variable 'pg' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/kann/kautodiff.c:1701:51: style: Variable 'px' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/kann/kautodiff.c:1811:14: style: Variable 'g' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/kann/kautodiff.c:1811:34: style: Variable 'y' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/kann/kautodiff.c:1827:14: style: Variable 'q' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/kann/kautodiff.c:1870:8: style: Variable 'max_j' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/kann/kautodiff.c:1939:34: style: Parameter 'd' can be declared as const array [constParameter] rspamd-3.8.1/contrib/kann/kautodiff.c:1951:33: style: Parameter 'd' can be declared as const array [constParameter] rspamd-3.8.1/contrib/kann/kautodiff.c:2068:4: style: Variable '_ww' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/kann/kautodiff.c:2072:4: style: Variable '_ww' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/kann/kautodiff.c:2079:5: style: Variable '_ww' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/kann/kautodiff.c:2083:5: style: Variable '_ww' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/kann/kautodiff.c:2138:16: style: Variable 'f' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/kann/kautodiff.c:2147:34: style: Parameter 'd' can be declared as const array [constParameter] rspamd-3.8.1/contrib/kann/kautodiff.c:2156:33: style: Parameter 'd' can be declared as const array [constParameter] rspamd-3.8.1/contrib/kann/kautodiff.c:2223:4: style: Variable '_ww' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/kann/kautodiff.c:2227:4: style: Variable '_ww' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/kann/kautodiff.c:2234:5: style: Variable '_ww' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/kann/kautodiff.c:2238:5: style: Variable '_ww' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/kann/kautodiff.c:2285:16: style: Variable 'f' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/kann/kautodiff.c:2318:8: style: Variable 'f' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/kann/kautodiff.c:2395:15: style: Variable 'p' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/kann/kautodiff.c:1007:18: style: Variable 'x' is assigned a value that is never used. [unreadVariable] rspamd-3.8.1/contrib/librdns/util.c:571:35: style:inconclusive: Function 'rdns_ioc_new' argument 1 names different: declaration 'srv' definition 'serv'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/librdns/util.h:56:60: note: Function 'rdns_ioc_new' argument 1 names different: declaration 'srv' definition 'serv'. rspamd-3.8.1/contrib/librdns/util.c:571:35: note: Function 'rdns_ioc_new' argument 1 names different: declaration 'srv' definition 'serv'. rspamd-3.8.1/contrib/librdns/util.c:957:45: style: Parameter 'req' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/librdns/util.c:971:45: style: Parameter 'req' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/librdns/util.c:998:17: style: Variable 'bytes' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/libucl/lua_ucl.c:117:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libucl/lua_ucl.c:130:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libucl/lua_ucl.c:266:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libucl/lua_ucl.c:347:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TSTRING [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libucl/lua_ucl.c:551:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TTABLE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libucl/lua_ucl.c:809:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TTABLE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libucl/lua_ucl.c:846:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TSTRING [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libucl/lua_ucl.c:885:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TUSERDATA [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libucl/lua_ucl.c:999:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TTABLE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libucl/lua_ucl.c:1130:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TSTRING [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libucl/lua_ucl.c:1172:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TSTRING [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libucl/lua_ucl.c:1452:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TNUMBER [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libucl/lua_ucl.c:1538:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libucl/ucl_emitter.c:905:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBL_DIG [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libucl/ucl_emitter.c:960:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBL_DIG [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libucl/ucl_emitter.c:1034:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBL_DIG [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/librdns/resolver.c:155:33: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/librdns/resolver.c:861:50: style: Parameter 'ioc' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/librdns/resolver.c:916:45: error: Uninitialized variables: oc.next_write_size, oc.cur_write, oc.write_buf, oc.prev, oc.next [uninitvar] rspamd-3.8.1/contrib/libucl/ucl_emitter.c:636:11: style:inconclusive: Function 'ucl_object_emit_len' argument 3 names different: declaration 'len' definition 'outlen'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/libucl/ucl.h:1464:39: note: Function 'ucl_object_emit_len' argument 3 names different: declaration 'len' definition 'outlen'. rspamd-3.8.1/contrib/libucl/ucl_emitter.c:636:11: note: Function 'ucl_object_emit_len' argument 3 names different: declaration 'len' definition 'outlen'. rspamd-3.8.1/contrib/libucl/ucl_emitter.c:165:56: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/libucl/ucl_emitter.c:615:58: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'ucl_emit_msgpack_end_object' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rspamd-3.8.1/contrib/libucl/ucl_emitter.c:80:23: note: You might need to cast the function pointer here rspamd-3.8.1/contrib/libucl/ucl_emitter.c:615:58: note: Parameter 'ctx' can be declared as pointer to const rspamd-3.8.1/contrib/libucl/ucl_emitter.c:622:57: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/libucl/ucl_emitter.c:640:13: style: Variable 's' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/libucl/ucl_emitter.c:741:38: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/libucl/ucl_emitter.c:811:38: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/libucl/ucl_emitter.c:845:37: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/libucl/ucl_internal.h:461:57: style: Parameter 'obj' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/libucl/ucl_emitter_streamline.c:95:44: style: Variable 'top' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/libucl/ucl_emitter_streamline.c:42:14: style: struct member 'ucl_emitter_context_streamline::name' is never used. [unusedStructMember] rspamd-3.8.1/contrib/libucl/ucl_emitter_streamline.c:44:6: style: struct member 'ucl_emitter_context_streamline::id' is never used. [unusedStructMember] rspamd-3.8.1/contrib/libucl/ucl_emitter_streamline.c:50:15: style: struct member 'ucl_emitter_context_streamline::indent' is never used. [unusedStructMember] rspamd-3.8.1/contrib/libucl/ucl_emitter_streamline.c:54:22: style: struct member 'ucl_emitter_context_streamline::comments' is never used. [unusedStructMember] rspamd-3.8.1/contrib/libucl/ucl_hash.c:316:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libucl/lua_ucl.c:0:0: debug: ValueFlow maximum iterations exceeded [valueFlowMaxIterations] rspamd-3.8.1/contrib/libucl/lua_ucl.c:236:27: style: Variable 'fd' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/libucl/lua_ucl.c:520:29: style: Variable 't' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/libucl/lua_ucl.c:879:27: style: Variable 't' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/libucl/lua_ucl.c:1071:16: style: Variable 'obj' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/libucl/lua_ucl.c:1123:16: style: Variable 'obj' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/libucl/lua_ucl.c:1161:16: style: Variable 'obj' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/libucl/ucl_msgpack.c:146:23: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] rspamd-3.8.1/contrib/libucl/ucl_msgpack.c:101:60: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/libucl/ucl_msgpack.c:185:63: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/libucl/ucl_msgpack.c:214:63: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/libucl/ucl_msgpack.c:251:70: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/libucl/ucl_msgpack.c:284:61: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/libucl/ucl_msgpack.c:302:62: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/libucl/ucl_msgpack.c:332:63: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/libucl/ucl_msgpack.c:763:30: style: Parameter 'obj_parser' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/libucl/ucl_msgpack.c:825:54: style: Parameter 'container' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/libucl/ucl_msgpack.c:1312:16: style: Variable 'container' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/libucl/ucl_msgpack.c:146:23: error: Shifting signed 64-bit value by 63 bits is undefined behaviour [shiftTooManyBitsSigned] rspamd-3.8.1/contrib/libucl/ucl_msgpack.c:1260:7: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] rspamd-3.8.1/contrib/libucl/ucl_parser.c:777:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libucl/ucl_parser.c:1064:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERANGE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libucl/ucl_parser.c:1963:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libucl/ucl_parser.c:2595:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hh [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libucl/ucl_parser.c:2835:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hh [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libucl/ucl_parser.c:2863:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hh [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libucl/ucl_hash.c:310:32: style: Parameter 'hashlin' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/libucl/ucl_hash.c:348:37: style: Parameter 'hashlin' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/libucl/ucl_hash.c:350:29: style: Variable 'it' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/libucl/ucl_hash.c:362:23: style: Variable 'elt' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/libucl/ucl_hash.c:208:3: error: Uninitialized variables: cur.obj, cur.prev, cur.next [uninitvar] rspamd-3.8.1/contrib/libucl/ucl_hash.c:493:30: error: Uninitialized variable: elt->obj [uninitvar] rspamd-3.8.1/contrib/libucl/ucl_schema.c:89:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_EXTENDED [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libucl/ucl_schema.c:387:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRId64 [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libucl/ucl_schema.c:449:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ucl_schema_elt_compare [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libucl/ucl_util.c:3941:36: debug: Function::addArguments found argument 'func' with varid 0. [varid0] rspamd-3.8.1/contrib/libucl/ucl_util.c:627:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hh [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libucl/ucl_util.c:890:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libucl/ucl_util.c:1017:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libucl/ucl_util.c:1090:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libucl/ucl_util.c:1425:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libucl/ucl_util.c:1515:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libucl/ucl_util.c:1969:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libucl/ucl_util.c:2010:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libucl/ucl_util.c:2071:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libucl/ucl_util.c:3795:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBBY [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libucl/ucl_util.c:3804:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBBY [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libucl/ucl_util.c:3944:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable func [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/google-ced/compact_enc_det.cc:2536:31: style:inconclusive: Boolean expression 'nmod8==0' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] rspamd-3.8.1/contrib/google-ced/compact_enc_det.cc:2536:46: style:inconclusive: Boolean expression 'nmod8==6' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] rspamd-3.8.1/contrib/google-ced/compact_enc_det.cc:1264:39: warning: Either the condition 'rankedencoding>NUM_RANKEDENCODING' is redundant or the array 'kMapToEncoding[67]' is accessed at index 67, which is out of bounds. [arrayIndexOutOfBoundsCond] rspamd-3.8.1/contrib/google-ced/compact_enc_det.cc:3358:49: note: Assuming that condition 'rankedencoding>NUM_RANKEDENCODING' is not redundant rspamd-3.8.1/contrib/google-ced/compact_enc_det.cc:3362:49: note: Calling function 'MyRankedEncName', 1st argument 'rankedencoding' value is 67 rspamd-3.8.1/contrib/google-ced/compact_enc_det.cc:1264:39: note: Array index out of bounds rspamd-3.8.1/contrib/google-ced/compact_enc_det.cc:2625:39: warning: Either the condition 'i<=0' is redundant or the array 'destatep->interesting_offsets[2][48]' is accessed at index destatep->interesting_offsets[1][48], which is out of bounds. [arrayIndexOutOfBoundsCond] rspamd-3.8.1/contrib/google-ced/compact_enc_det.cc:2622:9: note: Assuming that condition 'i<=0' is not redundant rspamd-3.8.1/contrib/google-ced/compact_enc_det.cc:2625:39: note: Array index out of bounds rspamd-3.8.1/contrib/google-ced/compact_enc_det.cc:3363:32: warning: Either the condition 'rankedencoding>NUM_RANKEDENCODING' is redundant or the array 'destatep->enc_prob[67]' is accessed at index 67, which is out of bounds. [arrayIndexOutOfBoundsCond] rspamd-3.8.1/contrib/google-ced/compact_enc_det.cc:3358:49: note: Assuming that condition 'rankedencoding>NUM_RANKEDENCODING' is not redundant rspamd-3.8.1/contrib/google-ced/compact_enc_det.cc:3363:32: note: Array index out of bounds rspamd-3.8.1/contrib/google-ced/compact_enc_det.cc:1368:21: error: Pointer addition with NULL pointer. [nullPointerArithmetic] rspamd-3.8.1/contrib/google-ced/compact_enc_det.cc:2163:19: note: Calling function 'PsHighlight', 1st argument '0' value is 0 rspamd-3.8.1/contrib/google-ced/compact_enc_det.cc:1368:21: note: Null pointer addition rspamd-3.8.1/contrib/google-ced/compact_enc_det.cc:1623:41: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/contrib/google-ced/compact_enc_det.cc:1650:41: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/contrib/google-ced/compact_enc_det.cc:1861:41: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/contrib/google-ced/compact_enc_det.cc:1974:10: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/contrib/google-ced/compact_enc_det.cc:5684:24: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/contrib/google-ced/compact_enc_det.cc:5698:24: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/contrib/google-ced/compact_enc_det.cc:5712:24: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/contrib/google-ced/compact_enc_det.cc:5247:7: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] rspamd-3.8.1/contrib/google-ced/compact_enc_det.cc:5249:9: note: Found duplicate branches for 'if' and 'else'. rspamd-3.8.1/contrib/google-ced/compact_enc_det.cc:5247:7: note: Found duplicate branches for 'if' and 'else'. rspamd-3.8.1/contrib/google-ced/compact_enc_det.cc:4074:22: style: The scope of the variable 'esc_src' can be reduced. [variableScope] rspamd-3.8.1/contrib/google-ced/compact_enc_det.cc:4882:12: style: The scope of the variable 'second_best_enc' can be reduced. [variableScope] rspamd-3.8.1/contrib/google-ced/compact_enc_det.cc:4887:7: style: The scope of the variable 'scanned_bytes' can be reduced. [variableScope] rspamd-3.8.1/contrib/google-ced/compact_enc_det.cc:4889:7: style: The scope of the variable 'text_length' can be reduced. [variableScope] rspamd-3.8.1/contrib/google-ced/compact_enc_det.cc:4890:8: style: The scope of the variable 'empty_rescan' can be reduced. [variableScope] rspamd-3.8.1/contrib/google-ced/compact_enc_det.cc:1214:51: style: Parameter 'destatep' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/google-ced/compact_enc_det.cc:1217:56: style: Parameter 'destatep' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/google-ced/compact_enc_det.cc:1220:50: style: Parameter 'destatep' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/google-ced/compact_enc_det.cc:1223:55: style: Parameter 'destatep' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/google-ced/compact_enc_det.cc:1226:52: style: Parameter 'destatep' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/google-ced/compact_enc_det.cc:1229:56: style: Parameter 'destatep' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/google-ced/compact_enc_det.cc:1232:55: style: Parameter 'destatep' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/google-ced/compact_enc_det.cc:1235:54: style: Parameter 'destatep' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/google-ced/compact_enc_det.cc:1238:56: style: Parameter 'destatep' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/google-ced/compact_enc_det.cc:1241:53: style: Parameter 'destatep' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/google-ced/compact_enc_det.cc:1244:53: style: Parameter 'destatep' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/google-ced/compact_enc_det.cc:2639:11: style: Variable 's' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/google-ced/compact_enc_det.cc:2749:9: style: Variable 'endbyte' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/google-ced/compact_enc_det.cc:2803:9: style: Variable 'endbyte' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/google-ced/compact_enc_det.cc:2891:9: style: Variable 'endbyte' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/google-ced/compact_enc_det.cc:2923:9: style: Variable 'endbyte' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/google-ced/compact_enc_det.cc:4399:39: style: Parameter 'destatep' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/google-ced/compact_enc_det.cc:4767:22: style: Parameter 'robust_renc_list' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/google-ced/compact_enc_det.cc:3156:9: warning: Uninitialized variable: temp_sort [uninitvar] rspamd-3.8.1/contrib/google-ced/compact_enc_det.cc:3151:21: note: Assuming condition is false rspamd-3.8.1/contrib/google-ced/compact_enc_det.cc:3156:9: note: Uninitialized variable: temp_sort rspamd-3.8.1/contrib/libucl/ucl_parser.c:820:12: style: Condition '!allow_double' is always true [knownConditionTrueFalse] rspamd-3.8.1/contrib/libucl/ucl_parser.c:773:12: note: Assuming that condition 'allow_double' is not redundant rspamd-3.8.1/contrib/libucl/ucl_parser.c:820:12: note: Condition '!allow_double' is always true rspamd-3.8.1/contrib/libucl/ucl_parser.c:3195:11: style: Condition 'stack==NULL' is always false [knownConditionTrueFalse] rspamd-3.8.1/contrib/libucl/ucl_parser.c:2803:53: style: Parameter 'parser' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/libucl/ucl_parser.c:3141:64: style: Parameter 'paths' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/libucl/ucl_parser.c:327:23: error: Uninitialized variable: var->var_len [uninitvar] rspamd-3.8.1/contrib/libucl/ucl_parser.c:460:23: error: Uninitialized variable: var->value_len [uninitvar] rspamd-3.8.1/contrib/libucl/ucl_parser.c:2879:20: error: Uninitialized variable: cur->var [uninitvar] rspamd-3.8.1/contrib/libucl/ucl_parser.c:2957:26: error: Uninitialized variable: special_handler->flags [uninitvar] rspamd-3.8.1/contrib/libucl/ucl_parser.c:2948:13: note: Assuming condition is false rspamd-3.8.1/contrib/libucl/ucl_parser.c:2957:26: note: Uninitialized variable: special_handler->flags rspamd-3.8.1/contrib/google-ced/compact_enc_det.cc:2095:16: style: Variable 'hint_count' is assigned a value that is never used. [unreadVariable] rspamd-3.8.1/contrib/google-ced/compact_enc_det.cc:4890:21: style: Variable 'empty_rescan' is assigned a value that is never used. [unreadVariable] rspamd-3.8.1/contrib/google-ced/compact_enc_det.cc:5348:36: style: Variable 'very_last_byte_incremented' is assigned a value that is never used. [unreadVariable] rspamd-3.8.1/contrib/lua-bit/bit.c:84:0: error: #error "Unknown number type, check LUA_NUMBER_*, LUA_FLOAT_*, LUA_INT_* in luaconf.h" [preprocessorErrorDirective] rspamd-3.8.1/contrib/google-ced/compact_enc_det.cc:5459:14: style: Variable 'one_hint' is assigned a value that is never used. [unreadVariable] rspamd-3.8.1/contrib/lua-lpeg/lpcap.c:88:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable siz [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/lua-lpeg/lpcap.c:129:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_OPEQ [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/lua-lpeg/lpcap.c:163:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable siz [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/lua-lpeg/lpcap.c:207:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable siz [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/lua-lpeg/lpcap.c:232:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_MULTRET [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/lua-lpeg/lpcap.c:293:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_MULTRET [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/lua-lpeg/lpcap.c:334:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable siz [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/lua-lpeg/lpcap.c:407:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/lua-lpeg/lpcap.c:473:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable idx [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/lua-lpeg/lpcap.c:87:12: style: Variable 'co' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/lua-lpeg/lpcap.c:264:40: style: Parameter 'last' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/lua-lpeg/lpcode.c:133:54: debug: Function::addArguments found argument 't' with varid 0. [varid0] rspamd-3.8.1/contrib/lua-lpeg/lptree.c:1236:64: debug: Function::addArguments found argument 'catf' with varid 0. [varid0] rspamd-3.8.1/contrib/lua-lpeg/lptree.c:254:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_OPEQ [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/lua-lpeg/lptree.c:407:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tag [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/lua-lpeg/lptree.c:474:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tag [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/lua-lpeg/lptree.c:642:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tag [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/lua-lpeg/lptree.c:725:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tag [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/lua-lpeg/lptree.c:789:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TFUNCTION [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/lua-lpeg/lptree.c:842:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/lua-lpeg/lptree.c:854:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TFUNCTION [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/lua-lpeg/lptree.c:913:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_OPEQ [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/lua-lpeg/lptree.c:1065:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/lua-lpeg/lptree.c:1160:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TSTRING [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/lua-lpeg/lptree.c:1209:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/lua-lpeg/lptree.c:1251:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TTABLE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/lua-lpeg/lptree.c:1311:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/lua-lpeg/lpcode.c:614:56: style: Parameter 'cs' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/lua-lpeg/lpcode.c:844:54: style: Parameter 'positions' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/lua-lpeg/lpvm.c:83:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/lua-lpeg/lpvm.c:191:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/lua-lpeg/lpvm.c:79:10: style: Variable 'stack' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/lua-lpeg/lptree.c:1114:3: style: Statements following noreturn function 'luaL_error()' will never be executed. [unreachableCode] rspamd-3.8.1/contrib/lua-lpeg/lptree.c:1122:3: style: Statements following noreturn function 'luaL_error()' will never be executed. [unreachableCode] rspamd-3.8.1/contrib/lua-lpeg/lptree.c:55:60: style: Parameter 'g' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/lua-lpeg/lptree.c:347:12: style: Variable 'p' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/lua-lpeg/lptree.c:391:43: style: Parameter 'sib' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/lua-lpeg/lptree.c:494:10: style: Variable 'tree1' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/lua-lpeg/lptree.c:509:10: style: Variable 'tree1' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/lua-lpeg/lptree.c:510:10: style: Variable 'tree2' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/lua-lpeg/lptree.c:535:10: style: Variable 'tree1' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/lua-lpeg/lptree.c:536:10: style: Variable 'tree2' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/lua-lpeg/lptree.c:938:12: style: Variable 'rn' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/lua-lpeg/lptree.c:974:44: style: Parameter 'passed' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/lua-lpeg/lptree.c:1164:28: style: Variable 't' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/replxx/src/conversion.hxx:19:1: debug: Failed to parse 'typedef unsigned char char8_t ;'. The checking continues anyway. [simplifyTypedef] rspamd-3.8.1/contrib/lua-lpeg/lptree.c:559:5: style: Variable '((unsigned char*)(t+1))[i]' is assigned a value that is never used. [unreadVariable] rspamd-3.8.1/contrib/lua-lpeg/lptree.c:636:5: style: Variable '((unsigned char*)(t+1))[i]' is assigned a value that is never used. [unreadVariable] rspamd-3.8.1/contrib/replxx/src/conversion.cxx:30:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_CTYPE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/conversion.cxx:105:15: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/contrib/replxx/src/conversion.cxx:25:7: style: Local variable 'is8BitEncoding' shadows outer variable [shadowVariable] rspamd-3.8.1/contrib/replxx/src/conversion.hxx:30:13: note: Shadowed declaration rspamd-3.8.1/contrib/replxx/src/conversion.cxx:25:7: note: Shadow variable rspamd-3.8.1/contrib/replxx/src/escape.cxx:65:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UP [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/escape.cxx:68:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DOWN [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/escape.cxx:71:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RIGHT [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/escape.cxx:74:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LEFT [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/escape.cxx:76:82: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HOME [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/escape.cxx:77:81: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable END [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/escape.cxx:78:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BASE_SHIFT [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/escape.cxx:79:80: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F1 [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/escape.cxx:80:80: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F2 [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/escape.cxx:81:80: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F3 [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/escape.cxx:82:80: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F4 [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/escape.cxx:83:80: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F5 [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/escape.cxx:84:80: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F6 [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/escape.cxx:85:80: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F7 [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/escape.cxx:86:80: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F8 [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/escape.cxx:87:80: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F9 [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/escape.cxx:88:81: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F10 [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/escape.cxx:89:81: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F11 [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/escape.cxx:90:81: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F12 [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/escape.cxx:92:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAGE_UP [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/escape.cxx:95:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAGE_DOWN [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/escape.cxx:98:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BACKSPACE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/escape.cxx:101:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INSERT [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/escape.cxx:104:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DELETE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/escape.cxx:107:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BASE_CONTROL [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/escape.cxx:110:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BASE_CONTROL [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/escape.cxx:113:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BASE_CONTROL [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/escape.cxx:116:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BASE_CONTROL [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/escape.cxx:119:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PASTE_START [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/escape.cxx:122:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PASTE_FINISH [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/escape.cxx:153:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BASE_SHIFT [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/escape.cxx:159:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BASE_META [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/escape.cxx:165:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BASE_CONTROL [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/escape.cxx:196:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BASE_SHIFT [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/escape.cxx:210:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BASE_CONTROL [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/escape.cxx:248:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BASE_SHIFT [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/escape.cxx:262:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BASE_CONTROL [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/escape.cxx:300:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BASE_SHIFT [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/escape.cxx:314:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BASE_CONTROL [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/escape.cxx:352:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BASE_SHIFT [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/escape.cxx:366:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BASE_CONTROL [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/escape.cxx:421:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BASE_SHIFT [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/escape.cxx:435:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BASE_CONTROL [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/escape.cxx:497:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BASE_SHIFT [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/escape.cxx:511:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BASE_CONTROL [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/escape.cxx:549:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BASE_SHIFT [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/escape.cxx:563:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BASE_CONTROL [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/escape.cxx:601:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BASE_SHIFT [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/escape.cxx:615:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BASE_CONTROL [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/escape.cxx:687:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BASE_CONTROL [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/escape.cxx:721:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BASE_CONTROL [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/escape.cxx:871:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BASE_META [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libucl/ucl_util.c:2512:3: portability: Returning an integer in a function with pointer return type is not portable. [CastIntegerToAddressAtReturn] rspamd-3.8.1/contrib/libucl/ucl_util.c:2077:31: warning: Either the condition 'len>0' is redundant or mmap() argument nr 2 can have invalid value. The value is -1 but the valid values are '1:'. [invalidFunctionArg] rspamd-3.8.1/contrib/libucl/ucl_util.c:2091:10: note: Assuming that condition 'len>0' is not redundant rspamd-3.8.1/contrib/libucl/ucl_util.c:2087:10: note: Assignment to 'len=st.st_size' rspamd-3.8.1/contrib/libucl/ucl_util.c:2077:31: note: Invalid argument rspamd-3.8.1/contrib/libucl/ucl_util.c:2091:10: style: Condition 'len>0' is always true [knownConditionTrueFalse] rspamd-3.8.1/contrib/libucl/ucl_util.c:2074:17: note: Assuming that condition 'st.st_size==0' is not redundant rspamd-3.8.1/contrib/libucl/ucl_util.c:2077:72: note: Assuming condition is false rspamd-3.8.1/contrib/libucl/ucl_util.c:2087:6: note: len is assigned 'st.st_size' here. rspamd-3.8.1/contrib/libucl/ucl_util.c:2091:10: note: Condition 'len>0' is always true rspamd-3.8.1/contrib/libucl/ucl_util.c:3014:6: warning: Possible null pointer dereference: vec [nullPointer] rspamd-3.8.1/contrib/libucl/ucl_util.c:3011:6: note: Assignment 'vec=(struct ucl_array_t*)((new)!=NULL?(new)->value.av:NULL)', assigned value is 0 rspamd-3.8.1/contrib/libucl/ucl_util.c:3014:6: note: Null pointer dereference rspamd-3.8.1/contrib/replxx/src/history.cxx:122:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IXUSR [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libucl/ucl_util.c:3032:7: warning: Possible null pointer dereference: vec [nullPointer] rspamd-3.8.1/contrib/libucl/ucl_util.c:3030:3: note: Assignment 'vec=(struct ucl_array_t*)((obj)!=NULL?(obj)->value.av:NULL)', assigned value is 0 rspamd-3.8.1/contrib/libucl/ucl_util.c:3032:7: note: Null pointer dereference rspamd-3.8.1/contrib/replxx/src/history.cxx:191:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/history.cxx:366:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable iterator [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/libucl/ucl_util.c:285:7: style: Variable 'tmp' is reassigned a value before the old one has been used. [redundantAssignment] rspamd-3.8.1/contrib/libucl/ucl_util.c:266:11: note: tmp is assigned rspamd-3.8.1/contrib/libucl/ucl_util.c:285:7: note: tmp is overwritten rspamd-3.8.1/contrib/libucl/ucl_util.c:747:2: style:inconclusive: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] rspamd-3.8.1/contrib/libucl/ucl_util.c:2749:4: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] rspamd-3.8.1/contrib/libucl/ucl_util.c:2768:2: style:inconclusive: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] rspamd-3.8.1/contrib/libucl/ucl_util.c:2840:44: style:inconclusive: Function 'ucl_object_iterate_safe' argument 1 names different: declaration 'iter' definition 'it'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/libucl/ucl.h:882:75: note: Function 'ucl_object_iterate_safe' argument 1 names different: declaration 'iter' definition 'it'. rspamd-3.8.1/contrib/libucl/ucl_util.c:2840:44: note: Function 'ucl_object_iterate_safe' argument 1 names different: declaration 'iter' definition 'it'. rspamd-3.8.1/contrib/libucl/ucl_util.c:2847:44: style:inconclusive: Function 'ucl_object_iterate_full' argument 1 names different: declaration 'iter' definition 'it'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/libucl/ucl.h:900:75: note: Function 'ucl_object_iterate_full' argument 1 names different: declaration 'iter' definition 'it'. rspamd-3.8.1/contrib/libucl/ucl_util.c:2847:44: note: Function 'ucl_object_iterate_full' argument 1 names different: declaration 'iter' definition 'it'. rspamd-3.8.1/contrib/libucl/ucl_util.c:2922:45: style:inconclusive: Function 'ucl_object_lookup_path' argument 1 names different: declaration 'obj' definition 'top'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/libucl/ucl.h:720:76: note: Function 'ucl_object_lookup_path' argument 1 names different: declaration 'obj' definition 'top'. rspamd-3.8.1/contrib/libucl/ucl_util.c:2922:45: note: Function 'ucl_object_lookup_path' argument 1 names different: declaration 'obj' definition 'top'. rspamd-3.8.1/contrib/libucl/ucl_util.c:2922:62: style:inconclusive: Function 'ucl_object_lookup_path' argument 2 names different: declaration 'path' definition 'path_in'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/libucl/ucl.h:721:15: note: Function 'ucl_object_lookup_path' argument 2 names different: declaration 'path' definition 'path_in'. rspamd-3.8.1/contrib/libucl/ucl_util.c:2922:62: note: Function 'ucl_object_lookup_path' argument 2 names different: declaration 'path' definition 'path_in'. rspamd-3.8.1/contrib/libucl/ucl_util.c:2928:50: style:inconclusive: Function 'ucl_object_lookup_path_char' argument 1 names different: declaration 'obj' definition 'top'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/libucl/ucl.h:731:81: note: Function 'ucl_object_lookup_path_char' argument 1 names different: declaration 'obj' definition 'top'. rspamd-3.8.1/contrib/libucl/ucl_util.c:2928:50: note: Function 'ucl_object_lookup_path_char' argument 1 names different: declaration 'obj' definition 'top'. rspamd-3.8.1/contrib/libucl/ucl_util.c:2928:67: style:inconclusive: Function 'ucl_object_lookup_path_char' argument 2 names different: declaration 'path' definition 'path_in'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/libucl/ucl.h:732:15: note: Function 'ucl_object_lookup_path_char' argument 2 names different: declaration 'path' definition 'path_in'. rspamd-3.8.1/contrib/libucl/ucl_util.c:2928:67: note: Function 'ucl_object_lookup_path_char' argument 2 names different: declaration 'path' definition 'path_in'. rspamd-3.8.1/contrib/libucl/ucl_util.c:593:43: style: Parameter 'parser' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/libucl/ucl_util.c:677:46: style: Parameter 'parser' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/libucl/ucl_util.c:1010:30: style: Parameter 'params' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/libucl/ucl_util.c:1765:22: style: Variable 'old_obj' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/libucl/ucl_util.c:1969:27: style: Variable 'curdir' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/libucl/ucl_util.c:2064:17: style: Variable 'buf' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/libucl/ucl_util.c:2555:16: style: Variable 'cur' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/libucl/ucl_util.c:2734:4: style: Variable 'vec' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/libucl/ucl_util.c:2812:38: style: Variable 'rit' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/libucl/ucl_util.c:3189:51: style: Parameter 'elt' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/libucl/ucl_util.c:3335:54: style: Parameter 'elt' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/libucl/ucl_util.c:3337:2: style: Variable 'vec' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/libucl/ucl_util.c:3949:45: style: Parameter 'parser' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/libucl/ucl_util.c:526:15: error: Uninitialized variable: chain->special_handler [uninitvar] rspamd-3.8.1/contrib/libucl/ucl_util.c:633:19: error: Uninitialized variables: chunk.begin, chunk.end, chunk.pos, chunk.fname, chunk.remain, chunk.line, chunk.column, chunk.priority, chunk.strategy, chunk.parse_type, chunk.special_handlers, chunk.next [uninitvar] rspamd-3.8.1/contrib/libucl/ucl_util.c:636:3: error: Uninitialized variable: key.next [uninitvar] rspamd-3.8.1/contrib/libucl/ucl_util.c:639:14: error: Uninitialized variable: var->value [uninitvar] rspamd-3.8.1/contrib/libucl/ucl_util.c:1175:24: error: Uninitialized variable: cur_var->var [uninitvar] rspamd-3.8.1/contrib/libucl/ucl_util.c:988:7: style: struct member 'ucl_include_params::use_glob' is never used. [unusedStructMember] rspamd-3.8.1/contrib/libucl/ucl_util.c:1780:7: style: Variable 'test' is assigned a value that is never used. [unreadVariable] rspamd-3.8.1/contrib/libucl/ucl_schema.c:933:17: style:inconclusive: Function 'ucl_schema_validate' argument 6 names different: declaration 'ext_ref' definition 'external_refs'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/libucl/ucl_schema.c:47:17: note: Function 'ucl_schema_validate' argument 6 names different: declaration 'ext_ref' definition 'external_refs'. rspamd-3.8.1/contrib/libucl/ucl_schema.c:933:17: note: Function 'ucl_schema_validate' argument 6 names different: declaration 'ext_ref' definition 'external_refs'. rspamd-3.8.1/contrib/libucl/ucl_schema.c:439:50: style: Parameter 'n1' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/libucl/ucl_schema.c:439:79: style: Parameter 'n2' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/libucl/ucl_schema.c:477:9: warning: Uninitialized variables: node.obj, node.link, node.next [uninitvar] rspamd-3.8.1/contrib/libucl/ucl_schema.c:455:55: note: Assuming condition is false rspamd-3.8.1/contrib/libucl/ucl_schema.c:477:9: note: Uninitialized variables: node.obj, node.link, node.next rspamd-3.8.1/contrib/libucl/ucl_schema.c:431:27: style: struct member 'ucl_compare_node::next' is never used. [unusedStructMember] rspamd-3.8.1/contrib/replxx/src/history.hxx:133:2: style: Class 'HistoryScanImpl' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] rspamd-3.8.1/contrib/replxx/src/history.cxx:106:2: style: Class 'FileLock' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] rspamd-3.8.1/contrib/replxx/src/history.cxx:232:33: style:inconclusive: Function 'set_max_size' argument 1 names different: declaration 'len' definition 'size_'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/replxx/src/history.hxx:76:25: note: Function 'set_max_size' argument 1 names different: declaration 'len' definition 'size_'. rspamd-3.8.1/contrib/replxx/src/history.cxx:232:33: note: Function 'set_max_size' argument 1 names different: declaration 'len' definition 'size_'. rspamd-3.8.1/contrib/replxx/src/terminal.cxx:153:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TIOCGWINSZ [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/terminal.cxx:168:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TIOCGWINSZ [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/terminal.cxx:175:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/terminal.cxx:232:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BRKINT [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/terminal.cxx:267:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCSADRAIN [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/terminal.cxx:293:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/terminal.cxx:318:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/terminal.cxx:601:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/terminal.cxx:715:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/terminal.cxx:735:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/replxx.cxx:317:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _1 [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/terminal.hxx:54:7: performance:inconclusive: Technically the member function 'replxx::Terminal::write8' can be static (but you may consider moving to unnamed namespace). [functionStatic] rspamd-3.8.1/contrib/replxx/src/terminal.cxx:127:16: note: Technically the member function 'replxx::Terminal::write8' can be static (but you may consider moving to unnamed namespace). rspamd-3.8.1/contrib/replxx/src/terminal.hxx:54:7: note: Technically the member function 'replxx::Terminal::write8' can be static (but you may consider moving to unnamed namespace). rspamd-3.8.1/contrib/replxx/src/terminal.hxx:55:6: performance:inconclusive: Technically the member function 'replxx::Terminal::get_screen_columns' can be static (but you may consider moving to unnamed namespace). [functionStatic] rspamd-3.8.1/contrib/replxx/src/terminal.cxx:145:15: note: Technically the member function 'replxx::Terminal::get_screen_columns' can be static (but you may consider moving to unnamed namespace). rspamd-3.8.1/contrib/replxx/src/terminal.hxx:55:6: note: Technically the member function 'replxx::Terminal::get_screen_columns' can be static (but you may consider moving to unnamed namespace). rspamd-3.8.1/contrib/replxx/src/terminal.hxx:56:6: performance:inconclusive: Technically the member function 'replxx::Terminal::get_screen_rows' can be static (but you may consider moving to unnamed namespace). [functionStatic] rspamd-3.8.1/contrib/replxx/src/terminal.cxx:160:15: note: Technically the member function 'replxx::Terminal::get_screen_rows' can be static (but you may consider moving to unnamed namespace). rspamd-3.8.1/contrib/replxx/src/terminal.hxx:56:6: note: Technically the member function 'replxx::Terminal::get_screen_rows' can be static (but you may consider moving to unnamed namespace). rspamd-3.8.1/contrib/replxx/src/terminal.hxx:61:11: performance:inconclusive: Technically the member function 'replxx::Terminal::read_char' can be static (but you may consider moving to unnamed namespace). [functionStatic] rspamd-3.8.1/contrib/replxx/src/terminal.cxx:329:20: note: Technically the member function 'replxx::Terminal::read_char' can be static (but you may consider moving to unnamed namespace). rspamd-3.8.1/contrib/replxx/src/terminal.hxx:61:11: note: Technically the member function 'replxx::Terminal::read_char' can be static (but you may consider moving to unnamed namespace). rspamd-3.8.1/contrib/replxx/src/terminal.hxx:62:7: performance:inconclusive: Technically the member function 'replxx::Terminal::clear_screen' can be static (but you may consider moving to unnamed namespace). [functionStatic] rspamd-3.8.1/contrib/replxx/src/terminal.cxx:640:16: note: Technically the member function 'replxx::Terminal::clear_screen' can be static (but you may consider moving to unnamed namespace). rspamd-3.8.1/contrib/replxx/src/terminal.hxx:62:7: note: Technically the member function 'replxx::Terminal::clear_screen' can be static (but you may consider moving to unnamed namespace). rspamd-3.8.1/contrib/replxx/src/terminal.hxx:66:7: performance:inconclusive: Technically the member function 'replxx::Terminal::set_cursor_visible' can be static (but you may consider moving to unnamed namespace). [functionStatic] rspamd-3.8.1/contrib/replxx/src/terminal.cxx:708:16: note: Technically the member function 'replxx::Terminal::set_cursor_visible' can be static (but you may consider moving to unnamed namespace). rspamd-3.8.1/contrib/replxx/src/terminal.hxx:66:7: note: Technically the member function 'replxx::Terminal::set_cursor_visible' can be static (but you may consider moving to unnamed namespace). rspamd-3.8.1/contrib/replxx/src/terminal.hxx:68:6: performance:inconclusive: Technically the member function 'replxx::Terminal::read_verbatim' can be static (but you may consider moving to unnamed namespace). [functionStatic] rspamd-3.8.1/contrib/replxx/src/terminal.cxx:712:15: note: Technically the member function 'replxx::Terminal::read_verbatim' can be static (but you may consider moving to unnamed namespace). rspamd-3.8.1/contrib/replxx/src/terminal.hxx:68:6: note: Technically the member function 'replxx::Terminal::read_verbatim' can be static (but you may consider moving to unnamed namespace). rspamd-3.8.1/contrib/replxx/src/terminal.hxx:69:6: performance:inconclusive: Technically the member function 'replxx::Terminal::install_window_change_handler' can be static (but you may consider moving to unnamed namespace). [functionStatic] rspamd-3.8.1/contrib/replxx/src/terminal.cxx:728:15: note: Technically the member function 'replxx::Terminal::install_window_change_handler' can be static (but you may consider moving to unnamed namespace). rspamd-3.8.1/contrib/replxx/src/terminal.hxx:69:6: note: Technically the member function 'replxx::Terminal::install_window_change_handler' can be static (but you may consider moving to unnamed namespace). rspamd-3.8.1/contrib/replxx/src/terminal.hxx:72:7: performance:inconclusive: Technically the member function 'replxx::Terminal::enable_out' can be static (but you may consider moving to unnamed namespace). [functionStatic] rspamd-3.8.1/contrib/replxx/src/terminal.cxx:180:16: note: Technically the member function 'replxx::Terminal::enable_out' can be static (but you may consider moving to unnamed namespace). rspamd-3.8.1/contrib/replxx/src/terminal.hxx:72:7: note: Technically the member function 'replxx::Terminal::enable_out' can be static (but you may consider moving to unnamed namespace). rspamd-3.8.1/contrib/replxx/src/terminal.hxx:73:7: performance:inconclusive: Technically the member function 'replxx::Terminal::disable_out' can be static (but you may consider moving to unnamed namespace). [functionStatic] rspamd-3.8.1/contrib/replxx/src/terminal.cxx:189:16: note: Technically the member function 'replxx::Terminal::disable_out' can be static (but you may consider moving to unnamed namespace). rspamd-3.8.1/contrib/replxx/src/terminal.hxx:73:7: note: Technically the member function 'replxx::Terminal::disable_out' can be static (but you may consider moving to unnamed namespace). rspamd-3.8.1/contrib/replxx/src/killring.hxx:21:2: warning: Member variable 'KillRing::indexToSlot' is not initialized in the constructor. [uninitMemberVar] rspamd-3.8.1/contrib/replxx/src/prompt.hxx:22:2: style: Class 'Prompt' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] rspamd-3.8.1/contrib/replxx/src/replxx_impl.hxx:61:3: style: Class 'Completion' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] rspamd-3.8.1/contrib/replxx/src/prompt.cxx:25:9: warning: Member variable 'Prompt::_characterCount' is not initialized in the constructor. [uninitMemberVar] rspamd-3.8.1/contrib/replxx/src/prompt.cxx:41:45: style:inconclusive: Function 'set_text' argument 1 names different: declaration 'textPtr' definition 'text_'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/replxx/src/prompt.hxx:23:38: note: Function 'set_text' argument 1 names different: declaration 'textPtr' definition 'text_'. rspamd-3.8.1/contrib/replxx/src/prompt.cxx:41:45: note: Function 'set_text' argument 1 names different: declaration 'textPtr' definition 'text_'. rspamd-3.8.1/contrib/replxx/src/prompt.cxx:82:11: warning: Either the condition 'in!=_text.end()' is redundant or there is possible dereference of an invalid iterator: in. [derefInvalidIteratorRedundantCheck] rspamd-3.8.1/contrib/replxx/src/prompt.cxx:79:31: note: Calling function 'end' returns end=0 rspamd-3.8.1/contrib/replxx/src/prompt.cxx:79:19: note: Assuming that condition 'in!=_text.end()' is not redundant rspamd-3.8.1/contrib/replxx/src/prompt.cxx:82:11: note: Dereference of an invalid iterator rspamd-3.8.1/contrib/replxx/src/prompt.cxx:100:11: warning: Either the condition 'in!=_text.end()' is redundant or there is possible dereference of an invalid iterator: in. [derefInvalidIteratorRedundantCheck] rspamd-3.8.1/contrib/replxx/src/prompt.cxx:95:31: note: Calling function 'end' returns end=0 rspamd-3.8.1/contrib/replxx/src/prompt.cxx:95:19: note: Assuming that condition 'in!=_text.end()' is not redundant rspamd-3.8.1/contrib/replxx/src/prompt.cxx:100:11: note: Dereference of an invalid iterator rspamd-3.8.1/contrib/replxx/src/util.cxx:51:49: style:inconclusive: Function 'calculate_displayed_length' argument 1 names different: declaration 'buf32' definition 'buf32_'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/replxx/src/util.hxx:18:49: note: Function 'calculate_displayed_length' argument 1 names different: declaration 'buf32' definition 'buf32_'. rspamd-3.8.1/contrib/replxx/src/util.cxx:51:49: note: Function 'calculate_displayed_length' argument 1 names different: declaration 'buf32' definition 'buf32_'. rspamd-3.8.1/contrib/replxx/src/util.cxx:51:61: style:inconclusive: Function 'calculate_displayed_length' argument 2 names different: declaration 'size' definition 'size_'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/replxx/src/util.hxx:18:60: note: Function 'calculate_displayed_length' argument 2 names different: declaration 'size' definition 'size_'. rspamd-3.8.1/contrib/replxx/src/util.cxx:51:61: note: Function 'calculate_displayed_length' argument 2 names different: declaration 'size' definition 'size_'. rspamd-3.8.1/contrib/replxx/src/wcwidth.cpp:0:0: debug: ValueFlow maximum iterations exceeded [valueFlowMaxIterations] rspamd-3.8.1/contrib/replxx/src/wcwidth.cpp:76:6: style: The scope of the variable 'mid' can be reduced. [variableScope] rspamd-3.8.1/contrib/snowball/compiler/driver.c:30:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/snowball/compiler/driver.c:83:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/snowball/compiler/driver.c:92:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/snowball/compiler/driver.c:122:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LANG_C [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/snowball/compiler/driver.c:432:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/snowball/compiler/analyser.c:41:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/snowball/compiler/analyser.c:81:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/snowball/compiler/analyser.c:93:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/snowball/compiler/analyser.c:106:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/snowball/compiler/analyser.c:112:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/snowball/compiler/analyser.c:119:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/snowball/compiler/analyser.c:180:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/snowball/compiler/analyser.c:672:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/snowball/compiler/analyser.c:1214:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/snowball/compiler/analyser.c:1247:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/replxx_impl.cxx:191:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable placeholders [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/replxx_impl.cxx:317:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INSERT_CHARACTER [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/replxx_impl.cxx:412:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SKIP [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/replxx_impl.cxx:561:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cin [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/replxx_impl.cxx:584:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/replxx_impl.cxx:674:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ESCAPE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/replxx_impl.cxx:687:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRIM [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/replxx_impl.cxx:735:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REPAINT [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/replxx_impl.cxx:953:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SKIP [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/replxx_impl.cxx:1062:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TAB [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/replxx_impl.cxx:1242:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONTINUE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/replxx_impl.cxx:1275:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable handler_ [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/replxx_impl.cxx:1308:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BASE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/replxx_impl.cxx:1353:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONTINUE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/replxx_impl.cxx:1358:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONTINUE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/replxx_impl.cxx:1367:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONTINUE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/replxx_impl.cxx:1376:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONTINUE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/replxx_impl.cxx:1391:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONTINUE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/replxx_impl.cxx:1406:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONTINUE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/replxx_impl.cxx:1424:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONTINUE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/replxx_impl.cxx:1442:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONTINUE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/replxx_impl.cxx:1459:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONTINUE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/replxx_impl.cxx:1466:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONTINUE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/replxx_impl.cxx:1477:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONTINUE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/replxx_impl.cxx:1492:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONTINUE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/replxx_impl.cxx:1499:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONTINUE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/replxx_impl.cxx:1518:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONTINUE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/replxx_impl.cxx:1562:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONTINUE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/replxx_impl.cxx:1580:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONTINUE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/replxx_impl.cxx:1598:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONTINUE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/replxx_impl.cxx:1613:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONTINUE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/replxx_impl.cxx:1618:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/replxx_impl.cxx:1635:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONTINUE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/replxx_impl.cxx:1643:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BAIL [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/replxx_impl.cxx:1655:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONTINUE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/replxx_impl.cxx:1664:73: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRIM [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/replxx_impl.cxx:1688:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONTINUE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/replxx_impl.cxx:1724:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONTINUE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/replxx_impl.cxx:1743:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REPAINT [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/replxx_impl.cxx:1750:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONTINUE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/replxx_impl.cxx:1760:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONTINUE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/replxx_impl.cxx:1771:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONTINUE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/replxx_impl.cxx:1781:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BAIL [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/replxx_impl.cxx:1798:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONTINUE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/replxx_impl.cxx:1845:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONTINUE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/replxx_impl.cxx:1889:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LEFT [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/replxx_impl.cxx:2073:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONTINUE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/replxx/src/replxx_impl.cxx:2079:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PASTE_FINISH [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/snowball/compiler/driver.c:391:28: style: Local variable 'i' shadows outer variable [shadowVariable] rspamd-3.8.1/contrib/snowball/compiler/driver.c:101:9: note: Shadowed declaration rspamd-3.8.1/contrib/snowball/compiler/driver.c:391:28: note: Shadow variable rspamd-3.8.1/contrib/snowball/compiler/driver.c:88:35: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/snowball/compiler/generator.c:49:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/snowball/compiler/generator.c:1409:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/snowball/compiler/generator.c:1609:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/snowball/compiler/space.c:71:53: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/snowball/compiler/tokeniser.c:33:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/snowball/compiler/tokeniser.c:44:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/snowball/compiler/tokeniser.c:231:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/snowball/compiler/tokeniser.c:446:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/snowball/compiler/analyser.c:529:23: warning: Identical inner 'return' condition is always true. [identicalInnerCondition] rspamd-3.8.1/contrib/snowball/compiler/analyser.c:528:16: note: outer condition: p_size-q_size rspamd-3.8.1/contrib/snowball/compiler/analyser.c:529:23: note: identical inner condition: p_size-q_size rspamd-3.8.1/contrib/snowball/compiler/analyser.c:879:32: style: Local variable 't' shadows outer variable [shadowVariable] rspamd-3.8.1/contrib/snowball/compiler/analyser.c:792:24: note: Shadowed declaration rspamd-3.8.1/contrib/snowball/compiler/analyser.c:879:32: note: Shadow variable rspamd-3.8.1/contrib/snowball/compiler/analyser.c:117:24: style: Variable 't' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/snowball/compiler/analyser.c:178:55: style: Parameter 'q' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/snowball/compiler/analyser.c:191:24: style: Variable 't' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/snowball/compiler/analyser.c:231:64: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/snowball/compiler/analyser.c:522:14: style: Variable 'b_p' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/snowball/compiler/analyser.c:523:14: style: Variable 'b_q' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/snowball/compiler/analyser.c:697:18: style: Variable 'b' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/snowball/compiler/analyser.c:1022:33: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/snowball/compiler/generator.c:197:52: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/snowball/compiler/generator.c:222:58: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/snowball/compiler/generator.c:231:63: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/snowball/compiler/generator.c:240:54: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/snowball/compiler/generator.c:737:23: style: Variable 'q' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/snowball/compiler/generator.c:1078:81: style: Parameter 's' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/snowball/compiler/generator.c:1105:23: style: Variable 'q' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/snowball/compiler/generator.c:1563:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/snowball/compiler/generator.c:1573:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/snowball/compiler/generator.c:1717:52: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/snowball/compiler/generator.c:1722:58: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/t1ha/t1ha.h:174:0: error: #error __BYTE_ORDER__ should be defined. [preprocessorErrorDirective] rspamd-3.8.1/contrib/snowball/compiler/tokeniser.c:287:9: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] rspamd-3.8.1/contrib/snowball/compiler/tokeniser.c:522:53: style:inconclusive: Function 'create_tokeniser' argument 1 names different: declaration 'b' definition 'p'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/snowball/compiler/header.h:140:53: note: Function 'create_tokeniser' argument 1 names different: declaration 'b' definition 'p'. rspamd-3.8.1/contrib/snowball/compiler/tokeniser.c:522:53: note: Function 'create_tokeniser' argument 1 names different: declaration 'b' definition 'p'. rspamd-3.8.1/contrib/snowball/compiler/tokeniser.c:43:74: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/snowball/compiler/tokeniser.c:64:42: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/snowball/compiler/tokeniser.c:87:39: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/snowball/compiler/tokeniser.c:116:65: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/snowball/runtime/utilities.c:17:5: error: Memory leak: mem [memleak] rspamd-3.8.1/contrib/snowball/runtime/utilities.c:361:5: error: Memory leak: mem [memleak] rspamd-3.8.1/contrib/snowball/runtime/utilities.c:369:99: style:inconclusive: Function 'replace_s' argument 6 names different: declaration 'adjustment' definition 'adjptr'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/snowball/runtime/header.h:46:99: note: Function 'replace_s' argument 6 names different: declaration 'adjustment' definition 'adjptr'. rspamd-3.8.1/contrib/snowball/runtime/utilities.c:369:99: note: Function 'replace_s' argument 6 names different: declaration 'adjustment' definition 'adjptr'. rspamd-3.8.1/contrib/snowball/runtime/utilities.c:400:40: style: Parameter 'z' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/replxx/src/replxx_impl.cxx:129:2: style: Class 'IOModeGuard' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] rspamd-3.8.1/contrib/replxx/src/replxx_impl.cxx:1173:24: style: Local variable 'c' shadows outer variable [shadowVariable] rspamd-3.8.1/contrib/replxx/src/replxx_impl.cxx:1001:11: note: Shadowed declaration rspamd-3.8.1/contrib/replxx/src/replxx_impl.cxx:1173:24: note: Shadow variable rspamd-3.8.1/contrib/replxx/src/replxx_impl.cxx:107:8: style: Variable 'term' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/zstd/mem.h:289:19: style: Condition 'MEM_32bits()' is always false [knownConditionTrueFalse] rspamd-3.8.1/contrib/zstd/mem.h:289:19: note: Calling function 'MEM_32bits' returns 0 rspamd-3.8.1/contrib/zstd/mem.h:289:19: note: Condition 'MEM_32bits()' is always false rspamd-3.8.1/contrib/zstd/mem.h:363:19: style: Condition 'MEM_32bits()' is always false [knownConditionTrueFalse] rspamd-3.8.1/contrib/zstd/mem.h:363:19: note: Calling function 'MEM_32bits' returns 0 rspamd-3.8.1/contrib/zstd/mem.h:363:19: note: Condition 'MEM_32bits()' is always false rspamd-3.8.1/contrib/zstd/mem.h:371:19: style: Condition 'MEM_32bits()' is always false [knownConditionTrueFalse] rspamd-3.8.1/contrib/zstd/mem.h:371:19: note: Calling function 'MEM_32bits' returns 0 rspamd-3.8.1/contrib/zstd/mem.h:371:19: note: Condition 'MEM_32bits()' is always false rspamd-3.8.1/contrib/zstd/mem.h:413:19: style: Condition 'MEM_32bits()' is always false [knownConditionTrueFalse] rspamd-3.8.1/contrib/zstd/mem.h:413:19: note: Calling function 'MEM_32bits' returns 0 rspamd-3.8.1/contrib/zstd/mem.h:413:19: note: Condition 'MEM_32bits()' is always false rspamd-3.8.1/contrib/zstd/mem.h:421:19: style: Condition 'MEM_32bits()' is always false [knownConditionTrueFalse] rspamd-3.8.1/contrib/zstd/mem.h:421:19: note: Calling function 'MEM_32bits' returns 0 rspamd-3.8.1/contrib/zstd/mem.h:421:19: note: Condition 'MEM_32bits()' is always false rspamd-3.8.1/contrib/zstd/bits.h:155:23: style: Condition 'MEM_64bits()' is always true [knownConditionTrueFalse] rspamd-3.8.1/contrib/zstd/bits.h:155:23: note: Calling function 'MEM_64bits' returns 1 rspamd-3.8.1/contrib/zstd/bits.h:155:23: note: Condition 'MEM_64bits()' is always true rspamd-3.8.1/contrib/zstd/bits.h:161:23: style: Condition 'MEM_64bits()' is always true [knownConditionTrueFalse] rspamd-3.8.1/contrib/zstd/bits.h:161:23: note: Calling function 'MEM_64bits' returns 1 rspamd-3.8.1/contrib/zstd/bits.h:161:23: note: Condition 'MEM_64bits()' is always true rspamd-3.8.1/contrib/zstd/mem.h:192:39: style:inconclusive: Function 'MEM_read16' argument 1 names different: declaration 'memPtr' definition 'ptr'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/zstd/mem.h:96:39: note: Function 'MEM_read16' argument 1 names different: declaration 'memPtr' definition 'ptr'. rspamd-3.8.1/contrib/zstd/mem.h:192:39: note: Function 'MEM_read16' argument 1 names different: declaration 'memPtr' definition 'ptr'. rspamd-3.8.1/contrib/zstd/mem.h:193:39: style:inconclusive: Function 'MEM_read32' argument 1 names different: declaration 'memPtr' definition 'ptr'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/zstd/mem.h:97:39: note: Function 'MEM_read32' argument 1 names different: declaration 'memPtr' definition 'ptr'. rspamd-3.8.1/contrib/zstd/mem.h:193:39: note: Function 'MEM_read32' argument 1 names different: declaration 'memPtr' definition 'ptr'. rspamd-3.8.1/contrib/zstd/mem.h:194:39: style:inconclusive: Function 'MEM_read64' argument 1 names different: declaration 'memPtr' definition 'ptr'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/zstd/mem.h:98:39: note: Function 'MEM_read64' argument 1 names different: declaration 'memPtr' definition 'ptr'. rspamd-3.8.1/contrib/zstd/mem.h:194:39: note: Function 'MEM_read64' argument 1 names different: declaration 'memPtr' definition 'ptr'. rspamd-3.8.1/contrib/zstd/mem.h:195:42: style:inconclusive: Function 'MEM_readST' argument 1 names different: declaration 'memPtr' definition 'ptr'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/zstd/mem.h:99:42: note: Function 'MEM_readST' argument 1 names different: declaration 'memPtr' definition 'ptr'. rspamd-3.8.1/contrib/zstd/mem.h:195:42: note: Function 'MEM_readST' argument 1 names different: declaration 'memPtr' definition 'ptr'. rspamd-3.8.1/contrib/zstd/bitstream.h:154:41: style:inconclusive: Function 'BIT_initCStream' argument 2 names different: declaration 'dstBuffer' definition 'startPtr'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/zstd/bitstream.h:67:62: note: Function 'BIT_initCStream' argument 2 names different: declaration 'dstBuffer' definition 'startPtr'. rspamd-3.8.1/contrib/zstd/bitstream.h:154:41: note: Function 'BIT_initCStream' argument 2 names different: declaration 'dstBuffer' definition 'startPtr'. rspamd-3.8.1/contrib/zstd/bitstream.h:428:59: style:inconclusive: Function 'BIT_endOfDStream' argument 1 names different: declaration 'bitD' definition 'DStream'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/zstd/bitstream.h:110:59: note: Function 'BIT_endOfDStream' argument 1 names different: declaration 'bitD' definition 'DStream'. rspamd-3.8.1/contrib/zstd/bitstream.h:428:59: note: Function 'BIT_endOfDStream' argument 1 names different: declaration 'bitD' definition 'DStream'. rspamd-3.8.1/contrib/zstd/fse.h:436:46: style:inconclusive: Function 'FSE_initCState' argument 1 names different: declaration 'CStatePtr' definition 'statePtr'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/zstd/fse.h:306:42: note: Function 'FSE_initCState' argument 1 names different: declaration 'CStatePtr' definition 'statePtr'. rspamd-3.8.1/contrib/zstd/fse.h:436:46: note: Function 'FSE_initCState' argument 1 names different: declaration 'CStatePtr' definition 'statePtr'. rspamd-3.8.1/contrib/zstd/fse.h:462:69: style:inconclusive: Function 'FSE_encodeSymbol' argument 2 names different: declaration 'CStatePtr' definition 'statePtr'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/zstd/fse.h:308:65: note: Function 'FSE_encodeSymbol' argument 2 names different: declaration 'CStatePtr' definition 'statePtr'. rspamd-3.8.1/contrib/zstd/fse.h:462:69: note: Function 'FSE_encodeSymbol' argument 2 names different: declaration 'CStatePtr' definition 'statePtr'. rspamd-3.8.1/contrib/zstd/fse.h:471:74: style:inconclusive: Function 'FSE_flushCState' argument 2 names different: declaration 'CStatePtr' definition 'statePtr'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/zstd/fse.h:310:70: note: Function 'FSE_flushCState' argument 2 names different: declaration 'CStatePtr' definition 'statePtr'. rspamd-3.8.1/contrib/zstd/fse.h:471:74: note: Function 'FSE_flushCState' argument 2 names different: declaration 'CStatePtr' definition 'statePtr'. rspamd-3.8.1/contrib/zstd/entropy_common.c:207:45: style:inconclusive: Function 'FSE_readNCount_bmi2' argument 2 names different: declaration 'maxSymbolValuePtr' definition 'maxSVPtr'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/zstd/fse.h:197:38: note: Function 'FSE_readNCount_bmi2' argument 2 names different: declaration 'maxSymbolValuePtr' definition 'maxSVPtr'. rspamd-3.8.1/contrib/zstd/entropy_common.c:207:45: note: Function 'FSE_readNCount_bmi2' argument 2 names different: declaration 'maxSymbolValuePtr' definition 'maxSVPtr'. rspamd-3.8.1/contrib/zstd/entropy_common.c:208:21: style:inconclusive: Function 'FSE_readNCount_bmi2' argument 4 names different: declaration 'rBuffer' definition 'headerBuffer'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/zstd/fse.h:198:40: note: Function 'FSE_readNCount_bmi2' argument 4 names different: declaration 'rBuffer' definition 'headerBuffer'. rspamd-3.8.1/contrib/zstd/entropy_common.c:208:21: note: Function 'FSE_readNCount_bmi2' argument 4 names different: declaration 'rBuffer' definition 'headerBuffer'. rspamd-3.8.1/contrib/zstd/entropy_common.c:208:42: style:inconclusive: Function 'FSE_readNCount_bmi2' argument 5 names different: declaration 'rBuffSize' definition 'hbSize'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/zstd/fse.h:198:56: note: Function 'FSE_readNCount_bmi2' argument 5 names different: declaration 'rBuffSize' definition 'hbSize'. rspamd-3.8.1/contrib/zstd/entropy_common.c:208:42: note: Function 'FSE_readNCount_bmi2' argument 5 names different: declaration 'rBuffSize' definition 'hbSize'. rspamd-3.8.1/contrib/zstd/entropy_common.c:220:45: style:inconclusive: Function 'FSE_readNCount' argument 2 names different: declaration 'maxSymbolValuePtr' definition 'maxSVPtr'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/zstd/fse.h:190:38: note: Function 'FSE_readNCount' argument 2 names different: declaration 'maxSymbolValuePtr' definition 'maxSVPtr'. rspamd-3.8.1/contrib/zstd/entropy_common.c:220:45: note: Function 'FSE_readNCount' argument 2 names different: declaration 'maxSymbolValuePtr' definition 'maxSVPtr'. rspamd-3.8.1/contrib/zstd/entropy_common.c:221:21: style:inconclusive: Function 'FSE_readNCount' argument 4 names different: declaration 'rBuffer' definition 'headerBuffer'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/zstd/fse.h:191:40: note: Function 'FSE_readNCount' argument 4 names different: declaration 'rBuffer' definition 'headerBuffer'. rspamd-3.8.1/contrib/zstd/entropy_common.c:221:21: note: Function 'FSE_readNCount' argument 4 names different: declaration 'rBuffer' definition 'headerBuffer'. rspamd-3.8.1/contrib/zstd/entropy_common.c:221:42: style:inconclusive: Function 'FSE_readNCount' argument 5 names different: declaration 'rBuffSize' definition 'hbSize'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/zstd/fse.h:191:56: note: Function 'FSE_readNCount' argument 5 names different: declaration 'rBuffSize' definition 'hbSize'. rspamd-3.8.1/contrib/zstd/entropy_common.c:221:42: note: Function 'FSE_readNCount' argument 5 names different: declaration 'rBuffSize' definition 'hbSize'. rspamd-3.8.1/contrib/zstd/entropy_common.c:330:28: style:inconclusive: Function 'HUF_readStats_wksp' argument 8 names different: declaration 'workspace' definition 'workSpace'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/zstd/huf.h:191:33: note: Function 'HUF_readStats_wksp' argument 8 names different: declaration 'workspace' definition 'workSpace'. rspamd-3.8.1/contrib/zstd/entropy_common.c:330:28: note: Function 'HUF_readStats_wksp' argument 8 names different: declaration 'workspace' definition 'workSpace'. rspamd-3.8.1/contrib/xxhash/xxhash.h:2186:54: style:inconclusive: Boolean expression 'len>=16' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] rspamd-3.8.1/contrib/xxhash/xxhash.h:2117:62: style:inconclusive: Function 'XXH32' argument 2 names different: declaration 'length' definition 'len'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/xxhash/xxhash.h:415:62: note: Function 'XXH32' argument 2 names different: declaration 'length' definition 'len'. rspamd-3.8.1/contrib/xxhash/xxhash.h:2117:62: note: Function 'XXH32' argument 2 names different: declaration 'length' definition 'len'. rspamd-3.8.1/contrib/xxhash/xxhash.h:2153:52: style:inconclusive: Function 'XXH32_copyState' argument 1 names different: declaration 'dst_state' definition 'dstState'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/xxhash/xxhash.h:498:52: note: Function 'XXH32_copyState' argument 1 names different: declaration 'dst_state' definition 'dstState'. rspamd-3.8.1/contrib/xxhash/xxhash.h:2153:52: note: Function 'XXH32_copyState' argument 1 names different: declaration 'dst_state' definition 'dstState'. rspamd-3.8.1/contrib/xxhash/xxhash.h:2153:83: style:inconclusive: Function 'XXH32_copyState' argument 2 names different: declaration 'src_state' definition 'srcState'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/xxhash/xxhash.h:498:84: note: Function 'XXH32_copyState' argument 2 names different: declaration 'src_state' definition 'srcState'. rspamd-3.8.1/contrib/xxhash/xxhash.h:2153:83: note: Function 'XXH32_copyState' argument 2 names different: declaration 'src_state' definition 'srcState'. rspamd-3.8.1/contrib/xxhash/xxhash.h:2175:29: style:inconclusive: Function 'XXH32_update' argument 1 names different: declaration 'statePtr' definition 'state'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/xxhash/xxhash.h:533:59: note: Function 'XXH32_update' argument 1 names different: declaration 'statePtr' definition 'state'. rspamd-3.8.1/contrib/xxhash/xxhash.h:2175:29: note: Function 'XXH32_update' argument 1 names different: declaration 'statePtr' definition 'state'. rspamd-3.8.1/contrib/xxhash/xxhash.h:2175:62: style:inconclusive: Function 'XXH32_update' argument 3 names different: declaration 'length' definition 'len'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/xxhash/xxhash.h:533:95: note: Function 'XXH32_update' argument 3 names different: declaration 'length' definition 'len'. rspamd-3.8.1/contrib/xxhash/xxhash.h:2175:62: note: Function 'XXH32_update' argument 3 names different: declaration 'length' definition 'len'. rspamd-3.8.1/contrib/xxhash/xxhash.h:2229:63: style:inconclusive: Function 'XXH32_digest' argument 1 names different: declaration 'statePtr' definition 'state'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/xxhash/xxhash.h:549:65: note: Function 'XXH32_digest' argument 1 names different: declaration 'statePtr' definition 'state'. rspamd-3.8.1/contrib/xxhash/xxhash.h:2229:63: note: Function 'XXH32_digest' argument 1 names different: declaration 'statePtr' definition 'state'. rspamd-3.8.1/contrib/xxhash/xxhash.h:2535:62: style:inconclusive: Function 'XXH64' argument 2 names different: declaration 'length' definition 'len'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/xxhash/xxhash.h:709:61: note: Function 'XXH64' argument 2 names different: declaration 'length' definition 'len'. rspamd-3.8.1/contrib/xxhash/xxhash.h:2535:62: note: Function 'XXH64' argument 2 names different: declaration 'length' definition 'len'. rspamd-3.8.1/contrib/xxhash/xxhash.h:2569:52: style:inconclusive: Function 'XXH64_copyState' argument 1 names different: declaration 'dst_state' definition 'dstState'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/xxhash/xxhash.h:720:52: note: Function 'XXH64_copyState' argument 1 names different: declaration 'dst_state' definition 'dstState'. rspamd-3.8.1/contrib/xxhash/xxhash.h:2569:52: note: Function 'XXH64_copyState' argument 1 names different: declaration 'dst_state' definition 'dstState'. rspamd-3.8.1/contrib/xxhash/xxhash.h:2569:83: style:inconclusive: Function 'XXH64_copyState' argument 2 names different: declaration 'src_state' definition 'srcState'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/xxhash/xxhash.h:720:84: note: Function 'XXH64_copyState' argument 2 names different: declaration 'src_state' definition 'srcState'. rspamd-3.8.1/contrib/xxhash/xxhash.h:2569:83: note: Function 'XXH64_copyState' argument 2 names different: declaration 'src_state' definition 'srcState'. rspamd-3.8.1/contrib/xxhash/xxhash.h:2590:30: style:inconclusive: Function 'XXH64_update' argument 1 names different: declaration 'statePtr' definition 'state'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/xxhash/xxhash.h:723:59: note: Function 'XXH64_update' argument 1 names different: declaration 'statePtr' definition 'state'. rspamd-3.8.1/contrib/xxhash/xxhash.h:2590:30: note: Function 'XXH64_update' argument 1 names different: declaration 'statePtr' definition 'state'. rspamd-3.8.1/contrib/xxhash/xxhash.h:2590:63: style:inconclusive: Function 'XXH64_update' argument 3 names different: declaration 'length' definition 'len'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/xxhash/xxhash.h:723:95: note: Function 'XXH64_update' argument 3 names different: declaration 'length' definition 'len'. rspamd-3.8.1/contrib/xxhash/xxhash.h:2590:63: note: Function 'XXH64_update' argument 3 names different: declaration 'length' definition 'len'. rspamd-3.8.1/contrib/xxhash/xxhash.h:2641:63: style:inconclusive: Function 'XXH64_digest' argument 1 names different: declaration 'statePtr' definition 'state'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/xxhash/xxhash.h:724:65: note: Function 'XXH64_digest' argument 1 names different: declaration 'statePtr' definition 'state'. rspamd-3.8.1/contrib/xxhash/xxhash.h:2641:63: note: Function 'XXH64_digest' argument 1 names different: declaration 'statePtr' definition 'state'. rspamd-3.8.1/contrib/xxhash/xxhash.h:4562:53: style:inconclusive: Function 'XXH3_64bits' argument 1 names different: declaration 'data' definition 'input'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/xxhash/xxhash.h:783:53: note: Function 'XXH3_64bits' argument 1 names different: declaration 'data' definition 'input'. rspamd-3.8.1/contrib/xxhash/xxhash.h:4562:53: note: Function 'XXH3_64bits' argument 1 names different: declaration 'data' definition 'input'. rspamd-3.8.1/contrib/xxhash/xxhash.h:4569:36: style:inconclusive: Function 'XXH3_64bits_withSecret' argument 1 names different: declaration 'data' definition 'input'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/xxhash/xxhash.h:820:64: note: Function 'XXH3_64bits_withSecret' argument 1 names different: declaration 'data' definition 'input'. rspamd-3.8.1/contrib/xxhash/xxhash.h:4569:36: note: Function 'XXH3_64bits_withSecret' argument 1 names different: declaration 'data' definition 'input'. rspamd-3.8.1/contrib/xxhash/xxhash.h:4576:34: style:inconclusive: Function 'XXH3_64bits_withSeed' argument 1 names different: declaration 'data' definition 'input'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/xxhash/xxhash.h:792:62: note: Function 'XXH3_64bits_withSeed' argument 1 names different: declaration 'data' definition 'input'. rspamd-3.8.1/contrib/xxhash/xxhash.h:4576:34: note: Function 'XXH3_64bits_withSeed' argument 1 names different: declaration 'data' definition 'input'. rspamd-3.8.1/contrib/xxhash/xxhash.h:4582:43: style:inconclusive: Function 'XXH3_64bits_withSecretandSeed' argument 1 names different: declaration 'data' definition 'input'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/xxhash/xxhash.h:1199:43: note: Function 'XXH3_64bits_withSecretandSeed' argument 1 names different: declaration 'data' definition 'input'. rspamd-3.8.1/contrib/xxhash/xxhash.h:4582:43: note: Function 'XXH3_64bits_withSecretandSeed' argument 1 names different: declaration 'data' definition 'input'. rspamd-3.8.1/contrib/xxhash/xxhash.h:4903:34: style:inconclusive: Function 'XXH3_64bits_update' argument 1 names different: declaration 'statePtr' definition 'state'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/xxhash/xxhash.h:864:64: note: Function 'XXH3_64bits_update' argument 1 names different: declaration 'statePtr' definition 'state'. rspamd-3.8.1/contrib/xxhash/xxhash.h:4903:34: note: Function 'XXH3_64bits_update' argument 1 names different: declaration 'statePtr' definition 'state'. rspamd-3.8.1/contrib/xxhash/xxhash.h:4903:67: style:inconclusive: Function 'XXH3_64bits_update' argument 3 names different: declaration 'length' definition 'len'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/xxhash/xxhash.h:864:100: note: Function 'XXH3_64bits_update' argument 3 names different: declaration 'length' definition 'len'. rspamd-3.8.1/contrib/xxhash/xxhash.h:4903:67: note: Function 'XXH3_64bits_update' argument 3 names different: declaration 'length' definition 'len'. rspamd-3.8.1/contrib/xxhash/xxhash.h:4945:69: style:inconclusive: Function 'XXH3_64bits_digest' argument 1 names different: declaration 'statePtr' definition 'state'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/xxhash/xxhash.h:865:70: note: Function 'XXH3_64bits_digest' argument 1 names different: declaration 'statePtr' definition 'state'. rspamd-3.8.1/contrib/xxhash/xxhash.h:4945:69: note: Function 'XXH3_64bits_digest' argument 1 names different: declaration 'statePtr' definition 'state'. rspamd-3.8.1/contrib/xxhash/xxhash.h:5335:55: style:inconclusive: Function 'XXH3_128bits' argument 1 names different: declaration 'data' definition 'input'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/xxhash/xxhash.h:886:55: note: Function 'XXH3_128bits' argument 1 names different: declaration 'data' definition 'input'. rspamd-3.8.1/contrib/xxhash/xxhash.h:5335:55: note: Function 'XXH3_128bits' argument 1 names different: declaration 'data' definition 'input'. rspamd-3.8.1/contrib/xxhash/xxhash.h:5344:37: style:inconclusive: Function 'XXH3_128bits_withSecret' argument 1 names different: declaration 'data' definition 'input'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/xxhash/xxhash.h:888:66: note: Function 'XXH3_128bits_withSecret' argument 1 names different: declaration 'data' definition 'input'. rspamd-3.8.1/contrib/xxhash/xxhash.h:5344:37: note: Function 'XXH3_128bits_withSecret' argument 1 names different: declaration 'data' definition 'input'. rspamd-3.8.1/contrib/xxhash/xxhash.h:5353:35: style:inconclusive: Function 'XXH3_128bits_withSeed' argument 1 names different: declaration 'data' definition 'input'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/xxhash/xxhash.h:887:64: note: Function 'XXH3_128bits_withSeed' argument 1 names different: declaration 'data' definition 'input'. rspamd-3.8.1/contrib/xxhash/xxhash.h:5353:35: note: Function 'XXH3_128bits_withSeed' argument 1 names different: declaration 'data' definition 'input'. rspamd-3.8.1/contrib/xxhash/xxhash.h:5362:44: style:inconclusive: Function 'XXH3_128bits_withSecretandSeed' argument 1 names different: declaration 'data' definition 'input'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/xxhash/xxhash.h:1204:44: note: Function 'XXH3_128bits_withSecretandSeed' argument 1 names different: declaration 'data' definition 'input'. rspamd-3.8.1/contrib/xxhash/xxhash.h:5362:44: note: Function 'XXH3_128bits_withSecretandSeed' argument 1 names different: declaration 'data' definition 'input'. rspamd-3.8.1/contrib/xxhash/xxhash.h:5362:115: style:inconclusive: Function 'XXH3_128bits_withSecretandSeed' argument 5 names different: declaration 'seed64' definition 'seed'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/xxhash/xxhash.h:1206:45: note: Function 'XXH3_128bits_withSecretandSeed' argument 5 names different: declaration 'seed64' definition 'seed'. rspamd-3.8.1/contrib/xxhash/xxhash.h:5362:115: note: Function 'XXH3_128bits_withSecretandSeed' argument 5 names different: declaration 'seed64' definition 'seed'. rspamd-3.8.1/contrib/xxhash/xxhash.h:5371:20: style:inconclusive: Function 'XXH128' argument 1 names different: declaration 'data' definition 'input'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/xxhash/xxhash.h:1119:49: note: Function 'XXH128' argument 1 names different: declaration 'data' definition 'input'. rspamd-3.8.1/contrib/xxhash/xxhash.h:5371:20: note: Function 'XXH128' argument 1 names different: declaration 'data' definition 'input'. rspamd-3.8.1/contrib/xxhash/xxhash.h:5407:114: style:inconclusive: Function 'XXH3_128bits_reset_withSecretandSeed' argument 4 names different: declaration 'seed64' definition 'seed'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/xxhash/xxhash.h:1216:51: note: Function 'XXH3_128bits_reset_withSecretandSeed' argument 4 names different: declaration 'seed64' definition 'seed'. rspamd-3.8.1/contrib/xxhash/xxhash.h:5407:114: note: Function 'XXH3_128bits_reset_withSecretandSeed' argument 4 names different: declaration 'seed64' definition 'seed'. rspamd-3.8.1/contrib/xxhash/xxhash.h:5414:35: style:inconclusive: Function 'XXH3_128bits_update' argument 1 names different: declaration 'statePtr' definition 'state'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/xxhash/xxhash.h:907:65: note: Function 'XXH3_128bits_update' argument 1 names different: declaration 'statePtr' definition 'state'. rspamd-3.8.1/contrib/xxhash/xxhash.h:5414:35: note: Function 'XXH3_128bits_update' argument 1 names different: declaration 'statePtr' definition 'state'. rspamd-3.8.1/contrib/xxhash/xxhash.h:5414:68: style:inconclusive: Function 'XXH3_128bits_update' argument 3 names different: declaration 'length' definition 'len'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/xxhash/xxhash.h:907:101: note: Function 'XXH3_128bits_update' argument 3 names different: declaration 'length' definition 'len'. rspamd-3.8.1/contrib/xxhash/xxhash.h:5414:68: note: Function 'XXH3_128bits_update' argument 3 names different: declaration 'length' definition 'len'. rspamd-3.8.1/contrib/xxhash/xxhash.h:5421:71: style:inconclusive: Function 'XXH3_128bits_digest' argument 1 names different: declaration 'statePtr' definition 'state'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/xxhash/xxhash.h:908:71: note: Function 'XXH3_128bits_digest' argument 1 names different: declaration 'statePtr' definition 'state'. rspamd-3.8.1/contrib/xxhash/xxhash.h:5421:71: note: Function 'XXH3_128bits_digest' argument 1 names different: declaration 'statePtr' definition 'state'. rspamd-3.8.1/contrib/zstd/hist.c:141:39: style:inconclusive: Function 'HIST_countFast_wksp' argument 3 names different: declaration 'src' definition 'source'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/zstd/hist.h:63:40: note: Function 'HIST_countFast_wksp' argument 3 names different: declaration 'src' definition 'source'. rspamd-3.8.1/contrib/zstd/hist.c:141:39: note: Function 'HIST_countFast_wksp' argument 3 names different: declaration 'src' definition 'source'. rspamd-3.8.1/contrib/zstd/hist.c:141:54: style:inconclusive: Function 'HIST_countFast_wksp' argument 4 names different: declaration 'srcSize' definition 'sourceSize'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/zstd/hist.h:63:52: note: Function 'HIST_countFast_wksp' argument 4 names different: declaration 'srcSize' definition 'sourceSize'. rspamd-3.8.1/contrib/zstd/hist.c:141:54: note: Function 'HIST_countFast_wksp' argument 4 names different: declaration 'srcSize' definition 'sourceSize'. rspamd-3.8.1/contrib/zstd/hist.c:155:36: style:inconclusive: Function 'HIST_count_wksp' argument 3 names different: declaration 'src' definition 'source'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/zstd/hist.h:47:36: note: Function 'HIST_count_wksp' argument 3 names different: declaration 'src' definition 'source'. rspamd-3.8.1/contrib/zstd/hist.c:155:36: note: Function 'HIST_count_wksp' argument 3 names different: declaration 'src' definition 'source'. rspamd-3.8.1/contrib/zstd/hist.c:155:51: style:inconclusive: Function 'HIST_count_wksp' argument 4 names different: declaration 'srcSize' definition 'sourceSize'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/zstd/hist.h:47:48: note: Function 'HIST_count_wksp' argument 4 names different: declaration 'srcSize' definition 'sourceSize'. rspamd-3.8.1/contrib/zstd/hist.c:155:51: note: Function 'HIST_count_wksp' argument 4 names different: declaration 'srcSize' definition 'sourceSize'. rspamd-3.8.1/contrib/zstd/hist.c:169:34: style:inconclusive: Function 'HIST_countFast' argument 3 names different: declaration 'src' definition 'source'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/zstd/hist.h:55:35: note: Function 'HIST_countFast' argument 3 names different: declaration 'src' definition 'source'. rspamd-3.8.1/contrib/zstd/hist.c:169:34: note: Function 'HIST_countFast' argument 3 names different: declaration 'src' definition 'source'. rspamd-3.8.1/contrib/zstd/hist.c:169:49: style:inconclusive: Function 'HIST_countFast' argument 4 names different: declaration 'srcSize' definition 'sourceSize'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/zstd/hist.h:55:47: note: Function 'HIST_countFast' argument 4 names different: declaration 'srcSize' definition 'sourceSize'. rspamd-3.8.1/contrib/zstd/hist.c:169:49: note: Function 'HIST_countFast' argument 4 names different: declaration 'srcSize' definition 'sourceSize'. rspamd-3.8.1/contrib/zstd/fse_decompress.c:199:64: style:inconclusive: Boolean expression 'BIT_reloadDStream(&bitD)==BIT_DStream_unfinished' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] rspamd-3.8.1/contrib/zstd/fse_decompress.c:184:17: style: Variable 'olimit' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/zstd/fse_compress.c:465:58: style:inconclusive: Function 'FSE_normalizeCount' argument 4 names different: declaration 'srcSize' definition 'total'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/zstd/fse.h:107:51: note: Function 'FSE_normalizeCount' argument 4 names different: declaration 'srcSize' definition 'total'. rspamd-3.8.1/contrib/zstd/fse_compress.c:465:58: note: Function 'FSE_normalizeCount' argument 4 names different: declaration 'srcSize' definition 'total'. rspamd-3.8.1/contrib/zstd/fse_compress.c:609:52: style:inconclusive: Function 'FSE_compress_usingCTable' argument 2 names different: declaration 'dstCapacity' definition 'dstSize'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/zstd/fse.h:136:67: note: Function 'FSE_compress_usingCTable' argument 2 names different: declaration 'dstCapacity' definition 'dstSize'. rspamd-3.8.1/contrib/zstd/fse_compress.c:609:52: note: Function 'FSE_compress_usingCTable' argument 2 names different: declaration 'dstCapacity' definition 'dstSize'. rspamd-3.8.1/contrib/zstd/zstd_internal.h:225:17: style: Variable 'oend' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/zstd/pool.c:322:9: style: struct member 'POOL_ctx_s::dummy' is never used. [unusedStructMember] rspamd-3.8.1/contrib/zstd/huf_compress.c:254:23: style:inconclusive: Boolean expression 'hSize>1' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] rspamd-3.8.1/contrib/zstd/huf_compress.c:1041:103: style: Condition 'MEM_32bits()' is always false [knownConditionTrueFalse] rspamd-3.8.1/contrib/zstd/huf_compress.c:1041:103: note: Calling function 'MEM_32bits' returns 0 rspamd-3.8.1/contrib/zstd/huf_compress.c:1041:103: note: Condition 'MEM_32bits()' is always false rspamd-3.8.1/contrib/zstd/huf_compress.c:1043:23: style: Condition 'MEM_32bits()' is always false [knownConditionTrueFalse] rspamd-3.8.1/contrib/zstd/huf_compress.c:1043:23: note: Calling function 'MEM_32bits' returns 0 rspamd-3.8.1/contrib/zstd/huf_compress.c:1043:23: note: Condition 'MEM_32bits()' is always false rspamd-3.8.1/contrib/zstd/huf_compress.c:322:45: style:inconclusive: Function 'HUF_getNbBitsFromCTable' argument 1 names different: declaration 'symbolTable' definition 'CTable'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/zstd/huf.h:201:45: note: Function 'HUF_getNbBitsFromCTable' argument 1 names different: declaration 'symbolTable' definition 'CTable'. rspamd-3.8.1/contrib/zstd/huf_compress.c:322:45: note: Function 'HUF_getNbBitsFromCTable' argument 1 names different: declaration 'symbolTable' definition 'CTable'. rspamd-3.8.1/contrib/zstd/huf_compress.c:730:32: style:inconclusive: Function 'HUF_buildCTable_wksp' argument 1 names different: declaration 'tree' definition 'CTable'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/zstd/huf.h:168:40: note: Function 'HUF_buildCTable_wksp' argument 1 names different: declaration 'tree' definition 'CTable'. rspamd-3.8.1/contrib/zstd/huf_compress.c:730:32: note: Function 'HUF_buildCTable_wksp' argument 1 names different: declaration 'tree' definition 'CTable'. rspamd-3.8.1/contrib/zstd/huf_compress.c:1409:57: style:inconclusive: Function 'HUF_compress1X_repeat' argument 6 names different: declaration 'tableLog' definition 'huffLog'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/zstd/huf.h:244:58: note: Function 'HUF_compress1X_repeat' argument 6 names different: declaration 'tableLog' definition 'huffLog'. rspamd-3.8.1/contrib/zstd/huf_compress.c:1409:57: note: Function 'HUF_compress1X_repeat' argument 6 names different: declaration 'tableLog' definition 'huffLog'. rspamd-3.8.1/contrib/zstd/huf_compress.c:1426:57: style:inconclusive: Function 'HUF_compress4X_repeat' argument 6 names different: declaration 'tableLog' definition 'huffLog'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/zstd/huf.h:158:58: note: Function 'HUF_compress4X_repeat' argument 6 names different: declaration 'tableLog' definition 'huffLog'. rspamd-3.8.1/contrib/zstd/huf_compress.c:1426:57: note: Function 'HUF_compress4X_repeat' argument 6 names different: declaration 'tableLog' definition 'huffLog'. rspamd-3.8.1/contrib/zstd/huf_compress.c:153:17: style: Variable 'oend' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/zstd/huf_compress.c:1031:17: style: Variable 'oend' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/zstd/huf_compress.c:1143:17: style: Variable 'oend' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/zstd/huf_compress.c:1192:29: style: Parameter 'ostart' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/zstd/huf_compress.c:1192:59: style: Parameter 'oend' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/zstd/zstd_common.c:45:41: style:inconclusive: Function 'ZSTD_getErrorCode' argument 1 names different: declaration 'functionResult' definition 'code'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/zstd/zstd_errors.h:106:58: note: Function 'ZSTD_getErrorCode' argument 1 names different: declaration 'functionResult' definition 'code'. rspamd-3.8.1/contrib/zstd/zstd_common.c:45:41: note: Function 'ZSTD_getErrorCode' argument 1 names different: declaration 'functionResult' definition 'code'. rspamd-3.8.1/contrib/zstd/huf_decompress.c:520:71: style:inconclusive: Boolean expression 'BIT_reloadDStream(bitDPtr)==BIT_DStream_unfinished' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] rspamd-3.8.1/contrib/zstd/huf_decompress.c:532:71: style:inconclusive: Boolean expression 'BIT_reloadDStream(bitDPtr)==BIT_DStream_unfinished' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] rspamd-3.8.1/contrib/zstd/huf_decompress.c:620:33: style:inconclusive: Boolean expression 'op4window->dictBase+window->lowLimit' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] rspamd-3.8.1/contrib/zstd/zstd_compress_literals.c:164:13: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] rspamd-3.8.1/contrib/zstd/zstd_compress_internal.h:760:19: style: Condition 'MEM_64bits()' is always true [knownConditionTrueFalse] rspamd-3.8.1/contrib/zstd/zstd_compress_internal.h:760:19: note: Calling function 'MEM_64bits' returns 1 rspamd-3.8.1/contrib/zstd/zstd_compress_internal.h:760:19: note: Condition 'MEM_64bits()' is always true rspamd-3.8.1/contrib/zstd/zstd_cwksp.h:255:17: style: Variable 'bottom' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/zstd/zstd_cwksp.h:390:11: style: Variable 'top' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/zstd/zstd_compress_sequences.c:165:5: style: Redundant condition: The condition '0 != 1' is redundant since '0 == 0' is sufficient. [redundantCondition] rspamd-3.8.1/contrib/zstd/zstd_compress_sequences.c:315:19: style: Condition 'MEM_32bits()' is always false [knownConditionTrueFalse] rspamd-3.8.1/contrib/zstd/zstd_compress_sequences.c:315:19: note: Calling function 'MEM_32bits' returns 0 rspamd-3.8.1/contrib/zstd/zstd_compress_sequences.c:315:19: note: Condition 'MEM_32bits()' is always false rspamd-3.8.1/contrib/zstd/zstd_compress_sequences.c:317:19: style: Condition 'MEM_32bits()' is always false [knownConditionTrueFalse] rspamd-3.8.1/contrib/zstd/zstd_compress_sequences.c:317:19: note: Calling function 'MEM_32bits' returns 0 rspamd-3.8.1/contrib/zstd/zstd_compress_sequences.c:317:19: note: Condition 'MEM_32bits()' is always false rspamd-3.8.1/contrib/zstd/zstd_compress_sequences.c:348:27: style: Condition 'MEM_32bits()' is always false [knownConditionTrueFalse] rspamd-3.8.1/contrib/zstd/zstd_compress_sequences.c:348:27: note: Calling function 'MEM_32bits' returns 0 rspamd-3.8.1/contrib/zstd/zstd_compress_sequences.c:348:27: note: Condition 'MEM_32bits()' is always false rspamd-3.8.1/contrib/zstd/zstd_compress_sequences.c:350:27: style: Condition 'MEM_32bits()' is always false [knownConditionTrueFalse] rspamd-3.8.1/contrib/zstd/zstd_compress_sequences.c:350:27: note: Calling function 'MEM_32bits' returns 0 rspamd-3.8.1/contrib/zstd/zstd_compress_sequences.c:350:27: note: Condition 'MEM_32bits()' is always false rspamd-3.8.1/contrib/zstd/zstd_compress_sequences.c:353:27: style: Condition 'MEM_32bits()' is always false [knownConditionTrueFalse] rspamd-3.8.1/contrib/zstd/zstd_compress_sequences.c:353:27: note: Calling function 'MEM_32bits' returns 0 rspamd-3.8.1/contrib/zstd/zstd_compress_sequences.c:353:27: note: Condition 'MEM_32bits()' is always false rspamd-3.8.1/contrib/zstd/zstd_compress_sequences.c:355:27: style: Condition 'MEM_32bits()' is always false [knownConditionTrueFalse] rspamd-3.8.1/contrib/zstd/zstd_compress_sequences.c:355:27: note: Calling function 'MEM_32bits' returns 0 rspamd-3.8.1/contrib/zstd/zstd_compress_sequences.c:355:27: note: Condition 'MEM_32bits()' is always false rspamd-3.8.1/contrib/zstd/zstd_ddict.c:169:42: style:inconclusive: Function 'ZSTD_createDDict' argument 1 names different: declaration 'dictBuffer' definition 'dict'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/zstd/zstd.h:966:54: note: Function 'ZSTD_createDDict' argument 1 names different: declaration 'dictBuffer' definition 'dict'. rspamd-3.8.1/contrib/zstd/zstd_ddict.c:169:42: note: Function 'ZSTD_createDDict' argument 1 names different: declaration 'dictBuffer' definition 'dict'. rspamd-3.8.1/contrib/zstd/zstd_ddict.c:187:39: style:inconclusive: Function 'ZSTD_initStaticDDict' argument 1 names different: declaration 'workspace' definition 'sBuffer'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/zstd/zstd.h:1706:47: note: Function 'ZSTD_initStaticDDict' argument 1 names different: declaration 'workspace' definition 'sBuffer'. rspamd-3.8.1/contrib/zstd/zstd_ddict.c:187:39: note: Function 'ZSTD_initStaticDDict' argument 1 names different: declaration 'workspace' definition 'sBuffer'. rspamd-3.8.1/contrib/zstd/zstd_ddict.c:187:55: style:inconclusive: Function 'ZSTD_initStaticDDict' argument 2 names different: declaration 'workspaceSize' definition 'sBufferSize'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/zstd/zstd.h:1706:65: note: Function 'ZSTD_initStaticDDict' argument 2 names different: declaration 'workspaceSize' definition 'sBufferSize'. rspamd-3.8.1/contrib/zstd/zstd_ddict.c:187:55: note: Function 'ZSTD_initStaticDDict' argument 2 names different: declaration 'workspaceSize' definition 'sBufferSize'. rspamd-3.8.1/contrib/zstd/zstd_compress_superblock.c:51:17: style: Variable 'oend' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/zstd/zstd_compress_superblock.c:173:17: style: Variable 'oend' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/zstd/zstd_compress_superblock.c:276:17: style: Variable 'oend' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/zstd/zstd_compress_superblock.c:448:17: style: Variable 'oend' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/zstd/zstd_compress_superblock.c:141:22: style: Variable 'litLengthSum' is assigned a value that is never used. [unreadVariable] rspamd-3.8.1/contrib/zstd/zstd_decompress_block.c:2019:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tableLog [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/zstd/zstd_decompress.c:342:31: style:inconclusive: Function 'ZSTD_copyDCtx' argument 1 names different: declaration 'dctx' definition 'dstDCtx'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/zstd/zstd.h:2765:52: note: Function 'ZSTD_copyDCtx' argument 1 names different: declaration 'dctx' definition 'dstDCtx'. rspamd-3.8.1/contrib/zstd/zstd_decompress.c:342:31: note: Function 'ZSTD_copyDCtx' argument 1 names different: declaration 'dctx' definition 'dstDCtx'. rspamd-3.8.1/contrib/zstd/zstd_decompress.c:342:57: style:inconclusive: Function 'ZSTD_copyDCtx' argument 2 names different: declaration 'preparedDCtx' definition 'srcDCtx'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/zstd/zstd.h:2765:75: note: Function 'ZSTD_copyDCtx' argument 2 names different: declaration 'preparedDCtx' definition 'srcDCtx'. rspamd-3.8.1/contrib/zstd/zstd_decompress.c:342:57: note: Function 'ZSTD_copyDCtx' argument 2 names different: declaration 'preparedDCtx' definition 'srcDCtx'. rspamd-3.8.1/contrib/zstd/zstd_decompress.c:1175:79: style:inconclusive: Function 'ZSTD_decompress' argument 4 names different: declaration 'compressedSize' definition 'srcSize'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/zstd/zstd.h:165:55: note: Function 'ZSTD_decompress' argument 4 names different: declaration 'compressedSize' definition 'srcSize'. rspamd-3.8.1/contrib/zstd/zstd_decompress.c:1175:79: note: Function 'ZSTD_decompress' argument 4 names different: declaration 'compressedSize' definition 'srcSize'. rspamd-3.8.1/contrib/zstd/zstd_decompress.c:1730:50: style:inconclusive: Function 'ZSTD_initDStream_usingDDict' argument 1 names different: declaration 'zds' definition 'dctx'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/zstd/zstd.h:2588:69: note: Function 'ZSTD_initDStream_usingDDict' argument 1 names different: declaration 'zds' definition 'dctx'. rspamd-3.8.1/contrib/zstd/zstd_decompress.c:1730:50: note: Function 'ZSTD_initDStream_usingDDict' argument 1 names different: declaration 'zds' definition 'dctx'. rspamd-3.8.1/contrib/zstd/zstd_decompress.c:1741:40: style:inconclusive: Function 'ZSTD_resetDStream' argument 1 names different: declaration 'zds' definition 'dctx'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/zstd/zstd.h:2598:59: note: Function 'ZSTD_resetDStream' argument 1 names different: declaration 'zds' definition 'dctx'. rspamd-3.8.1/contrib/zstd/zstd_decompress.c:1741:40: note: Function 'ZSTD_resetDStream' argument 1 names different: declaration 'zds' definition 'dctx'. rspamd-3.8.1/contrib/zstd/zstd_decompress.c:1868:64: style:inconclusive: Function 'ZSTD_DCtx_setParameter' argument 2 names different: declaration 'param' definition 'dParam'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/zstd/zstd.h:646:76: note: Function 'ZSTD_DCtx_setParameter' argument 2 names different: declaration 'param' definition 'dParam'. rspamd-3.8.1/contrib/zstd/zstd_decompress.c:1868:64: note: Function 'ZSTD_DCtx_setParameter' argument 2 names different: declaration 'param' definition 'dParam'. rspamd-3.8.1/contrib/zstd/zstd_decompress.c:1922:48: style:inconclusive: Function 'ZSTD_sizeof_DStream' argument 1 names different: declaration 'zds' definition 'dctx'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/zstd/zstd.h:1145:60: note: Function 'ZSTD_sizeof_DStream' argument 1 names different: declaration 'zds' definition 'dctx'. rspamd-3.8.1/contrib/zstd/zstd_decompress.c:1922:48: note: Function 'ZSTD_sizeof_DStream' argument 1 names different: declaration 'zds' definition 'dctx'. rspamd-3.8.1/contrib/zstd/zstd_decompress.c:974:15: style: Variable 'oBlockEnd' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/zstd/zstd_decompress.c:1196:48: style: Parameter 'dctx' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/zstd/zstd_decompress.c:1216:52: style: Parameter 'dctx' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/zstd/zstd_decompress.c:1241:40: style: Parameter 'dctx' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/zstd/zstd_decompress.c:1842:42: style: Parameter 'dctx' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/zstd/zstd_decompress.c:1962:47: style: Parameter 'zds' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/zstd/zstd_decompress.c:1975:55: style: Parameter 'zds' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/zstd/zstd_decompress.c:2004:49: style: Parameter 'oend' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/zstd/zstd_decompress.c:1666:36: style: int result is returned as long value. If the return value is long to avoid loss of information, then you have loss of information. [truncLongCastReturn] rspamd-3.8.1/contrib/zstd/zstd_decompress.c:724:12: error: Uninitialized variable: frameSizeInfo.nbBlocks [uninitvar] rspamd-3.8.1/contrib/zstd/divsufsort.c:258:23: style: Parameter 'first' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/zstd/divsufsort.c:258:35: style: Parameter 'last' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/zstd/divsufsort.c:551:41: style: Parameter 'last' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/zstd/divsufsort.c:636:47: style: Parameter 'last' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/zstd/divsufsort.c:686:23: style: Parameter 'first' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/zstd/divsufsort.c:686:48: style: Parameter 'last' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/zstd/divsufsort.c:927:52: style: Parameter 'last' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/zstd/divsufsort.c:1071:31: style: Parameter 'middle' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/zstd/divsufsort.c:1113:26: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/zstd/divsufsort.c:1113:42: style: Parameter 'last' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/zstd/divsufsort.c:1117:16: style: Variable 'e' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/zstd/divsufsort.c:1138:33: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/zstd/divsufsort.c:1138:49: style: Parameter 'last' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/zstd/divsufsort.c:1176:19: style: Parameter 'SA' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/zstd/divsufsort.c:1444:8: style: Variable 'PAb' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/zstd/divsufsort.c:1680:20: style: Variable 'orig' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/zstd/divsufsort.c:1752:20: style: Variable 'orig' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/zstd/zstd_decompress_block.c:1395:9: style: Redundant condition: The condition 'BIT_DStream_completed > 0' is redundant since 'BIT_DStream_completed > 1' is sufficient. [redundantCondition] rspamd-3.8.1/contrib/zstd/zstd_decompress_block.c:1612:9: style: Redundant condition: The condition 'BIT_DStream_completed > 0' is redundant since 'BIT_DStream_completed > 1' is sufficient. [redundantCondition] rspamd-3.8.1/contrib/zstd/zstd_decompress_block.c:145:42: style: Condition 'ZSTD_DCtx_get_bmi2(dctx)' is always false [knownConditionTrueFalse] rspamd-3.8.1/contrib/zstd/zstd_decompress_block.c:145:42: note: Calling function 'ZSTD_DCtx_get_bmi2' returns 0 rspamd-3.8.1/contrib/zstd/zstd_decompress_block.c:145:42: note: Condition 'ZSTD_DCtx_get_bmi2(dctx)' is always false rspamd-3.8.1/contrib/zstd/zstd_decompress_block.c:988:9: style: Condition 'MEM_32bits()' is always false [knownConditionTrueFalse] rspamd-3.8.1/contrib/zstd/zstd_decompress_block.c:988:9: note: Calling function 'MEM_32bits' returns 0 rspamd-3.8.1/contrib/zstd/zstd_decompress_block.c:988:9: note: Condition 'MEM_32bits()' is always false rspamd-3.8.1/contrib/zstd/zstd_decompress_block.c:1080:9: style: Condition 'MEM_32bits()' is always false [knownConditionTrueFalse] rspamd-3.8.1/contrib/zstd/zstd_decompress_block.c:1080:9: note: Calling function 'MEM_32bits' returns 0 rspamd-3.8.1/contrib/zstd/zstd_decompress_block.c:1080:9: note: Condition 'MEM_32bits()' is always false rspamd-3.8.1/contrib/zstd/zstd_decompress_block.c:1244:31: style: Condition 'MEM_32bits()' is always false [knownConditionTrueFalse] rspamd-3.8.1/contrib/zstd/zstd_decompress_block.c:1244:31: note: Calling function 'MEM_32bits' returns 0 rspamd-3.8.1/contrib/zstd/zstd_decompress_block.c:1244:31: note: Condition 'MEM_32bits()' is always false rspamd-3.8.1/contrib/zstd/zstd_decompress_block.c:1254:35: style: Condition 'MEM_32bits()' is always false [knownConditionTrueFalse] rspamd-3.8.1/contrib/zstd/zstd_decompress_block.c:1254:35: note: Calling function 'MEM_32bits' returns 0 rspamd-3.8.1/contrib/zstd/zstd_decompress_block.c:1254:35: note: Condition 'MEM_32bits()' is always false rspamd-3.8.1/contrib/zstd/zstd_decompress_block.c:1283:23: style: Condition 'MEM_32bits()' is always false [knownConditionTrueFalse] rspamd-3.8.1/contrib/zstd/zstd_decompress_block.c:1283:23: note: Calling function 'MEM_32bits' returns 0 rspamd-3.8.1/contrib/zstd/zstd_decompress_block.c:1283:23: note: Condition 'MEM_32bits()' is always false rspamd-3.8.1/contrib/zstd/zstd_decompress_block.c:1285:23: style: Condition 'MEM_64bits()' is always true [knownConditionTrueFalse] rspamd-3.8.1/contrib/zstd/zstd_decompress_block.c:1285:23: note: Calling function 'MEM_64bits' returns 1 rspamd-3.8.1/contrib/zstd/zstd_decompress_block.c:1285:23: note: Condition 'MEM_64bits()' is always true rspamd-3.8.1/contrib/zstd/zstd_decompress_block.c:1297:23: style: Condition 'MEM_32bits()' is always false [knownConditionTrueFalse] rspamd-3.8.1/contrib/zstd/zstd_decompress_block.c:1297:23: note: Calling function 'MEM_32bits' returns 0 rspamd-3.8.1/contrib/zstd/zstd_decompress_block.c:1297:23: note: Condition 'MEM_32bits()' is always false rspamd-3.8.1/contrib/zstd/zstd_decompress_block.c:1305:23: style: Condition 'MEM_32bits()' is always false [knownConditionTrueFalse] rspamd-3.8.1/contrib/zstd/zstd_decompress_block.c:1305:23: note: Calling function 'MEM_32bits' returns 0 rspamd-3.8.1/contrib/zstd/zstd_decompress_block.c:1305:23: note: Condition 'MEM_32bits()' is always false rspamd-3.8.1/contrib/zstd/zstd_decompress_block.c:1509:19: style: Condition 'nbSeq>0' is always false [knownConditionTrueFalse] rspamd-3.8.1/contrib/zstd/zstd_decompress_block.c:1481:23: note: Assuming that condition 'nbSeq>0' is not redundant rspamd-3.8.1/contrib/zstd/zstd_decompress_block.c:1509:19: note: Condition 'nbSeq>0' is always false rspamd-3.8.1/contrib/zstd/zstd_decompress_block.c:2045:19: style: Condition 'MEM_64bits()' is always true [knownConditionTrueFalse] rspamd-3.8.1/contrib/zstd/zstd_decompress_block.c:2045:19: note: Calling function 'MEM_64bits' returns 1 rspamd-3.8.1/contrib/zstd/zstd_decompress_block.c:2045:19: note: Condition 'MEM_64bits()' is always true rspamd-3.8.1/contrib/zstd/zstd_decompress_block.c:2143:48: style: Condition 'MEM_64bits()' is always true [knownConditionTrueFalse] rspamd-3.8.1/contrib/zstd/zstd_decompress_block.c:2143:48: note: Calling function 'MEM_64bits' returns 1 rspamd-3.8.1/contrib/zstd/zstd_decompress_block.c:2143:48: note: Condition 'MEM_64bits()' is always true rspamd-3.8.1/contrib/zstd/zstd_compress.c:2916:44: style:inconclusive: Boolean expression 'cSize==((unsigned long)-ZSTD_error_dstSize_tooSmall)' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] rspamd-3.8.1/contrib/zstd/zstd_compress.c:4357:46: style:inconclusive: Boolean expression 'blockSize>=remaining' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] rspamd-3.8.1/contrib/zstd/zstd_compress.c:5332:32: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] rspamd-3.8.1/contrib/zstd/zstd_compress.c:2601:23: style: Condition 'MEM_32bits()' is always false [knownConditionTrueFalse] rspamd-3.8.1/contrib/zstd/zstd_compress.c:2601:23: note: Calling function 'MEM_32bits' returns 0 rspamd-3.8.1/contrib/zstd/zstd_compress.c:2601:23: note: Condition 'MEM_32bits()' is always false rspamd-3.8.1/contrib/zstd/zstd_decompress_block.c:805:17: style: Variable 'oend' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/zstd/zstd_decompress_block.c:873:17: style: Parameter 'oend' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/zstd/zstd_decompress_block.c:881:17: style: Variable 'oend_w' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/zstd/zstd_decompress_block.c:920:17: style: Parameter 'oend' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/zstd/zstd_decompress_block.c:971:17: style: Variable 'oMatchEnd' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/zstd/zstd_decompress_block.c:972:17: style: Variable 'oend_w' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/zstd/zstd_decompress_block.c:1069:17: style: Variable 'oMatchEnd' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/zstd/zstd_decompress_block.c:1994:43: style: Parameter 'op' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/zstd/zstd_compress.c:424:51: style:inconclusive: Function 'ZSTD_cParam_getBounds' argument 1 names different: declaration 'cParam' definition 'param'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/zstd/zstd.h:521:63: note: Function 'ZSTD_cParam_getBounds' argument 1 names different: declaration 'cParam' definition 'param'. rspamd-3.8.1/contrib/zstd/zstd_compress.c:424:51: note: Function 'ZSTD_cParam_getBounds' argument 1 names different: declaration 'cParam' definition 'param'. rspamd-3.8.1/contrib/zstd/zstd_compress.c:767:55: style:inconclusive: Function 'ZSTD_CCtxParams_setParameter' argument 1 names different: declaration 'params' definition 'CCtxParams'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/zstd/zstd.h:2219:74: note: Function 'ZSTD_CCtxParams_setParameter' argument 1 names different: declaration 'params' definition 'CCtxParams'. rspamd-3.8.1/contrib/zstd/zstd_compress.c:767:55: note: Function 'ZSTD_CCtxParams_setParameter' argument 1 names different: declaration 'params' definition 'CCtxParams'. rspamd-3.8.1/contrib/zstd/zstd_compress.c:1018:33: style:inconclusive: Function 'ZSTD_CCtxParams_getParameter' argument 1 names different: declaration 'params' definition 'CCtxParams'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/zstd/zstd.h:2226:80: note: Function 'ZSTD_CCtxParams_getParameter' argument 1 names different: declaration 'params' definition 'CCtxParams'. rspamd-3.8.1/contrib/zstd/zstd_compress.c:1018:33: note: Function 'ZSTD_CCtxParams_getParameter' argument 1 names different: declaration 'params' definition 'CCtxParams'. rspamd-3.8.1/contrib/zstd/zstd_compress.c:1348:53: style:inconclusive: Function 'ZSTD_checkCParams' argument 1 names different: declaration 'params' definition 'cParams'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/zstd/zstd.h:1795:72: note: Function 'ZSTD_checkCParams' argument 1 names different: declaration 'params' definition 'cParams'. rspamd-3.8.1/contrib/zstd/zstd_compress.c:1348:53: note: Function 'ZSTD_checkCParams' argument 1 names different: declaration 'params' definition 'cParams'. rspamd-3.8.1/contrib/zstd/zstd_compress.c:2481:33: style:inconclusive: Function 'ZSTD_copyCCtx' argument 1 names different: declaration 'cctx' definition 'dstCCtx'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/zstd/zstd.h:2645:33: note: Function 'ZSTD_copyCCtx' argument 1 names different: declaration 'cctx' definition 'dstCCtx'. rspamd-3.8.1/contrib/zstd/zstd_compress.c:2481:33: note: Function 'ZSTD_copyCCtx' argument 1 names different: declaration 'cctx' definition 'dstCCtx'. rspamd-3.8.1/contrib/zstd/zstd_compress.c:2481:59: style:inconclusive: Function 'ZSTD_copyCCtx' argument 2 names different: declaration 'preparedCCtx' definition 'srcCCtx'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/zstd/zstd.h:2645:56: note: Function 'ZSTD_copyCCtx' argument 2 names different: declaration 'preparedCCtx' definition 'srcCCtx'. rspamd-3.8.1/contrib/zstd/zstd_compress.c:2481:59: note: Function 'ZSTD_copyCCtx' argument 2 names different: declaration 'preparedCCtx' definition 'srcCCtx'. rspamd-3.8.1/contrib/zstd/zstd_compress.c:2937:89: style:inconclusive: Function 'ZSTD_selectBlockCompressor' argument 2 names different: declaration 'rowMatchfinderMode' definition 'useRowMatchFinder'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/zstd/zstd_compress_internal.h:510:89: note: Function 'ZSTD_selectBlockCompressor' argument 2 names different: declaration 'rowMatchfinderMode' definition 'useRowMatchFinder'. rspamd-3.8.1/contrib/zstd/zstd_compress.c:2937:89: note: Function 'ZSTD_selectBlockCompressor' argument 2 names different: declaration 'rowMatchfinderMode' definition 'useRowMatchFinder'. rspamd-3.8.1/contrib/zstd/zstd_compress.c:5135:43: style:inconclusive: Function 'ZSTD_compress_usingDict' argument 1 names different: declaration 'ctx' definition 'cctx'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/zstd/zstd.h:907:55: note: Function 'ZSTD_compress_usingDict' argument 1 names different: declaration 'ctx' definition 'cctx'. rspamd-3.8.1/contrib/zstd/zstd_compress.c:5135:43: note: Function 'ZSTD_compress_usingDict' argument 1 names different: declaration 'ctx' definition 'cctx'. rspamd-3.8.1/contrib/zstd/zstd_compress.c:5303:51: style:inconclusive: Function 'ZSTD_createCDict_advanced' argument 1 names different: declaration 'dict' definition 'dictBuffer'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/zstd/zstd.h:1731:70: note: Function 'ZSTD_createCDict_advanced' argument 1 names different: declaration 'dict' definition 'dictBuffer'. rspamd-3.8.1/contrib/zstd/zstd_compress.c:5303:51: note: Function 'ZSTD_createCDict_advanced' argument 1 names different: declaration 'dict' definition 'dictBuffer'. rspamd-3.8.1/contrib/zstd/zstd_compress.c:5324:33: style:inconclusive: Function 'ZSTD_createCDict_advanced2' argument 5 names different: declaration 'cctxParams' definition 'originalCctxParams'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/zstd/zstd.h:1760:29: note: Function 'ZSTD_createCDict_advanced2' argument 5 names different: declaration 'cctxParams' definition 'originalCctxParams'. rspamd-3.8.1/contrib/zstd/zstd_compress.c:5324:33: note: Function 'ZSTD_createCDict_advanced2' argument 5 names different: declaration 'cctxParams' definition 'originalCctxParams'. rspamd-3.8.1/contrib/zstd/zstd_compress.c:5370:42: style:inconclusive: Function 'ZSTD_createCDict' argument 1 names different: declaration 'dictBuffer' definition 'dict'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/zstd/zstd.h:942:54: note: Function 'ZSTD_createCDict' argument 1 names different: declaration 'dictBuffer' definition 'dict'. rspamd-3.8.1/contrib/zstd/zstd_compress.c:5370:42: note: Function 'ZSTD_createCDict' argument 1 names different: declaration 'dictBuffer' definition 'dict'. rspamd-3.8.1/contrib/zstd/zstd_compress.c:5381:54: style:inconclusive: Function 'ZSTD_createCDict_byReference' argument 1 names different: declaration 'dictBuffer' definition 'dict'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/zstd/zstd.h:1780:73: note: Function 'ZSTD_createCDict_byReference' argument 1 names different: declaration 'dictBuffer' definition 'dict'. rspamd-3.8.1/contrib/zstd/zstd_compress.c:5381:54: note: Function 'ZSTD_createCDict_byReference' argument 1 names different: declaration 'dictBuffer' definition 'dict'. rspamd-3.8.1/contrib/zstd/zstd_compress.c:5392:35: style:inconclusive: Function 'ZSTD_freeCDict' argument 1 names different: declaration 'CDict' definition 'cdict'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/zstd/zstd.h:948:52: note: Function 'ZSTD_freeCDict' argument 1 names different: declaration 'CDict' definition 'cdict'. rspamd-3.8.1/contrib/zstd/zstd_compress.c:5392:35: note: Function 'ZSTD_freeCDict' argument 1 names different: declaration 'CDict' definition 'cdict'. rspamd-3.8.1/contrib/zstd/zstd_compress.c:5624:64: style:inconclusive: Function 'ZSTD_resetCStream' argument 2 names different: declaration 'pledgedSrcSize' definition 'pss'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/zstd/zstd.h:2530:64: note: Function 'ZSTD_resetCStream' argument 2 names different: declaration 'pledgedSrcSize' definition 'pss'. rspamd-3.8.1/contrib/zstd/zstd_compress.c:5624:64: note: Function 'ZSTD_resetCStream' argument 2 names different: declaration 'pledgedSrcSize' definition 'pss'. rspamd-3.8.1/contrib/zstd/zstd_compress.c:5692:77: style:inconclusive: Function 'ZSTD_initCStream_advanced' argument 5 names different: declaration 'pledgedSrcSize' definition 'pss'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/zstd/zstd.h:2474:46: note: Function 'ZSTD_initCStream_advanced' argument 5 names different: declaration 'pledgedSrcSize' definition 'pss'. rspamd-3.8.1/contrib/zstd/zstd_compress.c:5692:77: note: Function 'ZSTD_initCStream_advanced' argument 5 names different: declaration 'pledgedSrcSize' definition 'pss'. rspamd-3.8.1/contrib/zstd/zstd_compress.c:5717:93: style:inconclusive: Function 'ZSTD_initCStream_srcSize' argument 3 names different: declaration 'pledgedSrcSize' definition 'pss'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/zstd/zstd.h:2434:45: note: Function 'ZSTD_initCStream_srcSize' argument 3 names different: declaration 'pledgedSrcSize' definition 'pss'. rspamd-3.8.1/contrib/zstd/zstd_compress.c:5717:93: note: Function 'ZSTD_initCStream_srcSize' argument 3 names different: declaration 'pledgedSrcSize' definition 'pss'. rspamd-3.8.1/contrib/zstd/zstd_compress.c:6688:49: style:inconclusive: Function 'ZSTD_compressSequences' argument 3 names different: declaration 'dstSize' definition 'dstCapacity'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/zstd/zstd.h:1561:60: note: Function 'ZSTD_compressSequences' argument 3 names different: declaration 'dstSize' definition 'dstCapacity'. rspamd-3.8.1/contrib/zstd/zstd_compress.c:6688:49: note: Function 'ZSTD_compressSequences' argument 3 names different: declaration 'dstSize' definition 'dstCapacity'. rspamd-3.8.1/contrib/zstd/zstd_compress.c:6882:85: style:inconclusive: Function 'ZSTD_getCParams' argument 2 names different: declaration 'estimatedSrcSize' definition 'srcSizeHint'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/zstd/zstd.h:1785:104: note: Function 'ZSTD_getCParams' argument 2 names different: declaration 'estimatedSrcSize' definition 'srcSizeHint'. rspamd-3.8.1/contrib/zstd/zstd_compress.c:6882:85: note: Function 'ZSTD_getCParams' argument 2 names different: declaration 'estimatedSrcSize' definition 'srcSizeHint'. rspamd-3.8.1/contrib/zstd/zstd_compress.c:6906:73: style:inconclusive: Function 'ZSTD_getParams' argument 2 names different: declaration 'estimatedSrcSize' definition 'srcSizeHint'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/zstd/zstd.h:1790:92: note: Function 'ZSTD_getParams' argument 2 names different: declaration 'estimatedSrcSize' definition 'srcSizeHint'. rspamd-3.8.1/contrib/zstd/zstd_compress.c:6906:73: note: Function 'ZSTD_getParams' argument 2 names different: declaration 'estimatedSrcSize' definition 'srcSizeHint'. rspamd-3.8.1/contrib/zstd/zstd_compress.c:6912:16: style:inconclusive: Function 'ZSTD_registerSequenceProducer' argument 1 names different: declaration 'cctx' definition 'zc'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/zstd/zstd.h:2965:14: note: Function 'ZSTD_registerSequenceProducer' argument 1 names different: declaration 'cctx' definition 'zc'. rspamd-3.8.1/contrib/zstd/zstd_compress.c:6912:16: note: Function 'ZSTD_registerSequenceProducer' argument 1 names different: declaration 'cctx' definition 'zc'. rspamd-3.8.1/contrib/zstd/zstd_compress.c:6912:26: style:inconclusive: Function 'ZSTD_registerSequenceProducer' argument 2 names different: declaration 'sequenceProducerState' definition 'mState'. [funcArgNamesDifferent] rspamd-3.8.1/contrib/zstd/zstd.h:2966:9: note: Function 'ZSTD_registerSequenceProducer' argument 2 names different: declaration 'sequenceProducerState' definition 'mState'. rspamd-3.8.1/contrib/zstd/zstd_compress.c:6912:26: note: Function 'ZSTD_registerSequenceProducer' argument 2 names different: declaration 'sequenceProducerState' definition 'mState'. rspamd-3.8.1/contrib/zstd/zstd_compress.c:2626:56: style: Parameter 'cctxParams' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/zstd/zstd_compress.c:2789:17: style: Variable 'CTable_LitLength' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/zstd/zstd_compress.c:2790:17: style: Variable 'CTable_OffsetBits' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/zstd/zstd_compress.c:2791:17: style: Variable 'CTable_MatchLength' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/zstd/zstd_compress.c:2798:17: style: Variable 'oend' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/zstd/zstd_compress.c:3429:17: style: Variable 'wkspEnd' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/zstd/zstd_compress.c:3557:17: style: Variable 'oend' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/zstd/zstd_compress.c:3735:64: style: Parameter 'seqStore' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/zstd/zstd_compress.c:4723:48: style: Parameter 'normalizedCounter' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/contrib/zstd/zstd_compress.c:5767:17: style: Variable 'oend' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/zstd/zstd_compress.c:5607:36: style: int result is returned as long value. If the return value is long to avoid loss of information, then you have loss of information. [truncLongCastReturn] rspamd-3.8.1/contrib/zstd/zstd_compress.c:2699:24: error: Uninitialized variables: stats.Offtype, stats.MLtype [uninitvar] rspamd-3.8.1/contrib/zstd/zstd_compress.c:5019:19: style: Variable 'fhSize' is assigned a value that is never used. [unreadVariable] rspamd-3.8.1/contrib/zstd/zstd_ldm.c:632:26: style: Condition 'remaining=sequence.litLength+sequence.matchLength' is not redundant rspamd-3.8.1/contrib/zstd/zstd_ldm.c:632:26: note: Condition 'remaininganchor' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] rspamd-3.8.1/contrib/zstd/zstd_fast.c:563:48: style:inconclusive: Boolean expression 'ip0>anchor' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] rspamd-3.8.1/contrib/zstd/zstd_fast.c:581:40: style:inconclusive: Boolean expression 'ip0>anchor' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] rspamd-3.8.1/contrib/zstd/zstd_fast.c:773:18: style:inconclusive: Boolean expression '(U32)(prefixStartIndex-repIndex)>=4' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] rspamd-3.8.1/contrib/zstd/zstd_fast.c:888:30: style:inconclusive: Boolean expression 'ip0>anchor' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] rspamd-3.8.1/contrib/zstd/zstd_fast.c:920:66: style:inconclusive: Boolean expression '(U32)((prefixStartIndex-1)-repIndex2)>=3' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] rspamd-3.8.1/contrib/zstd/zstd_fast.c:398:17: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] rspamd-3.8.1/contrib/zstd/zstd_double_fast.c:192:41: style:inconclusive: Boolean expression 'ip>anchor' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] rspamd-3.8.1/contrib/zstd/zstd_double_fast.c:244:37: style:inconclusive: Boolean expression 'ip>anchor' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] rspamd-3.8.1/contrib/zstd/zstd_double_fast.c:252:29: style:inconclusive: Boolean expression 'ip>anchor' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] rspamd-3.8.1/contrib/zstd/zstd_double_fast.c:401:37: style:inconclusive: Boolean expression 'ip>anchor' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] rspamd-3.8.1/contrib/zstd/zstd_double_fast.c:413:37: style:inconclusive: Boolean expression 'ip>anchor' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] rspamd-3.8.1/contrib/zstd/zstd_double_fast.c:453:41: style:inconclusive: Boolean expression 'ip>anchor' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] rspamd-3.8.1/contrib/zstd/zstd_double_fast.c:465:41: style:inconclusive: Boolean expression 'ip>anchor' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] rspamd-3.8.1/contrib/zstd/zstd_double_fast.c:473:33: style:inconclusive: Boolean expression 'ip>anchor' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] rspamd-3.8.1/contrib/zstd/zstd_double_fast.c:477:33: style:inconclusive: Boolean expression 'ip>anchor' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] rspamd-3.8.1/contrib/zstd/zstd_double_fast.c:645:13: style:inconclusive: Boolean expression '(U32)((prefixStartIndex-1)-repIndex)>=3' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] rspamd-3.8.1/contrib/zstd/zstd_double_fast.c:658:37: style:inconclusive: Boolean expression 'ip>anchor' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] rspamd-3.8.1/contrib/zstd/zstd_double_fast.c:676:41: style:inconclusive: Boolean expression 'ip>anchor' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] rspamd-3.8.1/contrib/zstd/zstd_double_fast.c:682:41: style:inconclusive: Boolean expression 'ip>anchor' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] rspamd-3.8.1/contrib/zstd/zstd_double_fast.c:713:21: style:inconclusive: Boolean expression '(U32)((prefixStartIndex-1)-repIndex2)>=3' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] rspamd-3.8.1/src/client/rspamc.cxx:2046:0: error: #error "buffer size for readdir_r cannot be determined" [preprocessorErrorDirective] rspamd-3.8.1/src/client/rspamdclient.c:145:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COMPRESSION_HEADER [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/client/rspamdclient.c:270:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_STREAM [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/client/rspamdclient.c:347:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_REQUEST [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/zstd/zstd_double_fast.c:300:17: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] rspamd-3.8.1/src/client/rspamdclient.c:86:59: style: Parameter 'conn' can be declared as pointer to const. However it seems that 'rspamd_client_body_handler' is a callback function, if 'conn' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rspamd-3.8.1/src/client/rspamdclient.c:281:19: note: You might need to cast the function pointer here rspamd-3.8.1/src/client/rspamdclient.c:86:59: note: Parameter 'conn' can be declared as pointer to const rspamd-3.8.1/src/client/rspamdclient.c:87:38: style: Parameter 'msg' can be declared as pointer to const. However it seems that 'rspamd_client_body_handler' is a callback function, if 'msg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rspamd-3.8.1/src/client/rspamdclient.c:281:19: note: You might need to cast the function pointer here rspamd-3.8.1/src/client/rspamdclient.c:87:38: note: Parameter 'msg' can be declared as pointer to const rspamd-3.8.1/src/client/rspamdclient.c:322:38: style: Parameter 'attrs' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/fuzzy_storage.c:2231:43: error: There is an unknown macro here somewhere. Configuration is required. If G_DIR_SEPARATOR_S is a macro then please configure it. [unknownMacro] rspamd-3.8.1/src/libcryptobox/cryptobox.h:359:1: debug: Failed to parse 'typedef struct CRYPTO_ALIGN ( 64 ) rspamd_cryptobox_fast_hash_state_s { unsigned char opaque [ 576 ] ; enum rspamd_cryptobox_fast_hash_type type ; } rspamd_cryptobox_fast_hash_state_t ;'. The checking continues anyway. [simplifyTypedef] rspamd-3.8.1/src/controller.c:811:14: debug: Scope::checkVariable found variable 'v' with varid 0. [varid0] rspamd-3.8.1/src/controller.c:3312:15: debug: Scope::checkVariable found variable 'v' with varid 0. [varid0] rspamd-3.8.1/src/controller.c:3345:14: debug: Scope::checkVariable found variable 'v' with varid 0. [varid0] rspamd-3.8.1/src/controller.c:3555:14: debug: Scope::checkVariable found variable 'v' with varid 0. [varid0] rspamd-3.8.1/src/controller.c:4069:16: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] rspamd-3.8.1/src/hs_helper.c:70:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MEM_ALIGN [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/hs_helper.c:136:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/hs_helper.c:323:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CPUID_SSSE3 [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/hs_helper.c:362:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/hs_helper.c:398:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_DBDIR [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libcryptobox/base64/base64.c:392:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_TASK_NEWLINES_CRLF [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libcryptobox/base64/base64.c:368:49: style: Condition 'i>0' is always false [knownConditionTrueFalse] rspamd-3.8.1/src/libcryptobox/base64/base64.c:368:42: note: Assignment 'i=(sizeof(base64_list)/sizeof((base64_list)[0]))-1', assigned value is 0 rspamd-3.8.1/src/libcryptobox/base64/base64.c:368:49: note: Condition 'i>0' is always false rspamd-3.8.1/src/controller.c:291:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_INFO [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/controller.c:422:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET6_ADDRSTRLEN [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/controller.c:523:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNIX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/controller.c:754:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UCL_OBJECT [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/controller.c:811:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable v [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/controller.c:878:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UCL_OBJECT [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/controller.c:908:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UCL_ARRAY [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/controller.c:925:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/controller.c:971:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UCL_ARRAY [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/controller.c:1040:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_INFO [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/controller.c:1115:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UCL_OBJECT [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/controller.c:1159:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UCL_ARRAY [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/controller.c:1203:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UCL_OBJECT [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/controller.c:1268:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_CRITICAL [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/controller.c:1396:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UCL_ARRAY [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/controller.c:1567:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_CRITICAL [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/controller.c:1786:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_INFO [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/controller.c:1823:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/controller.c:1950:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_INFO [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/controller.c:2026:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/controller.c:2074:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_CRITICAL [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/controller.c:2205:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_MAXPRI [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/controller.c:2245:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_CRITICAL [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/controller.c:2368:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_CRITICAL [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/controller.c:2487:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/controller.c:2606:80: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_MEMPOOL_FUZZY_STAT [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/controller.c:2671:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MEM_ALIGN [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/controller.c:2801:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_INFO [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/controller.c:3058:80: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_MEMPOOL_FUZZY_STAT [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/controller.c:3108:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MEM_ALIGN [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/controller.c:3271:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UF_PATH [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/controller.c:3345:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable v [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/controller.c:3421:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_OPTIONS [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/controller.c:3478:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UF_PATH [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/controller.c:3593:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_CRITICAL [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/controller.c:3612:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/controller.c:3633:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_WARNING [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/controller.c:3664:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_WARNING [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/controller.c:3690:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MEM_ALIGN [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/controller.c:4018:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_CRITICAL [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/controller.c:4069:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/zstd/zstd_lazy.c:690:36: style:inconclusive: Boolean expression 'matchIndex>=lowLimit' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] rspamd-3.8.1/contrib/zstd/zstd_lazy.c:733:46: style:inconclusive: Boolean expression 'matchIndex>=dmsLowestIndex' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] rspamd-3.8.1/contrib/zstd/zstd_lazy.c:1680:43: style:inconclusive: Boolean expression 'start>anchor' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] rspamd-3.8.1/contrib/zstd/zstd_lazy.c:1722:37: style:inconclusive: Boolean expression 'ip<=ilimit' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] rspamd-3.8.1/contrib/zstd/zstd_lazy.c:1942:16: style:inconclusive: Boolean expression '(U32)((dictLimit-1)-repIndex)>=3' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] rspamd-3.8.1/contrib/zstd/zstd_lazy.c:1974:20: style:inconclusive: Boolean expression '(U32)((dictLimit-1)-repIndex)>=3' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] rspamd-3.8.1/contrib/zstd/zstd_lazy.c:2006:24: style:inconclusive: Boolean expression '(U32)((dictLimit-1)-repIndex)>=3' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] rspamd-3.8.1/contrib/zstd/zstd_lazy.c:2053:16: style:inconclusive: Boolean expression '(U32)((dictLimit-1)-repIndex)>=3' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] rspamd-3.8.1/contrib/zstd/zstd_lazy.c:1608:28: style: Condition 'mlRep>=4' is always true [knownConditionTrueFalse] rspamd-3.8.1/contrib/zstd/zstd_lazy.c:1605:76: note: Assignment 'mlRep=ZSTD_count(ip+4,ip+4-offset_1,iend)+4', assigned value is greater than 3 rspamd-3.8.1/contrib/zstd/zstd_lazy.c:1608:28: note: Condition 'mlRep>=4' is always true rspamd-3.8.1/contrib/zstd/zstd_lazy.c:1622:32: style: Condition 'mlRep>=4' is always true [knownConditionTrueFalse] rspamd-3.8.1/contrib/zstd/zstd_lazy.c:1619:114: note: Assignment 'mlRep=ZSTD_count_2segments(ip+4,repMatch+4,iend,repMatchEnd,prefixLowest)+4', assigned value is greater than 3 rspamd-3.8.1/contrib/zstd/zstd_lazy.c:1622:32: note: Condition 'mlRep>=4' is always true rspamd-3.8.1/contrib/zstd/zstd_lazy.c:1644:32: style: Condition 'mlRep>=4' is always true [knownConditionTrueFalse] rspamd-3.8.1/contrib/zstd/zstd_lazy.c:1641:80: note: Assignment 'mlRep=ZSTD_count(ip+4,ip+4-offset_1,iend)+4', assigned value is greater than 3 rspamd-3.8.1/contrib/zstd/zstd_lazy.c:1644:32: note: Condition 'mlRep>=4' is always true rspamd-3.8.1/contrib/zstd/zstd_lazy.c:1658:36: style: Condition 'mlRep>=4' is always true [knownConditionTrueFalse] rspamd-3.8.1/contrib/zstd/zstd_lazy.c:1655:118: note: Assignment 'mlRep=ZSTD_count_2segments(ip+4,repMatch+4,iend,repMatchEnd,prefixLowest)+4', assigned value is greater than 3 rspamd-3.8.1/contrib/zstd/zstd_lazy.c:1658:36: note: Condition 'mlRep>=4' is always true rspamd-3.8.1/contrib/zstd/zstd_lazy.c:1981:36: style: Condition 'repLength>=4' is always true [knownConditionTrueFalse] rspamd-3.8.1/contrib/zstd/zstd_lazy.c:1978:112: note: Assignment 'repLength=ZSTD_count_2segments(ip+4,repMatch+4,iend,repEnd,prefixStart)+4', assigned value is greater than 3 rspamd-3.8.1/contrib/zstd/zstd_lazy.c:1981:36: note: Condition 'repLength>=4' is always true rspamd-3.8.1/contrib/zstd/zstd_lazy.c:2013:40: style: Condition 'repLength>=4' is always true [knownConditionTrueFalse] rspamd-3.8.1/contrib/zstd/zstd_lazy.c:2010:116: note: Assignment 'repLength=ZSTD_count_2segments(ip+4,repMatch+4,iend,repEnd,prefixStart)+4', assigned value is greater than 3 rspamd-3.8.1/contrib/zstd/zstd_lazy.c:2013:40: note: Condition 'repLength>=4' is always true rspamd-3.8.1/contrib/zstd/zstd_lazy.c:1730:17: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] rspamd-3.8.1/contrib/zstd/zstd_lazy.c:190:20: style: Variable 'nextPtr' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/zstd/zstd_lazy.c:290:20: style: Variable 'nextCandidateIdxPtr' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/zstd/zstd_lazy.c:656:16: style: Variable 'chainTable' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/zstd/zstd_lazy.c:1176:10: style: Variable 'dmsRow' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/zstd/zstd_lazy.c:1177:11: style: Variable 'dmsTagRow' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/zstd/zstd_lazy.c:906:57: style: Variable '((BYTE*)tagRow)[pos+16]' is assigned a value that is never used. [unreadVariable] rspamd-3.8.1/src/libcryptobox/catena/catena.c:430:9: style: Variable 'expected' can be declared as const array [constVariable] rspamd-3.8.1/src/libcryptobox/chacha20/chacha.c:174:17: style: Variable 'out_start' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libcryptobox/chacha20/chacha.c:253:17: error: Uninitialized variable: &subkey [uninitvar] rspamd-3.8.1/src/libcryptobox/keypair.c:41:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_CRYPTOBOX_MODE_25519 [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libcryptobox/keypair.c:72:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_CRYPTOBOX_MODE_25519 [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libcryptobox/keypair.c:103:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_CRYPTOBOX_MODE_25519 [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libcryptobox/keypair.c:135:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_CRYPTOBOX_MODE_25519 [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libcryptobox/keypair.c:170:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_CRYPTOBOX_MODE_25519 [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libcryptobox/keypair.c:247:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_KEYPAIR_KEX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libcryptobox/keypair.c:339:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_BASE32_DEFAULT [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libcryptobox/keypair.c:391:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_KEYPAIR_KEX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libcryptobox/keypair.c:424:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_KEYPAIR_KEX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libcryptobox/keypair.c:468:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_KEYPAIR_KEX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libcryptobox/keypair.c:545:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_KEYPAIR_HUMAN [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libcryptobox/keypair.c:584:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_KEYPAIR_PUBKEY [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libcryptobox/keypair.c:614:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_KEYPAIR_PUBKEY [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libcryptobox/keypair.c:664:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_KEYPAIR_KEX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libcryptobox/keypair.c:791:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_KEYPAIR_DUMP_HEX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libcryptobox/keypair.c:869:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_KEYPAIR_KEX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libcryptobox/keypair.c:938:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_KEYPAIR_KEX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libcryptobox/keypair.c:987:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_KEYPAIR_KEX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libcryptobox/keypair.c:289:54: style: Parameter 'kp' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libcryptobox/keypair.c:297:52: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libcryptobox/keypair.c:306:53: style: Parameter 'kp' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libcryptobox/keypair.c:314:51: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libcryptobox/keypair.c:445:40: style: Parameter 'kp' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libcryptobox/keypair.c:500:56: style: Parameter 'kp' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libcryptobox/keypair.c:508:64: style: Parameter 'kp' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libcryptobox/keypair.c:516:54: style: Parameter 'pk' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libcryptobox/keypair.c:524:54: style: Parameter 'pk' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libcryptobox/keypairs_cache.c:115:4: warning: Buffer 'rk_25519->pk' is too small, the function 'rspamd_cryptobox_nm' expects a bigger buffer in 2nd argument [argumentSize] rspamd-3.8.1/src/libcryptobox/keypairs_cache.c:115:4: note: Function 'rspamd_cryptobox_nm' is called rspamd-3.8.1/src/libcryptobox/cryptobox.h:193:60: note: Declaration of 2nd function argument. rspamd-3.8.1/src/libcryptobox/keypair_private.h:112:9: note: Passing buffer 'pk' to function that is declared here rspamd-3.8.1/src/libcryptobox/keypairs_cache.c:115:4: note: Buffer 'rk_25519->pk' is too small, the function 'rspamd_cryptobox_nm' expects a bigger buffer in 2nd argument rspamd-3.8.1/src/libcryptobox/keypairs_cache.c:43:29: style: Variable 'elt' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libcryptobox/keypairs_cache.c:52:29: style: Variable 'e1' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libcryptobox/keypairs_cache.c:53:11: style: Variable 'e2' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libmime/archives.c:32:1: error: There is an unknown macro here somewhere. Configuration is required. If INIT_LOG_MODULE is a macro then please configure it. [unknownMacro] rspamd-3.8.1/src/libmime/content_type.c:179:14: debug: Scope::checkVariable found variable 'v' with varid 0. [varid0] rspamd-3.8.1/src/libmime/content_type.c:179:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable v [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libmime/content_type.c:704:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_hash_table_unref [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libmime/content_type.c:875:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_hash_table_unref [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libmime/content_type.c:26:35: style: Parameter 'value_end' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libmime/content_type.c:105:38: style: Parameter 'name_end' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libmime/content_type.c:167:53: style: Parameter 'p1' can be declared as pointer to const. However it seems that 'rspamd_cmp_pieces' is a callback function, if 'p1' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rspamd-3.8.1/src/libmime/content_type.c:197:20: note: You might need to cast the function pointer here rspamd-3.8.1/src/libmime/content_type.c:167:53: note: Parameter 'p1' can be declared as pointer to const rspamd-3.8.1/src/libmime/content_type.c:167:91: style: Parameter 'p2' can be declared as pointer to const. However it seems that 'rspamd_cmp_pieces' is a callback function, if 'p2' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rspamd-3.8.1/src/libmime/content_type.c:197:20: note: You might need to cast the function pointer here rspamd-3.8.1/src/libmime/content_type.c:167:91: note: Parameter 'p2' can be declared as pointer to const rspamd-3.8.1/src/libmime/content_type.c:355:17: style: Variable 'end' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/contrib/zstd/zstd_opt.c:656:22: style:inconclusive: Boolean expression '(repOffset-1)sufficient_len' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] rspamd-3.8.1/contrib/zstd/zstd_opt.c:683:11: style:inconclusive: Boolean expression 'matchIndex3>=matchLow' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] rspamd-3.8.1/contrib/zstd/zstd_opt.c:703:46: style:inconclusive: Boolean expression 'mlen>sufficient_len' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] rspamd-3.8.1/contrib/zstd/zstd_opt.c:743:16: style:inconclusive: Boolean expression 'matchLength>(1<<12)' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] rspamd-3.8.1/contrib/zstd/zstd_opt.c:790:20: style:inconclusive: Boolean expression 'matchLength>(1<<12)' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] rspamd-3.8.1/src/libmime/email_addr.c:277:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rspamd_gstring_free_hard [valueFlowBailoutIncompleteVar] rspamd-3.8.1/contrib/zstd/zstd_opt.c:1091:61: style: Same expression on both sides of '-' because 'ip' and 'istart' represent the same value. [duplicateExpression] rspamd-3.8.1/contrib/zstd/zstd_opt.c:1070:22: note: 'ip' is assigned value 'istart' here. rspamd-3.8.1/contrib/zstd/zstd_opt.c:1091:61: note: Same expression on both sides of '-' because 'ip' and 'istart' represent the same value. rspamd-3.8.1/src/libmime/email_addr.c:337:4: style: Redundant initialization for 'c'. The initialized value is overwritten before it is read. [redundantInitialization] rspamd-3.8.1/src/libmime/email_addr.c:252:45: note: c is initialized rspamd-3.8.1/src/libmime/email_addr.c:337:4: note: c is overwritten rspamd-3.8.1/src/libmime/email_addr.c:105:37: style: Parameter 'addr' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libmime/email_addr.c:559:29: error: Uninitialized variables: addr.raw, addr.addr, addr.user, addr.domain, addr.name, addr.raw_len, addr.addr_len, addr.domain_len, addr.user_len, addr.flags [uninitvar] rspamd-3.8.1/src/libmime/images.c:27:1: error: There is an unknown macro here somewhere. Configuration is required. If INIT_LOG_MODULE is a macro then please configure it. [unknownMacro] rspamd-3.8.1/src/libmime/lang_detection_fasttext.cxx:218:82: style:inconclusive: Function 'rspamd_lang_detection_fasttext_get_nlangs' argument 1 names different: declaration 'ud' definition 'res'. [funcArgNamesDifferent] rspamd-3.8.1/src/libmime/lang_detection_fasttext.h:63:82: note: Function 'rspamd_lang_detection_fasttext_get_nlangs' argument 1 names different: declaration 'ud' definition 'res'. rspamd-3.8.1/src/libmime/lang_detection_fasttext.cxx:218:82: note: Function 'rspamd_lang_detection_fasttext_get_nlangs' argument 1 names different: declaration 'ud' definition 'res'. rspamd-3.8.1/src/libmime/lang_detection_fasttext.cxx:148:65: style: Parameter 'cfg' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libmime/lang_detection_fasttext.cxx:157:54: style: Parameter 'ud' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libmime/lang_detection_fasttext.cxx:168:54: style: Parameter 'ud' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libmime/lang_detection_fasttext.cxx:181:78: style: Parameter 'ud' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libmime/lang_detection_fasttext.cxx:182:41: style: Parameter 'task' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libmime/lang_detection_fasttext.cxx:183:29: style: Parameter 'utf_words' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libmime/lang_detection_fasttext.cxx:210:51: style: Parameter 'ud' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libmime/lang_detection.c:124:1: error: There is an unknown macro here somewhere. Configuration is required. If INIT_LOG_MODULE_PUBLIC is a macro then please configure it. [unknownMacro] rspamd-3.8.1/src/libmime/mime_encoding.c:122:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UChar [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libmime/mime_encoding.c:356:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libmime/mime_encoding.c:421:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libmime/mime_encoding.c:529:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UChar [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libmime/mime_encoding.c:749:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_byte_array_unref [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libmime/message.c:89:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_CRYPTOBOX_HASHFAST_INDEPENDENT [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libmime/message.c:160:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_TOKENIZE_UTF [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libmime/message.c:251:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_TASK_FLAG_BAD_UNICODE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libmime/message.c:538:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_EXCEPTION_NEWLINE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libmime/message.c:641:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_GTUBE_ALL [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libmime/message.c:656:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable METRIC_ACTION_NOACTION [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libmime/message.c:863:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UTEXT_INITIALIZER [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libmime/message.c:1098:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libmime/message.c:1136:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rspamd_url_hash [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libmime/message.c:1157:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_TASK_FLAG_SKIP_PROCESS [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libmime/message.c:1443:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rspamd_lua_traceback [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libmime/mime_encoding.c:117:21: style: Variable 'dend' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libmime/mime_encoding.c:561:13: style: Variable 'end' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libmime/mime_expressions.c:206:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_RE_BODY [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libmime/mime_expressions.c:305:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_RE_MAX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libmime/mime_expressions.c:828:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UCL_OBJECT [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libmime/mime_expressions.c:1025:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_RE_HEADER [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libmime/mime_expressions.c:1069:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_EXPRESSION_MAX_PRIORITY [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libmime/mime_expressions.c:1169:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TBOOLEAN [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libmime/mime_expressions.c:1310:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libmime/mime_expressions.c:1412:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libmime/mime_expressions.c:2242:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libmime/mime_expressions.c:2339:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_TASK_FLAG_PASS_ALL [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libmime/message.c:1033:13: style: Condition 'part->ct' is always true [knownConditionTrueFalse] rspamd-3.8.1/src/libmime/message.c:210:35: style: Variable 'lang' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libmime/message.c:630:58: style: Parameter 'mp' can be declared as pointer to const. However it seems that 'rspamd_multipattern_gtube_cb' is a callback function, if 'mp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rspamd-3.8.1/src/libmime/message.c:691:14: note: You might need to cast the function pointer here rspamd-3.8.1/src/libmime/message.c:630:58: note: Parameter 'mp' can be declared as pointer to const rspamd-3.8.1/src/libmime/message.c:638:22: style: Variable 'task' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libmime/message.c:805:63: style: Parameter 'task' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libmime/message.c:907:29: style: Variable 'parent' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libmime/message.c:1109:11: error: Uninitialized variable: tp->utf_words [uninitvar] rspamd-3.8.1/src/libmime/message.c:1580:19: error: Uninitialized variable: text_part->language [uninitvar] rspamd-3.8.1/src/libmime/message.c:884:17: style: Variable 'score' is assigned a value that is never used. [unreadVariable] rspamd-3.8.1/src/controller.c:361:15: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] rspamd-3.8.1/src/libmime/mime_headers.c:985:6: error: Syntax Error: AST broken, 'if' doesn't have two operands. [internalAstError] rspamd-3.8.1/src/controller.c:415:69: style: Parameter 'session' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/controller.c:918:59: style: Parameter 'bk' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/controller.c:1024:21: style: Variable 'map' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/controller.c:1191:44: style: Parameter 'rrd_result' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/controller.c:1192:21: style: Parameter 'acc' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/controller.c:1246:23: style: Variable 'value' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/controller.c:1495:46: style: Parameter 'ud' can be declared as pointer to const. However it seems that 'rspamd_controller_history_lua_fin_task' is a callback function, if 'ud' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rspamd-3.8.1/src/controller.c:1550:13: note: You might need to cast the function pointer here rspamd-3.8.1/src/controller.c:1495:46: note: Parameter 'ud' can be declared as pointer to const rspamd-3.8.1/src/controller.c:1511:23: style: Variable 'found' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/controller.c:1710:39: style: Variable 'ctx' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/controller.c:2306:25: style: Variable 'cfg_action' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/controller.c:2358:24: style: Variable 'sym' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/controller.c:2481:21: style: Variable 'map' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/controller.c:3313:24: style: Variable 'value' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/controller.c:3417:38: style: Parameter 'msg' can be declared as pointer to const. However it seems that 'rspamd_controller_handle_unknown' is a callback function, if 'msg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rspamd-3.8.1/src/controller.c:4235:14: note: You might need to cast the function pointer here rspamd-3.8.1/src/controller.c:3417:38: note: Parameter 'msg' can be declared as pointer to const rspamd-3.8.1/src/controller.c:3562:18: style: Variable 'key_tok' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/controller.c:3563:9: style: Variable 'value_tok' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/controller.c:3591:36: style: Variable 'session' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/controller.c:3658:70: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/controller.c:4071:11: style: Variable 'm' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/controller.c:1196:14: style: Variable 'sum' is assigned a value that is never used. [unreadVariable] rspamd-3.8.1/src/libmime/mime_expressions.c:1253:6: style: Condition '!arg' is always false [knownConditionTrueFalse] rspamd-3.8.1/src/libmime/mime_expressions.c:1273:6: style: Condition '!arg' is always false [knownConditionTrueFalse] rspamd-3.8.1/src/libmime/mime_expressions.c:1312:7: style: Condition '!arg' is always false [knownConditionTrueFalse] rspamd-3.8.1/src/libmime/mime_expressions.c:1325:8: style: Condition '!arg' is always false [knownConditionTrueFalse] rspamd-3.8.1/src/libmime/mime_expressions.c:1407:6: style: Condition '!arg' is always false [knownConditionTrueFalse] rspamd-3.8.1/src/libmime/mime_expressions.c:1553:6: style: Condition '!arg' is always false [knownConditionTrueFalse] rspamd-3.8.1/src/libmime/mime_expressions.c:1598:6: style: Condition '!arg' is always false [knownConditionTrueFalse] rspamd-3.8.1/src/libmime/mime_expressions.c:1648:6: style: Condition '!arg' is always false [knownConditionTrueFalse] rspamd-3.8.1/src/libmime/mime_expressions.c:1703:6: style: Condition '!arg' is always false [knownConditionTrueFalse] rspamd-3.8.1/src/libmime/mime_expressions.c:1775:7: style: Condition 'arg' is always true [knownConditionTrueFalse] rspamd-3.8.1/src/libmime/mime_expressions.c:2016:8: warning: Either the condition 'cur_part' is redundant or there is possible null pointer dereference: cur_part. [nullPointerRedundantCheck] rspamd-3.8.1/src/libmime/mime_expressions.c:2030:8: note: Assuming that condition 'cur_part' is not redundant rspamd-3.8.1/src/libmime/mime_expressions.c:2016:8: note: Null pointer dereference rspamd-3.8.1/src/libmime/mime_expressions.c:186:14: style: Variable 'fl1' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libmime/mime_expressions.c:187:14: style: Variable 'fl2' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libmime/mime_expressions.c:848:32: style: Variable 'fd' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libmime/mime_expressions.c:987:28: style: Variable 'fd' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libmime/mime_expressions.c:1061:53: style: Parameter 'atom' can be declared as pointer to const. However it seems that 'rspamd_mime_expr_priority' is a callback function, if 'atom' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rspamd-3.8.1/src/libmime/mime_expressions.c:174:14: note: You might need to cast the function pointer here rspamd-3.8.1/src/libmime/mime_expressions.c:1061:53: note: Parameter 'atom' can be declared as pointer to const rspamd-3.8.1/src/libmime/mime_expressions.c:1063:27: style: Variable 'mime_atom' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libmime/mime_expressions.c:1106:52: style: Parameter 'atom' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libmime/mime_expressions.c:1244:45: style: Parameter 'task' can be declared as pointer to const. However it seems that 'rspamd_compare_encoding' is a callback function, if 'task' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rspamd-3.8.1/src/libmime/mime_expressions.c:149:23: note: You might need to cast the function pointer here rspamd-3.8.1/src/libmime/mime_expressions.c:1244:45: note: Parameter 'task' can be declared as pointer to const rspamd-3.8.1/src/libmime/mime_expressions.c:1244:71: style: Parameter 'unused' can be declared as pointer to const. However it seems that 'rspamd_compare_encoding' is a callback function, if 'unused' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rspamd-3.8.1/src/libmime/mime_expressions.c:149:23: note: You might need to cast the function pointer here rspamd-3.8.1/src/libmime/mime_expressions.c:1244:71: note: Parameter 'unused' can be declared as pointer to const rspamd-3.8.1/src/libmime/mime_expressions.c:1246:30: style: Variable 'arg' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libmime/mime_expressions.c:1266:29: style: Variable 'rh' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libmime/mime_expressions.c:1303:11: style: Variable 'pdiff' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libmime/mime_expressions.c:1468:61: style: Parameter 'args' can be declared as pointer to const. However it seems that 'rspamd_has_only_html_part' is a callback function, if 'args' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rspamd-3.8.1/src/libmime/mime_expressions.c:162:25: note: You might need to cast the function pointer here rspamd-3.8.1/src/libmime/mime_expressions.c:1468:61: note: Parameter 'args' can be declared as pointer to const rspamd-3.8.1/src/libmime/mime_expressions.c:1469:15: style: Parameter 'unused' can be declared as pointer to const. However it seems that 'rspamd_has_only_html_part' is a callback function, if 'unused' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rspamd-3.8.1/src/libmime/mime_expressions.c:162:25: note: You might need to cast the function pointer here rspamd-3.8.1/src/libmime/mime_expressions.c:1469:15: note: Parameter 'unused' can be declared as pointer to const rspamd-3.8.1/src/libmime/mime_expressions.c:1578:45: style: Parameter 'task' can be declared as pointer to const. However it seems that 'rspamd_is_html_balanced' is a callback function, if 'task' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rspamd-3.8.1/src/libmime/mime_expressions.c:166:23: note: You might need to cast the function pointer here rspamd-3.8.1/src/libmime/mime_expressions.c:1578:45: note: Parameter 'task' can be declared as pointer to const rspamd-3.8.1/src/libmime/mime_expressions.c:1578:59: style: Parameter 'args' can be declared as pointer to const. However it seems that 'rspamd_is_html_balanced' is a callback function, if 'args' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rspamd-3.8.1/src/libmime/mime_expressions.c:166:23: note: You might need to cast the function pointer here rspamd-3.8.1/src/libmime/mime_expressions.c:1578:59: note: Parameter 'args' can be declared as pointer to const rspamd-3.8.1/src/libmime/mime_expressions.c:1578:71: style: Parameter 'unused' can be declared as pointer to const. However it seems that 'rspamd_is_html_balanced' is a callback function, if 'unused' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rspamd-3.8.1/src/libmime/mime_expressions.c:166:23: note: You might need to cast the function pointer here rspamd-3.8.1/src/libmime/mime_expressions.c:1578:71: note: Parameter 'unused' can be declared as pointer to const rspamd-3.8.1/src/libmime/mime_expressions.c:1691:31: style: Variable 'addr' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libmime/mime_expressions.c:1840:36: style: Variable 'arg1' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libmime/mime_expressions.c:1923:36: style: Variable 'arg1' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libmime/mime_expressions.c:1928:36: style: Variable 'found' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libmime/mime_expressions.c:2000:30: style: Variable 'arg1' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libmime/mime_expressions.c:2273:15: style: Parameter 'args' can be declared as pointer to const. However it seems that 'rspamd_is_empty_body' is a callback function, if 'args' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rspamd-3.8.1/src/libmime/mime_expressions.c:165:20: note: You might need to cast the function pointer here rspamd-3.8.1/src/libmime/mime_expressions.c:2273:15: note: Parameter 'args' can be declared as pointer to const rspamd-3.8.1/src/libmime/mime_expressions.c:2274:13: style: Parameter 'unused' can be declared as pointer to const. However it seems that 'rspamd_is_empty_body' is a callback function, if 'unused' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rspamd-3.8.1/src/libmime/mime_expressions.c:165:20: note: You might need to cast the function pointer here rspamd-3.8.1/src/libmime/mime_expressions.c:2274:13: note: Parameter 'unused' can be declared as pointer to const rspamd-3.8.1/src/libmime/mime_expressions.c:2317:42: style: Parameter 'task' can be declared as pointer to const. However it seems that 'rspamd_has_flag_expr' is a callback function, if 'task' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rspamd-3.8.1/src/libmime/mime_expressions.c:160:15: note: You might need to cast the function pointer here rspamd-3.8.1/src/libmime/mime_expressions.c:2317:42: note: Parameter 'task' can be declared as pointer to const rspamd-3.8.1/src/libmime/mime_expressions.c:2322:30: style: Variable 'flag_arg' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libmime/mime_expressions.c:1127:21: error: Uninitialized variables: &key.func, &key.user_data [uninitvar] rspamd-3.8.1/src/libmime/mime_expressions.c:1476:8: error: Uninitialized variable: p->flags [uninitvar] rspamd-3.8.1/src/libmime/mime_expressions.c:1605:7: error: Uninitialized variable: p->flags [uninitvar] rspamd-3.8.1/src/libmime/mime_expressions.c:1626:7: error: Uninitialized variable: p->flags [uninitvar] rspamd-3.8.1/src/libmime/mime_expressions.c:341:9: style: Variable 'extra' is assigned a value that is never used. [unreadVariable] rspamd-3.8.1/src/libmime/mime_string.cxx:24:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mime [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libmime/mime_string.hxx:386:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MIME_STRING_SEEN_ZEROES [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libmime/mime_string.hxx:391:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MIME_STRING_SEEN_INVALID [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libmime/mime_string.hxx:595:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MIME_STRING_SEEN_ZEROES [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libmime/mime_string.hxx:644:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MIME_STRING_SEEN_INVALID [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libmime/mime_string.hxx:234:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cont_instance [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libmime/mime_string.hxx:249:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cont_instance [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libmime/scan_result.c:33:1: error: There is an unknown macro here somewhere. Configuration is required. If INIT_LOG_MODULE is a macro then please configure it. [unknownMacro] rspamd-3.8.1/src/libmime/mime_parser.c:166:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_MULTIPATTERN_DEFAULT [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/async_session.c:45:1: error: There is an unknown macro here somewhere. Configuration is required. If INIT_LOG_MODULE is a macro then please configure it. [unknownMacro] rspamd-3.8.1/src/libmime/mime_parser.c:187:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_CRYPTOBOX_XXHASH64 [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libmime/mime_parser.c:386:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rspamd_mime_log_id [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libmime/mime_parser.c:464:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rspamd_mime_log_id [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libmime/mime_parser.c:487:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_CT_INLINE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libmime/mime_parser.c:661:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_CONTENT_TYPE_MESSAGE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libmime/mime_parser.c:937:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ord_next [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libmime/mime_parser.c:1069:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rspamd_mime_log_id [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libmime/mime_parser.c:1165:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable E2BIG [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libmime/mime_parser.c:1304:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rspamd_mime_log_id [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libmime/mime_parser.c:1447:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable E2BIG [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libmime/mime_string.hxx:317:2: style: Class 'basic_mime_string < char , std :: allocator < T > , fu2 :: function_view < UChar32 ( UChar32 ) > >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] rspamd-3.8.1/src/libmime/mime_string.hxx:323:2: style: Class 'basic_mime_string < char , std :: allocator < T > , fu2 :: function_view < UChar32 ( UChar32 ) > >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] rspamd-3.8.1/src/libmime/mime_string.hxx:547:14: performance: Function 'get_storage()' should return member 'storage' by const reference. [returnByReference] rspamd-3.8.1/src/libmime/mime_string.hxx:408:34: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libmime/mime_string.hxx:600:48: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libmime/mime_string.hxx:605:10: style: The scope of the variable 'tmp' can be reduced. [variableScope] rspamd-3.8.1/src/libmime/mime_string.hxx:587:15: style: Local variable 'end' shadows outer function [shadowFunction] rspamd-3.8.1/src/libmime/mime_string.hxx:536:14: note: Shadowed declaration rspamd-3.8.1/src/libmime/mime_string.hxx:587:15: note: Shadow variable rspamd-3.8.1/src/libmime/mime_string.hxx:191:31: performance:inconclusive: Function parameter 'n' should be passed by const reference. [passedByValue] rspamd-3.8.1/src/libmime/mime_string.hxx:198:3: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] rspamd-3.8.1/src/libmime/mime_string.hxx:202:3: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] rspamd-3.8.1/src/libmime/received.hxx:190:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable string_view_literals [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libmime/received.hxx:293:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libmime/received.cxx:71:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ebraces [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libmime/received.cxx:244:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable N [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libmime/received.cxx:274:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ebraces [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libmime/received.cxx:427:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_INET_ADDRESS_PARSE_REMOTE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libmime/received.cxx:491:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libmime/received.cxx:706:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_TASK_FLAG_NO_IP [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libmime/received.cxx:878:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable string_view_literals [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/cfg_utils.cxx:1148:14: debug: Scope::checkVariable found variable 'v' with varid 0. [varid0] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:137:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UCL_STRING [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:352:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UCL_STRING [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:424:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UCL_BOOLEAN [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:533:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:712:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UCL_NULL [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:772:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_CRITICAL [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:902:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rspamd_lua_traceback [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:997:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_INFO [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:1049:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UCL_OBJECT [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:1172:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:1266:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UCL_STRING [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:1381:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_INFO [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:1435:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:1602:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UCL_NULL [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:2545:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UCL_ITERATE_EXPLICIT [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:2619:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UCL_OBJECT [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:2705:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UCL_OBJECT [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:2775:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:2808:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:2900:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:2930:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:2986:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UCL_OBJECT [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:3029:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_KEYPAIR_KEX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:3090:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_hash_table_unref [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:3158:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:3227:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UCL_BOOLEAN [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:3264:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UCL_STRING [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:3306:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UCL_STRING [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:3343:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_WARNING [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:3460:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_WARNING [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:3524:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rspamd_lua_traceback [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:3578:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rspamd_cryptobox_HASHBYTES [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:3611:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:3706:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_CRITICAL [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:3933:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UCL_OBJECT [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:4009:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UCL_OBJECT [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:4048:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UCL_OBJECT [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:4088:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UCL_PARSER_NO_FILEVARS [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/cfg_utils.cxx:188:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rspamd_ptr_array_free_hard [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/cfg_utils.cxx:230:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/cfg_utils.cxx:361:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/cfg_utils.cxx:569:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rspamd_ftok_t [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/cfg_utils.cxx:779:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_CRITICAL [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/cfg_utils.cxx:836:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_INFO [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/cfg_utils.cxx:994:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_hash_table_destroy [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/cfg_utils.cxx:1019:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SPAM_SUBJECT [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/cfg_utils.cxx:1037:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_hash_table_unref [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/cfg_utils.cxx:1101:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable begin [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/cfg_utils.cxx:1148:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable v [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/cfg_utils.cxx:1342:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_CRITICAL [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/cfg_utils.cxx:1389:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_CUR_MODULE_VERSION [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/cfg_utils.cxx:1418:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_CUR_WORKER_VERSION [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/cfg_utils.cxx:1485:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_CRITICAL [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/cfg_utils.cxx:1530:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_LOG_FUNC [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/cfg_utils.cxx:1640:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_LOG_FUNC [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/cfg_utils.cxx:1786:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UCL_BOOLEAN [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/cfg_utils.cxx:1874:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_INFO [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/cfg_utils.cxx:1936:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/cfg_utils.cxx:2039:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UCL_OBJECT [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/cfg_utils.cxx:2119:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_INFO [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/cfg_utils.cxx:2223:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/cfg_utils.cxx:2407:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_CRYPTOBOX_XXHASH64 [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/cfg_utils.cxx:2475:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_WARNING [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/cfg_utils.cxx:2514:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EVBACKEND_IOURING [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/cfg_utils.cxx:2572:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EVBACKEND_ALL [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/cfg_utils.cxx:2630:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CPUID_RDRAND [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/cfg_utils.cxx:2688:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable zstd_dictionary [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/cfg_utils.cxx:2743:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_CRITICAL [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/cfg_utils.cxx:2862:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZSTD_reset_session_only [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/cfg_utils.cxx:2887:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZSTD_reset_session_only [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libmime/received.hxx:287:7: style:inconclusive: Technically the member function 'rspamd::mime::received_header_chain::get_received' can be const. [functionConst] rspamd-3.8.1/src/libmime/received.cxx:682:42: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libmime/received.cxx:734:29: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libmime/received.cxx:852:43: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libmime/received.cxx:695:8: style: The scope of the variable 'need_recv_correction' can be reduced. [variableScope] rspamd-3.8.1/src/libmime/received.cxx:702:16: style: The scope of the variable 'raddr' can be reduced. [variableScope] rspamd-3.8.1/src/libmime/received.cxx:777:47: style: Parameter 'chain' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libserver/composites/composites.cxx:348:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rspamd_expression_atom_t [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/composites/composites.cxx:553:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rspamd_composites_log_id [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/composites/composites.cxx:580:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rspamd_composites_log_id [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/composites/composites.cxx:697:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rspamd_composites_log_id [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/composites/composites.cxx:811:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rspamd_composites_log_id [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/composites/composites.cxx:868:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable has_valid_op [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/composites/composites_internal.hxx:56:2: style: Class 'composites_manager' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] rspamd-3.8.1/src/libserver/composites/composites.cxx:605:33: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/composites/composites.cxx:606:12: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/composites/composites.cxx:672:32: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/composites/composites.cxx:673:45: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/composites/composites.cxx:711:9: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/composites/composites.cxx:718:18: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/composites/composites.cxx:802:14: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/composites/composites.cxx:803:16: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/composites/composites.cxx:804:19: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/composites/composites.cxx:875:7: style: Variable 'task' is reassigned a value before the old one has been used. [redundantAssignment] rspamd-3.8.1/src/libserver/composites/composites.cxx:866:27: note: task is assigned rspamd-3.8.1/src/libserver/composites/composites.cxx:875:7: note: task is overwritten rspamd-3.8.1/src/libserver/composites/composites.cxx:806:10: style: The scope of the variable 'rc' can be reduced. [variableScope] rspamd-3.8.1/src/libserver/composites/composites_internal.hxx:91:9: style: Variable 'composite' can be declared as reference to const [constVariableReference] rspamd-3.8.1/src/libserver/composites/composites.cxx:492:50: style: Parameter 'atom' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libserver/composites/composites.cxx:788:58: style: Parameter 'atom' can be declared as pointer to const. However it seems that 'rspamd_composite_expr_priority' is a callback function, if 'atom' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rspamd-3.8.1/src/libserver/composites/composites.cxx:65:34: note: You might need to cast the function pointer here rspamd-3.8.1/src/libserver/composites/composites.cxx:788:58: note: Parameter 'atom' can be declared as pointer to const rspamd-3.8.1/src/libserver/composites/composites.cxx:800:38: style: Parameter 'key' can be declared as pointer to const. However it seems that 'composites_foreach_callback' is a callback function, if 'key' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rspamd-3.8.1/src/libserver/composites/composites.cxx:969:14: note: You might need to cast the function pointer here rspamd-3.8.1/src/libserver/composites/composites.cxx:800:38: note: Parameter 'key' can be declared as pointer to const rspamd-3.8.1/src/libserver/composites/composites_manager.cxx:124:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UCL_ARRAY [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/composites/composites_manager.cxx:243:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MAXFLOAT [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/cfg_utils.cxx:1891:7: style: Condition '!is_c' is always true [knownConditionTrueFalse] rspamd-3.8.1/src/libserver/cfg_utils.cxx:1859:6: note: Assuming that condition 'is_c' is not redundant rspamd-3.8.1/src/libserver/cfg_utils.cxx:1891:7: note: Condition '!is_c' is always true rspamd-3.8.1/src/libserver/cfg_utils.cxx:2699:15: style: Condition 'dict->id==0' is always false [knownConditionTrueFalse] rspamd-3.8.1/src/libserver/cfg_utils.cxx:2697:14: note: Assignment 'dict->id=-1', assigned value is -1 rspamd-3.8.1/src/libserver/cfg_utils.cxx:2699:15: note: Condition 'dict->id==0' is always false rspamd-3.8.1/src/libserver/composites/composites_manager.cxx:323:58: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/composites/composites_manager.cxx:149:57: style:inconclusive: Function 'add_composite' argument 1 names different: declaration 'name' definition 'composite_name'. [funcArgNamesDifferent] rspamd-3.8.1/src/libserver/composites/composites_internal.hxx:79:38: note: Function 'add_composite' argument 1 names different: declaration 'name' definition 'composite_name'. rspamd-3.8.1/src/libserver/composites/composites_manager.cxx:149:57: note: Function 'add_composite' argument 1 names different: declaration 'name' definition 'composite_name'. rspamd-3.8.1/src/libserver/composites/composites_manager.cxx:150:30: style:inconclusive: Function 'add_composite' argument 2 names different: declaration 'expression' definition 'composite_expression'. [funcArgNamesDifferent] rspamd-3.8.1/src/libserver/composites/composites_internal.hxx:79:61: note: Function 'add_composite' argument 2 names different: declaration 'expression' definition 'composite_expression'. rspamd-3.8.1/src/libserver/composites/composites_manager.cxx:150:30: note: Function 'add_composite' argument 2 names different: declaration 'expression' definition 'composite_expression'. rspamd-3.8.1/src/libserver/composites/composites_manager.cxx:248:11: style: Variable 'ret' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libserver/composites/composites_manager.cxx:321:26: style: Variable 'm' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libserver/composites/composites_manager.cxx:321:32: style: Variable 'm' is assigned a value that is never used. [unreadVariable] rspamd-3.8.1/src/libserver/cfg_utils.cxx:232:17: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_utils.cxx:315:20: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_utils.cxx:317:26: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_utils.cxx:410:25: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_utils.cxx:602:23: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_utils.cxx:670:9: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_utils.cxx:683:19: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_utils.cxx:750:8: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_utils.cxx:763:18: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_utils.cxx:946:17: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_utils.cxx:953:10: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_utils.cxx:1063:15: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_utils.cxx:1073:7: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_utils.cxx:1099:15: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_utils.cxx:1101:53: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_utils.cxx:1113:9: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_utils.cxx:1207:42: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_utils.cxx:1224:15: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_utils.cxx:1227:42: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_utils.cxx:1247:15: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_utils.cxx:1253:9: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_utils.cxx:1267:15: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_utils.cxx:1278:9: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_utils.cxx:1289:15: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_utils.cxx:1309:9: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_utils.cxx:1321:18: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_utils.cxx:1322:16: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_utils.cxx:1337:18: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_utils.cxx:1338:16: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_utils.cxx:1348:36: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_utils.cxx:1360:53: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_utils.cxx:1378:18: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_utils.cxx:1473:13: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_utils.cxx:1507:9: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_utils.cxx:1865:15: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_utils.cxx:1870:10: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_utils.cxx:2219:12: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_utils.cxx:2247:11: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_utils.cxx:2621:14: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_utils.cxx:2623:16: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_utils.cxx:2688:9: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_utils.cxx:2738:16: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_utils.cxx:2754:21: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_utils.cxx:2759:21: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_utils.cxx:2823:24: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_utils.cxx:2828:21: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_utils.cxx:2834:24: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_utils.cxx:2839:21: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_utils.cxx:2862:23: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_utils.cxx:2867:21: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_utils.cxx:2887:23: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_utils.cxx:2889:36: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_utils.cxx:2895:21: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_utils.cxx:2921:21: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_utils.cxx:2925:21: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_utils.cxx:2941:19: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_utils.cxx:1676:19: style: Variable 'sym_def->flags' is reassigned a value before the old one has been used. [redundantAssignment] rspamd-3.8.1/src/libserver/cfg_utils.cxx:1673:20: note: sym_def->flags is assigned rspamd-3.8.1/src/libserver/cfg_utils.cxx:1676:19: note: sym_def->flags is overwritten rspamd-3.8.1/src/libserver/cfg_utils.cxx:168:15: style: The scope of the variable 'fdname' can be reduced. [variableScope] rspamd-3.8.1/src/libserver/cfg_utils.cxx:1598:8: style: The scope of the variable 'i' can be reduced. [variableScope] rspamd-3.8.1/src/libserver/cfg_utils.cxx:1732:8: style: The scope of the variable 'i' can be reduced. [variableScope] rspamd-3.8.1/src/libserver/cfg_utils.cxx:1836:25: style: The scope of the variable 'enabled' can be reduced. [variableScope] rspamd-3.8.1/src/libserver/cfg_utils.cxx:1838:9: style: The scope of the variable 'cur' can be reduced. [variableScope] rspamd-3.8.1/src/libserver/cfg_utils.cxx:2031:22: style: The scope of the variable 'elt' can be reduced. [variableScope] rspamd-3.8.1/src/libserver/cfg_utils.cxx:2728:9: style: The scope of the variable 'r' can be reduced. [variableScope] rspamd-3.8.1/src/libserver/cfg_utils.cxx:2856:8: style: The scope of the variable 'r' can be reduced. [variableScope] rspamd-3.8.1/src/libserver/cfg_utils.cxx:2880:8: style: The scope of the variable 'r' can be reduced. [variableScope] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:130:15: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:303:13: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:312:15: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:834:52: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:845:13: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:967:15: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:968:15: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:1140:16: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:1155:13: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:1177:14: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:1324:6: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:1352:6: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:1357:14: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:2746:14: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:2749:29: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:2756:13: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:2760:13: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:2764:13: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:2792:14: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:2804:30: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:2817:30: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:2830:27: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:2843:30: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:2856:27: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:2869:26: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:2892:14: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:2895:25: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:2917:14: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:2939:25: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:2945:26: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:2950:29: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:2954:28: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:2958:31: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:2981:14: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:2984:50: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:2995:18: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:3025:14: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:3039:49: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:3111:14: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:3117:32: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:3137:16: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:3143:16: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:3149:16: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:3185:29: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:3204:14: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:3207:37: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:3222:14: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:3225:26: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:3257:14: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:3262:37: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:3296:14: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:3302:28: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:3368:25: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:3373:25: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:3387:13: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:3393:36: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:3401:13: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:3410:13: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:3412:36: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:3420:13: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:3422:36: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:3502:14: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:3521:15: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:3535:22: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:3552:18: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:3679:42: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:3997:34: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:4016:27: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:2895:11: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:2950:16: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:3422:35: portability:inconclusive: Casting from double * to const unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:1244:15: style: Redundant initialization for 'val'. The initialized value is overwritten before it is read. [redundantInitialization] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:1241:19: note: val is initialized rspamd-3.8.1/src/libserver/cfg_rcl.cxx:1244:15: note: val is overwritten rspamd-3.8.1/src/libserver/cfg_rcl.cxx:1407:14: style: Redundant initialization for 'cur'. The initialized value is overwritten before it is read. [redundantInitialization] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:1405:18: note: cur is initialized rspamd-3.8.1/src/libserver/cfg_rcl.cxx:1407:14: note: cur is overwritten rspamd-3.8.1/src/libserver/cfg_rcl.cxx:3126:14: style: Redundant initialization for 'cur'. The initialized value is overwritten before it is read. [redundantInitialization] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:3124:18: note: cur is initialized rspamd-3.8.1/src/libserver/cfg_rcl.cxx:3126:14: note: cur is overwritten rspamd-3.8.1/src/libserver/cfg_utils.cxx:560:9: style: Variable 'fmt_var' can be declared as reference to const [constVariableReference] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:3028:15: style: The scope of the variable 'str' can be reduced. [variableScope] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:3259:15: style: The scope of the variable 'val' can be reduced. [variableScope] rspamd-3.8.1/src/libserver/cfg_utils.cxx:789:34: style: Parameter '_unused' can be declared as pointer to const. However it seems that 'rspamd_urls_config_dtor' is a callback function, if '_unused' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rspamd-3.8.1/src/libserver/cfg_utils.cxx:896:48: note: You might need to cast the function pointer here rspamd-3.8.1/src/libserver/cfg_utils.cxx:789:34: note: Parameter '_unused' can be declared as pointer to const rspamd-3.8.1/src/libserver/cfg_rcl.cxx:3847:9: style: The scope of the variable 'type' can be reduced. [variableScope] rspamd-3.8.1/src/libserver/cfg_utils.cxx:946:10: style: Variable 'wcf' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:4045:22: style: The scope of the variable 'cur' can be reduced. [variableScope] rspamd-3.8.1/src/libserver/cfg_utils.cxx:1267:9: style: Variable 'st' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:4046:16: style: The scope of the variable 'cur_doc' can be reduced. [variableScope] rspamd-3.8.1/src/libserver/cfg_utils.cxx:1839:31: style: Variable 'gr' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libserver/cfg_utils.cxx:2156:56: style: Parameter 'cfg' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libserver/cfg_utils.cxx:2168:58: style: Parameter 'cfg' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libserver/cfg_utils.cxx:2160:33: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:125:68: style: Parameter 'section' can be declared as pointer to const. However it seems that 'rspamd_rcl_logging_handler' is a callback function, if 'section' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:1628:15: note: You might need to cast the function pointer here rspamd-3.8.1/src/libserver/cfg_rcl.cxx:125:68: note: Parameter 'section' can be declared as pointer to const rspamd-3.8.1/src/libserver/cfg_rcl.cxx:701:37: style: Parameter 'section' can be declared as pointer to const. However it seems that 'rspamd_rcl_actions_handler' is a callback function, if 'section' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:2296:15: note: You might need to cast the function pointer here rspamd-3.8.1/src/libserver/cfg_rcl.cxx:701:37: note: Parameter 'section' can be declared as pointer to const rspamd-3.8.1/src/libserver/cfg_rcl.cxx:1138:35: style: Parameter 'section' can be declared as pointer to const. However it seems that 'rspamd_rcl_statfile_handler' is a callback function, if 'section' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:2462:13: note: You might need to cast the function pointer here rspamd-3.8.1/src/libserver/cfg_rcl.cxx:1138:35: note: Parameter 'section' can be declared as pointer to const rspamd-3.8.1/src/libserver/cfg_utils.cxx:431:13: error: Uninitialized variable: lp->fd [uninitvar] rspamd-3.8.1/src/libserver/cfg_utils.cxx:1611:39: error: Uninitialized variable: sym_group->name [uninitvar] rspamd-3.8.1/src/libserver/cfg_utils.cxx:1745:38: error: Uninitialized variable: sym_group->name [uninitvar] rspamd-3.8.1/src/libserver/cfg_utils.cxx:2421:12: error: Uninitialized variable: cur->id [uninitvar] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:129:15: style: Variable 'facility' is assigned a value that is never used. [unreadVariable] rspamd-3.8.1/src/libserver/cfg_rcl.cxx:1158:12: style: Variable 'labels' is assigned a value that is never used. [unreadVariable] rspamd-3.8.1/src/libserver/css/css_value.hxx:167:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/css/css_selector.hxx:68:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/css/css_selector.hxx:76:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/css/css.cxx:63:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/css/css.cxx:119:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_HTML_COMPONENT_ID [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/css/css_tokeniser.hxx:99:11: warning: Member variable 'css_parser_token::lineno' is not initialized in the constructor. [uninitMemberVar] rspamd-3.8.1/src/libserver/css/css_tokeniser.hxx:99:11: warning: Member variable 'css_parser_token::dimension_type' is not initialized in the constructor. [uninitMemberVar] rspamd-3.8.1/src/libserver/css/css_property.hxx:57:2: style: Struct 'css_property' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] rspamd-3.8.1/src/libserver/css/css_parser.cxx:826:1: error: syntax error [syntaxError] rspamd-3.8.1/src/libserver/css/css_value.hxx:44:2: warning: Member variable 'css_color::r' is not initialized in the constructor. [uninitMemberVar] rspamd-3.8.1/src/libserver/css/css_value.hxx:44:2: warning: Member variable 'css_color::g' is not initialized in the constructor. [uninitMemberVar] rspamd-3.8.1/src/libserver/css/css_value.hxx:44:2: warning: Member variable 'css_color::b' is not initialized in the constructor. [uninitMemberVar] rspamd-3.8.1/src/libserver/css/css_value.hxx:44:2: warning: Member variable 'css_color::alpha' is not initialized in the constructor. [uninitMemberVar] rspamd-3.8.1/src/libserver/css/css_selector.hxx:86:3: performance: Variable 'value' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] rspamd-3.8.1/src/libserver/css/css_selector.hxx:91:3: performance: Variable 'value' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] rspamd-3.8.1/src/libserver/css/css_parser.hxx:188:7: style:inconclusive: Technically the member function 'rspamd::css::css_consumed_block::is_eof' can be const. [functionConst] rspamd-3.8.1/src/libserver/css/css_parser.hxx:84:2: style: Class 'css_consumed_block' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] rspamd-3.8.1/src/libserver/css/css_parser.hxx:61:3: style: Struct 'css_function_block' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] rspamd-3.8.1/src/libserver/css/css_value.hxx:104:2: style: Struct 'css_value' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] rspamd-3.8.1/src/libserver/css/css_value.hxx:108:2: style: Struct 'css_value' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] rspamd-3.8.1/src/libserver/css/css_value.hxx:112:2: style: Struct 'css_value' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] rspamd-3.8.1/src/libserver/css/css_value.hxx:116:2: style: Struct 'css_value' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] rspamd-3.8.1/src/libserver/css/css.hxx:48:2: style: Class 'css_style_sheet' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] rspamd-3.8.1/src/libserver/css/css_rule.cxx:504:1: error: syntax error [syntaxError] rspamd-3.8.1/src/libserver/css/css_selector.cxx:196:1: error: syntax error [syntaxError] rspamd-3.8.1/src/libserver/css/css_util.cxx:61:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_CRITICAL [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/css/css_value.cxx:409:1: error: syntax error [syntaxError] rspamd-3.8.1/src/libserver/css/css_tokeniser.cxx:367:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MAXFLOAT [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/css/css_util.cxx:99:30: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/css/css_util.cxx:149:46: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/css/css_util.cxx:112:15: style: Checking if unsigned expression 'nleft' is less than zero. [unsignedLessThanZero] rspamd-3.8.1/src/libserver/dns.c:126:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RDNS_RC_TIMEOUT [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/dns.c:160:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/dns.c:218:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DNS_D_MAXNAME [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/dns.c:311:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RDNS_RC_SERVFAIL [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/dns.c:378:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_INFO [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/dns.c:473:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_INET_ADDRESS_PARSE_DEFAULT [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/dns.c:510:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RDNS_REQUEST_A [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/dns.c:717:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/dns.c:819:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UCL_ARRAY [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/dns.c:894:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RDNS_RESOLVER_NOIDN [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/dns.c:1008:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_UPSTREAM_ROUND_ROBIN [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/dns.c:1031:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_UPSTREAM_MASTER_SLAVE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/dns.c:1079:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DNS_D_MAXNAME [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/dkim.c:515:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/dkim.c:857:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/dkim.c:1397:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_CRYPTOBOX_MODE_25519 [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/dkim.c:1723:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RDNS_RC_NOERROR [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/dkim.c:1789:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RDNS_REQUEST_TXT [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/dkim.c:1884:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/dkim.c:1953:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/dkim.c:2138:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MAXSSIZE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/dkim.c:2238:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CRLF [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/dkim.c:2280:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/dkim.c:2329:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lc_map [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/dkim.c:2396:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CRLF [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/dkim.c:2471:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_HEADER_UNIQUE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/dkim.c:2684:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EVP_MAX_MD_SIZE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/dkim.c:3076:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/dkim.c:3287:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EVP_MD_CTX_destroy [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/dkim.c:3313:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EVP_MAX_MD_SIZE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/css/css_tokeniser.cxx:310:11: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] rspamd-3.8.1/src/libserver/css/css_tokeniser.hxx:167:17: style:inconclusive: Technically the member function 'rspamd::css::css_parser_token::get_token_type' can be const. [functionConst] rspamd-3.8.1/src/libserver/css/css_tokeniser.cxx:732:19: note: Technically the member function 'rspamd::css::css_parser_token::get_token_type' can be const. rspamd-3.8.1/src/libserver/css/css_tokeniser.hxx:167:17: note: Technically the member function 'rspamd::css::css_parser_token::get_token_type' can be const. rspamd-3.8.1/src/libserver/css/css_tokeniser.cxx:310:11: warning: Either the condition 'ivalue [uninitvar] rspamd-3.8.1/src/libserver/html/html_tests.cxx:74:2: error: syntax error [syntaxError] rspamd-3.8.1/src/libserver/http/http_connection.c:1452:49: error: Syntax Error: AST broken, 'new_msg' doesn't have a parent. [internalAstError] rspamd-3.8.1/src/libserver/http/http_context.c:28:1: error: There is an unknown macro here somewhere. Configuration is required. If INIT_LOG_MODULE is a macro then please configure it. [unknownMacro] rspamd-3.8.1/src/libserver/http/http_message.c:41:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_INVALID [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/http/http_message.c:70:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UF_HOST [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/http/http_message.c:199:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MAXSIZE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/http/http_message.c:258:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_METHOD_MAX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/http/http_message.c:377:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_WRITE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/http/http_message.c:476:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rspamd_http_headers_hash [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/http/http_message.c:537:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rspamd_http_headers_hash [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/http/http_message.c:581:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rspamd_http_headers_hash [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/http/http_message.c:609:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rspamd_http_headers_hash [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/http/http_message.c:636:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rspamd_http_headers_hash [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/http/http_message.c:670:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rspamd_http_headers_hash [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/http/http_message.c:697:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rspamd_http_headers_hash [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/html/html_url.cxx:79:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UIDNA_DEFAULT [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/html/html_url.cxx:130:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROTOCOL_HTTP [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/html/html_url.cxx:138:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable href_tok [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/html/html_url.cxx:246:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rspamd_url_ext [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/html/html_url.cxx:367:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/http/http_message.c:158:65: style: Parameter 'msg' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libserver/http/http_message.c:718:71: style: Parameter 'msg' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libserver/http/http_message.c:470:25: error: Uninitialized variable: hcur [uninitvar] rspamd-3.8.1/src/libserver/http/http_message.c:470:31: error: Uninitialized variable: hcurtmp [uninitvar] rspamd-3.8.1/src/libserver/http/http_message.c:680:12: error: Uninitialized variables: hcur.name, hcur.value, hcur.prev, hcur.next [uninitvar] rspamd-3.8.1/src/libserver/http/http_router.c:479:14: debug: Scope::checkVariable found variable 'v' with varid 0. [varid0] rspamd-3.8.1/src/libserver/http/http_router.c:139:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DIR_SEPARATOR [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/http/http_router.c:152:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/http/http_router.c:273:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_POST [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/http/http_router.c:479:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable v [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/http/http_router.c:152:47: style: Variable 'dir' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libserver/http/http_router.c:444:20: style: Variable 'storage' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libserver/http/http_router.c:538:27: error: Uninitialized variables: conn.rt, conn.conn, conn.ud, conn.is_reply, conn.support_gzip, conn.prev, conn.next [uninitvar] rspamd-3.8.1/src/libserver/fuzzy_backend/fuzzy_backend_redis.c:363:15: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] rspamd-3.8.1/src/libserver/fuzzy_backend/fuzzy_backend_redis.c:349:26: style: Variable 'cur' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libserver/fuzzy_backend/fuzzy_backend_redis.c:352:51: style: Variable 'prev' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libserver/fuzzy_backend/fuzzy_backend_redis.c:549:26: style: Variable 'cur' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libserver/fuzzy_backend/fuzzy_backend_redis.c:1014:37: style: Variable 'backend' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libserver/fuzzy_backend/fuzzy_backend_redis.c:1023:37: style: Variable 'backend' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libserver/logger/logger.c:866:14: debug: Scope::checkVariable found variable 'v' with varid 0. [varid0] rspamd-3.8.1/src/libserver/logger/logger.c:151:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rspamd_logger_t [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/logger/logger.c:195:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rspamd_logger_t [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/logger/logger.c:307:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_CRITICAL [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/logger/logger.c:321:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_LOG_FORCED [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/logger/logger.c:345:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_CRYPTOBOX_MODE_25519 [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/logger/logger.c:431:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_LOG_LEVEL_MASK [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/logger/logger.c:583:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_DEBUG [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/logger/logger.c:621:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_DEBUG [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/logger/logger.c:658:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_DEBUG [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/logger/logger.c:708:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/logger/logger.c:764:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UCL_ARRAY [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/logger/logger.c:808:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBBY [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/logger/logger.c:866:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable v [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/logger/logger.c:991:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_USER_SHIFT [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/logger/logger.c:1021:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_LOG_FLAG_USEC [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/logger/logger.c:1041:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_LOG_FLAG_COLOR [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/logger/logger.c:464:30: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] rspamd-3.8.1/src/libserver/logger/logger.c:1039:25: style:inconclusive: Function 'rspamd_log_fill_iov' argument 9 names different: declaration 'rspamd_log' definition 'logger'. [funcArgNamesDifferent] rspamd-3.8.1/src/libserver/logger/logger_private.h:136:25: note: Function 'rspamd_log_fill_iov' argument 9 names different: declaration 'rspamd_log' definition 'logger'. rspamd-3.8.1/src/libserver/logger/logger.c:1039:25: note: Function 'rspamd_log_fill_iov' argument 9 names different: declaration 'rspamd_log' definition 'logger'. rspamd-3.8.1/src/libserver/logger/logger.c:59:48: style: Parameter 'logger' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libserver/logger/logger.c:316:41: style: Parameter 'rspamd_log' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libserver/logger/logger.c:430:9: style: Variable 'end' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libserver/logger/logger.c:892:49: style: Parameter 'logger' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libserver/logger/logger.c:893:39: style: Parameter 'nfuncs' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libserver/logger/logger.c:908:17: style: Variable 'escape' can be declared as const array [constVariable] rspamd-3.8.1/src/libserver/logger/logger.c:955:17: style: Variable 'escape' can be declared as const array [constVariable] rspamd-3.8.1/src/libserver/logger/logger.c:1011:40: style: Parameter 'rspamd_log' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libserver/logger/logger.c:1255:12: style: Variable 'mremain' is assigned a value that is never used. [unreadVariable] rspamd-3.8.1/src/libserver/logger/logger.c:1260:12: style: Variable 'mremain' is assigned a value that is never used. [unreadVariable] rspamd-3.8.1/src/libserver/logger/logger_console.c:45:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_LOG_FLAG_USEC [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/logger/logger_console.c:63:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_LOG_FLAG_RSPAMADM [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/logger/logger_console.c:115:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/logger/logger_console.c:151:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_CRITICAL [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/logger/logger_console.c:130:7: error: Resource handle 'crit_fd' freed twice. [doubleFree] rspamd-3.8.1/src/libserver/logger/logger_console.c:114:8: note: Resource handle 'crit_fd' freed twice. rspamd-3.8.1/src/libserver/logger/logger_console.c:130:7: note: Resource handle 'crit_fd' freed twice. rspamd-3.8.1/src/libserver/logger/logger_console.c:35:40: style: Parameter 'rspamd_log' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libserver/logger/logger_console.c:147:37: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libserver/logger/logger_syslog.c:106:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/logger/logger_syslog.c:137:6: style: Condition 'npriv' is always false [knownConditionTrueFalse] rspamd-3.8.1/src/libserver/logger/logger_syslog.c:135:32: note: Calling function 'rspamd_log_syslog_init' returns 0 rspamd-3.8.1/src/libserver/logger/logger_syslog.c:135:32: note: Assignment 'npriv=rspamd_log_syslog_init(logger,cfg,uid,gid,err)', assigned value is 0 rspamd-3.8.1/src/libserver/logger/logger_syslog.c:137:6: note: Condition 'npriv' is always false rspamd-3.8.1/src/libserver/logger/logger_syslog.c:116:27: style: Parameter 'rspamd_log' can be declared as pointer to const. However it seems that 'rspamd_log_syslog_log' is a callback function, if 'rspamd_log' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rspamd-3.8.1/src/libserver/logger/logger_private.h:190:9: note: You might need to cast the function pointer here rspamd-3.8.1/src/libserver/logger/logger_syslog.c:116:27: note: Parameter 'rspamd_log' can be declared as pointer to const rspamd-3.8.1/src/libserver/logger/logger_syslog.c:117:19: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'rspamd_log_syslog_log' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rspamd-3.8.1/src/libserver/logger/logger_private.h:190:9: note: You might need to cast the function pointer here rspamd-3.8.1/src/libserver/logger/logger_syslog.c:117:19: note: Parameter 'arg' can be declared as pointer to const rspamd-3.8.1/src/libserver/logger/logger_syslog.c:122:46: style: Parameter 'logger' can be declared as pointer to const. However it seems that 'rspamd_log_syslog_dtor' is a callback function, if 'logger' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rspamd-3.8.1/src/libserver/logger/logger_private.h:188:10: note: You might need to cast the function pointer here rspamd-3.8.1/src/libserver/logger/logger_syslog.c:122:46: note: Parameter 'logger' can be declared as pointer to const rspamd-3.8.1/src/libserver/logger/logger_syslog.c:122:63: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'rspamd_log_syslog_dtor' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rspamd-3.8.1/src/libserver/logger/logger_private.h:188:10: note: You might need to cast the function pointer here rspamd-3.8.1/src/libserver/logger/logger_syslog.c:122:63: note: Parameter 'arg' can be declared as pointer to const rspamd-3.8.1/src/libserver/logger/logger_syslog.c:25:7: style: struct member 'rspamd_syslog_logger_priv::log_facility' is never used. [unusedStructMember] rspamd-3.8.1/src/libserver/logger/logger_file.c:85:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable iov_len [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/logger/logger_file.c:168:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable iov_base [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/logger/logger_file.c:209:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable iov_len [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/logger/logger_file.c:250:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_LOG_FORCED [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/logger/logger_file.c:287:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/logger/logger_file.c:317:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/logger/logger_file.c:360:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/logger/logger_file.c:383:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_LOG_FORCED [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/logger/logger_file.c:486:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/logger/logger_file.c:280:41: style: Parameter 'priv' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libserver/maps/map_helpers.c:732:6: error: Syntax Error: AST broken, 'if' doesn't have two operands. [internalAstError] rspamd-3.8.1/src/libserver/maps/map.c:95:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_REQUEST [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/maps/map.c:201:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_WARNING [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/maps/map.c:220:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_CRITICAL [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/maps/map.c:249:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_INFO [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/maps/map.c:319:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_INFO [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/maps/map.c:595:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/maps/map.c:673:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_CRYPTOBOX_MODE_25519 [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/maps/map.c:709:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/maps/map.c:780:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_CRITICAL [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/maps/map.c:915:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_CRITICAL [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/maps/map.c:998:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_LOG_FUNC [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/maps/map.c:1052:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rspamd_worker_state_running [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/maps/map.c:1213:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_HTTP_CLIENT_SIMPLE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/maps/map.c:1337:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/maps/map.c:1430:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/maps/map.c:1458:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/maps/map.c:1540:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/maps/map.c:1613:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/maps/map.c:1738:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_HTTP_CLIENT_SIMPLE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/maps/map.c:1967:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_INFO [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/maps/map.c:1990:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_INFO [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/maps/map.c:2013:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_LOG_FUNC [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/maps/map.c:2100:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_INFO [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/maps/map.c:2166:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/maps/map.c:2322:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_INFO [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/maps/map.c:2338:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/maps/map.c:2628:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/maps/map.c:2794:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rspamd_cryptobox_HASHBYTES [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/maps/map.c:2817:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UCL_STRING [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/maps/map.c:2875:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rspamd_ptr_array_free_hard [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/maps/map.c:2926:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_WARNING [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/maps/map.c:2958:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UCL_STRING [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/dkim.c:3518:13: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] rspamd-3.8.1/src/libserver/dkim.c:3531:13: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] rspamd-3.8.1/src/libserver/dkim.c:1743:13: style: Condition 'err!=NULL' is always false [knownConditionTrueFalse] rspamd-3.8.1/src/libserver/dkim.c:1719:16: note: Assignment 'err=NULL', assigned value is 0 rspamd-3.8.1/src/libserver/dkim.c:1743:13: note: Condition 'err!=NULL' is always false rspamd-3.8.1/src/libserver/dkim.c:1879:14: style: Condition 't-buf>0' is always false [knownConditionTrueFalse] rspamd-3.8.1/src/libserver/dkim.c:1869:12: note: Assuming that condition 't>buf' is not redundant rspamd-3.8.1/src/libserver/dkim.c:1879:14: note: Condition 't-buf>0' is always false rspamd-3.8.1/src/libserver/dkim.c:2306:16: style: Condition 'p-c+1>0' is always false [knownConditionTrueFalse] rspamd-3.8.1/src/libserver/dkim.c:2302:41: note: Assuming that condition 'p>=c' is not redundant rspamd-3.8.1/src/libserver/dkim.c:2306:16: note: Condition 'p-c+1>0' is always false rspamd-3.8.1/src/libserver/dkim.c:3058:40: style:inconclusive: Function 'rspamd_dkim_sign_key_load' argument 1 names different: declaration 'what' definition 'key'. [funcArgNamesDifferent] rspamd-3.8.1/src/libserver/dkim.h:168:64: note: Function 'rspamd_dkim_sign_key_load' argument 1 names different: declaration 'what' definition 'key'. rspamd-3.8.1/src/libserver/dkim.c:3058:40: note: Function 'rspamd_dkim_sign_key_load' argument 1 names different: declaration 'what' definition 'key'. rspamd-3.8.1/src/libserver/dkim.c:3226:22: style:inconclusive: Function 'rspamd_create_dkim_sign_context' argument 5 names different: declaration 'dkim_headers' definition 'headers'. [funcArgNamesDifferent] rspamd-3.8.1/src/libserver/dkim.h:158:29: note: Function 'rspamd_create_dkim_sign_context' argument 5 names different: declaration 'dkim_headers' definition 'headers'. rspamd-3.8.1/src/libserver/dkim.c:3226:22: note: Function 'rspamd_create_dkim_sign_context' argument 5 names different: declaration 'dkim_headers' definition 'headers'. rspamd-3.8.1/src/libserver/dkim.c:422:49: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'rspamd_dkim_parse_ignore' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rspamd-3.8.1/src/libserver/dkim.c:259:24: note: You might need to cast the function pointer here rspamd-3.8.1/src/libserver/dkim.c:422:49: note: Parameter 'ctx' can be declared as pointer to const rspamd-3.8.1/src/libserver/dkim.c:2690:29: style: Variable 'dh' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libserver/dkim.c:3213:63: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libserver/milter.c:101:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/milter.c:186:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/milter.c:235:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/milter.c:259:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/milter.c:294:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_TIMEOUT [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/milter.c:343:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/milter.c:847:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/milter.c:1048:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/milter.c:1203:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/milter.c:1306:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/milter.c:1464:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QUEUE_ID_HEADER [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/milter.c:1593:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_REQUEST [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/milter.c:1673:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable milter_headers_hash_t [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/milter.c:1729:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UCL_STRING [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/milter.c:1802:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UCL_OBJECT [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/milter.c:2010:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_CRITICAL [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/monitored.c:121:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/monitored.c:168:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_MESSAGE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/monitored.c:264:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RDNS_REQUEST_A [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/monitored.c:345:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/monitored.c:446:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_MESSAGE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/monitored.c:543:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rspamd_cryptobox_HASHBYTES [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/monitored.c:684:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/monitored.c:563:3: error: Memory leak: m.url [memleak] rspamd-3.8.1/src/libserver/monitored.c:527:63: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libserver/monitored.c:617:49: style: Parameter 'm' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libserver/monitored.c:637:56: style: Parameter 'm' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libserver/monitored.c:649:62: style: Parameter 'm' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libserver/monitored.c:662:51: style: Parameter 'm' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libserver/milter.c:712:10: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] rspamd-3.8.1/src/libserver/milter.c:331:20: style: Variable 'buf' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libserver/milter.c:1194:26: style: Parameter 'pool' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libserver/milter.c:1451:32: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libserver/milter.c:1589:32: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libserver/milter.c:1671:10: style: Variable 'ar' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libserver/milter.c:1795:59: style: Parameter 'action' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libserver/milter.c:2002:32: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libserver/milter.c:2229:32: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libserver/milter.c:105:28: error: Uninitialized variables: obuf.buf, obuf.pos, obuf.next, obuf.prev [uninitvar] rspamd-3.8.1/src/libserver/milter.c:1307:3: style: Variable 'pos' is assigned a value that is never used. [unreadVariable] rspamd-3.8.1/src/libserver/protocol.c:1034:6: error: Syntax Error: AST broken, 'if' doesn't have two operands. [internalAstError] rspamd-3.8.1/src/libserver/re_cache.c:1254:8: error: Syntax Error: AST broken, 'if' doesn't have two operands. [internalAstError] rspamd-3.8.1/src/libserver/redis_pool.cxx:40:1: error: syntax error [syntaxError] rspamd-3.8.1/src/libserver/roll_history.c:41:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable roll_history [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/rspamd_control.c:375:14: debug: Scope::checkVariable found variable 'v' with varid 0. [varid0] rspamd-3.8.1/src/libserver/roll_history.c:82:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_SYMBOL_RESULT_IGNORED [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/rspamd_control.c:814:14: debug: Scope::checkVariable found variable 'v' with varid 0. [varid0] rspamd-3.8.1/src/libserver/roll_history.c:143:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable message_id [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/roll_history.c:208:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/roll_history.c:383:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/roll_history.c:105:24: style: Variable 'action' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libserver/rspamd_control.c:98:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_RESPONSE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/rspamd_control.c:126:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_RESPONSE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/rspamd_control.c:149:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_INFO [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/rspamd_control.c:173:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UCL_OBJECT [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/rspamd_control.c:302:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_READ [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/rspamd_control.c:347:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_INFO [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/rspamd_control.c:375:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable v [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/rspamd_control.c:563:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RUSAGE_SELF [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/rspamd_control.c:642:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/rspamd_control.c:698:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_READ [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/rspamd_control.c:740:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/rspamd_control.c:773:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable child_dead [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/rspamd_control.c:814:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable v [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/rspamd_control.c:852:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_READ [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/rspamd_control.c:1069:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_READ [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/rspamd_control.c:1094:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_WRITE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/rspamd_control.c:1209:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_WRITE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/spf.c:408:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/spf.c:599:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_INFO [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/spf.c:625:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_INFO [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/spf.c:668:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/spf.c:722:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RDNS_REQUEST_AAAA [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/spf.c:806:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RDNS_REQUEST_TXT [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/spf.c:862:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RDNS_TRUNCATED [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/spf.c:1214:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_MESSAGE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/spf.c:1278:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_WARNING [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/spf.c:1335:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_WARNING [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/spf.c:1381:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_WARNING [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/spf.c:1417:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/spf.c:1435:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET_ADDRSTRLEN [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/spf.c:1511:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET6_ADDRSTRLEN [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/spf.c:1588:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_WARNING [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/spf.c:1635:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_INFO [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/spf.c:1647:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_WARNING [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/spf.c:1702:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_WARNING [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/spf.c:1894:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_MESSAGE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/spf.c:2259:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_MESSAGE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/spf.c:2429:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_MESSAGE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/spf.c:2479:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RDNS_TRUNCATED [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/spf.c:2559:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_EMAIL_ADDR_EMPTY [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/spf.c:2603:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_MEMPOOL_SPF_DOMAIN [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/spf.c:2680:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RDNS_REQUEST_TXT [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/spf.c:2704:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET6_ADDRSTRLEN [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/spf.c:2751:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/maps/map.c:299:48: style: Parameter 'conn' can be declared as pointer to const. However it seems that 'http_map_finish' is a callback function, if 'conn' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rspamd-3.8.1/src/libserver/maps/map.c:1827:4: note: You might need to cast the function pointer here rspamd-3.8.1/src/libserver/maps/map.c:299:48: note: Parameter 'conn' can be declared as pointer to const rspamd-3.8.1/src/libserver/maps/map.c:617:10: style: Variable 'end' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libserver/maps/map.c:909:32: style: Parameter 'bk' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libserver/maps/map.c:1934:26: style: Variable 'data' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libserver/maps/map.c:2004:29: style: Variable 'bk' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libserver/maps/map.c:2224:47: style: Parameter 'cfg' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libserver/maps/map.c:1924:6: style: Variable 'map' is assigned a value that is never used. [unreadVariable] rspamd-3.8.1/src/libserver/ssl_util.c:78:1: error: There is an unknown macro here somewhere. Configuration is required. If INIT_LOG_MODULE is a macro then please configure it. [unknownMacro] rspamd-3.8.1/src/libserver/symcache/symcache_internal.hxx:198:4: debug: Failed to parse 'using T = typeof ( elt ) ;'. The checking continues anyway. [simplifyUsing] rspamd-3.8.1/src/libserver/symcache/symcache_internal.hxx:216:4: debug: Failed to parse 'using T = typeof ( elt ) ;'. The checking continues anyway. [simplifyUsing] rspamd-3.8.1/src/libserver/symcache/symcache_periodic.hxx:48:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rspamd_symcache_log_id [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/symcache/symcache_periodic.hxx:72:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rspamd_symcache_log_id [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/symcache/symcache_item.hxx:333:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SYMBOL_TYPE_CALLBACK [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/symcache/symcache_item.hxx:342:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SYMBOL_TYPE_GHOST [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/symcache/symcache_c.cxx:93:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_CRITICAL [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/symcache/symcache_c.cxx:601:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_LOG_FUNC [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/symcache/symcache_c.cxx:618:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_LOG_FUNC [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/symcache/symcache_item.hxx:63:13: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] rspamd-3.8.1/src/libserver/symcache/symcache_internal.hxx:314:11: warning: Member variable 'symcache::cur_order_gen' is not initialized in the constructor. [uninitMemberVar] rspamd-3.8.1/src/libserver/symcache/symcache_internal.hxx:314:11: warning: Member variable 'symcache::stats_symbols_count' is not initialized in the constructor. [uninitMemberVar] rspamd-3.8.1/src/libserver/symcache/symcache_internal.hxx:314:11: warning: Member variable 'symcache::last_profile' is not initialized in the constructor. [uninitMemberVar] rspamd-3.8.1/src/libserver/symcache/symcache_runtime.hxx:49:1: style: The class 'symcache_runtime' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor] rspamd-3.8.1/src/libserver/symcache/symcache_internal.hxx:536:7: style:inconclusive: Technically the member function 'rspamd::symcache::symcache::symbols_foreach' can be const. [functionConst] rspamd-3.8.1/src/libserver/symcache/symcache_internal.hxx:549:7: style:inconclusive: Technically the member function 'rspamd::symcache::symcache::composites_foreach' can be const. [functionConst] rspamd-3.8.1/src/libserver/symcache/symcache_internal.hxx:325:7: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/symcache/symcache_periodic.hxx:51:20: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/symcache/symcache_periodic.hxx:54:48: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/symcache/symcache_periodic.hxx:59:19: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/symcache/symcache_periodic.hxx:65:19: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/symcache/symcache_item.hxx:433:28: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/symcache/symcache_c.cxx:351:9: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/symcache/symcache_c.cxx:678:9: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/symcache/symcache_c.cxx:629:3: style: Statements following noreturn function 'g_abort()' will never be executed. [unreachableCode] rspamd-3.8.1/src/libserver/symcache/symcache_c.cxx:56:8: style: Variable 'real_cache' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libserver/symcache/symcache_c.cxx:134:8: style: Variable 'real_cache' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libserver/symcache/symcache_c.cxx:158:8: style: Variable 'real_cache' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libserver/symcache/symcache_c.cxx:180:8: style: Variable 'real_cache' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libserver/symcache/symcache_c.cxx:187:8: style: Variable 'real_cache' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libserver/symcache/symcache_c.cxx:204:8: style: Variable 'real_cache' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libserver/symcache/symcache_c.cxx:238:8: style: Variable 'real_cache' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libserver/symcache/symcache_c.cxx:256:8: style: Variable 'real_item' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libserver/symcache/symcache_c.cxx:267:8: style: Variable 'real_item' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libserver/symcache/symcache_c.cxx:281:8: style: Variable 'cache_runtime' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libserver/symcache/symcache_c.cxx:288:7: style: Variable 'static_item' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libserver/symcache/symcache_c.cxx:296:8: style: Variable 'cache_runtime' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libserver/symcache/symcache_c.cxx:303:7: style: Variable 'static_item' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libserver/symcache/symcache_c.cxx:311:8: style: Variable 'real_cache' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libserver/symcache/symcache_c.cxx:325:8: style: Variable 'real_item' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libserver/symcache/symcache_c.cxx:333:8: style: Variable 'real_cache' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libserver/symcache/symcache_c.cxx:368:8: style: Variable 'real_cache' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libserver/symcache/symcache_c.cxx:385:8: style: Variable 'real_cache' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libserver/symcache/symcache_c.cxx:402:8: style: Variable 'real_cache' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libserver/symcache/symcache_c.cxx:413:8: style: Variable 'real_cache' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libserver/symcache/symcache_c.cxx:434:8: style: Variable 'real_cache' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libserver/symcache/symcache_c.cxx:449:8: style: Variable 'real_cache' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libserver/symcache/symcache_c.cxx:483:8: style: Variable 'real_cache' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libserver/symcache/symcache_c.cxx:505:8: style: Variable 'real_cache' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libserver/symcache/symcache_c.cxx:519:8: style: Variable 'real_cache' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libserver/symcache/symcache_c.cxx:533:8: style: Variable 'real_item' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libserver/symcache/symcache_c.cxx:548:8: style: Variable 'real_cache' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libserver/symcache/symcache_c.cxx:560:8: style: Variable 'cache_runtime' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libserver/symcache/symcache_c.cxx:597:8: style: Variable 'cache_runtime' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libserver/symcache/symcache_c.cxx:614:8: style: Variable 'cache_runtime' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libserver/symcache/symcache_c.cxx:654:8: style: Variable 'real_cache' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libserver/symcache/symcache_id_list.hxx:76:7: style: Consider using std::fill or std::generate algorithm instead of a raw loop. [useStlAlgorithm] rspamd-3.8.1/src/libserver/rspamd_control.c:339:61: style: Parameter 'conn' can be declared as pointer to const. However it seems that 'rspamd_control_error_handler' is a callback function, if 'conn' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rspamd-3.8.1/src/libserver/rspamd_control.c:525:16: note: You might need to cast the function pointer here rspamd-3.8.1/src/libserver/rspamd_control.c:339:61: note: Parameter 'conn' can be declared as pointer to const rspamd-3.8.1/src/libserver/rspamd_control.c:461:62: style: Parameter 'conn' can be declared as pointer to const. However it seems that 'rspamd_control_finish_handler' is a callback function, if 'conn' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rspamd-3.8.1/src/libserver/rspamd_control.c:526:16: note: You might need to cast the function pointer here rspamd-3.8.1/src/libserver/rspamd_control.c:461:62: note: Parameter 'conn' can be declared as pointer to const rspamd-3.8.1/src/libserver/rspamd_control.c:549:43: style: Parameter 'cmd' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libserver/rspamd_control.c:761:24: style: Variable 'parent' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libserver/rspamd_control.c:154:31: error: Uninitialized variables: elt.reply, elt.ev, elt.event_loop, elt.wrk_type, elt.wrk_pid, elt.ud, elt.attached_fd, elt.pending_elts, elt.prev, elt.next [uninitvar] rspamd-3.8.1/src/libserver/rspamd_control.c:181:9: error: Uninitialized variable: elt->wrk_type [uninitvar] rspamd-3.8.1/src/libserver/symcache/symcache_impl.cxx:36:1: error: There is an unknown macro here somewhere. Configuration is required. If INIT_LOG_MODULE_PUBLIC is a macro then please configure it. [unknownMacro] rspamd-3.8.1/src/libserver/symcache/symcache_item.cxx:82:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rspamd_symcache_log_id [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/symcache/symcache_item.cxx:204:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rspamd_symcache_log_id [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/symcache/symcache_item.cxx:311:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_UNREACHABLE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/symcache/symcache_item.cxx:324:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SYMBOL_TYPE_EMPTY [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/symcache/symcache_item.cxx:414:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_WARNING [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/symcache/symcache_item.cxx:504:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/symcache/symcache_item.cxx:545:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SYMBOL_TYPE_CONNFILTER [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/symcache/symcache_item.cxx:621:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/symcache/symcache_item.cxx:630:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rspamd_lua_traceback [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/symcache/symcache_runtime.cxx:57:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rspamd_symcache_log_id [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/symcache/symcache_runtime.cxx:78:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_TASK_FLAG_SKIP [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/symcache/symcache_runtime.cxx:180:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rspamd_symcache_log_id [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/symcache/symcache_runtime.cxx:206:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rspamd_symcache_log_id [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/symcache/symcache_runtime.cxx:261:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rspamd_symcache_log_id [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/symcache/symcache_runtime.cxx:284:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rspamd_symcache_log_id [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/symcache/symcache_runtime.cxx:315:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_LOG_FUNC [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/symcache/symcache_runtime.cxx:389:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_LOG_FUNC [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/symcache/symcache_runtime.cxx:472:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rspamd_symcache_log_id [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/symcache/symcache_runtime.cxx:510:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_TASK_FLAG_PASS_ALL [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/symcache/symcache_runtime.cxx:551:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_LOG_FUNC [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/symcache/symcache_runtime.cxx:696:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rspamd_symcache_log_id [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/symcache/symcache_runtime.cxx:793:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rspamd_symcache_log_id [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/symcache/symcache_item.cxx:292:16: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] rspamd-3.8.1/src/libserver/task.c:49:1: error: There is an unknown macro here somewhere. Configuration is required. If __KHASH_IMPL is a macro then please configure it. [unknownMacro] rspamd-3.8.1/src/libserver/spf.c:2689:38: style:inconclusive: Function '_spf_record_ref' argument 1 names different: declaration 'rec' definition 'flat'. [funcArgNamesDifferent] rspamd-3.8.1/src/libserver/spf.h:127:59: note: Function '_spf_record_ref' argument 1 names different: declaration 'rec' definition 'flat'. rspamd-3.8.1/src/libserver/spf.c:2689:38: note: Function '_spf_record_ref' argument 1 names different: declaration 'rec' definition 'flat'. rspamd-3.8.1/src/libserver/spf.c:2695:45: style:inconclusive: Function '_spf_record_unref' argument 1 names different: declaration 'rec' definition 'flat'. [funcArgNamesDifferent] rspamd-3.8.1/src/libserver/spf.h:133:45: note: Function '_spf_record_unref' argument 1 names different: declaration 'rec' definition 'flat'. rspamd-3.8.1/src/libserver/spf.c:2695:45: note: Function '_spf_record_unref' argument 1 names different: declaration 'rec' definition 'flat'. rspamd-3.8.1/src/libserver/spf.c:564:77: style: Parameter 'task' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libserver/spf.c:610:22: style: Variable 'task' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libserver/spf.c:1139:37: style: Parameter 'resolved' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libserver/spf.c:1633:34: style: Parameter 'rec' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libserver/spf.c:1847:71: style: Parameter 'resolved' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libserver/spf.c:2058:22: style: Variable 'bytes' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libserver/spf.c:2555:31: style: Variable 'addr' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libserver/symcache/symcache_runtime.hxx:113:7: style:inconclusive: Technically the member function 'rspamd::symcache::symcache_runtime::enable_symbol' can be const. [functionConst] rspamd-3.8.1/src/libserver/symcache/symcache_runtime.cxx:195:24: note: Technically the member function 'rspamd::symcache::symcache_runtime::enable_symbol' can be const. rspamd-3.8.1/src/libserver/symcache/symcache_runtime.hxx:113:7: note: Technically the member function 'rspamd::symcache::symcache_runtime::enable_symbol' can be const. rspamd-3.8.1/src/libserver/symcache/symcache_runtime.cxx:42:21: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/symcache/symcache_runtime.cxx:62:27: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/symcache/symcache_runtime.cxx:91:18: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/symcache/symcache_runtime.cxx:101:17: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/symcache/symcache_runtime.cxx:642:15: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/symcache/symcache_runtime.cxx:652:15: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/symcache/symcache_runtime.cxx:668:15: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/symcache/symcache_runtime.cxx:86:23: style: The scope of the variable 'cur' can be reduced. [variableScope] rspamd-3.8.1/src/libserver/symcache/symcache_runtime.cxx:160:9: style: The scope of the variable 'dyn_item' can be reduced. [variableScope] rspamd-3.8.1/src/libserver/symcache/symcache_runtime.cxx:711:13: style: The scope of the variable 'tm' can be reduced. [variableScope] rspamd-3.8.1/src/libserver/symcache/symcache_runtime.cxx:678:84: style:inconclusive: Function 'finalize_item' argument 2 names different: declaration 'item' definition 'dyn_item'. [funcArgNamesDifferent] rspamd-3.8.1/src/libserver/symcache/symcache_runtime.hxx:190:67: note: Function 'finalize_item' argument 2 names different: declaration 'item' definition 'dyn_item'. rspamd-3.8.1/src/libserver/symcache/symcache_runtime.cxx:678:84: note: Function 'finalize_item' argument 2 names different: declaration 'item' definition 'dyn_item'. rspamd-3.8.1/src/libserver/symcache/symcache_runtime.cxx:439:75: style: Parameter 'cache' can be declared as reference to const [constParameterReference] rspamd-3.8.1/src/libserver/symcache/symcache_runtime.cxx:247:10: style: Variable 'dyn_item' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libserver/symcache/symcache_runtime.cxx:553:80: style: Parameter 'dyn_item' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libserver/symcache/symcache_runtime.cxx:810:69: style: Parameter 'dyn_item' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libstat/backends/cdb_backend.cxx:54:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libstat/backends/cdb_backend.cxx:60:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cdb [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libstat/backends/cdb_backend.cxx:171:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable int64_t [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libstat/backends/cdb_backend.cxx:206:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libstat/backends/cdb_backend.cxx:218:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable learn_ham_key [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libstat/backends/cdb_backend.cxx:254:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libstat/backends/cdb_backend.cxx:282:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UCL_STRING [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libstat/backends/cdb_backend.cxx:415:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_TASK_FLAG_HAS_SPAM_TOKENS [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/worker_util.c:1063:14: debug: Scope::checkVariable found variable 'v' with varid 0. [varid0] rspamd-3.8.1/src/libserver/worker_util.c:1344:14: debug: Scope::checkVariable found variable 'v' with varid 0. [varid0] rspamd-3.8.1/src/libserver/worker_util.c:1493:14: debug: Scope::checkVariable found variable 'v' with varid 0. [varid0] rspamd-3.8.1/src/libstat/backends/cdb_backend.cxx:165:27: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libstat/backends/cdb_backend.cxx:173:18: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libstat/backends/cdb_backend.cxx:186:27: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libstat/backends/cdb_backend.cxx:200:18: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libstat/backends/cdb_backend.cxx:221:10: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libstat/backends/cdb_backend.cxx:379:40: style: Parameter 'task' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libstat/backends/cdb_backend.cxx:380:39: style: Parameter 'stcf' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libstat/backends/cdb_backend.cxx:395:8: style: Variable 'cdbp' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libstat/backends/cdb_backend.cxx:425:49: style: Parameter 'task' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libstat/backends/cdb_backend.cxx:426:17: style: Parameter 'runtime' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libstat/backends/cdb_backend.cxx:427:17: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libstat/backends/cdb_backend.cxx:432:45: style: Parameter 'task' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libstat/backends/cdb_backend.cxx:433:18: style: Parameter 'tokens' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libstat/backends/cdb_backend.cxx:435:16: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libstat/backends/cdb_backend.cxx:440:47: style: Parameter 'task' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libstat/backends/cdb_backend.cxx:441:18: style: Parameter 'runtime' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libstat/backends/cdb_backend.cxx:442:18: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libstat/backends/cdb_backend.cxx:448:52: style: Parameter 'task' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libstat/backends/cdb_backend.cxx:449:20: style: Parameter 'runtime' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libstat/backends/cdb_backend.cxx:452:8: style: Variable 'cdbp' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libstat/backends/cdb_backend.cxx:456:43: style: Parameter 'task' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libstat/backends/cdb_backend.cxx:457:17: style: Parameter 'runtime' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libstat/backends/cdb_backend.cxx:458:17: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libstat/backends/cdb_backend.cxx:463:43: style: Parameter 'task' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libstat/backends/cdb_backend.cxx:464:17: style: Parameter 'runtime' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libstat/backends/cdb_backend.cxx:465:17: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libstat/backends/cdb_backend.cxx:470:39: style: Parameter 'task' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libstat/backends/cdb_backend.cxx:471:16: style: Parameter 'runtime' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libstat/backends/cdb_backend.cxx:474:8: style: Variable 'cdbp' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libstat/backends/cdb_backend.cxx:478:30: style: Parameter 'runtime' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libstat/backends/cdb_backend.cxx:478:48: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libstat/backends/cdb_backend.cxx:483:43: style: Parameter 'runtime' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libstat/backends/cdb_backend.cxx:483:59: style: Parameter 'len' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libstat/backends/http_backend.cxx:134:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uint64_t [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libstat/backends/http_backend.cxx:203:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UCL_OBJECT [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libstat/backends/http_backend.cxx:327:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_MEMPOOL_HTTP_STAT_BACKEND_RUNTIME [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libstat/backends/http_backend.cxx:356:38: style: Return value 'real_runtime->process_tokens(task,tokens,id,false)' is always true [knownConditionTrueFalse] rspamd-3.8.1/src/libstat/backends/http_backend.cxx:356:38: note: Calling function 'process_tokens' returns 1 rspamd-3.8.1/src/libstat/backends/http_backend.cxx:356:38: note: Return value 'real_runtime->process_tokens(task,tokens,id,false)' is always true rspamd-3.8.1/src/libstat/backends/http_backend.cxx:380:38: style: Return value 'real_runtime->process_tokens(task,tokens,id,true)' is always true [knownConditionTrueFalse] rspamd-3.8.1/src/libstat/backends/http_backend.cxx:380:38: note: Calling function 'process_tokens' returns 1 rspamd-3.8.1/src/libstat/backends/http_backend.cxx:380:38: note: Return value 'real_runtime->process_tokens(task,tokens,id,true)' is always true rspamd-3.8.1/src/libstat/backends/http_backend.cxx:111:4: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libstat/backends/http_backend.cxx:137:13: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libstat/backends/http_backend.cxx:138:8: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libstat/backends/http_backend.cxx:144:14: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libstat/backends/http_backend.cxx:145:9: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libstat/backends/http_backend.cxx:330:23: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libstat/backends/http_backend.cxx:341:10: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libstat/backends/http_backend.cxx:353:22: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libstat/backends/http_backend.cxx:377:22: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libstat/backends/http_backend.cxx:322:37: style: Parameter 'stcf' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libstat/backends/http_backend.cxx:363:50: style: Parameter 'task' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libstat/backends/http_backend.cxx:364:18: style: Parameter 'runtime' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libstat/backends/http_backend.cxx:365:18: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libstat/backends/http_backend.cxx:387:48: style: Parameter 'task' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libstat/backends/http_backend.cxx:388:19: style: Parameter 'runtime' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libstat/backends/http_backend.cxx:389:19: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libstat/backends/http_backend.cxx:395:53: style: Parameter 'task' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libstat/backends/http_backend.cxx:396:18: style: Parameter 'runtime' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libstat/backends/http_backend.cxx:397:18: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libstat/backends/http_backend.cxx:403:44: style: Parameter 'task' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libstat/backends/http_backend.cxx:404:18: style: Parameter 'runtime' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libstat/backends/http_backend.cxx:405:18: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libstat/backends/http_backend.cxx:411:44: style: Parameter 'task' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libstat/backends/http_backend.cxx:412:18: style: Parameter 'runtime' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libstat/backends/http_backend.cxx:413:18: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libstat/backends/http_backend.cxx:419:40: style: Parameter 'task' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libstat/backends/http_backend.cxx:420:17: style: Parameter 'runtime' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libstat/backends/http_backend.cxx:421:17: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libstat/backends/http_backend.cxx:427:31: style: Parameter 'runtime' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libstat/backends/http_backend.cxx:427:49: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libstat/backends/http_backend.cxx:433:44: style: Parameter 'runtime' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libstat/backends/http_backend.cxx:433:60: style: Parameter 'len' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libstat/backends/http_backend.cxx:437:33: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libserver/worker_util.c:97:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOFT_SHUTDOWN_TIME [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/worker_util.c:118:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_TASK_FLAG_PROCESSING [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/worker_util.c:143:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_TASK_FLAG_PROCESSING [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/worker_util.c:169:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_WORKER_SCANNER [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/worker_util.c:214:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rspamd_worker_wanna_die [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/worker_util.c:224:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rspamd_worker_wanna_die [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/worker_util.c:250:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rspamd_worker_state_running [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/worker_util.c:302:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_INFO [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/worker_util.c:311:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rspamd_worker_state_running [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/worker_util.c:386:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_BLOCK [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/worker_util.c:396:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_DFL [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/worker_util.c:502:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_READ [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/worker_util.c:574:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_RESPONSE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/worker_util.c:603:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_RESPONSE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/worker_util.c:627:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_RESPONSE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/worker_util.c:658:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_RESPONSE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/worker_util.c:682:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_CRITICAL [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/worker_util.c:714:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RLIMIT_NOFILE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/worker_util.c:835:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_A [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/worker_util.c:876:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rspamd_child_offline [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/worker_util.c:960:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNIX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/worker_util.c:1038:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OTTERY_ERR_NONE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/worker_util.c:1258:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_DGRAM [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/worker_util.c:1325:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_BLOCK [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/worker_util.c:1338:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_UNBLOCK [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/worker_util.c:1344:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable v [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/worker_util.c:1381:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_WORKER_SCANNER [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/worker_util.c:1392:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_WORKER_CONTROLLER [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/worker_util.c:1448:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/worker_util.c:1493:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable v [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/worker_util.c:1579:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_MONITORED_TAG_LEN [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/worker_util.c:1749:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rspamd_worker_state_running [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/worker_util.c:1917:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOENT [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/worker_util.c:1963:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/worker_util.c:2001:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/worker_util.c:2093:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/worker_util.c:2167:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable METRIC_ACTION_MAX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/worker_util.c:2227:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_MAP_WATCH_PRIMARY_CONTROLLER [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/worker_util.c:2293:85: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable item [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libstat/backends/mmaped_file.c:146:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MAXDOUBLE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libstat/backends/mmaped_file.c:416:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libstat/backends/mmaped_file.c:537:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MADV_SEQUENTIAL [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libstat/backends/mmaped_file.c:566:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libstat/backends/mmaped_file.c:657:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MS_ASYNC [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libstat/backends/mmaped_file.c:706:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libstat/backends/mmaped_file.c:863:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UCL_STRING [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libstat/backends/mmaped_file.c:962:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_TASK_FLAG_HAS_SPAM_TOKENS [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libstat/backends/mmaped_file.c:1052:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UCL_OBJECT [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libstat/backends/mmaped_file.c:1085:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MS_INVALIDATE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/url.c:430:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/url.c:492:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_MULTIPATTERN_ICASE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/url.c:553:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_MULTIPATTERN_ICASE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/url.c:723:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UF_SCHEMA [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/url.c:910:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UF_SCHEMA [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/url.c:1058:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UF_SCHEMA [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/url.c:1725:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/url.c:1817:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET6_ADDRSTRLEN [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/url.c:2178:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UF_HOST [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/url.c:2207:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MAXUINT16 [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/url.c:2982:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UF_USERINFO [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/url.c:3096:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UF_HOST [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/url.c:3466:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable urls [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/url.c:3503:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rspamd_process_exception [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/url.c:3712:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable urls [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/url.c:4283:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_CRYPTOBOX_HASHFAST_INDEPENDENT [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libstat/backends/mmaped_file.c:278:27: style: Variable 'header' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libstat/backends/mmaped_file.c:299:27: style: Variable 'header' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libstat/backends/mmaped_file.c:401:27: style: Variable 'header' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libstat/backends/mmaped_file.c:530:16: style: Variable 'end' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libstat/backends/mmaped_file.c:690:11: style: Variable 'tok_conf' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libstat/backends/mmaped_file.c:853:58: style: Parameter 'st' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libstat/backends/mmaped_file.c:930:48: style: Parameter 'task' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libstat/backends/mmaped_file.c:931:41: style: Parameter 'stcf' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libstat/backends/mmaped_file.c:978:18: style: Variable 'tok' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libstat/backends/mmaped_file.c:1092:57: style: Parameter 'task' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libstat/backends/mmaped_file.c:1092:72: style: Parameter 'runtime' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libstat/backends/mmaped_file.c:1093:19: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libstat/backends/mmaped_file.c:1103:27: style: Variable 'header' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libstat/backends/redis_backend.cxx:618:17: debug: Failed to instantiate template "redis_stat_runtime". The checking continues anyway. [templateInstantiation] rspamd-3.8.1/src/libserver/worker_util.c:2178:12: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] rspamd-3.8.1/src/libstat/backends/redis_backend.cxx:68:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libstat/backends/redis_backend.cxx:120:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libstat/backends/redis_backend.cxx:135:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libstat/backends/redis_backend.cxx:215:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rspamd_lua_traceback [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libstat/backends/redis_backend.cxx:416:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UCL_INT [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libstat/backends/redis_backend.cxx:452:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UCL_BOOLEAN [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libstat/backends/redis_backend.cxx:526:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_FLAG_CLASSIFIER_INCREMENTING_BACKEND [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libstat/backends/redis_backend.cxx:652:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable l8_ch [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libstat/backends/redis_backend.cxx:870:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_TASK_FLAG_HAS_SPAM_TOKENS [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libstat/backends/redis_backend.cxx:917:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rspamd_lua_traceback [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libstat/backends/redis_backend.cxx:1015:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rspamd_lua_traceback [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/worker_util.c:1248:14: style:inconclusive: Function 'rspamd_fork_worker' argument 3 names different: declaration 'idx' definition 'index'. [funcArgNamesDifferent] rspamd-3.8.1/src/libserver/worker_util.h:227:47: note: Function 'rspamd_fork_worker' argument 3 names different: declaration 'idx' definition 'index'. rspamd-3.8.1/src/libserver/worker_util.c:1248:14: note: Function 'rspamd_fork_worker' argument 3 names different: declaration 'idx' definition 'index'. rspamd-3.8.1/src/libserver/worker_util.c:1745:13: style:inconclusive: Function 'rspamd_check_termination_clause' argument 3 names different: declaration 'status' definition 'res'. [funcArgNamesDifferent] rspamd-3.8.1/src/libserver/worker_util.h:268:43: note: Function 'rspamd_check_termination_clause' argument 3 names different: declaration 'status' definition 'res'. rspamd-3.8.1/src/libserver/worker_util.c:1745:13: note: Function 'rspamd_check_termination_clause' argument 3 names different: declaration 'status' definition 'res'. rspamd-3.8.1/src/libserver/worker_util.c:95:7: style: Variable 'pnchecks' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libserver/worker_util.c:555:71: style: Parameter 'entry' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libserver/worker_util.c:1377:48: style: Parameter 'w' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libserver/worker_util.c:1388:59: style: Parameter 'w' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libserver/worker_util.c:1425:31: style: Variable 'cf' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libserver/worker_util.c:1577:24: style: Variable 'cfg' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libserver/worker_util.c:1665:46: style: Parameter 'rspamd_main' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libserver/worker_util.c:1692:72: style: Parameter 'unused_' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libserver/worker_util.c:1717:37: style: Variable 'ac_ev' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libserver/worker_util.c:1889:37: style: Variable 'actx' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libserver/worker_util.c:1939:24: style: Variable 'cfg' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libserver/worker_util.c:1993:62: style: Parameter 'rspamd_main' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libserver/worker_util.c:2078:56: style: Parameter 'rspamd_main' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libserver/worker_util.c:1577:28: style: Variable 'cfg' is assigned a value that is never used. [unreadVariable] rspamd-3.8.1/src/libserver/worker_util.c:1939:28: style: Variable 'cfg' is assigned a value that is never used. [unreadVariable] rspamd-3.8.1/src/libserver/html/html_url.cxx:66:10: style: Condition 'p2!=t2.data()' is always true [knownConditionTrueFalse] rspamd-3.8.1/src/libserver/html/html_url.cxx:207:25: style: Condition 'text_data.size()>4' is always true [knownConditionTrueFalse] rspamd-3.8.1/src/libserver/html/html_url.cxx:146:23: note: Assuming that condition 'text_data.size()>4' is not redundant rspamd-3.8.1/src/libserver/html/html_url.cxx:152:15: note: Assuming condition is false rspamd-3.8.1/src/libserver/html/html_url.cxx:207:25: note: Condition 'text_data.size()>4' is always true rspamd-3.8.1/src/libserver/html/html_url.cxx:95:20: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libserver/html/html_url.cxx:235:21: style: The scope of the variable 'turl' can be reduced. [variableScope] rspamd-3.8.1/src/libserver/html/html_url.cxx:236:35: style: The scope of the variable 'ex' can be reduced. [variableScope] rspamd-3.8.1/src/libserver/html/html_url.cxx:237:8: style: The scope of the variable 'saved_flags' can be reduced. [variableScope] rspamd-3.8.1/src/libstat/backends/sqlite3_backend.c:875:20: debug: Scope::checkVariable found variable 'copied_conf' with varid 0. [varid0] rspamd-3.8.1/src/libstat/classifiers/bayes.c:37:1: error: There is an unknown macro here somewhere. Configuration is required. If INIT_LOG_MODULE_PUBLIC is a macro then please configure it. [unknownMacro] rspamd-3.8.1/src/libstat/classifiers/lua_classifier.c:47:1: error: There is an unknown macro here somewhere. Configuration is required. If INIT_LOG_MODULE is a macro then please configure it. [unknownMacro] rspamd-3.8.1/src/libstat/backends/sqlite3_backend.c:174:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rspamd_lua_traceback [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libstat/backends/sqlite3_backend.c:231:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable text_parts [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libstat/backends/sqlite3_backend.c:346:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_BASE32_DEFAULT [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libstat/backends/sqlite3_backend.c:383:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UCL_STRING [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libstat/backends/sqlite3_backend.c:593:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_TASK_FLAG_HAS_SPAM_TOKENS [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libstat/backends/sqlite3_backend.c:841:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UCL_OBJECT [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libstat/backends/sqlite3_backend.c:875:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable copied_conf [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libstat/learn_cache/redis_cache.cxx:44:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libstat/learn_cache/redis_cache.cxx:71:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rspamd_cryptobox_HASHBYTES [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libstat/learn_cache/redis_cache.cxx:97:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rspamd_lua_traceback [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libstat/learn_cache/redis_cache.cxx:164:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_TASK_FLAG_LEARN_SPAM [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libstat/learn_cache/redis_cache.cxx:192:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_LEARN_IGNORE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libstat/learn_cache/redis_cache.cxx:224:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_LEARN_IGNORE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libstat/learn_cache/redis_cache.cxx:36:11: warning: Member variable 'rspamd_redis_cache_ctx::stcf' is not initialized in the constructor. [uninitMemberVar] rspamd-3.8.1/src/libstat/learn_cache/redis_cache.cxx:59:22: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libstat/learn_cache/redis_cache.cxx:62:38: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libstat/learn_cache/redis_cache.cxx:66:21: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libstat/learn_cache/redis_cache.cxx:67:38: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libstat/learn_cache/redis_cache.cxx:141:15: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libstat/learn_cache/redis_cache.cxx:188:15: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libstat/learn_cache/redis_cache.cxx:189:12: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libstat/learn_cache/redis_cache.cxx:221:15: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libstat/learn_cache/redis_cache.cxx:227:12: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libstat/learn_cache/redis_cache.cxx:252:15: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libstat/learn_cache/redis_cache.cxx:139:18: style:inconclusive: Function 'rspamd_stat_cache_redis_runtime' argument 2 names different: declaration 'ctx' definition 'c'. [funcArgNamesDifferent] rspamd-3.8.1/src/libstat/learn_cache/learn_cache.h:73:1: note: Function 'rspamd_stat_cache_redis_runtime' argument 2 names different: declaration 'ctx' definition 'c'. rspamd-3.8.1/src/libstat/learn_cache/redis_cache.cxx:139:18: note: Function 'rspamd_stat_cache_redis_runtime' argument 2 names different: declaration 'ctx' definition 'c'. rspamd-3.8.1/src/libstat/learn_cache/redis_cache.cxx:250:45: style:inconclusive: Function 'rspamd_stat_cache_redis_close' argument 1 names different: declaration 'ctx' definition 'c'. [funcArgNamesDifferent] rspamd-3.8.1/src/libstat/learn_cache/learn_cache.h:73:1: note: Function 'rspamd_stat_cache_redis_close' argument 1 names different: declaration 'ctx' definition 'c'. rspamd-3.8.1/src/libstat/learn_cache/redis_cache.cxx:250:45: note: Function 'rspamd_stat_cache_redis_close' argument 1 names different: declaration 'ctx' definition 'c'. rspamd-3.8.1/src/libstat/learn_cache/redis_cache.cxx:189:8: style: Variable 'h' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libstat/learn_cache/redis_cache.cxx:227:8: style: Variable 'h' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libstat/backends/redis_backend.cxx:729:26: warning: Obsolete function 'alloca' called. [allocaCalled] rspamd-3.8.1/src/libstat/backends/redis_backend.cxx:60:11: warning: Member variable 'redis_stat_ctx::stcf' is not initialized in the constructor. [uninitMemberVar] rspamd-3.8.1/src/libstat/backends/redis_backend.cxx:154:10: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libstat/backends/redis_backend.cxx:165:66: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libstat/backends/redis_backend.cxx:219:13: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libstat/backends/redis_backend.cxx:237:11: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libstat/backends/redis_backend.cxx:318:12: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libstat/backends/redis_backend.cxx:545:21: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libstat/backends/redis_backend.cxx:550:17: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libstat/backends/redis_backend.cxx:715:14: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libstat/backends/redis_backend.cxx:729:17: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libstat/backends/redis_backend.cxx:768:14: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libstat/backends/redis_backend.cxx:929:17: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libstat/backends/redis_backend.cxx:1028:14: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libstat/backends/redis_backend.cxx:1039:17: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libstat/backends/redis_backend.cxx:147:19: style: The scope of the variable 'tok' can be reduced. [variableScope] rspamd-3.8.1/src/libstat/backends/redis_backend.cxx:198:23: style: The scope of the variable 'ptask' can be reduced. [variableScope] rspamd-3.8.1/src/libstat/backends/redis_backend.cxx:200:7: style: The scope of the variable 'err_idx' can be reduced. [variableScope] rspamd-3.8.1/src/libstat/backends/redis_backend.cxx:444:15: style: The scope of the variable 'lua_script' can be reduced. [variableScope] rspamd-3.8.1/src/libstat/backends/redis_backend.cxx:190:13: style: Variable 'end' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libstat/backends/redis_backend.cxx:516:43: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libstat/backends/redis_backend.cxx:1028:8: style: Variable 'tok' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libstat/backends/redis_backend.cxx:1081:47: style: Parameter 'task' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libstat/backends/redis_backend.cxx:1082:18: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libstat/backends/redis_backend.cxx:1084:8: style: Variable 'rt' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libstat/backends/redis_backend.cxx:1090:45: style: Parameter 'task' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libstat/backends/redis_backend.cxx:1091:16: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libstat/backends/redis_backend.cxx:1093:8: style: Variable 'rt' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libstat/backends/redis_backend.cxx:1100:45: style: Parameter 'task' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libstat/backends/redis_backend.cxx:1101:16: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libstat/backends/redis_backend.cxx:1103:8: style: Variable 'rt' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libstat/backends/redis_backend.cxx:1110:41: style: Parameter 'task' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libstat/backends/redis_backend.cxx:1111:15: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libstat/backends/redis_backend.cxx:1113:8: style: Variable 'rt' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libstat/backends/redis_backend.cxx:1128:45: style: Parameter 'runtime' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libstat/backends/redis_backend.cxx:1129:19: style: Parameter 'len' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libstat/learn_cache/sqlite3_cache.c:107:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libstat/learn_cache/sqlite3_cache.c:171:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_LEARN_IGNORE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libstat/learn_cache/sqlite3_cache.c:227:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_TASK_FLAG_UNLEARN [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libstat/learn_cache/sqlite3_cache.c:265:47: style:inconclusive: Function 'rspamd_stat_cache_sqlite3_close' argument 1 names different: declaration 'ctx' definition 'c'. [funcArgNamesDifferent] rspamd-3.8.1/src/libstat/learn_cache/learn_cache.h:72:1: note: Function 'rspamd_stat_cache_sqlite3_close' argument 1 names different: declaration 'ctx' definition 'c'. rspamd-3.8.1/src/libstat/learn_cache/sqlite3_cache.c:265:47: note: Function 'rspamd_stat_cache_sqlite3_close' argument 1 names different: declaration 'ctx' definition 'c'. rspamd-3.8.1/src/libstat/learn_cache/sqlite3_cache.c:150:55: style: Parameter 'task' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libstat/stat_process.c:810:19: debug: Scope::checkVariable found variable 'cache_run' with varid 0. [varid0] rspamd-3.8.1/src/libstat/backends/sqlite3_backend.c:210:7: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] rspamd-3.8.1/src/libstat/backends/sqlite3_backend.c:632:12: style: Variable 'iv' is assigned a value that is never used. [unreadVariable] rspamd-3.8.1/src/libstat/stat_config.c:132:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TTABLE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libstat/stat_config.c:406:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_FLAG_CLASSIFIER_NO_BACKEND [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libstat/tokenizers/osb.c:111:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UCL_STRING [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libstat/tokenizers/osb.c:293:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_CRYPTOBOX_XXHASH64 [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libstat/stat_process.c:51:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rspamd_lua_traceback [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libstat/stat_process.c:125:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rspamd_cryptobox_HASHBYTES [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libstat/stat_process.c:209:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libstat/stat_process.c:282:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rspamd_ptr_array_free_hard [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libstat/stat_process.c:382:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_TASK_FLAG_HAS_SPAM_TOKENS [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libstat/stat_process.c:499:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_TASK_STAGE_CLASSIFIERS_PRE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libstat/stat_process.c:550:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable message_id [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libstat/stat_process.c:589:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_TASK_FLAG_ALREADY_LEARNED [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libstat/stat_process.c:702:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_FLAG_CLASSIFIER_NO_BACKEND [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libstat/stat_process.c:810:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cache_run [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libstat/stat_process.c:879:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_TASK_STAGE_LEARN_PRE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libstat/stat_process.c:938:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_TASK_FLAG_LEARN_SPAM [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libstat/stat_process.c:986:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UCL_BOOLEAN [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libstat/stat_process.c:1206:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UCL_ARRAY [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libstat/tokenizers/osb.c:300:13: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] rspamd-3.8.1/src/libstat/tokenizers/osb.c:94:43: style: Variable 'def' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libstat/tokenizers/osb.c:161:41: style: Parameter 'cf' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libstat/tokenizers/osb.c:164:47: style: Variable 'def' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libstat/tokenizers/tokenizers.c:95:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_STAT_TOKEN_FLAG_EXCEPTION [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libstat/tokenizers/tokenizers.c:192:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MAXUINT64 [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libstat/tokenizers/tokenizers.c:251:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_EXCEPTION_GENERIC [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libstat/tokenizers/tokenizers.c:330:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rspamd_stat_token_t [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libstat/tokenizers/tokenizers.c:601:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UTEXT_INITIALIZER [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libstat/tokenizers/tokenizers.c:655:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable subject [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libstat/tokenizers/tokenizers.c:702:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UChar32 [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libstat/tokenizers/tokenizers.c:771:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_STAT_TOKEN_FLAG_UTF [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libstat/tokenizers/tokenizers.c:915:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_STAT_TOKEN_FLAG_UTF [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libutil/addr.c:79:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNIX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libutil/addr.c:116:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MEM_ALIGN [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libutil/addr.c:134:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNIX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libutil/addr.c:181:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INADDR_ANY [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libutil/addr.c:217:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libutil/addr.c:323:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNIX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libutil/addr.c:656:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libutil/addr.c:690:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in_addr [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libutil/addr.c:721:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET6_ADDRSTRLEN [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libutil/addr.c:853:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET6_ADDRSTRLEN [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libutil/addr.c:953:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET6_ADDRSTRLEN [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libutil/addr.c:1052:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNIX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libutil/addr.c:1106:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNIX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libutil/addr.c:1233:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNIX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libutil/addr.c:1261:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNIX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libutil/addr.c:1282:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libutil/addr.c:1340:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libutil/addr.c:1483:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libutil/addr.c:1615:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INADDR_LOOPBACK [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libutil/addr.c:1649:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNIX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libutil/addr.c:1679:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNIX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libutil/addr.c:1715:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RDNS_REQUEST_A [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libutil/addr.c:1735:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MAXUINT32 [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libutil/addr.c:1795:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in_addr [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libutil/addr.c:1851:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNIX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libutil/addr.c:1874:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNIX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libutil/addr.c:1909:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libutil/addr.c:1950:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libutil/addr.c:2007:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNIX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libstat/tokenizers/tokenizers.c:78:35: style: Variable 'ex' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libstat/tokenizers/tokenizers.c:284:29: style: Parameter 'cfg' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libstat/tokenizers/tokenizers.c:661:32: style: Variable 'addr' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libstat/tokenizers/tokenizers.c:675:34: style: Variable 'tp' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libstat/tokenizers/tokenizers.c:652:10: style: Variable 'i' is assigned a value that is never used. [unreadVariable] rspamd-3.8.1/src/libstat/stat_process.c:1192:24: style:inconclusive: Function 'rspamd_stat_statistics' argument 4 names different: declaration 'res' definition 'target'. [funcArgNamesDifferent] rspamd-3.8.1/src/libstat/stat_api.h:139:27: note: Function 'rspamd_stat_statistics' argument 4 names different: declaration 'res' definition 'target'. rspamd-3.8.1/src/libstat/stat_process.c:1192:24: note: Function 'rspamd_stat_statistics' argument 4 names different: declaration 'res' definition 'target'. rspamd-3.8.1/src/libstat/stat_process.c:218:47: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] rspamd-3.8.1/src/libstat/stat_process.c:686:33: style: Variable 'sel' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libstat/stat_process.c:924:39: style: Parameter 'mres' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libutil/cxx/file_util.cxx:332:1: error: syntax error [syntaxError] rspamd-3.8.1/src/libutil/cxx/util_tests.cxx:63:57: debug: Function::addArguments found argument 'v1' with varid 0. [varid0] rspamd-3.8.1/src/libutil/cxx/util_tests.cxx:63:83: debug: Function::addArguments found argument 'v2' with varid 0. [varid0] rspamd-3.8.1/src/libutil/cxx/util.hxx:61:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libutil/cxx/util.hxx:68:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable string_view [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libutil/cxx/util.hxx:129:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libutil/cxx/util_tests.cxx:31:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sv [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libutil/cxx/utf8_util.cxx:145:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UNORM_YES [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libutil/cxx/utf8_util.cxx:183:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UTRANS_FORWARD [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libutil/cxx/utf8_util.cxx:221:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIMARY [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libutil/cxx/utf8_util.cxx:384:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable literals [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libutil/cxx/util.hxx:230:27: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libutil/cxx/util_tests.cxx:30:85: style: Variable 'cases' can be declared as const array [constVariable] rspamd-3.8.1/src/libutil/cxx/util_tests.cxx:50:123: style: Variable 'cases' can be declared as const array [constVariable] rspamd-3.8.1/src/libutil/cxx/util.hxx:151:10: warning: Possible dereference of an invalid iterator: pos [derefInvalidIterator] rspamd-3.8.1/src/libutil/expression.c:101:1: error: There is an unknown macro here somewhere. Configuration is required. If INIT_LOG_MODULE is a macro then please configure it. [unknownMacro] rspamd-3.8.1/src/libutil/cxx/utf8_util.cxx:133:15: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libutil/cxx/utf8_util.cxx:198:16: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/libutil/cxx/utf8_util.cxx:189:4: style: Statements following noreturn function 'g_error()' will never be executed. [unreachableCode] rspamd-3.8.1/src/libutil/cxx/utf8_util.cxx:218:4: style: Statements following noreturn function 'g_error()' will never be executed. [unreachableCode] rspamd-3.8.1/src/libutil/cxx/utf8_util.cxx:273:47: style: Variable 'cases' can be declared as const array [constVariable] rspamd-3.8.1/src/libutil/cxx/utf8_util.cxx:319:41: style: Variable 'cases' can be declared as const array [constVariable] rspamd-3.8.1/src/libutil/cxx/utf8_util.cxx:356:52: style: Variable 'cases' can be declared as const array [constVariable] rspamd-3.8.1/src/libutil/cxx/utf8_util.cxx:385:46: style: Variable 'cases' can be declared as const array [constVariable] rspamd-3.8.1/src/libutil/cxx/utf8_util.cxx:415:11: style: Variable 'ret' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libutil/fstring.c:44:38: error: There is an unknown macro here somewhere. Configuration is required. If G_GSIZE_FORMAT is a macro then please configure it. [unknownMacro] rspamd-3.8.1/src/libutil/heap.c:52:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _a [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libutil/heap.c:75:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _a [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libutil/heap.c:130:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _a [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libutil/hash.c:455:34: error: Syntax Error: AST broken, 'cur' doesn't have a parent. [internalAstError] rspamd-3.8.1/src/libutil/heap.c:166:30: style: Variable 'first' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libutil/libev_helper.c:36:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_TIMER [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libutil/mem_pool.c:219:0: error: #error No mmap methods are defined [preprocessorErrorDirective] rspamd-3.8.1/src/libutil/multipattern.c:201:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_REGEXP_ESCAPE_ASCII [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libutil/multipattern.c:257:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rspamd_multipattern [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libutil/multipattern.c:286:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rspamd_multipattern [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libutil/multipattern.c:556:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_MULTIPATTERN_GLOB [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libutil/multipattern.c:702:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_MULTIPATTERN_GLOB [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libutil/multipattern.c:83:25: style: Return value 'hs_suitable_cpu==RSPAMD_HS_SUPPORTED' is always false [knownConditionTrueFalse] rspamd-3.8.1/src/libutil/multipattern.c:372:1: error: Memory leak: pat.ptr [memleak] rspamd-3.8.1/src/libutil/multipattern.c:810:69: style: Parameter 'mp' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libutil/printf.c:389:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MAXUINT32 [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libutil/radix.c:57:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBBY [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libutil/printf.c:622:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_ASCII_DTOSTR_BUF_SIZE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libutil/radix.c:74:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBBY [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libutil/radix.c:157:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MEM_ALIGN [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libutil/radix.c:220:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MAXINT [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libutil/radix.c:299:29: style: Variable 'sin' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libutil/radix.c:322:30: style: Variable 'sin6' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libutil/regexp.c:343:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libutil/addr.c:80:36: style: The statement 'if (addr->u.in.addr.sa.sa_family!=addr->af) addr->u.in.addr.sa.sa_family=addr->af' is logically equivalent to 'addr->u.in.addr.sa.sa_family=addr->af'. [duplicateConditionalAssign] rspamd-3.8.1/src/libutil/addr.c:81:33: note: Assignment 'addr->u.in.addr.sa.sa_family=addr->af' rspamd-3.8.1/src/libutil/addr.c:80:36: note: Condition 'addr->u.in.addr.sa.sa_family!=addr->af' is redundant rspamd-3.8.1/src/libutil/addr.c:1434:17: style:inconclusive: Function 'rspamd_parse_host_port_priority' argument 4 names different: declaration 'name' definition 'name_ptr'. [funcArgNamesDifferent] rspamd-3.8.1/src/libutil/addr.h:284:34: note: Function 'rspamd_parse_host_port_priority' argument 4 names different: declaration 'name' definition 'name_ptr'. rspamd-3.8.1/src/libutil/addr.c:1434:17: note: Function 'rspamd_parse_host_port_priority' argument 4 names different: declaration 'name' definition 'name_ptr'. rspamd-3.8.1/src/libutil/addr.c:1092:7: style: Variable 'on' is assigned a value that is never used. [unreadVariable] rspamd-3.8.1/src/libutil/rrd.c:46:1: error: There is an unknown macro here somewhere. Configuration is required. If INIT_LOG_MODULE is a macro then please configure it. [unknownMacro] rspamd-3.8.1/src/libutil/shingles.c:303:24: error: There is an unknown macro here somewhere. Configuration is required. If RSPAMD_OPTIMIZE is a macro then please configure it. [unknownMacro] rspamd-3.8.1/src/libutil/sqlite_utils.c:38:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rspamd_sqlite3_prstmt [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libutil/sqlite_utils.c:95:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_STATIC [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libutil/sqlite_utils.c:214:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libutil/sqlite_utils.c:285:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libserver/url.c:3797:13: style: Return value 'r==0' is always false [knownConditionTrueFalse] rspamd-3.8.1/src/libserver/url.c:2188:34: style:inconclusive: Function 'rspamd_url_parse' argument 5 names different: declaration 'flags' definition 'parse_flags'. [funcArgNamesDifferent] rspamd-3.8.1/src/libserver/url.h:177:37: note: Function 'rspamd_url_parse' argument 5 names different: declaration 'flags' definition 'parse_flags'. rspamd-3.8.1/src/libserver/url.c:2188:34: note: Function 'rspamd_url_parse' argument 5 names different: declaration 'flags' definition 'parse_flags'. rspamd-3.8.1/src/libserver/url.c:3568:19: style:inconclusive: Function 'rspamd_url_text_extract' argument 4 names different: declaration 'cur_order' definition 'cur_url_order'. [funcArgNamesDifferent] rspamd-3.8.1/src/libserver/url.h:164:19: note: Function 'rspamd_url_text_extract' argument 4 names different: declaration 'cur_order' definition 'cur_url_order'. rspamd-3.8.1/src/libserver/url.c:3568:19: note: Function 'rspamd_url_text_extract' argument 4 names different: declaration 'cur_order' definition 'cur_url_order'. rspamd-3.8.1/src/libserver/url.c:3753:36: style:inconclusive: Function 'rspamd_url_hash' argument 1 names different: declaration 'u' definition 'url'. [funcArgNamesDifferent] rspamd-3.8.1/src/libserver/url.c:210:58: note: Function 'rspamd_url_hash' argument 1 names different: declaration 'u' definition 'url'. rspamd-3.8.1/src/libserver/url.c:3753:36: note: Function 'rspamd_url_hash' argument 1 names different: declaration 'u' definition 'url'. rspamd-3.8.1/src/libserver/url.c:3764:41: style:inconclusive: Function 'rspamd_url_host_hash' argument 1 names different: declaration 'u' definition 'url'. [funcArgNamesDifferent] rspamd-3.8.1/src/libserver/url.c:212:63: note: Function 'rspamd_url_host_hash' argument 1 names different: declaration 'u' definition 'url'. rspamd-3.8.1/src/libserver/url.c:3764:41: note: Function 'rspamd_url_host_hash' argument 1 names different: declaration 'u' definition 'url'. rspamd-3.8.1/src/libserver/url.c:3805:36: style:inconclusive: Function 'rspamd_urls_cmp' argument 1 names different: declaration 'a' definition 'u1'. [funcArgNamesDifferent] rspamd-3.8.1/src/libserver/url.c:213:55: note: Function 'rspamd_urls_cmp' argument 1 names different: declaration 'a' definition 'u1'. rspamd-3.8.1/src/libserver/url.c:3805:36: note: Function 'rspamd_urls_cmp' argument 1 names different: declaration 'a' definition 'u1'. rspamd-3.8.1/src/libserver/url.c:3805:59: style:inconclusive: Function 'rspamd_urls_cmp' argument 2 names different: declaration 'b' definition 'u2'. [funcArgNamesDifferent] rspamd-3.8.1/src/libserver/url.c:213:77: note: Function 'rspamd_urls_cmp' argument 2 names different: declaration 'b' definition 'u2'. rspamd-3.8.1/src/libserver/url.c:3805:59: note: Function 'rspamd_urls_cmp' argument 2 names different: declaration 'b' definition 'u2'. rspamd-3.8.1/src/libserver/url.c:3824:41: style:inconclusive: Function 'rspamd_urls_host_cmp' argument 1 names different: declaration 'a' definition 'u1'. [funcArgNamesDifferent] rspamd-3.8.1/src/libserver/url.c:214:60: note: Function 'rspamd_urls_host_cmp' argument 1 names different: declaration 'a' definition 'u1'. rspamd-3.8.1/src/libserver/url.c:3824:41: note: Function 'rspamd_urls_host_cmp' argument 1 names different: declaration 'a' definition 'u1'. rspamd-3.8.1/src/libserver/url.c:3824:64: style:inconclusive: Function 'rspamd_urls_host_cmp' argument 2 names different: declaration 'b' definition 'u2'. [funcArgNamesDifferent] rspamd-3.8.1/src/libserver/url.c:214:82: note: Function 'rspamd_urls_host_cmp' argument 2 names different: declaration 'b' definition 'u2'. rspamd-3.8.1/src/libserver/url.c:3824:64: note: Function 'rspamd_urls_host_cmp' argument 2 names different: declaration 'b' definition 'u2'. rspamd-3.8.1/src/libserver/url.c:4017:50: style:inconclusive: Function 'rspamd_url_encode' argument 2 names different: declaration 'dlen' definition 'pdlen'. [funcArgNamesDifferent] rspamd-3.8.1/src/libserver/url.h:272:63: note: Function 'rspamd_url_encode' argument 2 names different: declaration 'dlen' definition 'pdlen'. rspamd-3.8.1/src/libserver/url.c:4017:50: note: Function 'rspamd_url_encode' argument 2 names different: declaration 'dlen' definition 'pdlen'. rspamd-3.8.1/src/libserver/url.c:4359:38: style:inconclusive: Function 'rspamd_url_cmp_qsort' argument 1 names different: declaration 'u1' definition '_u1'. [funcArgNamesDifferent] rspamd-3.8.1/src/libserver/url.h:368:38: note: Function 'rspamd_url_cmp_qsort' argument 1 names different: declaration 'u1' definition '_u1'. rspamd-3.8.1/src/libserver/url.c:4359:38: note: Function 'rspamd_url_cmp_qsort' argument 1 names different: declaration 'u1' definition '_u1'. rspamd-3.8.1/src/libserver/url.c:4359:55: style:inconclusive: Function 'rspamd_url_cmp_qsort' argument 2 names different: declaration 'u2' definition '_u2'. [funcArgNamesDifferent] rspamd-3.8.1/src/libserver/url.h:368:54: note: Function 'rspamd_url_cmp_qsort' argument 2 names different: declaration 'u2' definition '_u2'. rspamd-3.8.1/src/libserver/url.c:4359:55: note: Function 'rspamd_url_cmp_qsort' argument 2 names different: declaration 'u2' definition '_u2'. rspamd-3.8.1/src/libserver/url.c:1658:22: style: Variable 'matcher' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libserver/url.c:2082:17: style: Variable 'end' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libserver/url.c:2537:8: style: Variable 'host_start' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libserver/url.c:2590:22: style: Variable 'matcher' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libserver/url.c:2676:42: style: Parameter 'cb' can be declared as pointer to const. However it seems that 'url_file_start' is a callback function, if 'cb' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rspamd-3.8.1/src/libserver/url.c:136:20: note: You might need to cast the function pointer here rspamd-3.8.1/src/libserver/url.c:2676:42: note: Parameter 'cb' can be declared as pointer to const rspamd-3.8.1/src/libserver/url.c:2693:40: style: Parameter 'cb' can be declared as pointer to const. However it seems that 'url_file_end' is a callback function, if 'cb' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rspamd-3.8.1/src/libserver/url.c:136:36: note: You might need to cast the function pointer here rspamd-3.8.1/src/libserver/url.c:2693:40: note: Parameter 'cb' can be declared as pointer to const rspamd-3.8.1/src/libserver/url.c:2727:41: style: Parameter 'cb' can be declared as pointer to const. However it seems that 'url_tld_start' is a callback function, if 'cb' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rspamd-3.8.1/src/libserver/url.c:435:12: note: You might need to cast the function pointer here rspamd-3.8.1/src/libserver/url.c:2727:41: note: Parameter 'cb' can be declared as pointer to const rspamd-3.8.1/src/libserver/url.c:2843:41: style: Parameter 'cb' can be declared as pointer to const. However it seems that 'url_web_start' is a callback function, if 'cb' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rspamd-3.8.1/src/libserver/url.c:168:21: note: You might need to cast the function pointer here rspamd-3.8.1/src/libserver/url.c:2843:41: note: Parameter 'cb' can be declared as pointer to const rspamd-3.8.1/src/libserver/url.c:3060:41: style: Parameter 'cb' can be declared as pointer to const. However it seems that 'url_tel_start' is a callback function, if 'cb' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rspamd-3.8.1/src/libserver/url.c:160:18: note: You might need to cast the function pointer here rspamd-3.8.1/src/libserver/url.c:3060:41: note: Parameter 'cb' can be declared as pointer to const rspamd-3.8.1/src/libserver/url.c:3077:39: style: Parameter 'cb' can be declared as pointer to const. However it seems that 'url_tel_end' is a callback function, if 'cb' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rspamd-3.8.1/src/libserver/url.c:160:33: note: You might need to cast the function pointer here rspamd-3.8.1/src/libserver/url.c:3077:39: note: Parameter 'cb' can be declared as pointer to const rspamd-3.8.1/src/libserver/url.c:3107:46: style: Parameter 'matcher' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libserver/url.c:3824:41: style: Parameter 'u1' can be declared as pointer to const. However it seems that 'rspamd_urls_host_cmp' is a callback function, if 'u1' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rspamd-3.8.1/src/libserver/url.c:220:27: note: You might need to cast the function pointer here rspamd-3.8.1/src/libserver/url.c:3824:41: note: Parameter 'u1' can be declared as pointer to const rspamd-3.8.1/src/libserver/url.c:3824:64: style: Parameter 'u2' can be declared as pointer to const. However it seems that 'rspamd_urls_host_cmp' is a callback function, if 'u2' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rspamd-3.8.1/src/libserver/url.c:220:27: note: You might need to cast the function pointer here rspamd-3.8.1/src/libserver/url.c:3824:64: note: Parameter 'u2' can be declared as pointer to const rspamd-3.8.1/src/libserver/url.c:4020:21: style: Variable 'dend' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libserver/url.c:550:43: warning: Division by result of sizeof(). g_array_sized_new() expects a size in bytes, did you intend to multiply instead? [sizeofDivisionMemfunc] rspamd-3.8.1/src/libserver/url.c:1754:16: style: Variable 'start_offset' is assigned a value that is never used. [unreadVariable] rspamd-3.8.1/src/libserver/url.c:2083:9: style: Variable 'i' is assigned a value that is never used. [unreadVariable] rspamd-3.8.1/src/libutil/sqlite_utils.c:470:7: style: Obsolete function 'sqlite3_prepare' called. It is recommended to use 'sqlite3_prepare_v2' instead. [prohibitedsqlite3_prepareCalled] rspamd-3.8.1/src/libutil/sqlite_utils.c:386:3: error: Resource leak: sqlite [resourceLeak] rspamd-3.8.1/src/libutil/sqlite_utils.c:30:40: style: Parameter 'init_stmt' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libutil/sqlite_utils.c:285:47: style: Variable 'pdir' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libutil/upstream.c:145:1: error: There is an unknown macro here somewhere. Configuration is required. If INIT_LOG_MODULE is a macro then please configure it. [unknownMacro] rspamd-3.8.1/src/libutil/util.c:1298:17: debug: Scope::checkVariable found variable 'nvalue' with varid 0. [varid0] rspamd-3.8.1/src/libutil/util.c:101:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libutil/util.c:113:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libutil/util.c:130:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libutil/util.c:195:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libutil/util.c:247:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_STREAM [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libutil/util.c:252:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_DGRAM [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libutil/util.c:269:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNIX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libutil/util.c:385:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libutil/util.c:447:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_LOCAL [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libutil/util.c:525:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libutil/util.c:713:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libutil/util.c:725:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libutil/util.c:766:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libutil/util.c:826:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libutil/util.c:862:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libutil/util.c:883:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libutil/util.c:963:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MEM_ALIGN [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libutil/util.c:1048:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_WRLCK [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libutil/util.c:1068:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_UNLCK [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libutil/util.c:1278:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_BLOCK [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libutil/util.c:1298:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nvalue [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libutil/util.c:1360:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libutil/util.c:1505:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tv_sec [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libutil/util.c:1560:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLOCKS_PER_SEC [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libutil/util.c:1616:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libutil/util.c:1864:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libutil/util.c:1924:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_WRITE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libutil/util.c:1981:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_WRITE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libutil/util.c:2234:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libutil/util.c:2308:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_WBITS [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libutil/util.c:2359:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libutil/util.c:2433:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libutil/str_util.c:459:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MAXLONG [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libutil/str_util.c:528:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MAXULONG [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libutil/str_util.c:543:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MAXUINT64 [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libutil/str_util.c:558:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MAXULONG [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libutil/str_util.c:3175:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBL_DIG [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libutil/str_util.c:3197:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rspamd_gstring_append_double [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libutil/str_util.c:3266:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rspamd_fstring_emit_append_double [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libutil/str_util.c:3596:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MEM_ALIGN [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libutil/str_util.c:3783:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MEM_ALIGN [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/libutil/regexp.c:623:9: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] rspamd-3.8.1/src/libutil/regexp.c:492:2: warning: Either the condition '(res)!=NULL' is redundant or there is possible null pointer dereference: res. [nullPointerRedundantCheck] rspamd-3.8.1/src/libutil/regexp.c:491:2: note: Assuming that condition '(res)!=NULL' is not redundant rspamd-3.8.1/src/libutil/regexp.c:492:2: note: Null pointer dereference rspamd-3.8.1/src/libutil/regexp.c:493:2: warning: Either the condition '(res)!=NULL' is redundant or there is possible null pointer dereference: res. [nullPointerRedundantCheck] rspamd-3.8.1/src/libutil/regexp.c:491:2: note: Assuming that condition '(res)!=NULL' is not redundant rspamd-3.8.1/src/libutil/regexp.c:493:2: note: Null pointer dereference rspamd-3.8.1/src/libutil/regexp.c:494:2: warning: Either the condition '(res)!=NULL' is redundant or there is possible null pointer dereference: res. [nullPointerRedundantCheck] rspamd-3.8.1/src/libutil/regexp.c:491:2: note: Assuming that condition '(res)!=NULL' is not redundant rspamd-3.8.1/src/libutil/regexp.c:494:2: note: Null pointer dereference rspamd-3.8.1/src/libutil/regexp.c:495:2: warning: Either the condition '(res)!=NULL' is redundant or there is possible null pointer dereference: res. [nullPointerRedundantCheck] rspamd-3.8.1/src/libutil/regexp.c:491:2: note: Assuming that condition '(res)!=NULL' is not redundant rspamd-3.8.1/src/libutil/regexp.c:495:2: note: Null pointer dereference rspamd-3.8.1/src/libutil/regexp.c:496:2: warning: Either the condition '(res)!=NULL' is redundant or there is possible null pointer dereference: res. [nullPointerRedundantCheck] rspamd-3.8.1/src/libutil/regexp.c:491:2: note: Assuming that condition '(res)!=NULL' is not redundant rspamd-3.8.1/src/libutil/regexp.c:496:2: note: Null pointer dereference rspamd-3.8.1/src/libutil/regexp.c:497:2: warning: Either the condition '(res)!=NULL' is redundant or there is possible null pointer dereference: res. [nullPointerRedundantCheck] rspamd-3.8.1/src/libutil/regexp.c:491:2: note: Assuming that condition '(res)!=NULL' is not redundant rspamd-3.8.1/src/libutil/regexp.c:497:2: note: Null pointer dereference rspamd-3.8.1/src/libutil/regexp.c:326:45: warning: Either the condition 'pattern==NULL' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] rspamd-3.8.1/src/libutil/regexp.c:342:14: note: Assuming that condition 'pattern==NULL' is not redundant rspamd-3.8.1/src/libutil/regexp.c:326:21: note: start is assigned 'pattern' here. rspamd-3.8.1/src/libutil/regexp.c:326:45: note: Null pointer addition rspamd-3.8.1/src/libutil/regexp.c:630:2: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] rspamd-3.8.1/src/libutil/regexp.c:654:2: note: Found duplicate branches for 'if' and 'else'. rspamd-3.8.1/src/libutil/regexp.c:630:2: note: Found duplicate branches for 'if' and 'else'. rspamd-3.8.1/src/libutil/regexp.c:1149:55: style: Parameter 'cfg' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libutil/regexp.c:53:10: style: struct member 'rspamd_regexp_s::exec_time' is never used. [unusedStructMember] rspamd-3.8.1/src/libutil/regexp.c:337:43: style: Variable 'err_code' is not assigned a value. [unassignedVariable] rspamd-3.8.1/src/lua/lua_cdb.c:170:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TUSERDATA [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_cdb.c:292:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_cdb.c:323:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_cdb.c:344:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_cdb.c:140:28: style: Local variable 't' shadows outer variable [shadowVariable] rspamd-3.8.1/src/lua/lua_cdb.c:125:6: note: Shadowed declaration rspamd-3.8.1/src/lua/lua_cdb.c:140:28: note: Shadow variable rspamd-3.8.1/src/lua/lua_cdb.c:224:14: style: Variable 'cdb' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_cfg_file.c:126:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UCL_SORT_KEYS_DEFAULT [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_classifier.c:76:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_classifier.c:133:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_classifier.c:60:35: style: Variable 'ccf' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_classifier.c:146:33: style: Variable 'st' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_classifier.c:161:33: style: Variable 'st' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_classifier.c:176:33: style: Variable 'st' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libutil/util.c:2366:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] rspamd-3.8.1/src/libutil/util.c:427:4: error: Memory leak: res [memleak] rspamd-3.8.1/src/libutil/util.c:446:8: style: The comparison 'r == -1' is always true. [knownConditionTrueFalse] rspamd-3.8.1/src/libutil/util.c:435:12: note: 'r' is assigned value '-1' here. rspamd-3.8.1/src/libutil/util.c:446:8: note: The comparison 'r == -1' is always true. rspamd-3.8.1/src/libutil/util.c:478:44: style:inconclusive: Function 'rspamd_signals_init' argument 1 names different: declaration 'sa' definition 'signals'. [funcArgNamesDifferent] rspamd-3.8.1/src/libutil/util.h:126:44: note: Function 'rspamd_signals_init' argument 1 names different: declaration 'sa' definition 'signals'. rspamd-3.8.1/src/libutil/util.c:478:44: note: Function 'rspamd_signals_init' argument 1 names different: declaration 'sa' definition 'signals'. rspamd-3.8.1/src/libutil/util.c:167:19: style: Variable 'cur' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libutil/util.c:559:42: style: Parameter 'pool' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libutil/util.c:560:27: style: Parameter 'argv' can be declared as const array [constParameter] rspamd-3.8.1/src/libutil/util.c:560:42: style: Parameter 'envp' can be declared as const array [constParameter] rspamd-3.8.1/src/libutil/util.c:703:39: style: Parameter 'pfh' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libutil/util.c:919:15: style: Parameter 'rcpt' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libutil/util.c:920:15: style: Parameter 'from' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libutil/util.c:1357:9: style: Variable 'end' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libutil/util.c:2503:32: style: Parameter 'ar' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libutil/util.c:2263:20: error: Uninitialized variable: temp [uninitvar] rspamd-3.8.1/src/libutil/util.c:2255:10: note: Assuming condition is false rspamd-3.8.1/src/libutil/util.c:2263:20: note: Uninitialized variable: temp rspamd-3.8.1/src/libutil/util.c:420:10: style: Variable 'r' is assigned a value that is never used. [unreadVariable] rspamd-3.8.1/src/lua/lua_common.c:519:38: error: There is an unknown macro here somewhere. Configuration is required. If RSPAMD_VERSION_MINOR is a macro then please configure it. [unknownMacro] rspamd-3.8.1/src/lua/lua_compress.c:106:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TNUMBER [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_compress.c:214:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_WBITS [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_compress.c:340:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_WBITS [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_compress.c:442:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZSTD_reset_session_and_parameters [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_compress.c:474:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZSTD_error_memory_allocation [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_compress.c:555:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZSTD_error_init_missing [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_config.c:3885:16: debug: Scope::checkVariable found variable 'v' with varid 0. [varid0] rspamd-3.8.1/src/lua/lua_config.c:3913:14: debug: Scope::checkVariable found variable 'v' with varid 0. [varid0] rspamd-3.8.1/src/lua/lua_config.c:1049:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UCL_OBJECT [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_config.c:1100:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_config.c:1114:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_config.c:1158:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_config.c:1200:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_config.c:1238:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_config.c:1378:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_config.c:1429:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TBOOLEAN [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_config.c:1561:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SYMBOL_TYPE_EXPLICIT_DISABLE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_config.c:1635:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TNUMBER [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_config.c:1680:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TNUMBER [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_config.c:1730:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UCL_ARRAY [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_config.c:1750:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SYMBOL_TYPE_FINE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_config.c:1796:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SYMBOL_TYPE_NORMAL [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_config.c:1890:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SYMBOL_TYPE_FINE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_config.c:1967:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_config.c:2185:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TSTRING [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_config.c:2279:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TSTRING [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_config.c:2320:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TSTRING [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_config.c:2367:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TNUMBER [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_config.c:2403:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TTABLE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_config.c:2495:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_config.c:2633:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SYMBOL_TYPE_COMPOSITE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_config.c:2659:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TFUNCTION [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_config.c:2977:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TFUNCTION [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_config.c:3000:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TFUNCTION [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_config.c:3050:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_RE_BODY [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_config.c:3155:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_REGEXP_FLAG_PCRE_ONLY [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_config.c:3176:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TFUNCTION [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_config.c:3205:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TFUNCTION [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_config.c:3235:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TFUNCTION [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_config.c:3282:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TFUNCTION [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_config.c:3333:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_config.c:3362:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_config.c:3388:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TBOOLEAN [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_config.c:3448:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TFUNCTION [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_config.c:3592:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_SYMBOL_FLAG_IGNORE_METRIC [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_config.c:3756:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_config.c:3779:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TFUNCTION [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_config.c:3885:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable v [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_config.c:3913:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable v [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_config.c:3959:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TFUNCTION [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_config.c:3980:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UCL_OBJECT [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_config.c:4005:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_SETTINGS_POLICY_DEFAULT [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_config.c:4082:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TTABLE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_config.c:4125:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UCL_NULL [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_config.c:4178:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TSTRING [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_config.c:4209:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CPUID_SSSE3 [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_config.c:4299:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_config.c:4350:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_CONFDIR [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_config.c:4502:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rspamd_language_detector_unref [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_config.c:4569:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TTABLE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_config.c:4773:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_compress.c:141:26: style: Variable 't' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_compress.c:455:26: style: Variable 't' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_compress.c:546:26: style: Variable 't' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_compress.c:462:14: style: Variable 'dlen' is assigned a value that is never used. [unreadVariable] rspamd-3.8.1/src/lua/lua_compress.c:552:14: style: Variable 'dlen' is assigned a value that is never used. [unreadVariable] rspamd-3.8.1/src/libutil/printf.c:53:43: style: Parameter 'last' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libutil/printf.c:380:39: style: Parameter 'last' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libutil/printf.c:543:9: style: Variable 'r' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_cryptobox.c:269:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_KEYPAIR_SIGN [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_cryptobox.c:346:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_KEYPAIR_SIGN [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_cryptobox.c:422:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TSTRING [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_cryptobox.c:488:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_KEYPAIR_KEX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_cryptobox.c:560:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_KEYPAIR_DUMP_DEFAULT [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_cryptobox.c:583:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_KEYPAIR_KEX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_cryptobox.c:609:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_CRYPTOBOX_MODE_25519 [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_cryptobox.c:638:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_KEYPAIR_COMPONENT_PK [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_cryptobox.c:671:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_CRYPTOBOX_MODE_25519 [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_cryptobox.c:758:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_cryptobox.c:824:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_CRYPTOBOX_MODE_25519 [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_cryptobox.c:874:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_BASE32_DEFAULT [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_cryptobox.c:1018:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rspamd_cryptobox_hash_state_t [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_cryptobox.c:1126:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_CRYPTOBOX_XXHASH64 [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_cryptobox.c:1191:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TSTRING [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_cryptobox.c:1243:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TSTRING [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_cryptobox.c:1290:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TSTRING [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_cryptobox.c:1345:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TSTRING [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_cryptobox.c:1465:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_CRYPTOBOX_XXHASH64 [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_cryptobox.c:1504:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rspamd_cryptobox_HASHBYTES [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_cryptobox.c:1549:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rspamd_cryptobox_HASHBYTES [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_cryptobox.c:1591:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rspamd_cryptobox_HASHBYTES [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_cryptobox.c:1741:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_CRYPTOBOX_MODE_25519 [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_cryptobox.c:1810:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_CRYPTOBOX_MODE_25519 [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_cryptobox.c:1895:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_KEYPAIR_KEX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_cryptobox.c:1938:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_cryptobox.c:1983:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TUSERDATA [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_cryptobox.c:2086:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TUSERDATA [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_cryptobox.c:2242:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_cryptobox.c:2476:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TSTRING [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_cryptobox.c:2556:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TSTRING [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_cryptobox.c:2857:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable crypto_secretbox_NONCEBYTES [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_cryptobox.c:2947:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable crypto_secretbox_NONCEBYTES [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_dns.c:86:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RDNS_REQUEST_INVALID [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_dns.c:160:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RDNS_RC_NOERROR [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_dns.c:64:4: style: Statements following noreturn function 'luaL_error()' will never be executed. [unreachableCode] rspamd-3.8.1/src/lua/lua_dns.c:32:30: style: struct member 'lua_rspamd_dns_cbdata::resolver' is never used. [unusedStructMember] rspamd-3.8.1/src/lua/lua_dns_resolver.c:95:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RDNS_REQUEST_A [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_dns_resolver.c:133:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_dns_resolver.c:207:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RDNS_RC_NOERROR [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_dns_resolver.c:377:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RDNS_REQUEST_PTR [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_dns_resolver.c:533:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RDNS_REQUEST_A [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_dns_resolver.c:563:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RDNS_REQUEST_PTR [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_dns_resolver.c:593:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RDNS_REQUEST_TXT [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_dns_resolver.c:623:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RDNS_REQUEST_MX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_dns_resolver.c:653:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RDNS_REQUEST_NS [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_dns_resolver.c:740:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RDNS_REQUEST_A [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_dns_resolver.c:358:4: style: Statements following noreturn function 'luaL_error()' will never be executed. [unreachableCode] rspamd-3.8.1/src/lua/lua_dns_resolver.c:123:20: style: Variable 'pool' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_dns_resolver.c:126:7: style: Variable 'pool' is assigned a value that is never used. [unreadVariable] rspamd-3.8.1/src/lua/lua_expression.c:137:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_expression.c:154:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_expression.c:247:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TNONE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_expression.c:309:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_expression.c:349:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TSTRING [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_expression.c:188:65: style: Parameter 'atom' can be declared as pointer to const. However it seems that 'lua_atom_process' is a callback function, if 'atom' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rspamd-3.8.1/src/lua/lua_expression.c:105:13: note: You might need to cast the function pointer here rspamd-3.8.1/src/lua/lua_expression.c:188:65: note: Parameter 'atom' can be declared as pointer to const rspamd-3.8.1/src/lua/lua_expression.c:326:36: style: Variable 'atom' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_html.cxx:281:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_HTML_FLAG_IMAGE_DATA [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_html.cxx:411:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TSTRING [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_html.cxx:570:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FL_HREF [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_html.cxx:199:17: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/lua/lua_html.cxx:212:16: style: C-style pointer casting [cstyleCast] rspamd-3.8.1/src/lua/lua_html.cxx:273:23: style: The scope of the variable 'ltag' can be reduced. [variableScope] rspamd-3.8.1/src/lua/lua_html.cxx:274:22: style: The scope of the variable 'purl' can be reduced. [variableScope] rspamd-3.8.1/src/lua/lua_html.cxx:334:8: style: The scope of the variable 'i' can be reduced. [variableScope] rspamd-3.8.1/src/lua/lua_html.cxx:515:15: style: The scope of the variable 'tagname' can be reduced. [variableScope] rspamd-3.8.1/src/lua/lua_html.cxx:538:57: style: The scope of the variable 'ptag' can be reduced. [variableScope] rspamd-3.8.1/src/lua/lua_html.cxx:565:7: style: The scope of the variable 'i' can be reduced. [variableScope] rspamd-3.8.1/src/lua/lua_html.cxx:603:26: style: The scope of the variable 't' can be reduced. [variableScope] rspamd-3.8.1/src/lua/lua_html.cxx:658:21: style: The scope of the variable 'img' can be reduced. [variableScope] rspamd-3.8.1/src/lua/lua_html.cxx:564:23: style: Variable 'ltag' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_html.cxx:658:21: style: Variable 'img' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_html.cxx:692:23: style: Variable 'ltag' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_http.c:111:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_http.c:187:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_http.c:269:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_http.c:410:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_HTTP_CLIENT_SIMPLE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_http.c:509:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RDNS_RC_NOERROR [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_http.c:647:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TFUNCTION [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_cryptobox.c:2517:9: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] rspamd-3.8.1/src/lua/lua_cryptobox.c:2518:8: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] rspamd-3.8.1/src/lua/lua_cryptobox.c:757:10: style: Condition 'sig!=NULL' is always true [knownConditionTrueFalse] rspamd-3.8.1/src/lua/lua_cryptobox.c:757:30: style: Condition 'filename!=NULL' is always true [knownConditionTrueFalse] rspamd-3.8.1/src/lua/lua_cryptobox.c:2023:4: style: Statements following noreturn function 'luaL_error()' will never be executed. [unreachableCode] rspamd-3.8.1/src/lua/lua_cryptobox.c:2035:4: style: Statements following noreturn function 'luaL_error()' will never be executed. [unreachableCode] rspamd-3.8.1/src/lua/lua_cryptobox.c:2115:4: style: Statements following noreturn function 'luaL_error()' will never be executed. [unreachableCode] rspamd-3.8.1/src/lua/lua_cryptobox.c:2128:4: style: Statements following noreturn function 'luaL_error()' will never be executed. [unreachableCode] rspamd-3.8.1/src/lua/lua_cryptobox.c:580:35: style: Variable 'kp' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_cryptobox.c:606:35: style: Variable 'kp' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_cryptobox.c:740:20: style: Variable 'sig' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_cryptobox.c:805:26: style: Variable 't' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_cryptobox.c:930:20: style: Variable 'sig' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_cryptobox.c:1186:26: style: Variable 't' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_cryptobox.c:1231:26: style: Variable 't' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_cryptobox.c:1281:26: style: Variable 't' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_cryptobox.c:1332:26: style: Variable 't' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_cryptobox.c:1387:26: style: Variable 't' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_cryptobox.c:1739:26: style: Variable 't' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_cryptobox.c:1874:26: style: Variable 't' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_cryptobox.c:2175:26: style: Variable 't' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_cryptobox.c:2754:27: style: Variable 't' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_cryptobox.c:2825:27: style: Variable 't' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_cryptobox.c:2844:28: style: Variable 't' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_cryptobox.c:2915:27: style: Variable 't' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_cryptobox.c:2933:27: style: Variable 't' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_ip.c:271:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_ip.c:313:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_ip.c:388:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_INET_ADDRESS_PARSE_DEFAULT [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_ip.c:450:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_ip.c:535:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TBOOLEAN [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_ip.c:610:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_INET_ADDRESS_PARSE_DEFAULT [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_config.c:3145:4: style:inconclusive: Statements following noreturn function 'luaL_error()' will never be executed. [unreachableCode] rspamd-3.8.1/src/lua/lua_config.c:4528:5: style: Statements following noreturn function 'luaL_error()' will never be executed. [unreachableCode] rspamd-3.8.1/src/lua/lua_config.c:1001:24: style: Variable 'cfg' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_config.c:1019:24: style: Variable 'cfg' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_config.c:1143:24: style: Variable 'cfg' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_config.c:1205:46: style: Parameter 'L' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/lua/lua_config.c:2560:24: style: Variable 'act' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_config.c:2585:45: style: Parameter 'act' can be declared as pointer to const. However it seems that 'lua_config_actions_cb' is a callback function, if 'act' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rspamd-3.8.1/src/lua/lua_config.c:2604:38: note: You might need to cast the function pointer here rspamd-3.8.1/src/lua/lua_config.c:2585:45: note: Parameter 'act' can be declared as pointer to const rspamd-3.8.1/src/lua/lua_config.c:3425:24: style: Variable 'cfg' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_config.c:3911:31: style: Variable 'gr' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_config.c:4203:39: style: Variable 'crypto_ctx' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_config.c:4265:24: style: Variable 'cfg' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_config.c:4642:24: style: Variable 'cfg' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_config.c:4658:24: style: Variable 'cfg' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_config.c:4674:24: style: Variable 'cfg' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_config.c:4761:66: style: Parameter 'sc' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/lua/lua_ip.c:407:10: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_ip.c:463:24: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_config.c:1260:17: style: Variable 'flag' is assigned a value that is never used. [unreadVariable] rspamd-3.8.1/src/lua/lua_config.c:1424:16: style: Variable 'flag' is assigned a value that is never used. [unreadVariable] rspamd-3.8.1/src/lua/lua_config.c:1970:13: style: Variable 'type' is assigned a value that is never used. [unreadVariable] rspamd-3.8.1/src/lua/lua_config.c:1971:16: style: Variable 'parent' is assigned a value that is never used. [unreadVariable] rspamd-3.8.1/src/lua/lua_config.c:3050:27: style: Variable 'type' is assigned a value that is never used. [unreadVariable] rspamd-3.8.1/src/lua/lua_config.c:3427:6: style: Variable 'cfg' is assigned a value that is never used. [unreadVariable] rspamd-3.8.1/src/lua/lua_kann.c:196:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KANN_F_IN [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_kann.c:336:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TTABLE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_kann.c:365:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TTABLE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_kann.c:394:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TTABLE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_kann.c:421:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TTABLE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_kann.c:450:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TNUMBER [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_kann.c:485:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TNUMBER [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_kann.c:520:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TNUMBER [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_kann.c:567:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TTABLE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_kann.c:601:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TTABLE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_kann.c:631:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TTABLE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_kann.c:699:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kad_add [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_kann.c:700:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kad_sub [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_kann.c:701:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kad_mul [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_kann.c:702:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kad_cmul [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_kann.c:703:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kad_matmul [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_kann.c:705:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kad_square [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_kann.c:706:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kad_sigm [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_kann.c:707:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kad_tanh [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_kann.c:708:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kad_relu [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_kann.c:709:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kad_softmax [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_kann.c:710:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kad_1minus [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_kann.c:711:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kad_exp [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_kann.c:712:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kad_log [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_kann.c:713:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kad_sin [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_kann.c:716:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kad_mse [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_kann.c:717:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kad_ce_multi [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_kann.c:718:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kad_ce_bin [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_kann.c:719:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kad_ce_bin_neg [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_kann.c:752:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TTABLE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_kann.c:767:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TTABLE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_kann.c:781:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TTABLE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_kann.c:798:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TTABLE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_kann.c:814:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TTABLE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_kann.c:826:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KAD_MAX_DIM [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_kann.c:898:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_kann.c:1027:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_kann.c:1283:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KANN_F_OUT [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_logger.c:219:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_logger.c:542:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TNUMBER [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_logger.c:664:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_logger.c:863:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_LOGBUF_SIZE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_logger.c:921:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_CRITICAL [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_logger.c:928:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_WARNING [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_logger.c:935:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_INFO [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_logger.c:942:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_MESSAGE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_logger.c:949:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_DEBUG [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_logger.c:958:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_LOGBUF_SIZE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_logger.c:1000:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_LOGBUF_SIZE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_http.c:700:11: style: Condition 'url==NULL' is always false [knownConditionTrueFalse] rspamd-3.8.1/src/lua/lua_http.c:355:22: warning: Possible null pointer dereference: msg [nullPointer] rspamd-3.8.1/src/lua/lua_http.c:218:34: note: Calling function 'lua_http_resume_handler', 2nd argument 'NULL' value is 0 rspamd-3.8.1/src/lua/lua_http.c:355:22: note: Null pointer dereference rspamd-3.8.1/src/lua/lua_http.c:385:20: warning:inconclusive: Possible null pointer dereference: msg [nullPointer] rspamd-3.8.1/src/lua/lua_http.c:218:34: note: Calling function 'lua_http_resume_handler', 2nd argument 'NULL' value is 0 rspamd-3.8.1/src/lua/lua_http.c:385:20: note: Null pointer dereference rspamd-3.8.1/src/lua/lua_kann.c:919:4: style:inconclusive: Statements following 'return' will never be executed. [unreachableCode] rspamd-3.8.1/src/lua/lua_kann.c:975:3: style:inconclusive: Statements following 'return' will never be executed. [unreachableCode] rspamd-3.8.1/src/lua/lua_kann.c:989:3: style:inconclusive: Statements following 'return' will never be executed. [unreachableCode] rspamd-3.8.1/src/lua/lua_kann.c:1088:5: style: Statements following noreturn function 'luaL_error()' will never be executed. [unreachableCode] rspamd-3.8.1/src/lua/lua_kann.c:1132:6: style: Statements following noreturn function 'luaL_error()' will never be executed. [unreachableCode] rspamd-3.8.1/src/lua/lua_kann.c:1155:6: style: Statements following noreturn function 'luaL_error()' will never be executed. [unreachableCode] rspamd-3.8.1/src/lua/lua_kann.c:1190:5: style: Statements following noreturn function 'luaL_error()' will never be executed. [unreachableCode] rspamd-3.8.1/src/lua/lua_kann.c:970:8: style: Variable 'data' is assigned a value that is never used. [unreadVariable] rspamd-3.8.1/src/lua/lua_mempool.c:183:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_mempool.c:204:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_mempool.c:290:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TTABLE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_mempool.c:335:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TNUMBER [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_mempool.c:507:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_logger.c:881:4: style:inconclusive: Statements following noreturn function 'luaL_error()' will never be executed. [unreachableCode] rspamd-3.8.1/src/lua/lua_logger.c:681:26: style: Variable 'cfg' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_logger.c:841:10: style: Variable 'remain' is assigned a value that is never used. [unreadVariable] rspamd-3.8.1/src/lua/lua_mimepart.c:1468:14: debug: Scope::checkVariable found variable 'v' with varid 0. [varid0] rspamd-3.8.1/src/lua/lua_map.c:256:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UCL_OBJECT [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_map.c:316:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UCL_OBJECT [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_map.c:474:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_map.c:551:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_map.c:617:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_map.c:818:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rspamd_radix_read [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_map.c:855:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TSTRING [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_map.c:888:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TSTRING [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_map.c:1193:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAP_PROTO_FILE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_map.c:1260:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_KEYPAIR_PUBKEY [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_map.c:1332:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TFUNCTION [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_map.c:1374:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_map.c:1384:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_map.c:1401:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TFUNCTION [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_mimepart.c:650:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_MIME_TEXT_PART_FLAG_8BIT_RAW [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_mimepart.c:671:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_MIME_TEXT_PART_FLAG_8BIT_ENCODED [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_mimepart.c:700:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TSTRING [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_mimepart.c:859:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_mimepart.c:950:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TSTRING [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_mimepart.c:983:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TSTRING [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_mimepart.c:1210:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MAXUINT64 [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_mimepart.c:1245:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rspamd_cryptobox_HASHBYTES [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_mimepart.c:1468:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable v [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_mimepart.c:1761:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ord_next [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_mimepart.c:1797:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_MIME_PART_IMAGE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_mimepart.c:1812:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_MIME_PART_ARCHIVE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_mimepart.c:1857:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_CT_ATTACHMENT [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_mimepart.c:1893:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_MIME_PART_TEXT [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_mimepart.c:1909:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_CONTENT_TYPE_BROKEN [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_mimepart.c:1929:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_MIME_PART_IMAGE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_mimepart.c:1952:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_MIME_PART_ARCHIVE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_mimepart.c:2029:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_MIME_PART_TEXT [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_mimepart.c:2046:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rspamd_cryptobox_HASHBYTES [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_mimepart.c:2109:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_mimepart.c:2168:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_MIME_PART_CUSTOM_LUA [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_mimepart.c:2190:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROTOCOL_HTTP [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_mimepart.c:2229:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_MIME_PART_CUSTOM_LUA [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_mimepart.c:2245:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_MIME_PART_CUSTOM_LUA [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_mimepart.c:647:32: style: Variable 'part' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_mimepart.c:668:32: style: Variable 'part' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_mimepart.c:833:32: style: Variable 'part' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_mimepart.c:849:32: style: Variable 'part' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_mimepart.c:852:35: style: Variable 'ex' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_mimepart.c:1090:32: style: Variable 'part' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_mimepart.c:1109:32: style: Variable 'part' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_mimepart.c:1131:32: style: Variable 'part' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_mimepart.c:1207:30: style: Parameter 'input' can be declared as pointer to const. However it seems that 'lua_shingles_filter' is a callback function, if 'input' is declared with const you might also need to cast function pointer(s). [constParameterCallback] rspamd-3.8.1/src/lua/lua_mimepart.c:1287:17: note: You might need to cast the function pointer here rspamd-3.8.1/src/lua/lua_mimepart.c:1207:30: note: Parameter 'input' can be declared as pointer to const rspamd-3.8.1/src/lua/lua_mimepart.c:1325:32: style: Variable 'part' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_mimepart.c:1358:32: style: Variable 'part' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_mimepart.c:1450:27: style: Variable 'part' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_mimepart.c:1469:36: style: Variable 'param' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_mimepart.c:1572:27: style: Variable 'part' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_mimepart.c:1608:27: style: Variable 'part' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_mimepart.c:1731:27: style: Variable 'part' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_mimepart.c:1791:27: style: Variable 'part' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_mimepart.c:1806:27: style: Variable 'part' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_mimepart.c:1887:27: style: Variable 'part' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_mimepart.c:1902:27: style: Variable 'part' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_mimepart.c:1998:27: style: Variable 'part' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_mimepart.c:2064:27: style: Variable 'part' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_mimepart.c:2079:27: style: Variable 'part' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_mimepart.c:2162:27: style: Variable 'part' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_mimepart.c:2223:27: style: Variable 'part' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_parsers.c:307:15: debug: Scope::checkVariable found variable 'v' with varid 0. [varid0] rspamd-3.8.1/src/lua/lua_parsers.c:110:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UTEXT_INITIALIZER [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_parsers.c:210:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TUSERDATA [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_parsers.c:255:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TUSERDATA [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_parsers.c:307:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable v [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_mempool.c:243:24: style: Variable 'mempool' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_mempool.c:258:24: style: Variable 'mempool' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_mempool.c:475:16: style: Variable 'st' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_mempool.c:496:25: style: Variable 'fstr' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_parsers.c:108:26: style: Variable 't' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_parsers.c:112:23: style: Variable 'w' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_parsers.c:203:26: style: Variable 't' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_regexp.c:163:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_REGEXP_ESCAPE_UTF [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_regexp.c:500:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TSTRING [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_regexp.c:588:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TSTRING [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_regexp.c:646:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TSTRING [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_regexp.c:714:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TSTRING [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_redis.c:191:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_redis.c:271:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_redis.c:302:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_redis.c:347:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_redis.c:397:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_redis.c:468:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_redis.c:541:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_redis.c:614:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_redis.c:713:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_redis.c:751:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_redis.c:781:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TTABLE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_redis.c:891:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TUSERDATA [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_redis.c:1141:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TNUMBER [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_redis.c:1253:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TUSERDATA [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_redis.c:1388:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TNUMBER [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_redis.c:1430:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TNUMBER [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_redis.c:1479:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TSTRING [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_redis.c:1661:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_map.c:892:12: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] rspamd-3.8.1/src/lua/lua_map.c:893:18: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] rspamd-3.8.1/src/lua/lua_map.c:580:4: style: Statements following noreturn function 'luaL_error()' will never be executed. [unreachableCode] rspamd-3.8.1/src/lua/lua_map.c:776:4: style: Statements following noreturn function 'luaL_error()' will never be executed. [unreachableCode] rspamd-3.8.1/src/lua/lua_map.c:466:21: style: Variable 'map' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_map.c:1168:25: style: Variable 'map' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_map.c:1186:29: style: Variable 'bk' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_map.c:1214:29: style: Variable 'bk' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_map.c:1348:29: style: Variable 'bk' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_map.c:468:6: style: Variable 'map' is assigned a value that is never used. [unreadVariable] rspamd-3.8.1/src/lua/lua_rsa.c:134:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_rsa.c:174:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_rsa.c:305:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_rsa.c:541:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_rsa.c:585:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_rsa.c:656:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_TASK_NEWLINES_CRLF [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_rsa.c:713:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NID_sha256 [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_rsa.c:759:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NID_sha256 [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_rsa.c:795:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSA_F4 [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_rsa.c:333:26: style: Variable 't' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_rsa.c:379:26: style: Variable 't' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_rsa.c:427:26: style: Variable 't' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_rsa.c:573:20: style: Variable 'sig' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_spf.c:70:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SPF_FAIL [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_spf.c:119:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_spf.c:157:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_spf.c:172:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_SPF_RESOLVED_NA [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_spf.c:226:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_spf.c:262:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_spf.c:308:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_SPF_FLAG_TEMPFAIL [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_spf.c:403:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_spf.c:480:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_spf.c:502:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_spf.c:524:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_spf.c:546:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_spf.c:577:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_regexp.c:491:26: style: Variable 't' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_regexp.c:497:28: style: Variable 'cap' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_regexp.c:582:26: style: Variable 't' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_regexp.c:639:26: style: Variable 't' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_sqlite3.c:146:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TRANSIENT [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_spf.c:142:23: style: Variable 'task' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_spf.c:300:54: style: Parameter 'rec' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/lua/lua_spf.c:479:23: style: Variable 'record' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_spf.c:501:23: style: Variable 'record' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_spf.c:523:23: style: Variable 'record' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_spf.c:142:28: style: Variable 'task' is assigned a value that is never used. [unreadVariable] rspamd-3.8.1/src/lua/lua_spf.c:407:12: style: Variable 'nres' is assigned a value that is never used. [unreadVariable] rspamd-3.8.1/src/lua/lua_tcp.c:357:1: error: There is an unknown macro here somewhere. Configuration is required. If INIT_LOG_MODULE is a macro then please configure it. [unknownMacro] rspamd-3.8.1/src/lua/lua_task.c:2487:8: error: Syntax Error: AST broken, 'if' doesn't have two operands. [internalAstError] rspamd-3.8.1/src/lua/lua_tensor.c:526:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TUSERDATA [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_text.c:283:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TUSERDATA [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_text.c:469:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TSTRING [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_text.c:518:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TSTRING [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_text.c:557:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TSTRING [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_text.c:978:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TUSERDATA [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_text.c:1151:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TSTRING [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_text.c:1315:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_BASE32_DEFAULT [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_text.c:1346:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TNUMBER [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_tensor.c:115:16: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] rspamd-3.8.1/src/lua/lua_tensor.c:685:30: style: Local variable 'res' shadows outer variable [shadowVariable] rspamd-3.8.1/src/lua/lua_tensor.c:672:57: note: Shadowed declaration rspamd-3.8.1/src/lua/lua_tensor.c:685:30: note: Shadow variable rspamd-3.8.1/src/lua/lua_tensor.c:260:28: style: Variable 't' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_tensor.c:408:32: style: Variable 'row' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_tensor.c:527:27: style: Variable 't' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_tensor.c:588:28: style: Variable 't' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_thread_pool.cxx:30:1: error: There is an unknown macro here somewhere. Configuration is required. If INIT_LOG_MODULE is a macro then please configure it. [unknownMacro] rspamd-3.8.1/src/lua/lua_trie.c:106:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_MULTIPATTERN_ICASE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_trie.c:287:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TFUNCTION [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_trie.c:376:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable text_parts [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_trie.c:443:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable raw_headers_content [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_trie.c:471:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_MULTIPATTERN_GLOB [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_trie.c:281:26: style: Variable 't' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_redis.c:963:12: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] rspamd-3.8.1/src/lua/lua_redis.c:1260:12: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] rspamd-3.8.1/src/lua/lua_redis.c:527:10: style: Redundant initialization for 'results'. The initialized value is overwritten before it is read. [redundantInitialization] rspamd-3.8.1/src/lua/lua_redis.c:523:15: note: results is initialized rspamd-3.8.1/src/lua/lua_redis.c:527:10: note: results is overwritten rspamd-3.8.1/src/lua/lua_udp.c:84:1: error: There is an unknown macro here somewhere. Configuration is required. If INIT_LOG_MODULE is a macro then please configure it. [unknownMacro] rspamd-3.8.1/src/lua/lua_redis.c:533:3: style:inconclusive: Statements following noreturn function 'luaL_error()' will never be executed. [unreachableCode] rspamd-3.8.1/src/lua/lua_redis.c:381:64: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/lua/lua_redis.c:586:14: style: Variable 'reply' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_redis.c:817:29: style: Variable 't' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_redis.c:199:15: error: Uninitialized variable: cur->flags [uninitvar] rspamd-3.8.1/src/lua/lua_redis.c:104:9: style: struct member 'lua_redis_userdata::server' is never used. [unusedStructMember] rspamd-3.8.1/src/lua/lua_redis.c:108:10: style: struct member 'lua_redis_userdata::port' is never used. [unusedStructMember] rspamd-3.8.1/src/lua/lua_upstream.c:223:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_upstream.c:255:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_upstream.c:279:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TUSERDATA [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_upstream.c:366:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_UPSTREAM_HASHED [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_upstream.c:494:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_UPSTREAM_WATCH_SUCCESS [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_upstream.c:518:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_UPSTREAM_WATCH_SUCCESS [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_upstream.c:561:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_upstream.c:589:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_upstream.c:615:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TTABLE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_url.c:321:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROTOCOL_MAILTO [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_url.c:379:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_URL_FLAG_PHISHED [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_url.c:400:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_URL_FLAG_REDIRECTED [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_url.c:421:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_URL_FLAG_OBSCURED [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_url.c:443:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_URL_FLAG_HTML_DISPLAYED [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_url.c:464:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_URL_FLAG_SUBJECT [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_url.c:488:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_URL_FLAG_PHISHED [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_url.c:520:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TSTRING [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_url.c:611:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROTOCOL_UNKNOWN [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_url.c:770:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TUSERDATA [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_url.c:926:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_URL_MAX_FLAG_SHIFT [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_url.c:1058:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable url_flags_mode_include_any [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_url.c:1288:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable url_flags_mode_exclude_include [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_url.c:1462:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_URL_MAX_FLAG_SHIFT [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_url.c:1168:8: style: The if condition is the same as the previous if condition [duplicateCondition] rspamd-3.8.1/src/lua/lua_url.c:1152:8: note: First condition rspamd-3.8.1/src/lua/lua_url.c:1168:8: note: Second condition rspamd-3.8.1/src/lua/lua_url.c:1356:18: style: Redundant initialization for 'protocols_mask'. The initialized value is overwritten before it is read. [redundantInitialization] rspamd-3.8.1/src/lua/lua_url.c:1282:23: note: protocols_mask is initialized rspamd-3.8.1/src/lua/lua_url.c:1356:18: note: protocols_mask is overwritten rspamd-3.8.1/src/lua/lua_url.c:148:25: style: Variable 'url' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_url.c:297:25: style: Variable 'url' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_url.c:355:25: style: Variable 'url' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_url.c:376:25: style: Variable 'url' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_url.c:397:25: style: Variable 'url' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_url.c:418:25: style: Variable 'url' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_url.c:440:25: style: Variable 'url' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_url.c:461:25: style: Variable 'url' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_url.c:513:53: style: Variable 'redir' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_url.c:630:25: style: Variable 'url' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_url.c:651:25: style: Variable 'url' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_url.c:943:25: style: Variable 'url' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_url.c:959:25: style: Variable 'url' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_url.c:980:25: style: Variable 'url' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_url.c:1401:18: style: Parameter 'digest' can be declared as const array [constParameter] rspamd-3.8.1/src/lua/lua_util.c:780:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EVFLAG_SIGNALFD [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_util.c:795:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_CONFIG_INIT_SKIP_LUA [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_util.c:828:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_CONFIG_INIT_URL [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_util.c:870:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TSTRING [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_util.c:916:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_PROTOCOL_DEFAULT [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_util.c:936:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EVFLAG_SIGNALFD [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_util.c:1008:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_TASK_NEWLINES_CRLF [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_util.c:1048:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TSTRING [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_util.c:1111:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TSTRING [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_util.c:1156:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TSTRING [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_util.c:1193:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_BASE32_DEFAULT [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_util.c:1246:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_BASE32_DEFAULT [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_util.c:1387:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_TASK_NEWLINES_CR [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_util.c:1505:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLOB_APPEND [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_util.c:1607:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TUSERDATA [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_util.c:1760:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_util.c:1809:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_util.c:1833:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_WRLCK [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_util.c:1890:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_UNLCK [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_util.c:1945:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_util.c:1974:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_util.c:2047:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TNUMBER [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_util.c:2070:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TNUMBER [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_util.c:2102:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TNUMBER [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_util.c:2159:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USPOOF_INVISIBLE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_util.c:2204:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USCRIPT_INVALID_CODE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_util.c:2331:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USPOOF_CHAR_LIMIT [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_util.c:2368:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _SC_HOST_NAME_MAX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_util.c:2474:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TSTRING [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_util.c:2549:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_util.c:2579:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_util.c:2635:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TSTRING [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_util.c:2859:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUAL_BUFFERSIZE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_util.c:3326:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TUSERDATA [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_util.c:3416:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TTABLE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_worker.c:87:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UCL_OBJECT [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_worker.c:270:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_worker.c:310:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_worker.c:419:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_CONTROL_MAX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_worker.c:503:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_worker.c:560:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_worker.c:594:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WNOHANG [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_worker.c:659:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_worker.c:780:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_STREAM [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/lua/lua_worker.c:74:24: style: Variable 'w' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_worker.c:171:24: style: Variable 'w' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_worker.c:186:24: style: Variable 'w' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_worker.c:201:24: style: Variable 'w' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_worker.c:261:20: style: Variable 'pool' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_worker.c:294:20: style: Variable 'pool' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_worker.c:460:24: style: Variable 'w' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_worker.c:495:45: style: Parameter 'cbdata' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/lua/lua_worker.c:524:27: style: Variable 't' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_worker.c:551:42: style: Parameter 'cbdata' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/lua/lua_worker.c:750:37: style: Variable 'actx' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_worker.c:263:7: style: Variable 'pool' is assigned a value that is never used. [unreadVariable] rspamd-3.8.1/src/lua/lua_worker.c:498:15: style: Variable 'wlen' is assigned a value that is never used. [unreadVariable] rspamd-3.8.1/src/lua/lua_xmlrpc.c:33:1: error: There is an unknown macro here somewhere. Configuration is required. If INIT_LOG_MODULE is a macro then please configure it. [unknownMacro] rspamd-3.8.1/src/plugins/chartable.cxx:45:1: error: There is an unknown macro here somewhere. Configuration is required. If INIT_LOG_MODULE is a macro then please configure it. [unknownMacro] rspamd-3.8.1/src/lua/lua_util.c:2377:12: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] rspamd-3.8.1/src/lua/lua_util.c:3311:29: style: Condition '0u-(unsigned long)pos>len' is always false [knownConditionTrueFalse] rspamd-3.8.1/src/lua/lua_util.c:2370:14: style: Checking if unsigned expression 'hostlen' is less than zero. [unsignedLessThanZero] rspamd-3.8.1/src/lua/lua_util.c:987:9: style: Variable 'out' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_util.c:1106:26: style: Variable 't' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_util.c:1269:11: style: Variable 'decoded' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_util.c:1606:26: style: Variable 't' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_util.c:1647:8: style: Variable 'transliterated' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_util.c:2258:26: style: Variable 't' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_util.c:3327:27: style: Variable 't' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_util.c:2732:6: style: union member 'Anonymous2::dummy' is never used. [unusedStructMember] rspamd-3.8.1/src/lua/lua_util.c:2739:7: style: struct member 'cD::c' is never used. [unusedStructMember] rspamd-3.8.1/src/lua/lua_util.c:2745:4: style: struct member 'cD::u' is never used. [unusedStructMember] rspamd-3.8.1/src/lua/lua_util.c:2741:10: style: union member 'Anonymous3::d' is never used. [unusedStructMember] rspamd-3.8.1/src/lua/lua_util.c:2743:15: style: union member 'Anonymous3::i' is never used. [unusedStructMember] rspamd-3.8.1/src/lua/lua_util.c:2744:14: style: union member 'Anonymous3::n' is never used. [unusedStructMember] rspamd-3.8.1/src/lua/lua_util.c:1828:10: style: Variable 'fd' is assigned a value that is never used. [unreadVariable] rspamd-3.8.1/src/lua/lua_util.c:1885:10: style: Variable 'fd' is assigned a value that is never used. [unreadVariable] rspamd-3.8.1/src/lua/lua_util.c:1967:10: style: Variable 'fd' is assigned a value that is never used. [unreadVariable] rspamd-3.8.1/src/lua/lua_util.c:2571:9: style: Variable 'r' is assigned a value that is never used. [unreadVariable] rspamd-3.8.1/src/plugins/dkim_check.c:144:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rspamd_gstring_free_hard [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/plugins/dkim_check.c:318:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TTABLE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/plugins/dkim_check.c:621:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rspamd_cryptobox_HASHBYTES [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/plugins/dkim_check.c:699:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_DKIM_NORMAL [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/plugins/dkim_check.c:1013:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DKIM_REJECT [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/plugins/dkim_check.c:1106:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DKIM_SIGERROR_NOKEY [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/plugins/dkim_check.c:1140:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_MEMPOOL_DMARC_CHECKS [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/plugins/dkim_check.c:1355:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/plugins/dkim_check.c:1450:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DKIM_SIGERROR_NOKEY [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/plugins/dkim_check.c:1488:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_DKIM_NORMAL [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/plugins/dkim_check.c:1591:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CRLF [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/plugins/fuzzy_check.c:3700:16: debug: Scope::checkVariable found variable 'v' with varid 0. [varid0] rspamd-3.8.1/src/plugins/fuzzy_check.c:3898:15: debug: Scope::checkVariable found variable 'v' with varid 0. [varid0] rspamd-3.8.1/src/plugins/fuzzy_check.c:3975:15: debug: Scope::checkVariable found variable 'v' with varid 0. [varid0] rspamd-3.8.1/src/plugins/fuzzy_check.c:4058:15: debug: Scope::checkVariable found variable 'v' with varid 0. [varid0] rspamd-3.8.1/src/plugins/fuzzy_check.c:4191:15: debug: Scope::checkVariable found variable 'v' with varid 0. [varid0] rspamd-3.8.1/src/plugins/fuzzy_check.c:4370:15: debug: Scope::checkVariable found variable 'v' with varid 0. [varid0] rspamd-3.8.1/src/lua/lua_text.c:991:4: style: Statements following noreturn function 'luaL_error()' will never be executed. [unreachableCode] rspamd-3.8.1/src/lua/lua_text.c:456:26: style: Variable 'elt' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_text.c:505:26: style: Variable 'elt' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_text.c:591:26: style: Variable 't' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_text.c:610:26: style: Variable 't' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_text.c:669:26: style: Variable 't' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_text.c:739:26: style: Variable 't' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_text.c:765:33: style: Parameter 't' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/lua/lua_text.c:853:26: style: Variable 't' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_text.c:970:26: style: Variable 't' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_text.c:1045:26: style: Variable 't' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_text.c:1092:9: style: Variable 'f' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_text.c:1144:26: style: Variable 't' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_text.c:1239:26: style: Variable 't1' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_text.c:1240:11: style: Variable 't2' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_text.c:1256:26: style: Variable 't1' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_text.c:1257:11: style: Variable 't2' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/lua/lua_text.c:1276:11: style: Variable 't2' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/plugins/fuzzy_check.c:228:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UCL_STRING [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/plugins/fuzzy_check.c:322:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_hash_table_unref [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/plugins/fuzzy_check.c:357:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UCL_OBJECT [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/plugins/fuzzy_check.c:691:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rspamd_mempool_delete [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/plugins/fuzzy_check.c:1025:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TTABLE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/plugins/fuzzy_check.c:1252:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rspamd_lua_traceback [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/plugins/fuzzy_check.c:1322:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_KEYPAIR_COMPONENT_PK [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/plugins/fuzzy_check.c:1354:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_FUZZY_VERSION [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/plugins/fuzzy_check.c:1405:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FUZZY_PING [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/plugins/fuzzy_check.c:1463:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_FUZZY_VERSION [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/plugins/fuzzy_check.c:1539:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable parts [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/plugins/fuzzy_check.c:1563:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rspamd_lua_traceback [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/plugins/fuzzy_check.c:1611:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable from_mime [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/plugins/fuzzy_check.c:1644:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable from_mime [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/plugins/fuzzy_check.c:1773:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rspamd_shingle [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/plugins/fuzzy_check.c:2067:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_FUZZY_VERSION [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/plugins/fuzzy_check.c:2112:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/plugins/fuzzy_check.c:2268:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rspamd_cryptobox_HASHBYTES [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/plugins/fuzzy_check.c:2432:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/plugins/fuzzy_check.c:2536:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable text_parts [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/plugins/fuzzy_check.c:2673:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_READ [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/plugins/fuzzy_check.c:2694:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_READ [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/plugins/fuzzy_check.c:2840:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_READ [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/plugins/fuzzy_check.c:2867:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_READ [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/plugins/fuzzy_check.c:3102:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FUZZY_STAT [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/plugins/fuzzy_check.c:3278:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_DGRAM [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/plugins/fuzzy_check.c:3342:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable message_id [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/plugins/fuzzy_check.c:3377:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FUZZY_STAT [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/plugins/fuzzy_check.c:3406:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_DGRAM [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/plugins/fuzzy_check.c:3477:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable message_id [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/plugins/fuzzy_check.c:3675:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/plugins/fuzzy_check.c:3771:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_DGRAM [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/plugins/fuzzy_check.c:3851:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rspamd_ptr_array_free_hard [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/plugins/fuzzy_check.c:3891:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TNUMBER [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/plugins/fuzzy_check.c:3968:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TNUMBER [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/plugins/fuzzy_check.c:4049:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FUZZY_WRITE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/plugins/fuzzy_check.c:4185:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TNUMBER [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/plugins/fuzzy_check.c:4279:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FUZZY_WRITE [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/plugins/fuzzy_check.c:4287:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FUZZY_DEL [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/plugins/fuzzy_check.c:4295:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FUZZY_DEL [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/plugins/fuzzy_check.c:4370:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable v [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/plugins/fuzzy_check.c:4410:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/plugins/fuzzy_check.c:4441:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/plugins/fuzzy_check.c:4461:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/plugins/fuzzy_check.c:4481:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/plugins/fuzzy_check.c:4529:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_READ [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/plugins/fuzzy_check.c:4606:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TFUNCTION [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/plugins/dkim_check.c:949:7: warning:inconclusive: Possible null pointer dereference: cur [nullPointer] rspamd-3.8.1/src/plugins/dkim_check.c:941:42: note: Assignment 'cur=NULL', assigned value is 0 rspamd-3.8.1/src/plugins/dkim_check.c:949:7: note: Null pointer dereference rspamd-3.8.1/src/plugins/dkim_check.c:953:7: warning:inconclusive: Possible null pointer dereference: cur [nullPointer] rspamd-3.8.1/src/plugins/dkim_check.c:941:42: note: Assignment 'cur=NULL', assigned value is 0 rspamd-3.8.1/src/plugins/dkim_check.c:949:16: note: Assuming condition is false rspamd-3.8.1/src/plugins/dkim_check.c:953:7: note: Null pointer dereference rspamd-3.8.1/src/plugins/regexp.c:81:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mime_expr_subr [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/plugins/regexp.c:161:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UCL_STRING [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/plugins/regexp.c:475:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/plugins/dkim_check.c:1298:45: style: Parameter 'res' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/plugins/dkim_check.c:1298:58: style: Parameter 'err' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/plugins/dkim_check.c:100:28: style: struct member 'dkim_check_result::next' is never used. [unusedStructMember] rspamd-3.8.1/src/plugins/dkim_check.c:310:25: style: Variable 'cb_id' is assigned a value that is never used. [unreadVariable] rspamd-3.8.1/src/rspamadm/commands.c:106:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/rspamadm/commands.c:135:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/rspamadm/commands.c:179:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_LUALIBDIR [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/rspamadm/commands.c:59:25: error: Uninitialized variable: cmd->name [uninitvar] rspamd-3.8.1/src/rspamadm/configdump.c:251:63: error: There is an unknown macro here somewhere. Configuration is required. If RVERSION is a macro then please configure it. [unknownMacro] rspamd-3.8.1/src/rspamadm/confighelp.c:55:37: error: There is an unknown macro here somewhere. Configuration is required. If RSPAMD_PLUGINSDIR is a macro then please configure it. [unknownMacro] rspamd-3.8.1/src/rspamadm/configtest.c:95:63: error: There is an unknown macro here somewhere. Configuration is required. If RVERSION is a macro then please configure it. [unknownMacro] rspamd-3.8.1/src/rspamadm/control.c:78:51: error: There is an unknown macro here somewhere. Configuration is required. If RSPAMD_DBDIR is a macro then please configure it. [unknownMacro] rspamd-3.8.1/src/rspamadm/fuzzy_convert.c:105:63: error: There is an unknown macro here somewhere. Configuration is required. If RVERSION is a macro then please configure it. [unknownMacro] rspamd-3.8.1/src/rspamadm/lua_repl.c:606:1: error: Unmatched '{'. Configuration: '__GNUC__=1'. [syntaxError] rspamd-3.8.1/src/rspamadm/pw.c:362:63: error: There is an unknown macro here somewhere. Configuration is required. If RVERSION is a macro then please configure it. [unknownMacro] rspamd-3.8.1/src/rspamadm/rspamadm.c:423:63: error: There is an unknown macro here somewhere. Configuration is required. If RVERSION is a macro then please configure it. [unknownMacro] rspamd-3.8.1/src/rspamadm/signtool.c:493:63: error: There is an unknown macro here somewhere. Configuration is required. If RVERSION is a macro then please configure it. [unknownMacro] rspamd-3.8.1/src/rspamadm/stat_convert.c:123:63: error: There is an unknown macro here somewhere. Configuration is required. If RVERSION is a macro then please configure it. [unknownMacro] rspamd-3.8.1/src/rspamd.c:1140:3: error: There is an unknown macro here somewhere. Configuration is required. If RVERSION is a macro then please configure it. [unknownMacro] rspamd-3.8.1/src/rspamd_proxy.c:1248:14: debug: Scope::checkVariable found variable 'v' with varid 0. [varid0] rspamd-3.8.1/src/rspamd_proxy.c:2333:14: debug: Scope::checkVariable found variable 'v' with varid 0. [varid0] rspamd-3.8.1/src/rspamd_proxy.c:247:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/rspamd_proxy.c:331:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UCL_OBJECT [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/rspamd_proxy.c:507:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UCL_OBJECT [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/rspamd_proxy.c:674:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UCL_STRING [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/rspamd_proxy.c:754:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MEM_ALIGN [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/rspamd_proxy.c:932:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/rspamd_proxy.c:988:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/rspamd_proxy.c:1137:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/rspamd_proxy.c:1187:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/rspamd_proxy.c:1248:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable v [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/rspamd_proxy.c:1341:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_INFO [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/rspamd_proxy.c:1373:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_WARNING [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/rspamd_proxy.c:1409:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MEM_ALIGN [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/rspamd_proxy.c:1570:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_INFO [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/rspamd_proxy.c:1639:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_WARNING [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/rspamd_proxy.c:1727:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_CRITICAL [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/rspamd_proxy.c:1802:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/rspamd_proxy.c:1868:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_CRITICAL [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/rspamd_proxy.c:1934:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_CRITICAL [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/rspamd_proxy.c:2098:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_INFO [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/rspamd_proxy.c:2112:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MEM_ALIGN [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/rspamd_proxy.c:2186:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_INFO [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/rspamd_proxy.c:2214:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_INFO [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/rspamd_proxy.c:2247:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/rspamd_proxy.c:2333:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable v [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/rspamd_proxy.c:2377:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/plugins/regexp.c:258:31: style: Condition 'valid_expression' is always true [knownConditionTrueFalse] rspamd-3.8.1/src/plugins/regexp.c:209:48: note: Assignment 'valid_expression=!0', assigned value is 1 rspamd-3.8.1/src/plugins/regexp.c:258:31: note: Condition 'valid_expression' is always true rspamd-3.8.1/src/plugins/regexp.c:485:8: style: Condition 'arg' is always true [knownConditionTrueFalse] rspamd-3.8.1/src/plugins/regexp.c:532:43: style:inconclusive: Function 'process_regexp_item' argument 2 names different: declaration 'item' definition 'symcache_item'. [funcArgNamesDifferent] rspamd-3.8.1/src/plugins/regexp.c:43:46: note: Function 'process_regexp_item' argument 2 names different: declaration 'item' definition 'symcache_item'. rspamd-3.8.1/src/plugins/regexp.c:532:43: note: Function 'process_regexp_item' argument 2 names different: declaration 'item' definition 'symcache_item'. rspamd-3.8.1/src/plugins/regexp.c:465:58: style: Parameter 'lua_data' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/plugins/regexp.c:472:30: style: Variable 'arg' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/plugins/regexp.c:208:16: style: Variable 'flags' is assigned a value that is never used. [unreadVariable] rspamd-3.8.1/src/rspamd_proxy.c:896:58: style: Parameter 'session' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/rspamd_proxy.c:173:35: style: struct member 'rspamd_proxy_backend_connection::local_key' is never used. [unusedStructMember] rspamd-3.8.1/src/rspamd_proxy.c:174:34: style: struct member 'rspamd_proxy_backend_connection::remote_key' is never used. [unusedStructMember] rspamd-3.8.1/src/worker.c:91:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/worker.c:135:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_INFO [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/worker.c:237:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MAXINT64 [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/worker.c:304:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MAXINT64 [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/worker.c:351:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_INFO [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/worker.c:409:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MEM_ALIGN [valueFlowBailoutIncompleteVar] rspamd-3.8.1/src/worker.c:505:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] rspamd-3.8.1/test/rspamd_cryptobox_test.c:35:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] rspamd-3.8.1/test/rspamd_cryptobox_test.c:184:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_CRYPTOBOX_MODE_NIST [valueFlowBailoutIncompleteVar] rspamd-3.8.1/test/rspamd_cryptobox_test.c:65:29: style: Parameter 'end' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/test/rspamd_cryptobox_test.c:91:32: style: Parameter 'end' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/test/rspamd_cryptobox_test.c:129:31: style: Parameter 'end' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/test/rspamd_cryptobox_test.c:157:8: style: Variable 'map' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/test/rspamd_cxx_local_ptr.hxx:54:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable test_internal [valueFlowBailoutIncompleteVar] rspamd-3.8.1/test/rspamd_cxx_unit_dkim.hxx:155:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_DKIM_KEY_ID_LEN [valueFlowBailoutIncompleteVar] rspamd-3.8.1/test/rspamd_cxx_unit.cxx:46:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSPAMD_CONFIG_INIT_DEFAULT [valueFlowBailoutIncompleteVar] rspamd-3.8.1/test/rspamd_dns_test.c:17:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EVBREAK_ALL [valueFlowBailoutIncompleteVar] rspamd-3.8.1/test/rspamd_dns_test.c:31:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RDNS_RC_NOERROR [valueFlowBailoutIncompleteVar] rspamd-3.8.1/test/rspamd_dns_test.c:70:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rspamd_config [valueFlowBailoutIncompleteVar] rspamd-3.8.1/test/rspamd_dns_test.c:71:2: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] rspamd-3.8.1/test/rspamd_cxx_local_ptr.hxx:29:2: style: Struct 'deleter_test' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] rspamd-3.8.1/test/rspamd_cxx_local_ptr.hxx:114:28: style: Condition 'pi5type [uninitvar] rspamd-3.8.1/src/plugins/fuzzy_check.c:3354:44: error: Uninitialized variables: rule.servers, rule.symbol, rule.algorithm_str, rule.name, rule.ucl_obj, rule.alg, rule.mappings, rule.fuzzy_headers, rule.hash_key, rule.shingles_key, rule.io_timeout, rule.local_key, rule.peer_key, rule.max_score, rule.weight_threshold, rule.read_only, rule.skip_unknown, rule.no_share, rule.no_subject, rule.learn_condition_cb, rule.retransmits, rule.skip_map, rule.ctx, rule.lua_id [uninitvar] rspamd-3.8.1/src/plugins/fuzzy_check.c:3377:44: error: Uninitialized variables: rule.servers, rule.symbol, rule.algorithm_str, rule.name, rule.ucl_obj, rule.alg, rule.mappings, rule.fuzzy_headers, rule.hash_key, rule.shingles_key, rule.io_timeout, rule.local_key, rule.peer_key, rule.max_score, rule.weight_threshold, rule.read_only, rule.skip_unknown, rule.no_share, rule.no_subject, rule.learn_condition_cb, rule.retransmits, rule.skip_map, rule.ctx, rule.lua_id [uninitvar] rspamd-3.8.1/src/plugins/fuzzy_check.c:3490:13: error: Uninitialized variable: rule->read_only [uninitvar] rspamd-3.8.1/src/plugins/fuzzy_check.c:3828:13: error: Uninitialized variable: rule->read_only [uninitvar] rspamd-3.8.1/src/plugins/fuzzy_check.c:4130:13: error: Uninitialized variable: rule->read_only [uninitvar] rspamd-3.8.1/src/plugins/fuzzy_check.c:4232:44: error: Uninitialized variables: rule.servers, rule.symbol, rule.algorithm_str, rule.name, rule.ucl_obj, rule.alg, rule.fuzzy_headers, rule.hash_key, rule.shingles_key, rule.io_timeout, rule.local_key, rule.peer_key, rule.max_score, rule.weight_threshold, rule.read_only, rule.skip_unknown, rule.no_share, rule.no_subject, rule.learn_condition_cb, rule.retransmits, rule.skip_map, rule.ctx, rule.lua_id [uninitvar] rspamd-3.8.1/src/plugins/fuzzy_check.c:4225:32: note: Assuming condition is false rspamd-3.8.1/src/plugins/fuzzy_check.c:4232:44: note: Uninitialized variables: rule.servers, rule.symbol, rule.algorithm_str, rule.name, rule.ucl_obj, rule.alg, rule.fuzzy_headers, rule.hash_key, rule.shingles_key, rule.io_timeout, rule.local_key, rule.peer_key, rule.max_score, rule.weight_threshold, rule.read_only, rule.skip_unknown, rule.no_share, rule.no_subject, rule.learn_condition_cb, rule.retransmits, rule.skip_map, rule.ctx, rule.lua_id rspamd-3.8.1/src/plugins/fuzzy_check.c:4358:28: error: Uninitialized variable: rule->read_only [uninitvar] rspamd-3.8.1/src/plugins/fuzzy_check.c:4617:20: error: Uninitialized variable: rule->name [uninitvar] rspamd-3.8.1/src/plugins/fuzzy_check.c:1681:14: style: Variable 'available' is assigned a value that is never used. [unreadVariable] rspamd-3.8.1/src/plugins/fuzzy_check.c:1695:14: style: Variable 'available' is assigned a value that is never used. [unreadVariable] rspamd-3.8.1/src/plugins/fuzzy_check.c:2414:14: style: Variable 'fuzzy_var' is assigned a value that is never used. [unreadVariable] rspamd-3.8.1/src/plugins/fuzzy_check.c:2647:7: style: Variable 'task' is assigned a value that is never used. [unreadVariable] rspamd-3.8.1/src/plugins/fuzzy_check.c:2795:7: style: Variable 'task' is assigned a value that is never used. [unreadVariable] rspamd-3.8.1/src/libutil/str_util.c:575:21: warning:inconclusive: Logical disjunction always evaluates to true: c >= 'a' || c <= 'f'. [incorrectLogicOperator] rspamd-3.8.1/src/libutil/str_util.c:2636:17: style: Condition 'end-o>0' is always true [knownConditionTrueFalse] rspamd-3.8.1/src/libutil/str_util.c:2630:25: note: Assuming that condition 'o0' is always true rspamd-3.8.1/src/libutil/str_util.c:2995:17: style: Condition 'end-o>0' is always true [knownConditionTrueFalse] rspamd-3.8.1/src/libutil/str_util.c:2989:25: note: Assuming that condition 'o0' is always true rspamd-3.8.1/src/libutil/str_util.c:2446:11: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] rspamd-3.8.1/src/libutil/str_util.c:2455:6: note: Found duplicate branches for 'if' and 'else'. rspamd-3.8.1/src/libutil/str_util.c:2446:11: note: Found duplicate branches for 'if' and 'else'. rspamd-3.8.1/src/libutil/str_util.c:3259:31: style:inconclusive: Function 'rspamd_ucl_emit_fstring_comments' argument 3 names different: declaration 'target' definition 'buf'. [funcArgNamesDifferent] rspamd-3.8.1/src/libutil/str_util.h:435:31: note: Function 'rspamd_ucl_emit_fstring_comments' argument 3 names different: declaration 'target' definition 'buf'. rspamd-3.8.1/src/libutil/str_util.c:3259:31: note: Function 'rspamd_ucl_emit_fstring_comments' argument 3 names different: declaration 'target' definition 'buf'. rspamd-3.8.1/src/libutil/str_util.c:625:13: style: Variable 'end' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libutil/str_util.c:1120:14: style: Variable 'end' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libutil/str_util.c:2252:33: style: Parameter 'input' can be declared as pointer to const [constParameterPointer] rspamd-3.8.1/src/libutil/str_util.c:2549:14: style: Variable 'end' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libutil/str_util.c:2620:13: style: Variable 'end' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libutil/str_util.c:2775:13: style: Variable 'out_end' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libutil/str_util.c:2979:13: style: Variable 'end' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libutil/str_util.c:3086:19: style: Variable 'end' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libutil/str_util.c:3345:39: style: Variable 'dend' can be declared as pointer to const [constVariablePointer] rspamd-3.8.1/src/libutil/str_util.c:191:21: style: Variable 'prev' is assigned a value that is never used. [unreadVariable] diff: DONE