Flawfinder version 2.0.10, (C) 2001-2019 David A. Wheeler.
Number of rules (primarily dangerous function names) in C/C++ ruleset: 223
Examining data/yaramod-3.6.0/deps/pog/deps/fmt/fmt/include/fmt/chrono.h
Examining data/yaramod-3.6.0/deps/pog/deps/fmt/fmt/include/fmt/color.h
Examining data/yaramod-3.6.0/deps/pog/deps/fmt/fmt/include/fmt/compile.h
Examining data/yaramod-3.6.0/deps/pog/deps/fmt/fmt/include/fmt/core.h
Examining data/yaramod-3.6.0/deps/pog/deps/fmt/fmt/include/fmt/format-inl.h
Examining data/yaramod-3.6.0/deps/pog/deps/fmt/fmt/include/fmt/format.h
Examining data/yaramod-3.6.0/deps/pog/deps/fmt/fmt/include/fmt/locale.h
Examining data/yaramod-3.6.0/deps/pog/deps/fmt/fmt/include/fmt/ostream.h
Examining data/yaramod-3.6.0/deps/pog/deps/fmt/fmt/include/fmt/posix.h
Examining data/yaramod-3.6.0/deps/pog/deps/fmt/fmt/include/fmt/printf.h
Examining data/yaramod-3.6.0/deps/pog/deps/fmt/fmt/include/fmt/ranges.h
Examining data/yaramod-3.6.0/deps/pog/deps/fmt/fmt/include/fmt/safe-duration-cast.h
Examining data/yaramod-3.6.0/deps/pog/deps/fmt/fmt/src/format.cc
Examining data/yaramod-3.6.0/deps/pog/deps/fmt/fmt/src/posix.cc
Examining data/yaramod-3.6.0/deps/pog/deps/re2/re2/re2/bitmap256.h
Examining data/yaramod-3.6.0/deps/pog/deps/re2/re2/re2/bitstate.cc
Examining data/yaramod-3.6.0/deps/pog/deps/re2/re2/re2/compile.cc
Examining data/yaramod-3.6.0/deps/pog/deps/re2/re2/re2/dfa.cc
Examining data/yaramod-3.6.0/deps/pog/deps/re2/re2/re2/filtered_re2.cc
Examining data/yaramod-3.6.0/deps/pog/deps/re2/re2/re2/filtered_re2.h
Examining data/yaramod-3.6.0/deps/pog/deps/re2/re2/re2/mimics_pcre.cc
Examining data/yaramod-3.6.0/deps/pog/deps/re2/re2/re2/nfa.cc
Examining data/yaramod-3.6.0/deps/pog/deps/re2/re2/re2/onepass.cc
Examining data/yaramod-3.6.0/deps/pog/deps/re2/re2/re2/parse.cc
Examining data/yaramod-3.6.0/deps/pog/deps/re2/re2/re2/perl_groups.cc
Examining data/yaramod-3.6.0/deps/pog/deps/re2/re2/re2/pod_array.h
Examining data/yaramod-3.6.0/deps/pog/deps/re2/re2/re2/prefilter.cc
Examining data/yaramod-3.6.0/deps/pog/deps/re2/re2/re2/prefilter.h
Examining data/yaramod-3.6.0/deps/pog/deps/re2/re2/re2/prefilter_tree.cc
Examining data/yaramod-3.6.0/deps/pog/deps/re2/re2/re2/prefilter_tree.h
Examining data/yaramod-3.6.0/deps/pog/deps/re2/re2/re2/prog.cc
Examining data/yaramod-3.6.0/deps/pog/deps/re2/re2/re2/prog.h
Examining data/yaramod-3.6.0/deps/pog/deps/re2/re2/re2/re2.cc
Examining data/yaramod-3.6.0/deps/pog/deps/re2/re2/re2/re2.h
Examining data/yaramod-3.6.0/deps/pog/deps/re2/re2/re2/regexp.cc
Examining data/yaramod-3.6.0/deps/pog/deps/re2/re2/re2/regexp.h
Examining data/yaramod-3.6.0/deps/pog/deps/re2/re2/re2/set.cc
Examining data/yaramod-3.6.0/deps/pog/deps/re2/re2/re2/set.h
Examining data/yaramod-3.6.0/deps/pog/deps/re2/re2/re2/simplify.cc
Examining data/yaramod-3.6.0/deps/pog/deps/re2/re2/re2/sparse_array.h
Examining data/yaramod-3.6.0/deps/pog/deps/re2/re2/re2/sparse_set.h
Examining data/yaramod-3.6.0/deps/pog/deps/re2/re2/re2/stringpiece.cc
Examining data/yaramod-3.6.0/deps/pog/deps/re2/re2/re2/stringpiece.h
Examining data/yaramod-3.6.0/deps/pog/deps/re2/re2/re2/tostring.cc
Examining data/yaramod-3.6.0/deps/pog/deps/re2/re2/re2/unicode_casefold.cc
Examining data/yaramod-3.6.0/deps/pog/deps/re2/re2/re2/unicode_casefold.h
Examining data/yaramod-3.6.0/deps/pog/deps/re2/re2/re2/unicode_groups.cc
Examining data/yaramod-3.6.0/deps/pog/deps/re2/re2/re2/unicode_groups.h
Examining data/yaramod-3.6.0/deps/pog/deps/re2/re2/re2/walker-inl.h
Examining data/yaramod-3.6.0/deps/pog/deps/re2/re2/util/benchmark.cc
Examining data/yaramod-3.6.0/deps/pog/deps/re2/re2/util/benchmark.h
Examining data/yaramod-3.6.0/deps/pog/deps/re2/re2/util/flags.h
Examining data/yaramod-3.6.0/deps/pog/deps/re2/re2/util/fuzz.cc
Examining data/yaramod-3.6.0/deps/pog/deps/re2/re2/util/logging.h
Examining data/yaramod-3.6.0/deps/pog/deps/re2/re2/util/malloc_counter.h
Examining data/yaramod-3.6.0/deps/pog/deps/re2/re2/util/mix.h
Examining data/yaramod-3.6.0/deps/pog/deps/re2/re2/util/mutex.h
Examining data/yaramod-3.6.0/deps/pog/deps/re2/re2/util/pcre.cc
Examining data/yaramod-3.6.0/deps/pog/deps/re2/re2/util/pcre.h
Examining data/yaramod-3.6.0/deps/pog/deps/re2/re2/util/rune.cc
Examining data/yaramod-3.6.0/deps/pog/deps/re2/re2/util/strutil.cc
Examining data/yaramod-3.6.0/deps/pog/deps/re2/re2/util/strutil.h
Examining data/yaramod-3.6.0/deps/pog/deps/re2/re2/util/test.cc
Examining data/yaramod-3.6.0/deps/pog/deps/re2/re2/util/test.h
Examining data/yaramod-3.6.0/deps/pog/deps/re2/re2/util/utf.h
Examining data/yaramod-3.6.0/deps/pog/deps/re2/re2/util/util.h
Examining data/yaramod-3.6.0/deps/pog/include/pog/action.h
Examining data/yaramod-3.6.0/deps/pog/include/pog/automaton.h
Examining data/yaramod-3.6.0/deps/pog/include/pog/digraph_algo.h
Examining data/yaramod-3.6.0/deps/pog/include/pog/errors.h
Examining data/yaramod-3.6.0/deps/pog/include/pog/filter_view.h
Examining data/yaramod-3.6.0/deps/pog/include/pog/grammar.h
Examining data/yaramod-3.6.0/deps/pog/include/pog/html_report.h
Examining data/yaramod-3.6.0/deps/pog/include/pog/item.h
Examining data/yaramod-3.6.0/deps/pog/include/pog/operations/follow.h
Examining data/yaramod-3.6.0/deps/pog/include/pog/operations/lookahead.h
Examining data/yaramod-3.6.0/deps/pog/include/pog/operations/operation.h
Examining data/yaramod-3.6.0/deps/pog/include/pog/operations/read.h
Examining data/yaramod-3.6.0/deps/pog/include/pog/parser.h
Examining data/yaramod-3.6.0/deps/pog/include/pog/parser_report.h
Examining data/yaramod-3.6.0/deps/pog/include/pog/parsing_table.h
Examining data/yaramod-3.6.0/deps/pog/include/pog/pog.h
Examining data/yaramod-3.6.0/deps/pog/include/pog/precedence.h
Examining data/yaramod-3.6.0/deps/pog/include/pog/relations/includes.h
Examining data/yaramod-3.6.0/deps/pog/include/pog/relations/lookback.h
Examining data/yaramod-3.6.0/deps/pog/include/pog/relations/relation.h
Examining data/yaramod-3.6.0/deps/pog/include/pog/rule.h
Examining data/yaramod-3.6.0/deps/pog/include/pog/rule_builder.h
Examining data/yaramod-3.6.0/deps/pog/include/pog/state.h
Parsing failed to find end of parameter list; semicolon terminated it in (lhs_kernel.begin(), lhs_kernel.end(), rhs_kernel.begin(), rhs_kernel.end(), [](const auto& left, const auto& right) {
			return *left.get() == *right.get();
		});
	}

	bool operator !=(const State& r
Examining data/yaramod-3.6.0/deps/pog/include/pog/symbol.h
Examining data/yaramod-3.6.0/deps/pog/include/pog/token.h
Examining data/yaramod-3.6.0/deps/pog/include/pog/token_builder.h
Examining data/yaramod-3.6.0/deps/pog/include/pog/tokenizer.h
Examining data/yaramod-3.6.0/deps/pog/include/pog/types/state_and_rule.h
Examining data/yaramod-3.6.0/deps/pog/include/pog/types/state_and_symbol.h
Examining data/yaramod-3.6.0/deps/pog/include/pog/utils.h
Examining data/yaramod-3.6.0/deps/pybind11/include/pybind11/attr.h
Examining data/yaramod-3.6.0/deps/pybind11/include/pybind11/buffer_info.h
Examining data/yaramod-3.6.0/deps/pybind11/include/pybind11/cast.h
Examining data/yaramod-3.6.0/deps/pybind11/include/pybind11/chrono.h
Examining data/yaramod-3.6.0/deps/pybind11/include/pybind11/common.h
Examining data/yaramod-3.6.0/deps/pybind11/include/pybind11/complex.h
Examining data/yaramod-3.6.0/deps/pybind11/include/pybind11/detail/class.h
Examining data/yaramod-3.6.0/deps/pybind11/include/pybind11/detail/common.h
Examining data/yaramod-3.6.0/deps/pybind11/include/pybind11/detail/descr.h
Examining data/yaramod-3.6.0/deps/pybind11/include/pybind11/detail/init.h
Examining data/yaramod-3.6.0/deps/pybind11/include/pybind11/detail/internals.h
Examining data/yaramod-3.6.0/deps/pybind11/include/pybind11/detail/typeid.h
Examining data/yaramod-3.6.0/deps/pybind11/include/pybind11/eigen.h
Examining data/yaramod-3.6.0/deps/pybind11/include/pybind11/embed.h
Examining data/yaramod-3.6.0/deps/pybind11/include/pybind11/eval.h
Examining data/yaramod-3.6.0/deps/pybind11/include/pybind11/functional.h
Examining data/yaramod-3.6.0/deps/pybind11/include/pybind11/iostream.h
Examining data/yaramod-3.6.0/deps/pybind11/include/pybind11/numpy.h
Examining data/yaramod-3.6.0/deps/pybind11/include/pybind11/operators.h
Examining data/yaramod-3.6.0/deps/pybind11/include/pybind11/options.h
Examining data/yaramod-3.6.0/deps/pybind11/include/pybind11/pybind11.h
Parsing failed to find end of parameter list; semicolon terminated it in (
            [](Type &value, Scalar arg) { value = static_cast<Type>(arg); },
            is_method(*this));
        attr("__setstate__") = setstate;
    }

    /// Export enumeration entries into th
Examining data/yaramod-3.6.0/deps/pybind11/include/pybind11/pytypes.h
Examining data/yaramod-3.6.0/deps/pybind11/include/pybind11/stl.h
Examining data/yaramod-3.6.0/deps/pybind11/include/pybind11/stl_bind.h
Examining data/yaramod-3.6.0/include/yaramod/builder/yara_expression_builder.h
Examining data/yaramod-3.6.0/include/yaramod/builder/yara_file_builder.h
Examining data/yaramod-3.6.0/include/yaramod/builder/yara_hex_string_builder.h
Examining data/yaramod-3.6.0/include/yaramod/builder/yara_rule_builder.h
Examining data/yaramod-3.6.0/include/yaramod/parser/file_context.h
Examining data/yaramod-3.6.0/include/yaramod/parser/location.h
Examining data/yaramod-3.6.0/include/yaramod/parser/parser_driver.h
Examining data/yaramod-3.6.0/include/yaramod/parser/value.h
Examining data/yaramod-3.6.0/include/yaramod/types/expression.h
Examining data/yaramod-3.6.0/include/yaramod/types/expressions.h
Examining data/yaramod-3.6.0/include/yaramod/types/hex_string.h
Examining data/yaramod-3.6.0/include/yaramod/types/literal.h
Examining data/yaramod-3.6.0/include/yaramod/types/location.h
Examining data/yaramod-3.6.0/include/yaramod/types/meta.h
Examining data/yaramod-3.6.0/include/yaramod/types/modules/androguard_module.h
Examining data/yaramod-3.6.0/include/yaramod/types/modules/cuckoo_module.h
Examining data/yaramod-3.6.0/include/yaramod/types/modules/dex_module.h
Examining data/yaramod-3.6.0/include/yaramod/types/modules/dotnet_module.h
Examining data/yaramod-3.6.0/include/yaramod/types/modules/elf_module.h
Examining data/yaramod-3.6.0/include/yaramod/types/modules/hash_module.h
Examining data/yaramod-3.6.0/include/yaramod/types/modules/macho_module.h
Examining data/yaramod-3.6.0/include/yaramod/types/modules/magic_module.h
Examining data/yaramod-3.6.0/include/yaramod/types/modules/math_module.h
Examining data/yaramod-3.6.0/include/yaramod/types/modules/metadata_module.h
Examining data/yaramod-3.6.0/include/yaramod/types/modules/module.h
Examining data/yaramod-3.6.0/include/yaramod/types/modules/modules.h
Examining data/yaramod-3.6.0/include/yaramod/types/modules/modules_pool.h
Examining data/yaramod-3.6.0/include/yaramod/types/modules/pe_module.h
Examining data/yaramod-3.6.0/include/yaramod/types/modules/phish_module.h
Examining data/yaramod-3.6.0/include/yaramod/types/modules/time_module.h
Examining data/yaramod-3.6.0/include/yaramod/types/plain_string.h
Examining data/yaramod-3.6.0/include/yaramod/types/regexp.h
Examining data/yaramod-3.6.0/include/yaramod/types/rule.h
Examining data/yaramod-3.6.0/include/yaramod/types/string.h
Examining data/yaramod-3.6.0/include/yaramod/types/string_modifier.h
Examining data/yaramod-3.6.0/include/yaramod/types/symbol.h
Examining data/yaramod-3.6.0/include/yaramod/types/symbols.h
Examining data/yaramod-3.6.0/include/yaramod/types/token.h
Examining data/yaramod-3.6.0/include/yaramod/types/token_stream.h
Examining data/yaramod-3.6.0/include/yaramod/types/yara_file.h
Examining data/yaramod-3.6.0/include/yaramod/utils/filesystem.h
Examining data/yaramod-3.6.0/include/yaramod/utils/modifying_visitor.h
Examining data/yaramod-3.6.0/include/yaramod/utils/observing_visitor.h
Examining data/yaramod-3.6.0/include/yaramod/utils/trie.h
Examining data/yaramod-3.6.0/include/yaramod/utils/utils.h
Examining data/yaramod-3.6.0/include/yaramod/utils/visitor.h
Examining data/yaramod-3.6.0/include/yaramod/utils/visitor_result.h
Examining data/yaramod-3.6.0/include/yaramod/yaramod.h
Examining data/yaramod-3.6.0/include/yaramod/yaramod_error.h
Examining data/yaramod-3.6.0/src/builder/yara_expression_builder.cpp
Examining data/yaramod-3.6.0/src/builder/yara_file_builder.cpp
Examining data/yaramod-3.6.0/src/builder/yara_hex_string_builder.cpp
Examining data/yaramod-3.6.0/src/builder/yara_rule_builder.cpp
Examining data/yaramod-3.6.0/src/examples/cpp/dump_rules_ast/dumper.h
Examining data/yaramod-3.6.0/src/examples/cpp/dump_rules_ast/main.cpp
Examining data/yaramod-3.6.0/src/examples/cpp/simplify_bools/bool_simplifier.h
Examining data/yaramod-3.6.0/src/examples/cpp/simplify_bools/main.cpp
Examining data/yaramod-3.6.0/src/parser/parser_driver.cpp
Examining data/yaramod-3.6.0/src/python/py_visitor.cpp
Examining data/yaramod-3.6.0/src/python/py_visitor.h
Examining data/yaramod-3.6.0/src/python/yaramod_python.cpp
Examining data/yaramod-3.6.0/src/python/yaramod_python.h
Examining data/yaramod-3.6.0/src/types/hex_string.cpp
Examining data/yaramod-3.6.0/src/types/literal.cpp
Examining data/yaramod-3.6.0/src/types/meta.cpp
Examining data/yaramod-3.6.0/src/types/modules/androguard_module.cpp
Examining data/yaramod-3.6.0/src/types/modules/cuckoo_module.cpp
Examining data/yaramod-3.6.0/src/types/modules/dex_module.cpp
Examining data/yaramod-3.6.0/src/types/modules/dotnet_module.cpp
Examining data/yaramod-3.6.0/src/types/modules/elf_module.cpp
Examining data/yaramod-3.6.0/src/types/modules/hash_module.cpp
Examining data/yaramod-3.6.0/src/types/modules/macho_module.cpp
Examining data/yaramod-3.6.0/src/types/modules/magic_module.cpp
Examining data/yaramod-3.6.0/src/types/modules/math_module.cpp
Examining data/yaramod-3.6.0/src/types/modules/metadata_module.cpp
Examining data/yaramod-3.6.0/src/types/modules/module.cpp
Examining data/yaramod-3.6.0/src/types/modules/pe_module.cpp
Examining data/yaramod-3.6.0/src/types/modules/phish_module.cpp
Examining data/yaramod-3.6.0/src/types/modules/time_module.cpp
Examining data/yaramod-3.6.0/src/types/plain_string.cpp
Examining data/yaramod-3.6.0/src/types/rule.cpp
Examining data/yaramod-3.6.0/src/types/token.cpp
Examining data/yaramod-3.6.0/src/types/token_stream.cpp
Examining data/yaramod-3.6.0/src/types/yara_file.cpp
Examining data/yaramod-3.6.0/src/utils/filesystem.cpp
Examining data/yaramod-3.6.0/src/utils/utils.cpp
Examining data/yaramod-3.6.0/src/yaramod.cpp
Examining data/yaramod-3.6.0/tests/cpp/builder_tests.cpp
Examining data/yaramod-3.6.0/tests/cpp/parser_tests.cpp
Examining data/yaramod-3.6.0/tests/cpp/representation_tests.cpp
Examining data/yaramod-3.6.0/tests/cpp/tokenstream_tests.cpp
Examining data/yaramod-3.6.0/tests/cpp/trie_tests.cpp
Examining data/yaramod-3.6.0/tests/cpp/utils_tests.cpp
Examining data/yaramod-3.6.0/tests/cpp/yaramod_tests.cpp
Examining data/yaramod-3.6.0/tests/doxygen.h

FINAL RESULTS:

data/yaramod-3.6.0/deps/pog/deps/fmt/fmt/include/fmt/format-inl.h:70:24:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#  define FMT_SNPRINTF snprintf
data/yaramod-3.6.0/deps/pog/deps/fmt/fmt/include/fmt/printf.h:179:6:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
void printf(buffer<Char>& buf, basic_string_view<Char> format,
data/yaramod-3.6.0/deps/pog/deps/fmt/fmt/include/fmt/printf.h:185:41:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
internal::truncating_iterator<OutputIt> printf(
data/yaramod-3.6.0/deps/pog/deps/fmt/fmt/include/fmt/printf.h:192:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
using internal::printf;  // For printing into memory_buffer.
data/yaramod-3.6.0/deps/pog/deps/fmt/fmt/include/fmt/printf.h:602:32:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
inline std::basic_string<Char> vsprintf(
data/yaramod-3.6.0/deps/pog/deps/fmt/fmt/include/fmt/printf.h:605:3:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  printf(buffer, to_string_view(format), args);
data/yaramod-3.6.0/deps/pog/deps/fmt/fmt/include/fmt/printf.h:620:32:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
inline std::basic_string<Char> sprintf(const S& format, const Args&... args) {
data/yaramod-3.6.0/deps/pog/deps/fmt/fmt/include/fmt/printf.h:622:10:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
  return vsprintf(to_string_view(format), {make_format_args<context>(args...)});
data/yaramod-3.6.0/deps/pog/deps/fmt/fmt/include/fmt/printf.h:626:12:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
inline int vfprintf(std::FILE* f, const S& format,
data/yaramod-3.6.0/deps/pog/deps/fmt/fmt/include/fmt/printf.h:629:3:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  printf(buffer, to_string_view(format), args);
data/yaramod-3.6.0/deps/pog/deps/fmt/fmt/include/fmt/printf.h:647:12:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
inline int fprintf(std::FILE* f, const S& format, const Args&... args) {
data/yaramod-3.6.0/deps/pog/deps/fmt/fmt/include/fmt/printf.h:649:10:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  return vfprintf(f, to_string_view(format),
data/yaramod-3.6.0/deps/pog/deps/fmt/fmt/include/fmt/printf.h:654:12:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
inline int vprintf(const S& format,
data/yaramod-3.6.0/deps/pog/deps/fmt/fmt/include/fmt/printf.h:656:10:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  return vfprintf(stdout, to_string_view(format), args);
data/yaramod-3.6.0/deps/pog/deps/fmt/fmt/include/fmt/printf.h:670:12:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
inline int printf(const S& format_str, const Args&... args) {
data/yaramod-3.6.0/deps/pog/deps/fmt/fmt/include/fmt/printf.h:672:10:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  return vprintf(to_string_view(format_str),
data/yaramod-3.6.0/deps/pog/deps/fmt/fmt/include/fmt/printf.h:677:12:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
inline int vfprintf(std::basic_ostream<Char>& os, const S& format,
data/yaramod-3.6.0/deps/pog/deps/fmt/fmt/include/fmt/printf.h:680:3:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  printf(buffer, to_string_view(format), args);
data/yaramod-3.6.0/deps/pog/deps/fmt/fmt/include/fmt/printf.h:689:33:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
typename ArgFormatter::iterator vprintf(internal::buffer<Char>& out,
data/yaramod-3.6.0/deps/pog/deps/fmt/fmt/include/fmt/printf.h:707:12:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
inline int fprintf(std::basic_ostream<Char>& os, const S& format_str,
data/yaramod-3.6.0/deps/pog/deps/fmt/fmt/include/fmt/printf.h:710:10:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  return vfprintf(os, to_string_view(format_str),
data/yaramod-3.6.0/deps/pog/deps/re2/re2/util/benchmark.cc:16:9:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#define snprintf _snprintf
data/yaramod-3.6.0/deps/pog/deps/re2/re2/util/benchmark.cc:16:18:  [4] (format) _snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#define snprintf _snprintf
data/yaramod-3.6.0/deps/pog/deps/re2/re2/util/strutil.cc:11:9:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#define snprintf _snprintf
data/yaramod-3.6.0/deps/pog/deps/re2/re2/util/strutil.cc:11:18:  [4] (format) _snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#define snprintf _snprintf
data/yaramod-3.6.0/deps/pog/deps/re2/re2/util/strutil.cc:12:9:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#define vsnprintf _vsnprintf
data/yaramod-3.6.0/deps/pog/deps/re2/re2/util/strutil.cc:104:16:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
  int result = vsnprintf(space, sizeof(space), format, backup_ap);
data/yaramod-3.6.0/deps/pog/deps/re2/re2/util/strutil.cc:127:14:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    result = vsnprintf(buf, length, format, backup_ap);
data/yaramod-3.6.0/include/yaramod/builder/yara_expression_builder.h:189:25:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	YaraExpressionBuilder& access(const std::string& attr);
data/yaramod-3.6.0/src/builder/yara_expression_builder.cpp:539:47:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
YaraExpressionBuilder& YaraExpressionBuilder::access(const std::string& attr) // pe.attr
data/yaramod-3.6.0/src/python/yaramod_python.cpp:546:42:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
		.def("access", &YaraExpressionBuilder::access)
data/yaramod-3.6.0/src/utils/filesystem.cpp:73:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(copyPathStr, path.c_str());
data/yaramod-3.6.0/tests/cpp/builder_tests.cpp:742:24:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	auto cond = (id("pe").access("number_of_sections") > intVal(1)).get();
data/yaramod-3.6.0/tests/cpp/builder_tests.cpp:776:79:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	auto cond = (id("pe").comment("Number of sections needs to exceed 1", false).access("number_of_sections") > intVal(1)).get();
data/yaramod-3.6.0/tests/cpp/builder_tests.cpp:811:118:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	auto cond = (id("pe").comment("Number of sections needs to exceed 1,\n\t\tbecause one is simply not enough.", true).access("number_of_sections") > intVal(1)).get();
data/yaramod-3.6.0/tests/cpp/builder_tests.cpp:847:23:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	auto cond = id("pe").access("sections")[intVal(0)].access("name").contains(stringVal("text"))
data/yaramod-3.6.0/tests/cpp/builder_tests.cpp:847:53:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	auto cond = id("pe").access("sections")[intVal(0)].access("name").contains(stringVal("text"))
data/yaramod-3.6.0/tests/cpp/builder_tests.cpp:882:23:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	auto cond = id("pe").access("exports")(stringVal("ExitProcess"))
data/yaramod-3.6.0/tests/cpp/builder_tests.cpp:1007:24:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	auto cond = (id("pe").access("characteristics") & paren(id("pe").access("DLL") | id("pe").access("RELOCS_STRIPPED")))
data/yaramod-3.6.0/tests/cpp/builder_tests.cpp:1007:67:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	auto cond = (id("pe").access("characteristics") & paren(id("pe").access("DLL") | id("pe").access("RELOCS_STRIPPED")))
data/yaramod-3.6.0/tests/cpp/builder_tests.cpp:1007:92:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	auto cond = (id("pe").access("characteristics") & paren(id("pe").access("DLL") | id("pe").access("RELOCS_STRIPPED")))
data/yaramod-3.6.0/tests/cpp/builder_tests.cpp:1042:24:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	auto cond = (id("pe").access("is_32bit")() && paren((id("pe").access("is_dll")() || paren(id("pe").access("number_of_sections") > intVal(3)))))
data/yaramod-3.6.0/tests/cpp/builder_tests.cpp:1042:64:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	auto cond = (id("pe").access("is_32bit")() && paren((id("pe").access("is_dll")() || paren(id("pe").access("number_of_sections") > intVal(3)))))
data/yaramod-3.6.0/tests/cpp/builder_tests.cpp:1042:101:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	auto cond = (id("pe").access("is_32bit")() && paren((id("pe").access("is_dll")() || paren(id("pe").access("number_of_sections") > intVal(3)))))
data/yaramod-3.6.0/tests/cpp/builder_tests.cpp:1183:24:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	auto cond = (id("pe").access("sections")[intVal(0)].access("name").matches(regexp(R"(\.(text|data))", "i")))
data/yaramod-3.6.0/tests/cpp/builder_tests.cpp:1183:54:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	auto cond = (id("pe").access("sections")[intVal(0)].access("name").matches(regexp(R"(\.(text|data))", "i")))
data/yaramod-3.6.0/tests/cpp/builder_tests.cpp:1520:24:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	auto cond = (id("pe").access("rich_signature").access("clear_data") == stringVal("DanS\"\t\n\\\x01\xff")).get();
data/yaramod-3.6.0/tests/cpp/builder_tests.cpp:1520:49:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	auto cond = (id("pe").access("rich_signature").access("clear_data") == stringVal("DanS\"\t\n\\\x01\xff")).get();
data/yaramod-3.6.0/deps/pog/deps/re2/re2/util/fuzz.cc:16:17:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
      data[j] = random() & 0xFF;
data/yaramod-3.6.0/deps/pybind11/include/pybind11/detail/init.h:286:6:  [3] (random) setstate:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
void setstate(value_and_holder &v_h, T &&result, bool need_alias) {
data/yaramod-3.6.0/deps/pybind11/include/pybind11/detail/init.h:293:6:  [3] (random) setstate:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
void setstate(value_and_holder &v_h, std::pair<T, O> &&result, bool need_alias) {
data/yaramod-3.6.0/deps/pybind11/include/pybind11/detail/init.h:327:13:  [3] (random) setstate:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
            setstate<Class>(v_h, func(std::forward<ArgState>(state)),
data/yaramod-3.6.0/deps/pybind11/include/pybind11/pybind11.h:1548:22:  [3] (random) setstate:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
        cpp_function setstate(
data/yaramod-3.6.0/deps/pybind11/include/pybind11/pybind11.h:1551:32:  [3] (random) setstate:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
        attr("__setstate__") = setstate;
data/yaramod-3.6.0/src/utils/filesystem.cpp:86:6:  [3] (buffer) realpath:
  This function does not protect against buffer overflows, and some
  implementations can overflow internally (CWE-120/CWE-785!). Ensure that the
  destination buffer is at least of size MAXPATHLEN, andto protect against
  implementation problems, the input argument should also be checked to
  ensure it is no larger than MAXPATHLEN.
	if (realpath(path.c_str(), absolutePathStr) == nullptr)
data/yaramod-3.6.0/deps/pog/deps/fmt/fmt/include/fmt/core.h:836:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    std::memcpy(val.data, &arg, sizeof(arg));
data/yaramod-3.6.0/deps/pog/deps/fmt/fmt/include/fmt/core.h:1242:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  mutable char data[sizeof(basic_format_arg<buffer_context<Char>>)];
data/yaramod-3.6.0/deps/pog/deps/fmt/fmt/include/fmt/core.h:1248:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    std::memcpy(&arg, data, sizeof(basic_format_arg<Context>));
data/yaramod-3.6.0/deps/pog/deps/fmt/fmt/include/fmt/format-inl.h:763:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char format[max_format_size];
data/yaramod-3.6.0/deps/pog/deps/fmt/fmt/include/fmt/format-inl.h:848:16:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
  int length = MultiByteToWideChar(CP_UTF8, MB_ERR_INVALID_CHARS, s.data(),
data/yaramod-3.6.0/deps/pog/deps/fmt/fmt/include/fmt/format-inl.h:852:12:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
  length = MultiByteToWideChar(CP_UTF8, MB_ERR_INVALID_CHARS, s.data(), s_size,
data/yaramod-3.6.0/deps/pog/deps/fmt/fmt/include/fmt/format.h:201:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char value[sizeof(void*)];
data/yaramod-3.6.0/deps/pog/deps/fmt/fmt/include/fmt/format.h:664:16:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static const char reset_color[5];
data/yaramod-3.6.0/deps/pog/deps/fmt/fmt/include/fmt/format.h:665:16:  [2] (buffer) wchar_t:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static const wchar_t wreset_color[5];
data/yaramod-3.6.0/deps/pog/deps/fmt/fmt/include/fmt/format.h:741:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    std::memcpy(buffer_ + N, data::digits + index * 2, 2);
data/yaramod-3.6.0/deps/pog/deps/fmt/fmt/include/fmt/format.h:884:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buffer[std::numeric_limits<UInt>::digits / BASE_BITS + 1];
data/yaramod-3.6.0/deps/pog/deps/fmt/fmt/include/fmt/format.h:1352:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char prefix[4];
data/yaramod-3.6.0/deps/pog/deps/fmt/fmt/include/fmt/format.h:2882:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  mutable char buffer_[buffer_size];
data/yaramod-3.6.0/deps/pog/deps/fmt/fmt/src/posix.cc:75:35:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  FMT_RETRY_VAL(file_, FMT_SYSTEM(fopen(filename.c_str(), mode.c_str())),
data/yaramod-3.6.0/deps/pog/deps/fmt/fmt/src/posix.cc:103:33:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  FMT_RETRY(fd_, FMT_POSIX_CALL(open(path.c_str(), oflag, mode)));
data/yaramod-3.6.0/deps/pog/deps/re2/re2/re2/parse.cc:2186:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[UTFmax];
data/yaramod-3.6.0/deps/pog/deps/re2/re2/re2/prefilter.cc:392:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[UTFmax];
data/yaramod-3.6.0/deps/pog/deps/re2/re2/re2/re2.cc:1055:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[kMaxNumberLength+1];
data/yaramod-3.6.0/deps/pog/deps/re2/re2/re2/re2.cc:1072:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[kMaxNumberLength+1];
data/yaramod-3.6.0/deps/pog/deps/re2/re2/re2/re2.cc:1143:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[kMaxNumberLength+1];
data/yaramod-3.6.0/deps/pog/deps/re2/re2/re2/re2.cc:1160:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[kMaxNumberLength+1];
data/yaramod-3.6.0/deps/pog/deps/re2/re2/re2/re2.cc:1181:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[kMaxLength+1];
data/yaramod-3.6.0/deps/pog/deps/re2/re2/re2/regexp.cc:341:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char tmp[sizeof *this];
data/yaramod-3.6.0/deps/pog/deps/re2/re2/re2/regexp.cc:709:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char buf[UTFmax];
data/yaramod-3.6.0/deps/pog/deps/re2/re2/re2/stringpiece.cc:18:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(buf, data_ + pos, ret);
data/yaramod-3.6.0/deps/pog/deps/re2/re2/util/benchmark.cc:93:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char mb[100];
data/yaramod-3.6.0/deps/pog/deps/re2/re2/util/benchmark.cc:94:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char suf[100];
data/yaramod-3.6.0/deps/pog/deps/re2/re2/util/pcre.cc:829:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(buf, str, n);
data/yaramod-3.6.0/deps/pog/deps/re2/re2/util/pcre.cc:843:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[kMaxNumberLength+1];
data/yaramod-3.6.0/deps/pog/deps/re2/re2/util/pcre.cc:860:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[kMaxNumberLength+1];
data/yaramod-3.6.0/deps/pog/deps/re2/re2/util/pcre.cc:931:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[kMaxNumberLength+1];
data/yaramod-3.6.0/deps/pog/deps/re2/re2/util/pcre.cc:948:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[kMaxNumberLength+1];
data/yaramod-3.6.0/deps/pog/deps/re2/re2/util/pcre.cc:969:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[kMaxLength];
data/yaramod-3.6.0/deps/pog/deps/re2/re2/util/pcre.cc:971:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(buf, str, n);
data/yaramod-3.6.0/deps/pog/deps/re2/re2/util/rune.cc:186:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char str[10];
data/yaramod-3.6.0/deps/pog/deps/re2/re2/util/strutil.cc:97:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char space[1024];
data/yaramod-3.6.0/deps/pybind11/include/pybind11/complex.h:24:28:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static constexpr const char value[3] = { 'Z', c, '\0' };
data/yaramod-3.6.0/deps/pybind11/include/pybind11/detail/class.h:549:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy((void *) tp_doc, rec.doc, size);
data/yaramod-3.6.0/deps/pybind11/include/pybind11/detail/common.h:701:28:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static constexpr const char value[2] = { c, '\0' };
data/yaramod-3.6.0/deps/pybind11/include/pybind11/detail/descr.h:26:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char text[N + 1];
data/yaramod-3.6.0/deps/pybind11/include/pybind11/iostream.h:28:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char d_buffer[1024];
data/yaramod-3.6.0/src/utils/filesystem.cpp:45:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char parentPathStr[MAX_PATH] = { '\0' };
data/yaramod-3.6.0/src/utils/filesystem.cpp:53:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char absolutePathStr[MAX_PATH] = { '\0' };
data/yaramod-3.6.0/src/utils/filesystem.cpp:85:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char absolutePathStr[PATH_MAX] = { '\0' };
data/yaramod-3.6.0/deps/pog/deps/fmt/fmt/include/fmt/chrono.h:602:57:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    facet.put(os, os, ' ', &time, format, format + std::strlen(format));
data/yaramod-3.6.0/deps/pog/deps/fmt/fmt/include/fmt/color.h:415:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    return buffer + std::strlen(buffer);
data/yaramod-3.6.0/deps/pog/deps/fmt/fmt/include/fmt/format-inl.h:115:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      if (message == buffer_ && strlen(buffer_) == buffer_size_ - 1)
data/yaramod-3.6.0/deps/pog/deps/fmt/fmt/include/fmt/format-inl.h:129:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      return result == 0 && strlen(buffer_) == buffer_size_ - 1 ? ERANGE
data/yaramod-3.6.0/deps/pog/deps/fmt/fmt/include/fmt/posix.h:235:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  FMT_API std::size_t read(void* buffer, std::size_t count);
data/yaramod-3.6.0/deps/pog/deps/fmt/fmt/src/posix.cc:151:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
std::size_t file::read(void* buffer, std::size_t count) {
data/yaramod-3.6.0/deps/pog/deps/fmt/fmt/src/posix.cc:153:36:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  FMT_RETRY(result, FMT_POSIX_CALL(read(fd_, buffer, convert_rwcount(count))));
data/yaramod-3.6.0/deps/pog/deps/re2/re2/re2/stringpiece.h:67:45:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      : data_(str), size_(str == NULL ? 0 : strlen(str)) {}
data/yaramod-3.6.0/deps/pog/deps/re2/re2/re2/stringpiece.h:98:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    size_ = str == NULL ? 0 : strlen(str);
data/yaramod-3.6.0/deps/pog/include/pog/tokenizer.h:118:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			stream.read(block.data(), block.size());
data/yaramod-3.6.0/deps/pybind11/include/pybind11/detail/class.h:547:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        size_t size = strlen(rec.doc) + 1;
data/yaramod-3.6.0/deps/pybind11/include/pybind11/detail/common.h:220:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        size_t len = std::strlen(compiled_ver);                                \
data/yaramod-3.6.0/deps/pybind11/include/pybind11/numpy.h:1396:19:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
        if (!std::equal(buffers[i].shape.cbegin(), buffers[i].shape.cend(), shape.cbegin()))
data/yaramod-3.6.0/deps/pybind11/include/pybind11/pybind11.h:369:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            if (it->doc && strlen(it->doc) > 0 && options::show_user_defined_docstrings()) {
data/yaramod-3.6.0/deps/pybind11/include/pybind11/pybind11.h:1400:31:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
                    if (other.equal(arg))
data/yaramod-3.6.0/deps/pybind11/include/pybind11/pybind11.h:1411:52:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
                    if (handle(kv.second[int_(0)]).equal(arg))
data/yaramod-3.6.0/deps/pybind11/include/pybind11/pybind11.h:1463:64:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
            PYBIND11_ENUM_OP_CONV("__eq__", !b.is_none() &&  a.equal(b));
data/yaramod-3.6.0/deps/pybind11/include/pybind11/pybind11.h:1464:64:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
            PYBIND11_ENUM_OP_CONV("__ne__",  b.is_none() || !a.equal(b));
data/yaramod-3.6.0/deps/pybind11/include/pybind11/pybind11.h:1479:56:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
            PYBIND11_ENUM_OP_STRICT("__eq__",  int_(a).equal(int_(b)), return false);
data/yaramod-3.6.0/deps/pybind11/include/pybind11/pybind11.h:1480:56:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
            PYBIND11_ENUM_OP_STRICT("__ne__", !int_(a).equal(int_(b)), return true);
data/yaramod-3.6.0/deps/pybind11/include/pybind11/pytypes.h:118:10:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    bool equal(object_api const &other) const      { return rich_compare(other, Py_EQ); }
data/yaramod-3.6.0/deps/pybind11/include/pybind11/pytypes.h:622:65:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    friend bool operator==(const It &a, const It &b) { return a.equal(b); }
data/yaramod-3.6.0/deps/pybind11/include/pybind11/pytypes.h:654:10:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    bool equal(const sequence_fast_readonly &b) const { return ptr == b.ptr; }
data/yaramod-3.6.0/deps/pybind11/include/pybind11/pytypes.h:675:10:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    bool equal(const sequence_slow_readwrite &b) const { return index == b.index; }
data/yaramod-3.6.0/deps/pybind11/include/pybind11/pytypes.h:696:10:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    bool equal(const dict_readonly &b) const { return pos == b.pos; }
data/yaramod-3.6.0/include/yaramod/types/symbols.h:117:25:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
			auto mismatch = std::mismatch(overload.begin(), overload.end(), args.begin());
data/yaramod-3.6.0/include/yaramod/types/symbols.h:118:8:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
			if (mismatch.first == overload.end())

ANALYSIS SUMMARY:

Hits = 126
Lines analyzed = 80988 in approximately 2.03 seconds (39943 lines/second)
Physical Source Lines of Code (SLOC) = 56702
Hits@level = [0]  34 [1]  27 [2]  44 [3]   7 [4]  48 [5]   0
Hits@level+ = [0+] 160 [1+] 126 [2+]  99 [3+]  55 [4+]  48 [5+]   0
Hits/KSLOC@level+ = [0+] 2.82177 [1+] 2.22214 [2+] 1.74597 [3+] 0.969983 [4+] 0.846531 [5+]   0
Dot directories skipped = 1 (--followdotdir overrides)
Minimum risk level = 1
Not every hit is necessarily a security vulnerability.
There may be other security vulnerabilities; review your code!
See 'Secure Programming HOWTO'
(https://dwheeler.com/secure-programs) for more information.