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/hyperscan-5.3.0/util/ExpressionParser.h
Examining data/hyperscan-5.3.0/util/ng_corpus_properties.h
Examining data/hyperscan-5.3.0/util/ng_find_matches.h
Examining data/hyperscan-5.3.0/util/cross_compile.cpp
Examining data/hyperscan-5.3.0/util/ng_corpus_generator.cpp
Examining data/hyperscan-5.3.0/util/expression_path.h
Examining data/hyperscan-5.3.0/util/expressions.cpp
Examining data/hyperscan-5.3.0/util/ng_corpus_editor.h
Examining data/hyperscan-5.3.0/util/database_util.h
Examining data/hyperscan-5.3.0/util/cross_compile.h
Examining data/hyperscan-5.3.0/util/win_getopt.h
Examining data/hyperscan-5.3.0/util/ng_corpus_editor.cpp
Examining data/hyperscan-5.3.0/util/database_util.cpp
Examining data/hyperscan-5.3.0/util/ng_corpus_generator.h
Examining data/hyperscan-5.3.0/util/expressions.h
Examining data/hyperscan-5.3.0/util/ng_find_matches.cpp
Examining data/hyperscan-5.3.0/util/string_util.h
Examining data/hyperscan-5.3.0/util/ng_corpus_properties.cpp
Examining data/hyperscan-5.3.0/tools/hscollider/NfaGeneratedCorpora.cpp
Examining data/hyperscan-5.3.0/tools/hscollider/Thread.h
Examining data/hyperscan-5.3.0/tools/hscollider/main.cpp
Examining data/hyperscan-5.3.0/tools/hscollider/ColliderCorporaParser.h
Examining data/hyperscan-5.3.0/tools/hscollider/args.h
Examining data/hyperscan-5.3.0/tools/hscollider/FileCorpora.cpp
Examining data/hyperscan-5.3.0/tools/hscollider/BoundedQueue.h
Examining data/hyperscan-5.3.0/tools/hscollider/NfaGeneratedCorpora.h
Examining data/hyperscan-5.3.0/tools/hscollider/UltimateTruth.h
Examining data/hyperscan-5.3.0/tools/hscollider/Corpora.h
Examining data/hyperscan-5.3.0/tools/hscollider/GroundTruth.h
Examining data/hyperscan-5.3.0/tools/hscollider/limit.cpp
Examining data/hyperscan-5.3.0/tools/hscollider/common.h
Examining data/hyperscan-5.3.0/tools/hscollider/FileCorpora.h
Examining data/hyperscan-5.3.0/tools/hscollider/simple_timer.h
Examining data/hyperscan-5.3.0/tools/hscollider/DatabaseProxy.h
Examining data/hyperscan-5.3.0/tools/hscollider/limit.h
Examining data/hyperscan-5.3.0/tools/hscollider/args.cpp
Examining data/hyperscan-5.3.0/tools/hscollider/GroundTruth.cpp
Examining data/hyperscan-5.3.0/tools/hscollider/pcre_util.cpp
Examining data/hyperscan-5.3.0/tools/hscollider/pcre_util.h
Examining data/hyperscan-5.3.0/tools/hscollider/ResultSet.h
Examining data/hyperscan-5.3.0/tools/hscollider/GraphTruth.h
Examining data/hyperscan-5.3.0/tools/hscollider/Corpora.cpp
Examining data/hyperscan-5.3.0/tools/hscollider/sig.cpp
Examining data/hyperscan-5.3.0/tools/hscollider/Thread.cpp
Examining data/hyperscan-5.3.0/tools/hscollider/sig.h
Examining data/hyperscan-5.3.0/tools/hscollider/GraphTruth.cpp
Examining data/hyperscan-5.3.0/tools/hscollider/UltimateTruth.cpp
Examining data/hyperscan-5.3.0/tools/hsbench/heapstats.cpp
Examining data/hyperscan-5.3.0/tools/hsbench/engine_pcre.cpp
Examining data/hyperscan-5.3.0/tools/hsbench/main.cpp
Examining data/hyperscan-5.3.0/tools/hsbench/data_corpus.h
Examining data/hyperscan-5.3.0/tools/hsbench/timer.h
Examining data/hyperscan-5.3.0/tools/hsbench/engine_hyperscan.cpp
Examining data/hyperscan-5.3.0/tools/hsbench/engine.h
Examining data/hyperscan-5.3.0/tools/hsbench/huge.cpp
Examining data/hyperscan-5.3.0/tools/hsbench/engine_pcre.h
Examining data/hyperscan-5.3.0/tools/hsbench/engine_chimera.cpp
Examining data/hyperscan-5.3.0/tools/hsbench/huge.h
Examining data/hyperscan-5.3.0/tools/hsbench/common.h
Examining data/hyperscan-5.3.0/tools/hsbench/data_corpus.cpp
Examining data/hyperscan-5.3.0/tools/hsbench/thread_barrier.h
Examining data/hyperscan-5.3.0/tools/hsbench/engine_hyperscan.h
Examining data/hyperscan-5.3.0/tools/hsbench/sqldb.cpp
Examining data/hyperscan-5.3.0/tools/hsbench/heapstats.h
Examining data/hyperscan-5.3.0/tools/hsbench/engine_chimera.h
Examining data/hyperscan-5.3.0/tools/hsbench/engine.cpp
Examining data/hyperscan-5.3.0/tools/hsbench/sqldb.h
Examining data/hyperscan-5.3.0/tools/hsbench/sqldb_bind.h
Examining data/hyperscan-5.3.0/tools/hscheck/main.cpp
Examining data/hyperscan-5.3.0/tools/hsdump/main.cpp
Examining data/hyperscan-5.3.0/examples/pcapscan.cc
Examining data/hyperscan-5.3.0/examples/simplegrep.c
Examining data/hyperscan-5.3.0/examples/patbench.cc
Examining data/hyperscan-5.3.0/unit/hyperscan/single.cpp
Examining data/hyperscan-5.3.0/unit/hyperscan/arg_checks.cpp
Examining data/hyperscan-5.3.0/unit/hyperscan/expr_info.cpp
Examining data/hyperscan-5.3.0/unit/hyperscan/main.cpp
Examining data/hyperscan-5.3.0/unit/hyperscan/test_util.cpp
Examining data/hyperscan-5.3.0/unit/hyperscan/order.cpp
Examining data/hyperscan-5.3.0/unit/hyperscan/scratch_op.cpp
Examining data/hyperscan-5.3.0/unit/hyperscan/allocators.cpp
Examining data/hyperscan-5.3.0/unit/hyperscan/logical_combination.cpp
Examining data/hyperscan-5.3.0/unit/hyperscan/serialize.cpp
Examining data/hyperscan-5.3.0/unit/hyperscan/bad_patterns.cpp
Examining data/hyperscan-5.3.0/unit/hyperscan/scratch_in_use.cpp
Examining data/hyperscan-5.3.0/unit/hyperscan/stream_op.cpp
Examining data/hyperscan-5.3.0/unit/hyperscan/extparam.cpp
Examining data/hyperscan-5.3.0/unit/hyperscan/literals.cpp
Examining data/hyperscan-5.3.0/unit/hyperscan/behaviour.cpp
Examining data/hyperscan-5.3.0/unit/hyperscan/test_util.h
Examining data/hyperscan-5.3.0/unit/hyperscan/multi.cpp
Examining data/hyperscan-5.3.0/unit/hyperscan/som.cpp
Examining data/hyperscan-5.3.0/unit/hyperscan/identical.cpp
Examining data/hyperscan-5.3.0/unit/internal/unicode_set.cpp
Examining data/hyperscan-5.3.0/unit/internal/nfagraph_width.cpp
Examining data/hyperscan-5.3.0/unit/internal/unaligned.cpp
Examining data/hyperscan-5.3.0/unit/internal/partial.cpp
Examining data/hyperscan-5.3.0/unit/internal/main.cpp
Examining data/hyperscan-5.3.0/unit/internal/flat_map.cpp
Examining data/hyperscan-5.3.0/unit/internal/limex_nfa.cpp
Examining data/hyperscan-5.3.0/unit/internal/nfagraph_util.cpp
Examining data/hyperscan-5.3.0/unit/internal/fdr.cpp
Examining data/hyperscan-5.3.0/unit/internal/truffle.cpp
Examining data/hyperscan-5.3.0/unit/internal/nfagraph_redundancy.cpp
Examining data/hyperscan-5.3.0/unit/internal/multi_bit_compress.cpp
Examining data/hyperscan-5.3.0/unit/internal/bitfield.cpp
Examining data/hyperscan-5.3.0/unit/internal/repeat.cpp
Examining data/hyperscan-5.3.0/unit/internal/graph.cpp
Examining data/hyperscan-5.3.0/unit/internal/nfagraph_find_matches.cpp
Examining data/hyperscan-5.3.0/unit/internal/fdr_flood.cpp
Examining data/hyperscan-5.3.0/unit/internal/pack_bits.cpp
Examining data/hyperscan-5.3.0/unit/internal/noodle.cpp
Examining data/hyperscan-5.3.0/unit/internal/pqueue.cpp
Examining data/hyperscan-5.3.0/unit/internal/rose_build_merge.cpp
Examining data/hyperscan-5.3.0/unit/internal/uniform_ops.cpp
Examining data/hyperscan-5.3.0/unit/internal/fdr_loadval.cpp
Examining data/hyperscan-5.3.0/unit/internal/vermicelli.cpp
Examining data/hyperscan-5.3.0/unit/internal/nfagraph_equivalence.cpp
Examining data/hyperscan-5.3.0/unit/internal/utf8_validate.cpp
Examining data/hyperscan-5.3.0/unit/internal/util_string.cpp
Examining data/hyperscan-5.3.0/unit/internal/lbr.cpp
Examining data/hyperscan-5.3.0/unit/internal/rose_mask_32.cpp
Examining data/hyperscan-5.3.0/unit/internal/compare.cpp
Examining data/hyperscan-5.3.0/unit/internal/parser.cpp
Examining data/hyperscan-5.3.0/unit/internal/database.cpp
Examining data/hyperscan-5.3.0/unit/internal/depth.cpp
Examining data/hyperscan-5.3.0/unit/internal/masked_move.cpp
Examining data/hyperscan-5.3.0/unit/internal/charreach.cpp
Examining data/hyperscan-5.3.0/unit/internal/state_compress.cpp
Examining data/hyperscan-5.3.0/unit/internal/nfagraph_literal_analysis.cpp
Examining data/hyperscan-5.3.0/unit/internal/shufti.cpp
Examining data/hyperscan-5.3.0/unit/internal/graph_undirected.cpp
Examining data/hyperscan-5.3.0/unit/internal/insertion_ordered.cpp
Examining data/hyperscan-5.3.0/unit/internal/shuffle.cpp
Examining data/hyperscan-5.3.0/unit/internal/nfagraph_repeat.cpp
Examining data/hyperscan-5.3.0/unit/internal/simd_utils.cpp
Examining data/hyperscan-5.3.0/unit/internal/multi_bit.cpp
Examining data/hyperscan-5.3.0/unit/internal/rose_mask.cpp
Examining data/hyperscan-5.3.0/unit/internal/rvermicelli.cpp
Examining data/hyperscan-5.3.0/unit/internal/flat_set.cpp
Examining data/hyperscan-5.3.0/unit/internal/nfagraph_common.h
Examining data/hyperscan-5.3.0/unit/internal/nfagraph_comp.cpp
Examining data/hyperscan-5.3.0/unit/internal/bitutils.cpp
Examining data/hyperscan-5.3.0/unit/chimera/arg_checks.cpp
Examining data/hyperscan-5.3.0/unit/chimera/main.cpp
Examining data/hyperscan-5.3.0/unit/chimera/allocators.cpp
Examining data/hyperscan-5.3.0/unit/chimera/bad_patterns.cpp
Examining data/hyperscan-5.3.0/unit/chimera/scan.cpp
Examining data/hyperscan-5.3.0/unit/chimera/compat.cpp
Examining data/hyperscan-5.3.0/unit/gtest/gtest-all.cc
Examining data/hyperscan-5.3.0/unit/gtest/gtest.h
Examining data/hyperscan-5.3.0/src/hs.cpp
Examining data/hyperscan-5.3.0/src/util/exhaust.h
Examining data/hyperscan-5.3.0/src/util/partial_store.h
Examining data/hyperscan-5.3.0/src/util/uniform_ops.h
Examining data/hyperscan-5.3.0/src/util/compile_error.h
Examining data/hyperscan-5.3.0/src/util/simd_utils.h
Examining data/hyperscan-5.3.0/src/util/unordered.h
Examining data/hyperscan-5.3.0/src/util/join.h
Examining data/hyperscan-5.3.0/src/util/graph_small_color_map.h
Examining data/hyperscan-5.3.0/src/util/compile_context.cpp
Examining data/hyperscan-5.3.0/src/util/state_compress.h
Examining data/hyperscan-5.3.0/src/util/ue2string.cpp
Examining data/hyperscan-5.3.0/src/util/multibit_compress.h
Examining data/hyperscan-5.3.0/src/util/accel_scheme.h
Examining data/hyperscan-5.3.0/src/util/fatbit_build.h
Examining data/hyperscan-5.3.0/src/util/multibit_build.cpp
Examining data/hyperscan-5.3.0/src/util/queue_index_factory.h
Examining data/hyperscan-5.3.0/src/util/graph_range.h
Examining data/hyperscan-5.3.0/src/util/clique.cpp
Examining data/hyperscan-5.3.0/src/util/ue2string.h
Examining data/hyperscan-5.3.0/src/util/dump_mask.cpp
Examining data/hyperscan-5.3.0/src/util/order_check.h
Examining data/hyperscan-5.3.0/src/util/bitfield.h
Examining data/hyperscan-5.3.0/src/util/math.h
Examining data/hyperscan-5.3.0/src/util/report_manager.cpp
Examining data/hyperscan-5.3.0/src/util/dump_mask.h
Examining data/hyperscan-5.3.0/src/util/intrinsics.h
Examining data/hyperscan-5.3.0/src/util/copybytes.h
Examining data/hyperscan-5.3.0/src/util/report_manager.h
Examining data/hyperscan-5.3.0/src/util/graph_undirected.h
Examining data/hyperscan-5.3.0/src/util/compile_error.cpp
Examining data/hyperscan-5.3.0/src/util/pqueue.h
Examining data/hyperscan-5.3.0/src/util/partitioned_set.h
Examining data/hyperscan-5.3.0/src/util/simd_utils.c
Examining data/hyperscan-5.3.0/src/util/multibit_internal.h
Examining data/hyperscan-5.3.0/src/util/boundary_reports.h
Examining data/hyperscan-5.3.0/src/util/ue2_graph.h
Examining data/hyperscan-5.3.0/src/util/alloc.h
Examining data/hyperscan-5.3.0/src/util/unicode_def.h
Examining data/hyperscan-5.3.0/src/util/bytecode_ptr.h
Examining data/hyperscan-5.3.0/src/util/state_compress.c
Examining data/hyperscan-5.3.0/src/util/popcount.h
Examining data/hyperscan-5.3.0/src/util/bitutils.h
Examining data/hyperscan-5.3.0/src/util/arch.h
Examining data/hyperscan-5.3.0/src/util/fatbit_build.cpp
Examining data/hyperscan-5.3.0/src/util/scatter_runtime.h
Examining data/hyperscan-5.3.0/src/util/dump_util.cpp
Examining data/hyperscan-5.3.0/src/util/compare.h
Examining data/hyperscan-5.3.0/src/util/scatter.h
Examining data/hyperscan-5.3.0/src/util/verify_types.h
Examining data/hyperscan-5.3.0/src/util/multibit_build.h
Examining data/hyperscan-5.3.0/src/util/depth.cpp
Examining data/hyperscan-5.3.0/src/util/pack_bits.h
Examining data/hyperscan-5.3.0/src/util/masked_move.h
Examining data/hyperscan-5.3.0/src/util/multibit.h
Examining data/hyperscan-5.3.0/src/util/charreach_util.h
Examining data/hyperscan-5.3.0/src/util/hash_dynamic_bitset.h
Examining data/hyperscan-5.3.0/src/util/target_info.h
Examining data/hyperscan-5.3.0/src/util/cpuid_flags.c
Examining data/hyperscan-5.3.0/src/util/charreach.cpp
Examining data/hyperscan-5.3.0/src/util/depth.h
Examining data/hyperscan-5.3.0/src/util/graph.h
Examining data/hyperscan-5.3.0/src/util/dump_charclass.h
Examining data/hyperscan-5.3.0/src/util/hash.h
Examining data/hyperscan-5.3.0/src/util/clique.h
Examining data/hyperscan-5.3.0/src/util/cpuid_flags.h
Examining data/hyperscan-5.3.0/src/util/compile_context.h
Examining data/hyperscan-5.3.0/src/util/target_info.cpp
Examining data/hyperscan-5.3.0/src/util/insertion_ordered.h
Examining data/hyperscan-5.3.0/src/util/cpuid_inline.h
Examining data/hyperscan-5.3.0/src/util/charreach.h
Examining data/hyperscan-5.3.0/src/util/container.h
Examining data/hyperscan-5.3.0/src/util/make_unique.h
Examining data/hyperscan-5.3.0/src/util/small_vector.h
Examining data/hyperscan-5.3.0/src/util/unaligned.h
Examining data/hyperscan-5.3.0/src/util/multibit.c
Examining data/hyperscan-5.3.0/src/util/noncopyable.h
Examining data/hyperscan-5.3.0/src/util/flat_containers.h
Examining data/hyperscan-5.3.0/src/util/alloc.cpp
Examining data/hyperscan-5.3.0/src/util/logical.h
Examining data/hyperscan-5.3.0/src/util/operators.h
Examining data/hyperscan-5.3.0/src/util/report.h
Examining data/hyperscan-5.3.0/src/util/fatbit.h
Examining data/hyperscan-5.3.0/src/util/unicode_set.h
Examining data/hyperscan-5.3.0/src/util/simd_types.h
Examining data/hyperscan-5.3.0/src/util/determinise.h
Examining data/hyperscan-5.3.0/src/util/masked_move.c
Examining data/hyperscan-5.3.0/src/util/dump_charclass.cpp
Examining data/hyperscan-5.3.0/src/util/dump_util.h
Examining data/hyperscan-5.3.0/src/hwlm/noodle_internal.h
Examining data/hyperscan-5.3.0/src/hwlm/noodle_engine_avx2.c
Examining data/hyperscan-5.3.0/src/hwlm/hwlm_internal.h
Examining data/hyperscan-5.3.0/src/hwlm/hwlm_dump.cpp
Examining data/hyperscan-5.3.0/src/hwlm/hwlm_build.h
Examining data/hyperscan-5.3.0/src/hwlm/noodle_engine_sse.c
Examining data/hyperscan-5.3.0/src/hwlm/noodle_engine.c
Examining data/hyperscan-5.3.0/src/hwlm/noodle_engine_avx512.c
Examining data/hyperscan-5.3.0/src/hwlm/noodle_build.h
Examining data/hyperscan-5.3.0/src/hwlm/hwlm_literal.cpp
Examining data/hyperscan-5.3.0/src/hwlm/hwlm_dump.h
Examining data/hyperscan-5.3.0/src/hwlm/hwlm.c
Examining data/hyperscan-5.3.0/src/hwlm/hwlm_literal.h
Examining data/hyperscan-5.3.0/src/hwlm/hwlm_build.cpp
Examining data/hyperscan-5.3.0/src/hwlm/hwlm.h
Examining data/hyperscan-5.3.0/src/hwlm/noodle_engine.h
Examining data/hyperscan-5.3.0/src/hwlm/noodle_build.cpp
Examining data/hyperscan-5.3.0/src/dispatcher.c
Examining data/hyperscan-5.3.0/src/crc32.h
Examining data/hyperscan-5.3.0/src/hs_internal.h
Examining data/hyperscan-5.3.0/src/scratch.h
Examining data/hyperscan-5.3.0/src/hs_common.h
Examining data/hyperscan-5.3.0/src/grey.h
Examining data/hyperscan-5.3.0/src/state.h
Examining data/hyperscan-5.3.0/src/nfagraph/ng_region.cpp
Examining data/hyperscan-5.3.0/src/nfagraph/ng_fuzzy.cpp
Examining data/hyperscan-5.3.0/src/nfagraph/ng_haig.h
Examining data/hyperscan-5.3.0/src/nfagraph/ng_squash.cpp
Examining data/hyperscan-5.3.0/src/nfagraph/ng_mcclellan.h
Examining data/hyperscan-5.3.0/src/nfagraph/ng_som_add_redundancy.h
Examining data/hyperscan-5.3.0/src/nfagraph/ng_expr_info.h
Examining data/hyperscan-5.3.0/src/nfagraph/ng_limex_accel.h
Examining data/hyperscan-5.3.0/src/nfagraph/ng_restructuring.h
Examining data/hyperscan-5.3.0/src/nfagraph/ng_som_add_redundancy.cpp
Examining data/hyperscan-5.3.0/src/nfagraph/ng_violet.cpp
Examining data/hyperscan-5.3.0/src/nfagraph/ng_sep.cpp
Examining data/hyperscan-5.3.0/src/nfagraph/ng_holder.cpp
Examining data/hyperscan-5.3.0/src/nfagraph/ng_violet.h
Examining data/hyperscan-5.3.0/src/nfagraph/ng_som_util.cpp
Examining data/hyperscan-5.3.0/src/nfagraph/ng_reports.h
Examining data/hyperscan-5.3.0/src/nfagraph/ng_haig.cpp
Examining data/hyperscan-5.3.0/src/nfagraph/ng_uncalc_components.h
Examining data/hyperscan-5.3.0/src/nfagraph/ng_squash.h
Examining data/hyperscan-5.3.0/src/nfagraph/ng_prefilter.h
Examining data/hyperscan-5.3.0/src/nfagraph/ng_som_util.h
Examining data/hyperscan-5.3.0/src/nfagraph/ng_vacuous.cpp
Examining data/hyperscan-5.3.0/src/nfagraph/ng_dump.h
Examining data/hyperscan-5.3.0/src/nfagraph/ng_edge_redundancy.cpp
Examining data/hyperscan-5.3.0/src/nfagraph/ng.cpp
Examining data/hyperscan-5.3.0/src/nfagraph/ng_sep.h
Examining data/hyperscan-5.3.0/src/nfagraph/ng_small_literal_set.h
Examining data/hyperscan-5.3.0/src/nfagraph/ng_execute.cpp
Examining data/hyperscan-5.3.0/src/nfagraph/ng_misc_opt.h
Examining data/hyperscan-5.3.0/src/nfagraph/ng_utf8.h
Examining data/hyperscan-5.3.0/src/nfagraph/ng_limex.cpp
Examining data/hyperscan-5.3.0/src/nfagraph/ng_revacc.h
Examining data/hyperscan-5.3.0/src/nfagraph/ng_region_redundancy.h
Examining data/hyperscan-5.3.0/src/nfagraph/ng_calc_components.h
Examining data/hyperscan-5.3.0/src/nfagraph/ng_equivalence.h
Examining data/hyperscan-5.3.0/src/nfagraph/ng_stop.cpp
Examining data/hyperscan-5.3.0/src/nfagraph/ng_redundancy.cpp
Examining data/hyperscan-5.3.0/src/nfagraph/ng_small_literal_set.cpp
Examining data/hyperscan-5.3.0/src/nfagraph/ng_is_equal.cpp
Examining data/hyperscan-5.3.0/src/nfagraph/ng_som.h
Examining data/hyperscan-5.3.0/src/nfagraph/ng_lbr.cpp
Examining data/hyperscan-5.3.0/src/nfagraph/ng_puff.cpp
Examining data/hyperscan-5.3.0/src/nfagraph/ng_repeat.h
Examining data/hyperscan-5.3.0/src/nfagraph/ng_literal_analysis.h
Examining data/hyperscan-5.3.0/src/nfagraph/ng_split.cpp
Examining data/hyperscan-5.3.0/src/nfagraph/ng_literal_analysis.cpp
Examining data/hyperscan-5.3.0/src/nfagraph/ng_builder.h
Examining data/hyperscan-5.3.0/src/nfagraph/ng.h
Examining data/hyperscan-5.3.0/src/nfagraph/ng_prune.h
Examining data/hyperscan-5.3.0/src/nfagraph/ng_literal_component.cpp
Examining data/hyperscan-5.3.0/src/nfagraph/ng_fixed_width.cpp
Examining data/hyperscan-5.3.0/src/nfagraph/ng_reports.cpp
Examining data/hyperscan-5.3.0/src/nfagraph/ng_dominators.cpp
Examining data/hyperscan-5.3.0/src/nfagraph/ng_literal_decorated.cpp
Examining data/hyperscan-5.3.0/src/nfagraph/ng_restructuring.cpp
Examining data/hyperscan-5.3.0/src/nfagraph/ng_region.h
Examining data/hyperscan-5.3.0/src/nfagraph/ng_execute.h
Examining data/hyperscan-5.3.0/src/nfagraph/ng_width.cpp
Examining data/hyperscan-5.3.0/src/nfagraph/ng_som.cpp
Examining data/hyperscan-5.3.0/src/nfagraph/ng_calc_components.cpp
Examining data/hyperscan-5.3.0/src/nfagraph/ng_asserts.h
Examining data/hyperscan-5.3.0/src/nfagraph/ng_mcclellan.cpp
Examining data/hyperscan-5.3.0/src/nfagraph/ng_utf8.cpp
Examining data/hyperscan-5.3.0/src/nfagraph/ng_lbr.h
Examining data/hyperscan-5.3.0/src/nfagraph/ng_width.h
Examining data/hyperscan-5.3.0/src/nfagraph/ng_holder.h
Examining data/hyperscan-5.3.0/src/nfagraph/ng_misc_opt.cpp
Examining data/hyperscan-5.3.0/src/nfagraph/ng_mcclellan_internal.h
Examining data/hyperscan-5.3.0/src/nfagraph/ng_depth.h
Examining data/hyperscan-5.3.0/src/nfagraph/ng_netflow.cpp
Examining data/hyperscan-5.3.0/src/nfagraph/ng_asserts.cpp
Examining data/hyperscan-5.3.0/src/nfagraph/ng_stop.h
Examining data/hyperscan-5.3.0/src/nfagraph/ng_anchored_dots.h
Examining data/hyperscan-5.3.0/src/nfagraph/ng_literal_decorated.h
Examining data/hyperscan-5.3.0/src/nfagraph/ng_netflow.h
Examining data/hyperscan-5.3.0/src/nfagraph/ng_dump.cpp
Examining data/hyperscan-5.3.0/src/nfagraph/ng_depth.cpp
Examining data/hyperscan-5.3.0/src/nfagraph/ng_limex_accel.cpp
Examining data/hyperscan-5.3.0/src/nfagraph/ng_split.h
Examining data/hyperscan-5.3.0/src/nfagraph/ng_cyclic_redundancy.h
Examining data/hyperscan-5.3.0/src/nfagraph/ng_puff.h
Examining data/hyperscan-5.3.0/src/nfagraph/ng_util.h
Examining data/hyperscan-5.3.0/src/nfagraph/ng_cyclic_redundancy.cpp
Examining data/hyperscan-5.3.0/src/nfagraph/ng_fuzzy.h
Examining data/hyperscan-5.3.0/src/nfagraph/ng_is_equal.h
Examining data/hyperscan-5.3.0/src/nfagraph/ng_uncalc_components.cpp
Examining data/hyperscan-5.3.0/src/nfagraph/ng_repeat.cpp
Examining data/hyperscan-5.3.0/src/nfagraph/ng_anchored_acyclic.cpp
Examining data/hyperscan-5.3.0/src/nfagraph/ng_fixed_width.h
Examining data/hyperscan-5.3.0/src/nfagraph/ng_redundancy.h
Examining data/hyperscan-5.3.0/src/nfagraph/ng_expr_info.cpp
Examining data/hyperscan-5.3.0/src/nfagraph/ng_anchored_dots.cpp
Examining data/hyperscan-5.3.0/src/nfagraph/ng_equivalence.cpp
Examining data/hyperscan-5.3.0/src/nfagraph/ng_extparam.h
Examining data/hyperscan-5.3.0/src/nfagraph/ng_util.cpp
Examining data/hyperscan-5.3.0/src/nfagraph/ng_extparam.cpp
Examining data/hyperscan-5.3.0/src/nfagraph/ng_limex.h
Examining data/hyperscan-5.3.0/src/nfagraph/ng_literal_component.h
Examining data/hyperscan-5.3.0/src/nfagraph/ng_revacc.cpp
Examining data/hyperscan-5.3.0/src/nfagraph/ng_edge_redundancy.h
Examining data/hyperscan-5.3.0/src/nfagraph/ng_prefilter.cpp
Examining data/hyperscan-5.3.0/src/nfagraph/ng_vacuous.h
Examining data/hyperscan-5.3.0/src/nfagraph/ng_dominators.h
Examining data/hyperscan-5.3.0/src/nfagraph/ng_builder.cpp
Examining data/hyperscan-5.3.0/src/nfagraph/ng_prune.cpp
Examining data/hyperscan-5.3.0/src/nfagraph/ng_region_redundancy.cpp
Examining data/hyperscan-5.3.0/src/nfagraph/ng_anchored_acyclic.h
Examining data/hyperscan-5.3.0/src/crc32.c
Examining data/hyperscan-5.3.0/src/som/slot_manager.cpp
Examining data/hyperscan-5.3.0/src/som/som_stream.h
Examining data/hyperscan-5.3.0/src/som/som.h
Examining data/hyperscan-5.3.0/src/som/som_operation.h
Examining data/hyperscan-5.3.0/src/som/som_runtime.c
Examining data/hyperscan-5.3.0/src/som/slot_manager_internal.h
Examining data/hyperscan-5.3.0/src/som/slot_manager_dump.cpp
Examining data/hyperscan-5.3.0/src/som/som_runtime.h
Examining data/hyperscan-5.3.0/src/som/slot_manager_dump.h
Examining data/hyperscan-5.3.0/src/som/som_stream.c
Examining data/hyperscan-5.3.0/src/som/slot_manager.h
Examining data/hyperscan-5.3.0/src/hs_valid_platform.c
Examining data/hyperscan-5.3.0/src/scratch.c
Examining data/hyperscan-5.3.0/src/runtime.c
Examining data/hyperscan-5.3.0/src/nfa/mpvcompile.h
Examining data/hyperscan-5.3.0/src/nfa/castle_dump.h
Examining data/hyperscan-5.3.0/src/nfa/shengcompile.h
Examining data/hyperscan-5.3.0/src/nfa/nfa_rev_api.h
Examining data/hyperscan-5.3.0/src/nfa/mcsheng_internal.h
Examining data/hyperscan-5.3.0/src/nfa/mcclellandump.h
Examining data/hyperscan-5.3.0/src/nfa/tamarama.h
Examining data/hyperscan-5.3.0/src/nfa/limex_accel.c
Examining data/hyperscan-5.3.0/src/nfa/sheng_impl4.h
Examining data/hyperscan-5.3.0/src/nfa/dfa_build_strat.cpp
Examining data/hyperscan-5.3.0/src/nfa/nfa_api_dispatch.c
Examining data/hyperscan-5.3.0/src/nfa/limex.h
Examining data/hyperscan-5.3.0/src/nfa/lbr.h
Examining data/hyperscan-5.3.0/src/nfa/mpv.h
Examining data/hyperscan-5.3.0/src/nfa/repeatcompile.cpp
Examining data/hyperscan-5.3.0/src/nfa/accel_dfa_build_strat.cpp
Examining data/hyperscan-5.3.0/src/nfa/mpv_dump.h
Examining data/hyperscan-5.3.0/src/nfa/sheng_defs.h
Examining data/hyperscan-5.3.0/src/nfa/repeat_internal.h
Examining data/hyperscan-5.3.0/src/nfa/dfa_min.h
Examining data/hyperscan-5.3.0/src/nfa/mcclellancompile_util.cpp
Examining data/hyperscan-5.3.0/src/nfa/limex_state_impl.h
Examining data/hyperscan-5.3.0/src/nfa/limex_accel.h
Examining data/hyperscan-5.3.0/src/nfa/limex_runtime_impl.h
Examining data/hyperscan-5.3.0/src/nfa/shufti.c
Examining data/hyperscan-5.3.0/src/nfa/rdfa.cpp
Examining data/hyperscan-5.3.0/src/nfa/trufflecompile.h
Examining data/hyperscan-5.3.0/src/nfa/limex_internal.h
Examining data/hyperscan-5.3.0/src/nfa/accel_dfa_build_strat.h
Examining data/hyperscan-5.3.0/src/nfa/shengdump.h
Examining data/hyperscan-5.3.0/src/nfa/callback.h
Examining data/hyperscan-5.3.0/src/nfa/accel_dump.h
Examining data/hyperscan-5.3.0/src/nfa/limex_simd256.c
Examining data/hyperscan-5.3.0/src/nfa/castlecompile.cpp
Examining data/hyperscan-5.3.0/src/nfa/nfa_api_queue.h
Examining data/hyperscan-5.3.0/src/nfa/mcclellan_internal.h
Examining data/hyperscan-5.3.0/src/nfa/trufflecompile.cpp
Examining data/hyperscan-5.3.0/src/nfa/lbr_dump.h
Examining data/hyperscan-5.3.0/src/nfa/limex_context.h
Examining data/hyperscan-5.3.0/src/nfa/truffle.h
Examining data/hyperscan-5.3.0/src/nfa/mcclellan_common_impl.h
Examining data/hyperscan-5.3.0/src/nfa/mcclellancompile_util.h
Examining data/hyperscan-5.3.0/src/nfa/lbr_common_impl.h
Examining data/hyperscan-5.3.0/src/nfa/goughdump.cpp
Examining data/hyperscan-5.3.0/src/nfa/limex_simd384.c
Examining data/hyperscan-5.3.0/src/nfa/limex_exceptional.h
Examining data/hyperscan-5.3.0/src/nfa/sheng_internal.h
Examining data/hyperscan-5.3.0/src/nfa/nfa_build_util.cpp
Examining data/hyperscan-5.3.0/src/nfa/dfa_min.cpp
Examining data/hyperscan-5.3.0/src/nfa/nfa_build_util.h
Examining data/hyperscan-5.3.0/src/nfa/rdfa_merge.cpp
Examining data/hyperscan-5.3.0/src/nfa/accel.h
Examining data/hyperscan-5.3.0/src/nfa/rdfa_merge.h
Examining data/hyperscan-5.3.0/src/nfa/mcsheng_compile.h
Examining data/hyperscan-5.3.0/src/nfa/vermicelli.h
Examining data/hyperscan-5.3.0/src/nfa/nfa_kind.h
Examining data/hyperscan-5.3.0/src/nfa/rdfa.h
Examining data/hyperscan-5.3.0/src/nfa/mpv_dump.cpp
Examining data/hyperscan-5.3.0/src/nfa/repeatcompile.h
Examining data/hyperscan-5.3.0/src/nfa/limex_simd512.c
Examining data/hyperscan-5.3.0/src/nfa/tamarama_dump.cpp
Examining data/hyperscan-5.3.0/src/nfa/limex_compile.cpp
Examining data/hyperscan-5.3.0/src/nfa/mcsheng.c
Examining data/hyperscan-5.3.0/src/nfa/mcclellan.h
Examining data/hyperscan-5.3.0/src/nfa/mcclellancompile.cpp
Examining data/hyperscan-5.3.0/src/nfa/shengdump.cpp
Examining data/hyperscan-5.3.0/src/nfa/shufti.h
Examining data/hyperscan-5.3.0/src/nfa/tamaramacompile.h
Examining data/hyperscan-5.3.0/src/nfa/shufticompile.cpp
Examining data/hyperscan-5.3.0/src/nfa/rdfa_graph.cpp
Examining data/hyperscan-5.3.0/src/nfa/nfa_dump_api.h
Examining data/hyperscan-5.3.0/src/nfa/sheng.c
Examining data/hyperscan-5.3.0/src/nfa/lbr.c
Examining data/hyperscan-5.3.0/src/nfa/mpvcompile.cpp
Examining data/hyperscan-5.3.0/src/nfa/castle.h
Examining data/hyperscan-5.3.0/src/nfa/repeat.h
Examining data/hyperscan-5.3.0/src/nfa/mpv_internal.h
Examining data/hyperscan-5.3.0/src/nfa/limex_common_impl.h
Examining data/hyperscan-5.3.0/src/nfa/limex_dump.cpp
Examining data/hyperscan-5.3.0/src/nfa/accel_dump.cpp
Examining data/hyperscan-5.3.0/src/nfa/sheng.h
Examining data/hyperscan-5.3.0/src/nfa/rdfa_graph.h
Examining data/hyperscan-5.3.0/src/nfa/castle_internal.h
Examining data/hyperscan-5.3.0/src/nfa/mcsheng.h
Examining data/hyperscan-5.3.0/src/nfa/limex_ring.h
Examining data/hyperscan-5.3.0/src/nfa/gough_internal.h
Examining data/hyperscan-5.3.0/src/nfa/castle_dump.cpp
Examining data/hyperscan-5.3.0/src/nfa/limex_native.c
Examining data/hyperscan-5.3.0/src/nfa/nfa_dump_dispatch.cpp
Examining data/hyperscan-5.3.0/src/nfa/nfa_dump_internal.h
Examining data/hyperscan-5.3.0/src/nfa/goughdump.h
Examining data/hyperscan-5.3.0/src/nfa/limex_limits.h
Examining data/hyperscan-5.3.0/src/nfa/tamarama.c
Examining data/hyperscan-5.3.0/src/nfa/limex_64.c
Examining data/hyperscan-5.3.0/src/nfa/goughcompile.h
Examining data/hyperscan-5.3.0/src/nfa/limex_compile.h
Examining data/hyperscan-5.3.0/src/nfa/limex_simd128.c
Examining data/hyperscan-5.3.0/src/nfa/mcclellan.c
Examining data/hyperscan-5.3.0/src/nfa/mcsheng_dump.cpp
Examining data/hyperscan-5.3.0/src/nfa/gough.h
Examining data/hyperscan-5.3.0/src/nfa/shengcompile.cpp
Examining data/hyperscan-5.3.0/src/nfa/mcsheng_data.c
Examining data/hyperscan-5.3.0/src/nfa/nfa_dump_internal.cpp
Examining data/hyperscan-5.3.0/src/nfa/gough.c
Examining data/hyperscan-5.3.0/src/nfa/mcclellancompile.h
Examining data/hyperscan-5.3.0/src/nfa/sheng_impl.h
Examining data/hyperscan-5.3.0/src/nfa/goughcompile_reg.cpp
Examining data/hyperscan-5.3.0/src/nfa/castlecompile.h
Examining data/hyperscan-5.3.0/src/nfa/lbr_internal.h
Examining data/hyperscan-5.3.0/src/nfa/accelcompile.cpp
Examining data/hyperscan-5.3.0/src/nfa/goughcompile_dump.h
Examining data/hyperscan-5.3.0/src/nfa/goughcompile_internal.h
Examining data/hyperscan-5.3.0/src/nfa/vermicelli_run.h
Examining data/hyperscan-5.3.0/src/nfa/goughcompile_accel.cpp
Examining data/hyperscan-5.3.0/src/nfa/limex_runtime.h
Examining data/hyperscan-5.3.0/src/nfa/mcsheng_dump.h
Examining data/hyperscan-5.3.0/src/nfa/nfa_api.h
Examining data/hyperscan-5.3.0/src/nfa/castle.c
Examining data/hyperscan-5.3.0/src/nfa/goughcompile_dump.cpp
Examining data/hyperscan-5.3.0/src/nfa/goughcompile.cpp
Examining data/hyperscan-5.3.0/src/nfa/tamarama_internal.h
Examining data/hyperscan-5.3.0/src/nfa/limex_shuffle.h
Examining data/hyperscan-5.3.0/src/nfa/nfa_api_util.h
Examining data/hyperscan-5.3.0/src/nfa/nfa_internal.h
Examining data/hyperscan-5.3.0/src/nfa/vermicelli_sse.h
Examining data/hyperscan-5.3.0/src/nfa/mpv.c
Examining data/hyperscan-5.3.0/src/nfa/tamaramacompile.cpp
Examining data/hyperscan-5.3.0/src/nfa/shufticompile.h
Examining data/hyperscan-5.3.0/src/nfa/accel.c
Examining data/hyperscan-5.3.0/src/nfa/repeat.c
Examining data/hyperscan-5.3.0/src/nfa/mcsheng_compile.cpp
Examining data/hyperscan-5.3.0/src/nfa/accelcompile.h
Examining data/hyperscan-5.3.0/src/nfa/mcclellandump.cpp
Examining data/hyperscan-5.3.0/src/nfa/dfa_build_strat.h
Examining data/hyperscan-5.3.0/src/nfa/lbr_dump.cpp
Examining data/hyperscan-5.3.0/src/nfa/tamarama_dump.h
Examining data/hyperscan-5.3.0/src/nfa/truffle.c
Examining data/hyperscan-5.3.0/src/compiler/asserts.cpp
Examining data/hyperscan-5.3.0/src/compiler/error.h
Examining data/hyperscan-5.3.0/src/compiler/compiler.h
Examining data/hyperscan-5.3.0/src/compiler/compiler.cpp
Examining data/hyperscan-5.3.0/src/compiler/asserts.h
Examining data/hyperscan-5.3.0/src/compiler/error.cpp
Examining data/hyperscan-5.3.0/src/compiler/expression_info.h
Examining data/hyperscan-5.3.0/src/alloc.c
Examining data/hyperscan-5.3.0/src/hs.h
Examining data/hyperscan-5.3.0/src/ue2common.h
Examining data/hyperscan-5.3.0/src/fdr/fdr_confirm.h
Examining data/hyperscan-5.3.0/src/fdr/teddy_runtime_common.h
Examining data/hyperscan-5.3.0/src/fdr/teddy.c
Examining data/hyperscan-5.3.0/src/fdr/teddy_avx2.c
Examining data/hyperscan-5.3.0/src/fdr/fdr_compile_util.cpp
Examining data/hyperscan-5.3.0/src/fdr/teddy_compile.cpp
Examining data/hyperscan-5.3.0/src/fdr/fdr_compile.cpp
Parsing failed to find end of parameter list; semicolon terminated it in (s2.begin(), s2.end(), s1.begin() + len1 - len2,
            [](char a, char b) { return mytoupper(a) == mytoupper(b); });
    } else {
        return equal(s2.begin(), s2.end(), s1.begin() + len1 - l
Examining data/hyperscan-5.3.0/src/fdr/teddy_engine_description.cpp
Examining data/hyperscan-5.3.0/src/fdr/fdr_engine_description.cpp
Examining data/hyperscan-5.3.0/src/fdr/teddy_internal.h
Examining data/hyperscan-5.3.0/src/fdr/fdr_confirm_runtime.h
Examining data/hyperscan-5.3.0/src/fdr/fdr_compile.h
Examining data/hyperscan-5.3.0/src/fdr/flood_compile.cpp
Examining data/hyperscan-5.3.0/src/fdr/fdr_internal.h
Examining data/hyperscan-5.3.0/src/fdr/fdr_dump.cpp
Examining data/hyperscan-5.3.0/src/fdr/engine_description.cpp
Examining data/hyperscan-5.3.0/src/fdr/fdr_confirm_compile.cpp
Examining data/hyperscan-5.3.0/src/fdr/fdr.c
Examining data/hyperscan-5.3.0/src/fdr/teddy_compile.h
Examining data/hyperscan-5.3.0/src/fdr/flood_runtime.h
Examining data/hyperscan-5.3.0/src/fdr/teddy_engine_description.h
Examining data/hyperscan-5.3.0/src/fdr/fdr_dump.h
Examining data/hyperscan-5.3.0/src/fdr/fdr_loadval.h
Examining data/hyperscan-5.3.0/src/fdr/fdr_compile_internal.h
Examining data/hyperscan-5.3.0/src/fdr/engine_description.h
Examining data/hyperscan-5.3.0/src/fdr/teddy.h
Examining data/hyperscan-5.3.0/src/fdr/fdr_engine_description.h
Examining data/hyperscan-5.3.0/src/fdr/fdr.h
Examining data/hyperscan-5.3.0/src/allocator.h
Examining data/hyperscan-5.3.0/src/scratch_dump.cpp
Examining data/hyperscan-5.3.0/src/database.c
Examining data/hyperscan-5.3.0/src/hs_runtime.h
Examining data/hyperscan-5.3.0/src/stream_compress.c
Examining data/hyperscan-5.3.0/src/scratch_dump.h
Examining data/hyperscan-5.3.0/src/hs_compile.h
Examining data/hyperscan-5.3.0/src/stream_compress.h
Examining data/hyperscan-5.3.0/src/database.h
Examining data/hyperscan-5.3.0/src/stream_compress_impl.h
Examining data/hyperscan-5.3.0/src/rose/rose_build_role_aliasing.h
Examining data/hyperscan-5.3.0/src/rose/rose_build_lit_accel.cpp
Examining data/hyperscan-5.3.0/src/rose/rose_build_impl.h
Examining data/hyperscan-5.3.0/src/rose/rose_build_long_lit.cpp
Examining data/hyperscan-5.3.0/src/rose/rose_internal.h
Examining data/hyperscan-5.3.0/src/rose/stream.c
Examining data/hyperscan-5.3.0/src/rose/rose_build_infix.h
Examining data/hyperscan-5.3.0/src/rose/rose_graph.h
Examining data/hyperscan-5.3.0/src/rose/stream_long_lit.h
Examining data/hyperscan-5.3.0/src/rose/rose_build_convert.cpp
Examining data/hyperscan-5.3.0/src/rose/rose_build_lookaround.h
Examining data/hyperscan-5.3.0/src/rose/catchup.h
Examining data/hyperscan-5.3.0/src/rose/rose_build_convert.h
Examining data/hyperscan-5.3.0/src/rose/rose_build_misc.cpp
Examining data/hyperscan-5.3.0/src/rose/stream_long_lit_hash.h
Examining data/hyperscan-5.3.0/src/rose/runtime.h
Examining data/hyperscan-5.3.0/src/rose/validate_mask.h
Examining data/hyperscan-5.3.0/src/rose/rose_build_role_aliasing.cpp
Examining data/hyperscan-5.3.0/src/rose/rose_build_lookaround.cpp
Examining data/hyperscan-5.3.0/src/rose/counting_miracle.h
Examining data/hyperscan-5.3.0/src/rose/block.c
Examining data/hyperscan-5.3.0/src/rose/rose_build_width.cpp
Examining data/hyperscan-5.3.0/src/rose/rose_build_width.h
Examining data/hyperscan-5.3.0/src/rose/rose_build_infix.cpp
Examining data/hyperscan-5.3.0/src/rose/rose_build_dump.h
Examining data/hyperscan-5.3.0/src/rose/rose_program.h
Examining data/hyperscan-5.3.0/src/rose/rose_build_add.cpp
Examining data/hyperscan-5.3.0/src/rose/rose_build_instructions.h
Examining data/hyperscan-5.3.0/src/rose/rose_build_groups.cpp
Examining data/hyperscan-5.3.0/src/rose/rose_build_dedupe.cpp
Examining data/hyperscan-5.3.0/src/rose/rose_build_bytecode.cpp
Examining data/hyperscan-5.3.0/src/rose/rose_build_anchored.h
Examining data/hyperscan-5.3.0/src/rose/rose_build_dump.cpp
Examining data/hyperscan-5.3.0/src/rose/rose_build_matchers.cpp
Examining data/hyperscan-5.3.0/src/rose/rose_build_merge.h
Examining data/hyperscan-5.3.0/src/rose/rose_in_graph.h
Examining data/hyperscan-5.3.0/src/rose/infix.h
Examining data/hyperscan-5.3.0/src/rose/rose_build_exclusive.cpp
Examining data/hyperscan-5.3.0/src/rose/rose_build_matchers.h
Examining data/hyperscan-5.3.0/src/rose/init.h
Examining data/hyperscan-5.3.0/src/rose/rose_build_merge.cpp
Examining data/hyperscan-5.3.0/src/rose/rose_build_exclusive.h
Examining data/hyperscan-5.3.0/src/rose/rose_build_add_mask.cpp
Examining data/hyperscan-5.3.0/src/rose/init.c
Examining data/hyperscan-5.3.0/src/rose/miracle.h
Examining data/hyperscan-5.3.0/src/rose/rose_build_program.cpp
Examining data/hyperscan-5.3.0/src/rose/rose_build_anchored.cpp
Examining data/hyperscan-5.3.0/src/rose/rose_build_compile.cpp
Examining data/hyperscan-5.3.0/src/rose/rose_build_castle.h
Examining data/hyperscan-5.3.0/src/rose/rose_build_engine_blob.h
Examining data/hyperscan-5.3.0/src/rose/rose_build_castle.cpp
Examining data/hyperscan-5.3.0/src/rose/rose_build_groups.h
Examining data/hyperscan-5.3.0/src/rose/match.c
Examining data/hyperscan-5.3.0/src/rose/program_runtime.h
Examining data/hyperscan-5.3.0/src/rose/validate_shufti.h
Examining data/hyperscan-5.3.0/src/rose/rose_build_long_lit.h
Examining data/hyperscan-5.3.0/src/rose/rose_build_add_internal.h
Examining data/hyperscan-5.3.0/src/rose/rose_build_scatter.cpp
Examining data/hyperscan-5.3.0/src/rose/rose_build_scatter.h
Examining data/hyperscan-5.3.0/src/rose/rose_in_dump.cpp
Examining data/hyperscan-5.3.0/src/rose/rose_build_lit_accel.h
Examining data/hyperscan-5.3.0/src/rose/rose_build_util.h
Examining data/hyperscan-5.3.0/src/rose/rose_common.h
Examining data/hyperscan-5.3.0/src/rose/match.h
Examining data/hyperscan-5.3.0/src/rose/rose_in_util.cpp
Examining data/hyperscan-5.3.0/src/rose/rose_build_misc.h
Examining data/hyperscan-5.3.0/src/rose/rose_in_dump.h
Examining data/hyperscan-5.3.0/src/rose/rose_build_instructions.cpp
Examining data/hyperscan-5.3.0/src/rose/rose_build.h
Examining data/hyperscan-5.3.0/src/rose/program_runtime.c
Examining data/hyperscan-5.3.0/src/rose/rose_types.h
Examining data/hyperscan-5.3.0/src/rose/rose_build_program.h
Examining data/hyperscan-5.3.0/src/rose/rose_build_resources.h
Examining data/hyperscan-5.3.0/src/rose/rose_build_engine_blob.cpp
Examining data/hyperscan-5.3.0/src/rose/rose.h
Examining data/hyperscan-5.3.0/src/rose/rose_in_util.h
Examining data/hyperscan-5.3.0/src/rose/catchup.c
Examining data/hyperscan-5.3.0/src/hs_version.c
Examining data/hyperscan-5.3.0/src/grey.cpp
Examining data/hyperscan-5.3.0/src/report.h
Examining data/hyperscan-5.3.0/src/parser/control_verbs.h
Examining data/hyperscan-5.3.0/src/parser/Component.cpp
Examining data/hyperscan-5.3.0/src/parser/check_refs.h
Examining data/hyperscan-5.3.0/src/parser/ConstComponentVisitor.cpp
Examining data/hyperscan-5.3.0/src/parser/unsupported.h
Examining data/hyperscan-5.3.0/src/parser/ComponentSequence.h
Examining data/hyperscan-5.3.0/src/parser/ComponentClass.cpp
Examining data/hyperscan-5.3.0/src/parser/ComponentEmpty.h
Examining data/hyperscan-5.3.0/src/parser/shortcut_literal.h
Examining data/hyperscan-5.3.0/src/parser/Component.h
Examining data/hyperscan-5.3.0/src/parser/ConstComponentVisitor.h
Examining data/hyperscan-5.3.0/src/parser/ComponentBoundary.h
Examining data/hyperscan-5.3.0/src/parser/ComponentClass.h
Examining data/hyperscan-5.3.0/src/parser/parse_error.h
Examining data/hyperscan-5.3.0/src/parser/ComponentCondReference.h
Examining data/hyperscan-5.3.0/src/parser/dump.cpp
Examining data/hyperscan-5.3.0/src/parser/ComponentVisitor.cpp
Examining data/hyperscan-5.3.0/src/parser/AsciiComponentClass.h
Examining data/hyperscan-5.3.0/src/parser/ucp_table.h
Examining data/hyperscan-5.3.0/src/parser/ComponentVisitor.h
Examining data/hyperscan-5.3.0/src/parser/logical_combination.h
Examining data/hyperscan-5.3.0/src/parser/ComponentAtomicGroup.h
Examining data/hyperscan-5.3.0/src/parser/logical_combination.cpp
Examining data/hyperscan-5.3.0/src/parser/ComponentAssertion.cpp
Examining data/hyperscan-5.3.0/src/parser/position_dump.h
Examining data/hyperscan-5.3.0/src/parser/ComponentByte.cpp
Examining data/hyperscan-5.3.0/src/parser/ComponentEmpty.cpp
Examining data/hyperscan-5.3.0/src/parser/AsciiComponentClass.cpp
Examining data/hyperscan-5.3.0/src/parser/ComponentWordBoundary.cpp
Examining data/hyperscan-5.3.0/src/parser/ComponentBackReference.h
Examining data/hyperscan-5.3.0/src/parser/Utf8ComponentClass.h
Examining data/hyperscan-5.3.0/src/parser/ComponentSequence.cpp
Examining data/hyperscan-5.3.0/src/parser/utf8_validate.h
Examining data/hyperscan-5.3.0/src/parser/utf8_validate.cpp
Examining data/hyperscan-5.3.0/src/parser/ComponentWordBoundary.h
Examining data/hyperscan-5.3.0/src/parser/position.h
Examining data/hyperscan-5.3.0/src/parser/position_info.h
Examining data/hyperscan-5.3.0/src/parser/dump.h
Examining data/hyperscan-5.3.0/src/parser/ComponentAlternation.h
Examining data/hyperscan-5.3.0/src/parser/prefilter.h
Examining data/hyperscan-5.3.0/src/parser/ComponentAssertion.h
Examining data/hyperscan-5.3.0/src/parser/shortcut_literal.cpp
Examining data/hyperscan-5.3.0/src/parser/ComponentBackReference.cpp
Examining data/hyperscan-5.3.0/src/parser/parse_error.cpp
Examining data/hyperscan-5.3.0/src/parser/ComponentAtomicGroup.cpp
Examining data/hyperscan-5.3.0/src/parser/Parser.h
Examining data/hyperscan-5.3.0/src/parser/ComponentBoundary.cpp
Examining data/hyperscan-5.3.0/src/parser/ComponentEUS.h
Examining data/hyperscan-5.3.0/src/parser/ComponentRepeat.h
Examining data/hyperscan-5.3.0/src/parser/buildstate.h
Examining data/hyperscan-5.3.0/src/parser/check_refs.cpp
Examining data/hyperscan-5.3.0/src/parser/ComponentAlternation.cpp
Examining data/hyperscan-5.3.0/src/parser/ComponentEUS.cpp
Examining data/hyperscan-5.3.0/src/parser/parser_util.cpp
Examining data/hyperscan-5.3.0/src/parser/Utf8ComponentClass.cpp
Examining data/hyperscan-5.3.0/src/parser/ComponentByte.h
Examining data/hyperscan-5.3.0/src/parser/buildstate.cpp
Examining data/hyperscan-5.3.0/src/parser/prefilter.cpp
Examining data/hyperscan-5.3.0/src/parser/ComponentRepeat.cpp
Examining data/hyperscan-5.3.0/src/parser/unsupported.cpp
Examining data/hyperscan-5.3.0/src/parser/ComponentCondReference.cpp
Examining data/hyperscan-5.3.0/src/parser/ucp_table.cpp
Examining data/hyperscan-5.3.0/src/smallwrite/smallwrite_build.h
Examining data/hyperscan-5.3.0/src/smallwrite/smallwrite_internal.h
Examining data/hyperscan-5.3.0/src/smallwrite/smallwrite_dump.cpp
Examining data/hyperscan-5.3.0/src/smallwrite/smallwrite_dump.h
Examining data/hyperscan-5.3.0/src/smallwrite/smallwrite_build.cpp
Examining data/hyperscan-5.3.0/chimera/ch_runtime.h
Examining data/hyperscan-5.3.0/chimera/ch.h
Examining data/hyperscan-5.3.0/chimera/ch_scratch.h
Examining data/hyperscan-5.3.0/chimera/ch_compile.h
Examining data/hyperscan-5.3.0/chimera/ch_database.h
Examining data/hyperscan-5.3.0/chimera/ch_scratch.c
Examining data/hyperscan-5.3.0/chimera/ch_compile.cpp
Examining data/hyperscan-5.3.0/chimera/ch_database.c
Examining data/hyperscan-5.3.0/chimera/ch_internal.h
Examining data/hyperscan-5.3.0/chimera/ch_alloc.c
Examining data/hyperscan-5.3.0/chimera/ch_alloc.h
Examining data/hyperscan-5.3.0/chimera/ch_runtime.c
Examining data/hyperscan-5.3.0/chimera/ch_common.h
Examining data/hyperscan-5.3.0/include/boost-patched/graph/reverse_graph.hpp
Examining data/hyperscan-5.3.0/include/boost-patched/graph/dominator_tree.hpp

FINAL RESULTS:

data/hyperscan-5.3.0/src/database.c:356:25:  [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_COMPAT _snprintf
data/hyperscan-5.3.0/src/database.c:358:25:  [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_COMPAT snprintf
data/hyperscan-5.3.0/src/ue2common.h:212:35:  [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.
#define DEBUG_PRINTF(format, ...) printf("%s:%s:%d:" format, \
data/hyperscan-5.3.0/src/ue2common.h:222:36:  [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.
#define ADEBUG_PRINTF(format, ...) printf("!%s:%s:%d:" format, \
data/hyperscan-5.3.0/src/util/multibit.h:174:5:  [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("mmb [%u bits @ %p] " format, total_bits, bits, ##__VA_ARGS__)
data/hyperscan-5.3.0/unit/gtest/gtest-all.cc:1623:10:  [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/hyperscan-5.3.0/unit/gtest/gtest-all.cc:4119:5:  [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.
    vprintf(fmt, args);
data/hyperscan-5.3.0/unit/gtest/gtest-all.cc:4138:3:  [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.
  vprintf(fmt, args);
data/hyperscan-5.3.0/unit/gtest/gtest-all.cc:4145:3:  [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.
  vprintf(fmt, args);
data/hyperscan-5.3.0/unit/gtest/gtest.h:2868:20:  [4] (buffer) StrNCpy:
  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).
inline const char* StrNCpy(char* dest, const char* src, size_t n) {
data/hyperscan-5.3.0/unit/gtest/gtest.h:2940:26:  [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 GTEST_SNPRINTF_ _snprintf
data/hyperscan-5.3.0/unit/gtest/gtest.h:2942:26:  [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 GTEST_SNPRINTF_ snprintf
data/hyperscan-5.3.0/unit/gtest/gtest.h:8322:5:  [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.
    fprintf(\
data/hyperscan-5.3.0/util/win_getopt.h:61:5:  [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.
    vfprintf(stdout, fmt, args);
data/hyperscan-5.3.0/examples/patbench.cc:621:19:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    while ((opt = getopt(argc, argv, "SNn:G:F:C:")) != -1) {
data/hyperscan-5.3.0/examples/pcapscan.cc:450:19:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    while ((opt = getopt(argc, argv, "n:")) != -1) {
data/hyperscan-5.3.0/tools/hsbench/main.cpp:270:17:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
        int c = getopt_long(argc, argv, options, longopts, &option_index);
data/hyperscan-5.3.0/tools/hscheck/main.cpp:509:17:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
        int c = getopt_long(argc, argv, options, longopts, nullptr);
data/hyperscan-5.3.0/tools/hscollider/args.cpp:196:17:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
        int c = getopt_long(argc, argv, options, longopts, nullptr);
data/hyperscan-5.3.0/tools/hsdump/main.cpp:174:17:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
        int c = getopt_long(argc, argv, options, longOptions, nullptr);
data/hyperscan-5.3.0/unit/gtest/gtest-all.cc:712:37:  [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.
void ShuffleRange(internal::Random* random, int begin, int end,
data/hyperscan-5.3.0/unit/gtest/gtest-all.cc:733:39:  [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.
inline void Shuffle(internal::Random* random, std::vector<E>* v) {
data/hyperscan-5.3.0/unit/gtest/gtest-all.cc:734:16:  [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.
  ShuffleRange(random, 0, static_cast<int>(v->size()), v);
data/hyperscan-5.3.0/unit/gtest/gtest-all.cc:1202:21:  [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.
  internal::Random* random() { return &random_; }
data/hyperscan-5.3.0/unit/gtest/gtest-all.cc:3947:47:  [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.
void TestCase::ShuffleTests(internal::Random* random) {
data/hyperscan-5.3.0/unit/gtest/gtest-all.cc:3948:11:  [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.
  Shuffle(random, &test_indices_);
data/hyperscan-5.3.0/unit/gtest/gtest-all.cc:5777:7:  [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.
      random()->Reseed(random_seed_);
data/hyperscan-5.3.0/unit/gtest/gtest-all.cc:6087:16:  [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.
  ShuffleRange(random(), 0, last_death_test_case_ + 1, &test_case_indices_);
data/hyperscan-5.3.0/unit/gtest/gtest-all.cc:6090:16:  [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.
  ShuffleRange(random(), last_death_test_case_ + 1,
data/hyperscan-5.3.0/unit/gtest/gtest-all.cc:6095:34:  [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.
    test_cases_[i]->ShuffleTests(random());
data/hyperscan-5.3.0/unit/gtest/gtest.h:2906:27:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  const char* const env = getenv(name);
data/hyperscan-5.3.0/unit/gtest/gtest.h:2909:10:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  return getenv(name);
data/hyperscan-5.3.0/unit/gtest/gtest.h:18306:39:  [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.
  void ShuffleTests(internal::Random* random);
data/hyperscan-5.3.0/unit/hyperscan/literals.cpp:59:16:  [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.
        boost::random::uniform_int_distribution<> len_dist(min_len, max_len);
data/hyperscan-5.3.0/unit/hyperscan/literals.cpp:64:16:  [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.
        boost::random::uniform_int_distribution<> dist('a', 'z');
data/hyperscan-5.3.0/unit/hyperscan/literals.cpp:79:12:  [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.
    boost::random::mt19937 rng;
data/hyperscan-5.3.0/util/ng_corpus_properties.cpp:50:52:  [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.
                                      unsigned int random) {
data/hyperscan-5.3.0/util/ng_corpus_properties.cpp:51:27:  [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.
    if (match + unmatch + random != 100) {
data/hyperscan-5.3.0/util/ng_corpus_properties.cpp:57:18:  [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.
    randomness = random;
data/hyperscan-5.3.0/util/ng_corpus_properties.cpp:71:12:  [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.
    boost::random::uniform_int_distribution<> dist(n, m);
data/hyperscan-5.3.0/util/ng_corpus_properties.h:70:26:  [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.
            unsigned int random);
data/hyperscan-5.3.0/util/ng_corpus_properties.h:127:12:  [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.
    boost::random::mt19937 randomGen;
data/hyperscan-5.3.0/util/win_getopt.h:66:5:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
int getopt_long(int nargc, char *const *nargv, const char *options,
data/hyperscan-5.3.0/chimera/ch_compile.cpp:93:13:  [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(msg, err.c_str(), err.size() + 1);
data/hyperscan-5.3.0/chimera/ch_compile.cpp:432: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(ptr, compiled, compiled_size);
data/hyperscan-5.3.0/chimera/ch_compile.cpp:449: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(ptr, extra->study_data, study_size);
data/hyperscan-5.3.0/chimera/ch_database.c:100: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((*info), CHIMERA_IDENT, len);
data/hyperscan-5.3.0/chimera/ch_database.c:120: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((*info), CHIMERA_IDENT, hybridlen);
data/hyperscan-5.3.0/chimera/ch_database.c:121: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((*info) + hybridlen, hsinfo, hslen);
data/hyperscan-5.3.0/examples/patbench.cc:317: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 errbuf[PCAP_ERRBUF_SIZE];
data/hyperscan-5.3.0/examples/patbench.cc:624:26:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            factor_max = atoi(optarg);
data/hyperscan-5.3.0/examples/patbench.cc:627:23:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            gen_max = atoi(optarg);
data/hyperscan-5.3.0/examples/patbench.cc:659:27:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            repeatCount = atoi(optarg);
data/hyperscan-5.3.0/examples/pcapscan.cc:212: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 errbuf[PCAP_ERRBUF_SIZE];
data/hyperscan-5.3.0/examples/pcapscan.cc:453:27:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            repeatCount = atoi(optarg);
data/hyperscan-5.3.0/examples/simplegrep.c:80:15:  [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).
    FILE *f = fopen(inputFN, "rb");
data/hyperscan-5.3.0/src/compiler/compiler.cpp:496: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(bytecode, in_bytecode, len);
data/hyperscan-5.3.0/src/compiler/error.cpp:75:13:  [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(msg, err.c_str(), err.size() + 1);
data/hyperscan-5.3.0/src/database.c:95: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, &db->platform, sizeof(u64a));
data/hyperscan-5.3.0/src/database.c:105: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, bytecode, db->length);
data/hyperscan-5.3.0/src/database.c:195: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(bytecode, serialized, db->length);
data/hyperscan-5.3.0/src/database.c:229: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(db, &header, sizeof(header));
data/hyperscan-5.3.0/src/database.c:277: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(tempdb, &header, sizeof(header));
data/hyperscan-5.3.0/src/fdr/fdr_compile.cpp:202: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(ptr, confirmTable.get(), confirmTable.size());
data/hyperscan-5.3.0/src/fdr/fdr_compile.cpp:208: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(ptr, floodTable.get(), floodTable.size());
data/hyperscan-5.3.0/src/fdr/fdr_compile.cpp:595: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(tabIndexToMask(i), &defaultMask[0], mask_size);
data/hyperscan-5.3.0/src/fdr/fdr_confirm_compile.cpp:62: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(m + sizeof(mask) - len, &v[vlen - len], len);
data/hyperscan-5.3.0/src/fdr/fdr_confirm_compile.cpp:332: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(ptr, p.get(), p.size());
data/hyperscan-5.3.0/src/fdr/teddy_compile.cpp:508: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(ptr, confirmTable.get(), confirmTable.size());
data/hyperscan-5.3.0/src/fdr/teddy_compile.cpp:514: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(ptr, floodTable.get(), floodTable.size());
data/hyperscan-5.3.0/src/hwlm/hwlm.c:135:13:  [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(temp, ptr1, tlen);
data/hyperscan-5.3.0/src/hwlm/hwlm_build.cpp:159: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(HWLM_DATA(h.get()), eng.get(), engSize);
data/hyperscan-5.3.0/src/hwlm/noodle_build.cpp:61: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(m, &v[0], len);
data/hyperscan-5.3.0/src/hwlm/noodle_engine_sse.c:54: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(&v, d, l);
data/hyperscan-5.3.0/src/hwlm/noodle_engine_sse.c:113: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(&v, d, l);
data/hyperscan-5.3.0/src/nfa/castlecompile.cpp:613: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(ptr, &infos[i], sizeof(RepeatInfo));
data/hyperscan-5.3.0/src/nfa/goughcompile.cpp:1122: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(gough_dfa.get(), basic_dfa.get(), basic_dfa->length);
data/hyperscan-5.3.0/src/nfa/goughcompile.cpp:1123: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((char *)gough_dfa.get() + haig_offset, &gi, sizeof(gi));
data/hyperscan-5.3.0/src/nfa/limex_common_impl.h:132: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(chunks, &accepts, sizeof(accepts));
data/hyperscan-5.3.0/src/nfa/limex_common_impl.h:135: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(mask_chunks, &accept_mask, sizeof(accept_mask));
data/hyperscan-5.3.0/src/nfa/limex_common_impl.h:355: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(chunks, &accepts, sizeof(accepts));
data/hyperscan-5.3.0/src/nfa/limex_common_impl.h:358: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(mask_chunks, &accept_mask, sizeof(accept_mask));
data/hyperscan-5.3.0/src/nfa/limex_compile.cpp:2131:13:  [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((char *)limex + offset, repeats[i].get(), repeats[i].size());
data/hyperscan-5.3.0/src/nfa/limex_dump.cpp:94: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(chunks, &mask, sizeof(mask));
data/hyperscan-5.3.0/src/nfa/limex_dump.cpp:137: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 tmp_common[100];
data/hyperscan-5.3.0/src/nfa/limex_dump.cpp:139:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(tmp_common, "reach mask %u ", i);
data/hyperscan-5.3.0/src/nfa/limex_exceptional.h:240: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(chunks, &estate, sizeof(STATE_T));
data/hyperscan-5.3.0/src/nfa/limex_exceptional.h:242: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(chunks, estatep, sizeof(STATE_T));
data/hyperscan-5.3.0/src/nfa/limex_exceptional.h:244: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(emask_chunks, &limex->exceptionMask, sizeof(STATE_T));
data/hyperscan-5.3.0/src/nfa/mcclellan_common_impl.h:108: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 tmp[16];
data/hyperscan-5.3.0/src/nfa/mcsheng_compile.cpp:197: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((u8 *)&m->sheng_masks[i],
data/hyperscan-5.3.0/src/nfa/shengcompile.cpp:445: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(&s->shuffle_masks[chr], buf, sizeof(m128));
data/hyperscan-5.3.0/src/nfa/shengdump.cpp:103: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(buf, &shuffle_mask, sizeof(m128));
data/hyperscan-5.3.0/src/nfa/shengdump.cpp:239: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(buf, &shuffle_mask, sizeof(m128));
data/hyperscan-5.3.0/src/nfa/shufticompile.cpp:105: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(lo, lo_a.data(), sizeof(m128));
data/hyperscan-5.3.0/src/nfa/shufticompile.cpp:106: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(hi, hi_a.data(), sizeof(m128));
data/hyperscan-5.3.0/src/nfa/shufticompile.cpp:203: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(lo1, lo1_a.data(), sizeof(m128));
data/hyperscan-5.3.0/src/nfa/shufticompile.cpp:204: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(lo2, lo2_a.data(), sizeof(m128));
data/hyperscan-5.3.0/src/nfa/shufticompile.cpp:205: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(hi1, hi1_a.data(), sizeof(m128));
data/hyperscan-5.3.0/src/nfa/shufticompile.cpp:206: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(hi2, hi2_a.data(), sizeof(m128));
data/hyperscan-5.3.0/src/nfa/tamaramacompile.cpp:86: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(sub_nfa_offset, sub, sub->length);
data/hyperscan-5.3.0/src/nfa/truffle.c:90: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(&chars, buf, len);
data/hyperscan-5.3.0/src/nfa/truffle.c:175: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(&chars, buf, len);
data/hyperscan-5.3.0/src/nfa/truffle.c:286: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(&chars, buf, len);
data/hyperscan-5.3.0/src/nfa/truffle.c:369: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(&chars, buf, len);
data/hyperscan-5.3.0/src/nfagraph/ng_region.cpp:83:25:  [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).
    flat_set<NFAVertex> open;
data/hyperscan-5.3.0/src/nfagraph/ng_region.cpp:92:25:  [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).
    auto &open = v_exit.open;
data/hyperscan-5.3.0/src/nfagraph/ng_region.cpp:97:13:  [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).
            open.insert(w);
data/hyperscan-5.3.0/src/nfagraph/ng_region.cpp:101:10:  [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).
    if (!open.empty()) {
data/hyperscan-5.3.0/src/nfagraph/ng_region.cpp:121:14:  [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).
        exit.open.erase(new_v);
data/hyperscan-5.3.0/src/nfagraph/ng_region.cpp:126:60:  [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).
                  [&](const exit_info &exit) { return exit.open.empty(); }),
data/hyperscan-5.3.0/src/nfagraph/ng_region.cpp:149:40:  [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).
    const auto &enters = exits.front().open;
data/hyperscan-5.3.0/src/nfagraph/ng_region.cpp:156:17:  [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).
        if (it->open != enters) {
data/hyperscan-5.3.0/src/nfagraph/ng_region.cpp:200:34:  [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).
    auto &enters = exits.front().open;
data/hyperscan-5.3.0/src/rose/counting_miracle.h:65: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 temp[sizeof(m128)];
data/hyperscan-5.3.0/src/rose/counting_miracle.h:68: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(temp, d, d_end - d);
data/hyperscan-5.3.0/src/rose/counting_miracle.h:115: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 temp[sizeof(m128)];
data/hyperscan-5.3.0/src/rose/counting_miracle.h:118: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(temp, d, d_end - d);
data/hyperscan-5.3.0/src/rose/rose_build_anchored.cpp:904: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(curr, nfa, nfa->length);
data/hyperscan-5.3.0/src/rose/rose_build_bytecode.cpp:3502: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(ptr, rose.get(), mainSize);
data/hyperscan-5.3.0/src/rose/rose_build_bytecode.cpp:3503: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(ptr + smwrOffset, smwr_engine.get(), smallWriteSize);
data/hyperscan-5.3.0/src/rose/rose_build_bytecode.cpp:3864: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(engine.get(), &proto, sizeof(proto));
data/hyperscan-5.3.0/src/rose/rose_build_dump.cpp:1596:24:  [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.
                (const char *)loadFromByteCodeOffset(t, programs[i]);
data/hyperscan-5.3.0/src/rose/rose_build_dump.cpp:1620:24:  [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.
                (const char *)loadFromByteCodeOffset(t, programs[i]);
data/hyperscan-5.3.0/src/rose/rose_build_dump.cpp:1645:24:  [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.
                (const char *)loadFromByteCodeOffset(t, programs[i]);
data/hyperscan-5.3.0/src/rose/rose_build_engine_blob.h:89: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(&blob.back() - len + 1, a, len);
data/hyperscan-5.3.0/src/rose/rose_build_scatter.cpp:120: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((char *)aux_out + aux_base_offset, raw.p_##t.data(),     \
data/hyperscan-5.3.0/src/runtime.c:499: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(his_state + rose->historyRequired - amount, buffer + length - amount,
data/hyperscan-5.3.0/src/runtime.c:733: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(s, from_id, stateSize);
data/hyperscan-5.3.0/src/runtime.c:776: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(to_id, from_id, stateSize);
data/hyperscan-5.3.0/src/smallwrite/smallwrite_build.cpp:935: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(smwr.get() + 1, nfa.get(), nfa->length);
data/hyperscan-5.3.0/src/stream_compress.c:42: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(buf + currOffset, p, sz);                \
data/hyperscan-5.3.0/src/stream_compress.c:51: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(p, buf + currOffset, sz);                \
data/hyperscan-5.3.0/src/util/container.h:138:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    return std::memcpy(dest, vec.data(), byte_length(vec));
data/hyperscan-5.3.0/src/util/dump_util.cpp:39:15:  [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).
    FILE *f = fopen(path, mode);
data/hyperscan-5.3.0/src/util/multibit_compress.h:98: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(comp, bits, comp_size);
data/hyperscan-5.3.0/src/util/multibit_compress.h:103: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(comp, bits, sizeof(MMB_TYPE));
data/hyperscan-5.3.0/src/util/multibit_compress.h:119:17:  [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(comp, &block, sizeof(MMB_TYPE));
data/hyperscan-5.3.0/src/util/multibit_compress.h:148: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(bits, comp, comp_size);
data/hyperscan-5.3.0/src/util/multibit_compress.h:155: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(bits, comp, comp_size);
data/hyperscan-5.3.0/src/util/multibit_compress.h:166: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(bits, comp, sizeof(MMB_TYPE)); // Copy root block first.
data/hyperscan-5.3.0/src/util/multibit_compress.h:178:17:  [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(block_ptr_1, comp, sizeof(MMB_TYPE));
data/hyperscan-5.3.0/src/util/simd_utils.h:246: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(ptr, &a, n);
data/hyperscan-5.3.0/src/util/simd_utils.h:254: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(&a, ptr, n);
data/hyperscan-5.3.0/src/util/simd_utils.h:635: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(ptr, &a, n);
data/hyperscan-5.3.0/src/util/simd_utils.h:643: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(&a, ptr, n);
data/hyperscan-5.3.0/src/util/simd_utils.h:907: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(ptr, &a, n);
data/hyperscan-5.3.0/src/util/simd_utils.h:915: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(&a, ptr, n);
data/hyperscan-5.3.0/src/util/simd_utils.h:1228: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(ptr, &a, n);
data/hyperscan-5.3.0/src/util/simd_utils.h:1236: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(&a, ptr, n);
data/hyperscan-5.3.0/src/util/state_compress.c:89: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(x, &xvec, sizeof(xvec));
data/hyperscan-5.3.0/src/util/state_compress.c:91: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(m, &mvec, sizeof(mvec));
data/hyperscan-5.3.0/src/util/state_compress.c:112: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(x, &xvec, sizeof(xvec));
data/hyperscan-5.3.0/src/util/state_compress.c:114: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(m, &mvec, sizeof(mvec));
data/hyperscan-5.3.0/src/util/state_compress.c:142: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(m, &mvec, sizeof(mvec));
data/hyperscan-5.3.0/src/util/state_compress.c:192: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(x, &xvec, sizeof(xvec));
data/hyperscan-5.3.0/src/util/state_compress.c:194: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(m, &mvec, sizeof(mvec));
data/hyperscan-5.3.0/src/util/state_compress.c:219: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(x, &xvec, sizeof(xvec));
data/hyperscan-5.3.0/src/util/state_compress.c:221: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(m, &mvec, sizeof(mvec));
data/hyperscan-5.3.0/src/util/state_compress.c:251: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(m, &mvec, sizeof(mvec));
data/hyperscan-5.3.0/src/util/state_compress.c:282: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(m, &mvec, sizeof(mvec));
data/hyperscan-5.3.0/src/util/state_compress.c:321: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(x, &xvec, sizeof(xvec));
data/hyperscan-5.3.0/src/util/state_compress.c:323: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(m, &mvec, sizeof(mvec));
data/hyperscan-5.3.0/src/util/state_compress.c:352: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(x, &xvec, sizeof(xvec));
data/hyperscan-5.3.0/src/util/state_compress.c:354: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(m, &mvec, sizeof(mvec));
data/hyperscan-5.3.0/src/util/state_compress.c:386: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(m, &mvec, sizeof(mvec));
data/hyperscan-5.3.0/src/util/state_compress.c:417: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(m, &mvec, sizeof(mvec));
data/hyperscan-5.3.0/src/util/state_compress.c:455: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(x, &xvec, sizeof(xvec));
data/hyperscan-5.3.0/src/util/state_compress.c:457: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(m, &mvec, sizeof(mvec));
data/hyperscan-5.3.0/src/util/state_compress.c:490: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(m, &mvec, sizeof(mvec));
data/hyperscan-5.3.0/src/util/state_compress.c:492: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(x, &xvec, sizeof(xvec));
data/hyperscan-5.3.0/src/util/state_compress.c:526: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(m, &mvec, sizeof(mvec));
data/hyperscan-5.3.0/src/util/state_compress.c:575: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(m, &mvec, sizeof(mvec));
data/hyperscan-5.3.0/tools/hsbench/huge.cpp:140: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 buf[BUF_SIZE];
data/hyperscan-5.3.0/tools/hsbench/huge.cpp:145:10:  [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).
    fd = open("/proc/meminfo", O_RDONLY);
data/hyperscan-5.3.0/tools/hsbench/main.cpp:1036:20:  [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).
            out_db.open(sqloutFile);
data/hyperscan-5.3.0/tools/hsbench/sqldb.cpp:131:13:  [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).
void SqlDB::open(const string &filename) {
data/hyperscan-5.3.0/tools/hsbench/sqldb.h:45:10:  [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).
    void open(const std::string &filename);
data/hyperscan-5.3.0/tools/hscheck/main.cpp:561:30:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            num_of_threads = atoi(optarg);
data/hyperscan-5.3.0/tools/hscollider/UltimateTruth.cpp:81: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.
    const char dummy_data[100] = { 0 };
data/hyperscan-5.3.0/tools/hscollider/UltimateTruth.cpp:649:13:  [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 temp[2] = {0, 0};
data/hyperscan-5.3.0/tools/hscollider/UltimateTruth.cpp:1178: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(ptr, begin, len);
data/hyperscan-5.3.0/tools/hscollider/UltimateTruth.cpp:1210: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(ptr, begin, len);
data/hyperscan-5.3.0/tools/hscollider/sig.cpp:178:21:  [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 TLS_VARIABLE char alt_stack_loc[SIGSTKSZ];
data/hyperscan-5.3.0/tools/hsdump/main.cpp:311:15:  [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).
    FILE *f = fopen((grey.dumpPath + "db.raw").c_str(), "w");
data/hyperscan-5.3.0/tools/hsdump/main.cpp:462:19:  [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).
        FILE *f = fopen((grey.dumpPath + "scratch.txt").c_str(), "w");
data/hyperscan-5.3.0/tools/hsdump/main.cpp:481:19:  [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).
        FILE *f = fopen((grey.dumpPath + "db_info.txt").c_str(), "w");
data/hyperscan-5.3.0/tools/hsdump/main.cpp:557:21:  [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).
    FILE *pat_out = fopen(pat_name.c_str(), "w");
data/hyperscan-5.3.0/unit/chimera/arg_checks.cpp:541: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(local_garbage, garbage, sizeof(garbage));
data/hyperscan-5.3.0/unit/chimera/arg_checks.cpp:556: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(local_garbage, garbage, sizeof(garbage));
data/hyperscan-5.3.0/unit/gtest/gtest-all.cc:2328:7:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
      MultiByteToWideChar(CP_ACP, 0, ansi, length,
data/hyperscan-5.3.0/unit/gtest/gtest-all.cc:2331:3:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
  MultiByteToWideChar(CP_ACP, 0, ansi, length,
data/hyperscan-5.3.0/unit/gtest/gtest-all.cc:2841: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 error_text[kBufSize] = { '\0' };
data/hyperscan-5.3.0/unit/gtest/gtest-all.cc:2925: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 str[5];  // Big enough for the largest valid code point.
data/hyperscan-5.3.0/unit/gtest/gtest-all.cc:6808: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[256];
data/hyperscan-5.3.0/unit/gtest/gtest-all.cc:7224: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 executable_path[_MAX_PATH + 1];  // NOLINT
data/hyperscan-5.3.0/unit/gtest/gtest-all.cc:7503:22:  [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).
  const int cwd_fd = open(".", O_RDONLY);
data/hyperscan-5.3.0/unit/gtest/gtest-all.cc:7941: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 cwd[GTEST_PATH_MAX_ + 1] = { '\0' };
data/hyperscan-5.3.0/unit/gtest/gtest-all.cc:7944: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 cwd[GTEST_PATH_MAX_ + 1] = { '\0' };
data/hyperscan-5.3.0/unit/gtest/gtest-all.cc:8321:18:  [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).
  const int fd = open("/proc/self/as", O_RDONLY);
data/hyperscan-5.3.0/unit/gtest/gtest-all.cc:8651: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(buffer, regex, len);
data/hyperscan-5.3.0/unit/gtest/gtest-all.cc:8728: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 temp_dir_path[MAX_PATH + 1] = { '\0' };  // NOLINT
data/hyperscan-5.3.0/unit/gtest/gtest-all.cc:8729: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 temp_file_path[MAX_PATH + 1] = { '\0' };  // NOLINT
data/hyperscan-5.3.0/unit/gtest/gtest-all.cc:8766:29:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
    const int captured_fd = mkstemp(name_template);
data/hyperscan-5.3.0/unit/gtest/gtest-all.cc:9074: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 text[5] = "";
data/hyperscan-5.3.0/unit/gtest/gtest.h:2880:10:  [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).
  return fopen(path, mode);
data/hyperscan-5.3.0/unit/hyperscan/arg_checks.cpp:2039: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(local_garbage, garbage, sizeof(garbage));
data/hyperscan-5.3.0/unit/hyperscan/arg_checks.cpp:2058: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(local_garbage, garbage, sizeof(garbage));
data/hyperscan-5.3.0/unit/hyperscan/arg_checks.cpp:2079: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(local_garbage, garbage, sizeof(garbage));
data/hyperscan-5.3.0/unit/hyperscan/arg_checks.cpp:2115: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(local_garbage, garbage, sizeof(garbage));
data/hyperscan-5.3.0/unit/hyperscan/arg_checks.cpp:2151: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(local_garbage, garbage, sizeof(garbage));
data/hyperscan-5.3.0/unit/hyperscan/arg_checks.cpp:2330: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 buf[100];
data/hyperscan-5.3.0/unit/hyperscan/arg_checks.cpp:2344: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 buf[100];
data/hyperscan-5.3.0/unit/hyperscan/arg_checks.cpp:2363: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 buf[100];
data/hyperscan-5.3.0/unit/hyperscan/arg_checks.cpp:2383: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 buf[100];
data/hyperscan-5.3.0/unit/hyperscan/arg_checks.cpp:2404: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 buf[2000];
data/hyperscan-5.3.0/unit/hyperscan/arg_checks.cpp:2428: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 buf[2000];
data/hyperscan-5.3.0/unit/hyperscan/arg_checks.cpp:2452: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 buf[2000];
data/hyperscan-5.3.0/unit/hyperscan/arg_checks.cpp:2476: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 buf[2000];
data/hyperscan-5.3.0/unit/hyperscan/arg_checks.cpp:2500: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 buf[2000];
data/hyperscan-5.3.0/unit/hyperscan/arg_checks.cpp:2524: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 buf[2000];
data/hyperscan-5.3.0/unit/hyperscan/arg_checks.cpp:2556: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 buf[2000];
data/hyperscan-5.3.0/unit/hyperscan/arg_checks.cpp:2587: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 buf[2000];
data/hyperscan-5.3.0/unit/hyperscan/bad_patterns.cpp:286:7:  [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).
    f.open(filename.c_str(), ifstream::in);
data/hyperscan-5.3.0/unit/hyperscan/bad_patterns.cpp:289:11:  [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).
        f.open((string(SRCDIR_PREFIX) + "/" + filename).c_str(), ifstream::in);
data/hyperscan-5.3.0/unit/hyperscan/bad_patterns.cpp:341: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 pattern[LONG_PATTERN_LEN];
data/hyperscan-5.3.0/unit/hyperscan/bad_patterns.cpp:365: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 pattern[LONG_PATTERN_LEN];
data/hyperscan-5.3.0/unit/hyperscan/behaviour.cpp:219: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(data, params.preBlock, strlen(params.preBlock));
data/hyperscan-5.3.0/unit/hyperscan/behaviour.cpp:220: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(data+len - strlen(params.postBlock), params.postBlock,
data/hyperscan-5.3.0/unit/hyperscan/scratch_op.cpp:278: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 tmp[4];
data/hyperscan-5.3.0/unit/hyperscan/scratch_op.cpp:279: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(tmp, scratch, 4);
data/hyperscan-5.3.0/unit/hyperscan/scratch_op.cpp:286: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(scratch, tmp, 4);
data/hyperscan-5.3.0/unit/hyperscan/serialize.cpp:126: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(mycopy, bytes, length);
data/hyperscan-5.3.0/unit/hyperscan/serialize.cpp:207: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(mycopy, bytes, length);
data/hyperscan-5.3.0/unit/hyperscan/serialize.cpp:271: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(copy + 1, bytes, bytes_len);
data/hyperscan-5.3.0/unit/hyperscan/single.cpp:120: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 data[datalen];
data/hyperscan-5.3.0/unit/hyperscan/single.cpp:166: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 data[datalen];
data/hyperscan-5.3.0/unit/hyperscan/single.cpp:258:13:  [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(copy, bytes, len);
data/hyperscan-5.3.0/unit/internal/fdr.cpp:236: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(data.data() + i, "abc", 3);
data/hyperscan-5.3.0/unit/internal/fdr.cpp:330: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(new_hbuf, hbuf, hlen);
data/hyperscan-5.3.0/unit/internal/fdr.cpp:426: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(fdrTable.get(), fdrTable0.get(), size);
data/hyperscan-5.3.0/unit/internal/fdr.cpp:531:13:  [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(dataBufAligned.get() + i, pattern.data(), litLen);
data/hyperscan-5.3.0/unit/internal/fdr.cpp:533:13:  [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(dataBufAligned.get() + i + 4 * buf_alignment - litLen,
data/hyperscan-5.3.0/unit/internal/masked_move.cpp:43: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(target, buf, len);
data/hyperscan-5.3.0/unit/internal/multi_bit.cpp:732: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(out + e.offset, &e.val, sizeof(e.val));
data/hyperscan-5.3.0/unit/internal/multi_bit.cpp:735: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(out + e.offset, &e.val, sizeof(e.val));
data/hyperscan-5.3.0/unit/internal/multi_bit.cpp:738: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(out + e.offset, &e.val, sizeof(e.val));
data/hyperscan-5.3.0/unit/internal/multi_bit.cpp:741: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(out + e.offset, &e.val, sizeof(e.val));
data/hyperscan-5.3.0/unit/internal/partial.cpp:44: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(b, a, sizeof(a));
data/hyperscan-5.3.0/unit/internal/partial.cpp:58: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(b, a, sizeof(a));
data/hyperscan-5.3.0/unit/internal/partial.cpp:73: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(b, a, sizeof(a));
data/hyperscan-5.3.0/unit/internal/partial.cpp:89: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(b, a, sizeof(a));
data/hyperscan-5.3.0/unit/internal/partial.cpp:107: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(b, a, sizeof(a));
data/hyperscan-5.3.0/unit/internal/partial.cpp:122: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(b, a, sizeof(a));
data/hyperscan-5.3.0/unit/internal/partial.cpp:138: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(b, a, sizeof(a));
data/hyperscan-5.3.0/unit/internal/partial.cpp:155: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(b, a, sizeof(a));
data/hyperscan-5.3.0/unit/internal/partial.cpp:173: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(b, a, sizeof(a));
data/hyperscan-5.3.0/unit/internal/partial.cpp:192: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(b, a, sizeof(a));
data/hyperscan-5.3.0/unit/internal/partial.cpp:212: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(b, a, sizeof(a));
data/hyperscan-5.3.0/unit/internal/partial.cpp:233: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(b, a, sizeof(a));
data/hyperscan-5.3.0/unit/internal/shuffle.cpp:44: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 bytes[sizeof(Mask)];
data/hyperscan-5.3.0/unit/internal/shufti.cpp:881: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 t1[len + 1];
data/hyperscan-5.3.0/unit/internal/shufti.cpp:882: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 t2[len + 2];
data/hyperscan-5.3.0/unit/internal/shufti.cpp:1104: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 t1[len];
data/hyperscan-5.3.0/unit/internal/simd_utils.cpp:47: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 bytes[sizeof(Mask)];
data/hyperscan-5.3.0/unit/internal/simd_utils.cpp:167: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 cmp[sizeof(zeroes)];
data/hyperscan-5.3.0/unit/internal/simd_utils.cpp:176: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 cmp[sizeof(ones)];
data/hyperscan-5.3.0/unit/internal/simd_utils.cpp:207: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 bytes[sizeof(TypeParam)];
data/hyperscan-5.3.0/unit/internal/simd_utils.cpp:271: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 bytes[sizeof(TypeParam)];
data/hyperscan-5.3.0/unit/internal/simd_utils.cpp:307: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 bytes[sizeof(TypeParam)];
data/hyperscan-5.3.0/unit/internal/simd_utils.cpp:343: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 bytes[sizeof(TypeParam)];
data/hyperscan-5.3.0/unit/internal/simd_utils.cpp:372: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 bytes[sizeof(TypeParam)];
data/hyperscan-5.3.0/unit/internal/simd_utils.cpp:391: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 bytes[sizeof(TypeParam)];
data/hyperscan-5.3.0/unit/internal/simd_utils.cpp:541: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 bytes[sizeof(TypeParam)];
data/hyperscan-5.3.0/unit/internal/simd_utils.cpp:566: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 bytes[sizeof(TypeParam)];
data/hyperscan-5.3.0/unit/internal/simd_utils.cpp:572: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 mem[sizeof(TypeParam)];
data/hyperscan-5.3.0/unit/internal/simd_utils.cpp:580:13:  [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 bytes[sizeof(TypeParam)];
data/hyperscan-5.3.0/unit/internal/simd_utils.cpp:659: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 cmp[sizeof(m128)];
data/hyperscan-5.3.0/unit/internal/simd_utils.cpp:673: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 cmp[sizeof(m128)];
data/hyperscan-5.3.0/unit/internal/simd_utils.cpp:690: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 cmp[sizeof(m256)];
data/hyperscan-5.3.0/unit/internal/simd_utils.cpp:700: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 cmp[sizeof(m256)];
data/hyperscan-5.3.0/unit/internal/state_compress.cpp:40: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 buf[sizeof(u32)] = { 0 };
data/hyperscan-5.3.0/unit/internal/state_compress.cpp:67: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 buf[sizeof(u64a)] = { 0 };
data/hyperscan-5.3.0/unit/internal/state_compress.cpp:98: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 buf[sizeof(m128)] = { 0 };
data/hyperscan-5.3.0/unit/internal/state_compress.cpp:101: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 mask_raw[16] = { 0 };
data/hyperscan-5.3.0/unit/internal/state_compress.cpp:102: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 val_raw[16] = { 0 };
data/hyperscan-5.3.0/unit/internal/state_compress.cpp:138: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 buf[sizeof(m128)] = { 0 };
data/hyperscan-5.3.0/unit/internal/state_compress.cpp:140: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 val_raw[16] = { '0', '1', '2', '3', '4', '5', '6', '7',
data/hyperscan-5.3.0/unit/internal/state_compress.cpp:146: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 mask_raw[16];
data/hyperscan-5.3.0/unit/internal/state_compress.cpp:174: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 buf[sizeof(m256)] = { 0 };
data/hyperscan-5.3.0/unit/internal/state_compress.cpp:177: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 mask_raw[32] = { 0 };
data/hyperscan-5.3.0/unit/internal/state_compress.cpp:178: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 val_raw[32] = { 0 };
data/hyperscan-5.3.0/unit/internal/state_compress.cpp:214: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 buf[sizeof(m256)] = { 0 };
data/hyperscan-5.3.0/unit/internal/state_compress.cpp:216: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 val_raw[32] = { '0', '1', '2', '3', '4', '5', '6', '7',
data/hyperscan-5.3.0/unit/internal/state_compress.cpp:224: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 mask_raw[32];
data/hyperscan-5.3.0/unit/internal/state_compress.cpp:252: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 buf[sizeof(m384)] = { 0 };
data/hyperscan-5.3.0/unit/internal/state_compress.cpp:255: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 mask_raw[48] = { 0 };
data/hyperscan-5.3.0/unit/internal/state_compress.cpp:256: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 val_raw[48] = { 0 };
data/hyperscan-5.3.0/unit/internal/state_compress.cpp:292: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 buf[sizeof(m384)] = { 0 };
data/hyperscan-5.3.0/unit/internal/state_compress.cpp:294: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 val_raw[48] = { '0', '1', '2', '3', '4', '5', '6', '7',
data/hyperscan-5.3.0/unit/internal/state_compress.cpp:304: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 mask_raw[48];
data/hyperscan-5.3.0/unit/internal/state_compress.cpp:332: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 buf[sizeof(m512)] = { 0 };
data/hyperscan-5.3.0/unit/internal/state_compress.cpp:335: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 mask_raw[64] = { 0 };
data/hyperscan-5.3.0/unit/internal/state_compress.cpp:336: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 val_raw[64] = { 0 };
data/hyperscan-5.3.0/unit/internal/state_compress.cpp:372: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 buf[sizeof(m512)] = { 0 };
data/hyperscan-5.3.0/unit/internal/state_compress.cpp:374: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 val_raw[64] = { '0', '1', '2', '3', '4', '5', '6', '7',
data/hyperscan-5.3.0/unit/internal/state_compress.cpp:385: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 mask_raw[64];
data/hyperscan-5.3.0/unit/internal/unaligned.cpp:35: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 data[3];
data/hyperscan-5.3.0/unit/internal/unaligned.cpp:55: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 data[5];
data/hyperscan-5.3.0/unit/internal/unaligned.cpp:75: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 data[9];
data/hyperscan-5.3.0/unit/internal/uniform_ops.cpp:57: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 ALIGN_DIRECTIVE stored[1];
data/hyperscan-5.3.0/util/database_util.cpp:86:14:  [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).
    int fd = open(filename, O_RDONLY);
data/hyperscan-5.3.0/util/database_util.cpp:106:8:  [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).
    is.open(filename, ios::in | ios::binary);
data/hyperscan-5.3.0/util/expression_path.h:68: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 path[_MAX_DIR];
data/hyperscan-5.3.0/util/ng_corpus_generator.cpp:143:36:  [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).
    vector<unique_ptr<VertexPath>> open;
data/hyperscan-5.3.0/util/ng_corpus_generator.cpp:144:5:  [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).
    open.push_back(ue2::make_unique<VertexPath>(1, g.start));
data/hyperscan-5.3.0/util/ng_corpus_generator.cpp:153:13:  [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).
    while (!open.empty()) {
data/hyperscan-5.3.0/util/ng_corpus_generator.cpp:154:35:  [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).
        u32 slot = cProps.rand(0, open.size() - 1);
data/hyperscan-5.3.0/util/ng_corpus_generator.cpp:155:14:  [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).
        swap(open.at(slot), open.back());
data/hyperscan-5.3.0/util/ng_corpus_generator.cpp:155:29:  [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).
        swap(open.at(slot), open.back());
data/hyperscan-5.3.0/util/ng_corpus_generator.cpp:156:28:  [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).
        auto p = std::move(open.back());
data/hyperscan-5.3.0/util/ng_corpus_generator.cpp:157:9:  [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).
        open.pop_back();
data/hyperscan-5.3.0/util/ng_corpus_generator.cpp:207:17:  [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).
            if (open.size() < MAX_OPEN) {
data/hyperscan-5.3.0/util/ng_corpus_generator.cpp:208:17:  [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).
                open.push_back(std::move(new_path));
data/hyperscan-5.3.0/util/ng_corpus_generator.cpp:210:45:  [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).
                u32 victim = cProps.rand(0, open.size() - 1);
data/hyperscan-5.3.0/util/ng_corpus_generator.cpp:211:17:  [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).
                open[victim] = std::move(new_path);
data/hyperscan-5.3.0/chimera/ch_database.c:95:22:  [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 = strlen(CHIMERA_IDENT);
data/hyperscan-5.3.0/chimera/ch_database.c:112:24:  [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 hybridlen = strlen(CHIMERA_IDENT);
data/hyperscan-5.3.0/chimera/ch_database.c:113:20:  [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 hslen = strlen(hsinfo);
data/hyperscan-5.3.0/src/compiler/compiler.cpp:170:24:  [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).
    const size_t len = strlen(expression);
data/hyperscan-5.3.0/src/compiler/compiler.cpp:326:9:  [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 (strlen(expression) > cc.grey.limitPatternLength) {
data/hyperscan-5.3.0/src/fdr/fdr_compile.cpp:413:30:  [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 p = mismatch(a.s.rbegin(), a.s.rend(), b.s.rbegin());
data/hyperscan-5.3.0/src/fdr/fdr_compile.cpp:648:16:  [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.
        return equal(s2.begin(), s2.end(), s1.begin() + len1 - len2,
data/hyperscan-5.3.0/src/fdr/fdr_compile.cpp:651:16:  [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.
        return equal(s2.begin(), s2.end(), s1.begin() + len1 - len2);
data/hyperscan-5.3.0/src/hs.cpp:530:13:  [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 (strlen(expression) > cc.grey.limitPatternLength) {
data/hyperscan-5.3.0/src/rose/rose_build_anchored.cpp:469:18:  [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 (!equal(rdfa.states[i].next.begin(), rdfa.states[i].next.end(),
data/hyperscan-5.3.0/src/rose/rose_build_long_lit.cpp:270:35:  [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.
                           return equal(begin(str_a), begin(str_a) + len,
data/hyperscan-5.3.0/src/rose/rose_build_long_lit.cpp:370:16:  [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.
               equal(b.s.begin(), b.s.end(), a.s.begin());
data/hyperscan-5.3.0/src/util/alloc.cpp:52:52:  [1] (free) memalign:
  On some systems (though not Linux-based systems) an attempt to free()
  results from memalign() may fail. This may, on a few systems, be
  exploitable. Also note that memalign() may not check that the boundary
  parameter is correct (CWE-676). Use posix_memalign instead (defined in
  POSIX's 1003.1d). Don't switch to valloc(); it is marked as obsolete in BSD
  4.3, as legacy in SUSv2, and is no longer defined in SUSv3. In some cases,
  malloc()'s alignment may be sufficient.
    #define posix_memalign(A, B, C) ((*A = (void *)memalign(B, C)) == nullptr)
data/hyperscan-5.3.0/src/util/alloc.cpp:58:33:  [1] (free) memalign:
  On some systems (though not Linux-based systems) an attempt to free()
  results from memalign() may fail. This may, on a few systems, be
  exploitable. Also note that memalign() may not check that the boundary
  parameter is correct (CWE-676). Use posix_memalign instead (defined in
  POSIX's 1003.1d). Don't switch to valloc(); it is marked as obsolete in BSD
  4.3, as legacy in SUSv2, and is no longer defined in SUSv3. In some cases,
  malloc()'s alignment may be sufficient.
    #error no posix_memalign or memalign aligned malloc
data/hyperscan-5.3.0/src/util/flat_containers.h:84: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 iter_wrapper &other) const { return it == other.it; }
data/hyperscan-5.3.0/src/util/graph_undirected.h:202:14:  [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 adj_edge_iterator &other) const {
data/hyperscan-5.3.0/src/util/graph_undirected.h:276:14:  [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 edge_iterator &other) const {
data/hyperscan-5.3.0/src/util/insertion_ordered.h:86: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 iter_wrapper &other) const { return it == other.it; }
data/hyperscan-5.3.0/src/util/multibit.h:810:20:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
    return lmask & umask;
data/hyperscan-5.3.0/src/util/pack_bits.h:167:28:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                u32 mask = read & ((1U << b) - 1);
data/hyperscan-5.3.0/src/util/pack_bits.h:176:26:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                v_out |= read << vidx;
data/hyperscan-5.3.0/src/util/pack_bits.h:205:29:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                u64a mask = read & ((1U << b) - 1);
data/hyperscan-5.3.0/src/util/pack_bits.h:214:26:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                v_out |= read << vidx;
data/hyperscan-5.3.0/src/util/ue2_graph.h:514:14:  [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 edge_iterator &other) const {
data/hyperscan-5.3.0/src/util/ue2string.cpp:386:12:  [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.
    return equal(a.begin(), a.end(), b.begin() + (blen - alen));
data/hyperscan-5.3.0/src/util/ue2string.h:124:14:  [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 const_iterator &other) const {
data/hyperscan-5.3.0/tools/hsbench/engine_hyperscan.cpp:422: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).
                lens[i] = strlen(patterns[i]);
data/hyperscan-5.3.0/tools/hsbench/engine_hyperscan.cpp:443: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).
                lens[i] = strlen(patterns[i]);
data/hyperscan-5.3.0/tools/hsbench/heapstats.cpp:71:30:  [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).
    const size_t begin_len = strlen(begin);
data/hyperscan-5.3.0/tools/hsbench/heapstats.cpp:75:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    ssize_t read;
data/hyperscan-5.3.0/tools/hsbench/huge.cpp:151:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    len = read(fd, buf, sizeof(buf));
data/hyperscan-5.3.0/tools/hsbench/huge.cpp:168:10:  [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).
    p += strlen(tag);
data/hyperscan-5.3.0/tools/hsbench/sqldb.cpp:97:12:  [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).
    while (strlen(pzTail)) {
data/hyperscan-5.3.0/tools/hsbench/sqldb.cpp:99:41:  [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).
            sqlite3_prepare(db, pzTail, strlen(pzTail), &statement, &pzTail);
data/hyperscan-5.3.0/tools/hsbench/sqldb.h:62:16:  [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).
        assert(strlen(tail) == 0);
data/hyperscan-5.3.0/tools/hscheck/main.cpp:327:30:  [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 = strlen(regexp);
data/hyperscan-5.3.0/tools/hscheck/main.cpp:338:30:  [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 = strlen(regexp);
data/hyperscan-5.3.0/tools/hscheck/main.cpp:368:18:  [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).
    for (int i = strlen(logical) - 1; i >= 0; i--) {
data/hyperscan-5.3.0/tools/hscollider/UltimateTruth.cpp:934: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).
            lens[i] = strlen(patterns[i]);
data/hyperscan-5.3.0/tools/hscollider/main.cpp:1844:18:  [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 = strlen(s);
data/hyperscan-5.3.0/tools/hsdump/main.cpp:514: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).
            lens[i] = strlen(patterns[i]);
data/hyperscan-5.3.0/unit/gtest/gtest-all.cc:2326:22:  [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).
  const int length = strlen(ansi);
data/hyperscan-5.3.0/unit/gtest/gtest-all.cc:2986:34:  [1] (buffer) wcslen:
  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).
    num_chars = static_cast<int>(wcslen(str));
data/hyperscan-5.3.0/unit/gtest/gtest-all.cc:4740:32:  [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).
      segment = next_segment + strlen("]]>");
data/hyperscan-5.3.0/unit/gtest/gtest-all.cc:4905:18:  [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).
  result.reserve(strlen(str) + 1);
data/hyperscan-5.3.0/unit/gtest/gtest-all.cc:6148: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).
  const size_t prefix_len = strlen(prefix);
data/hyperscan-5.3.0/unit/gtest/gtest-all.cc:8385: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).
  const size_t full_regex_len = strlen(regex) + 10;
data/hyperscan-5.3.0/unit/gtest/gtest-all.cc:8639:22:  [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).
  const size_t len = strlen(regex);
data/hyperscan-5.3.0/unit/gtest/gtest-all.cc:9328: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).
    PrintCharsAsStringTo(s, strlen(s), os);
data/hyperscan-5.3.0/unit/gtest/gtest-all.cc:9345:29:  [1] (buffer) wcslen:
  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).
    PrintCharsAsStringTo(s, wcslen(s), os);
data/hyperscan-5.3.0/unit/gtest/gtest.h:2869:10:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  return strncpy(dest, src, n);
data/hyperscan-5.3.0/unit/gtest/gtest.h:2891:27:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  return static_cast<int>(read(fd, buf, count));
data/hyperscan-5.3.0/unit/hyperscan/arg_checks.cpp:586:39:  [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).
    err = hs_scan_stream(stream, str, strlen(str), 0, scratch, singleHandler,
data/hyperscan-5.3.0/unit/hyperscan/arg_checks.cpp:590: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).
    ASSERT_EQ(lastMatchTo, strlen(str));
data/hyperscan-5.3.0/unit/hyperscan/arg_checks.cpp:594:39:  [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).
    err = hs_scan_stream(stream, str, strlen(str), 0, scratch, singleHandler,
data/hyperscan-5.3.0/unit/hyperscan/arg_checks.cpp:598:30:  [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).
    ASSERT_EQ(lastMatchTo, 2*strlen(str));
data/hyperscan-5.3.0/unit/hyperscan/behaviour.cpp:171:55:  [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).
        err = hs_scan_stream(stream, params.preBlock, strlen(params.preBlock),
data/hyperscan-5.3.0/unit/hyperscan/behaviour.cpp:186:56:  [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).
        err = hs_scan_stream(stream, params.postBlock, strlen(params.postBlock),
data/hyperscan-5.3.0/unit/hyperscan/behaviour.cpp:194:39:  [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).
        unsigned long long totalLen = strlen(params.preBlock) +
data/hyperscan-5.3.0/unit/hyperscan/behaviour.cpp:196:39:  [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).
                                      strlen(params.postBlock);
data/hyperscan-5.3.0/unit/hyperscan/behaviour.cpp:219:35:  [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).
    memcpy(data, params.preBlock, strlen(params.preBlock));
data/hyperscan-5.3.0/unit/hyperscan/behaviour.cpp:220: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).
    memcpy(data+len - strlen(params.postBlock), params.postBlock,
data/hyperscan-5.3.0/unit/hyperscan/behaviour.cpp:221:13:  [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).
            strlen(params.postBlock));
data/hyperscan-5.3.0/unit/hyperscan/behaviour.cpp:278:37:  [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).
        ASSERT_GE(UINT_MAX, bytes + strlen(params.postBlock));
data/hyperscan-5.3.0/unit/hyperscan/behaviour.cpp:288:56:  [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).
        allocAndScanBlock(params, db, scratch, bytes + strlen(params.postBlock));
data/hyperscan-5.3.0/unit/hyperscan/behaviour.cpp:509:38:  [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).
    err = hs_scan(db, params.corpus, strlen(params.corpus), 0, scratch,
data/hyperscan-5.3.0/unit/hyperscan/behaviour.cpp:545:49:  [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).
    err = hs_scan_stream(stream, params.corpus, strlen(params.corpus),
data/hyperscan-5.3.0/unit/hyperscan/behaviour.cpp:580:42:  [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).
    unsigned int len[] = { (unsigned int)strlen(params.corpus) };
data/hyperscan-5.3.0/unit/hyperscan/behaviour.cpp:647:24:  [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).
    unsigned int len = strlen(data);
data/hyperscan-5.3.0/unit/hyperscan/behaviour.cpp:731:24:  [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).
    unsigned int len = strlen(data);
data/hyperscan-5.3.0/unit/hyperscan/behaviour.cpp:742:25:  [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).
    unsigned int len2 = strlen(data2);
data/hyperscan-5.3.0/unit/hyperscan/behaviour.cpp:812:24:  [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).
    unsigned int len = strlen(data);
data/hyperscan-5.3.0/unit/hyperscan/behaviour.cpp:1300:41:  [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).
    err = hs_scan_stream(stream, dataA, strlen(dataA), 0, scratch, record_cb,
data/hyperscan-5.3.0/unit/hyperscan/behaviour.cpp:1405:41:  [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).
    err = hs_scan_stream(stream, dataA, strlen(dataA), 0, scratch, record_cb,
data/hyperscan-5.3.0/unit/hyperscan/behaviour.cpp:1448:41:  [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).
    err = hs_scan_stream(stream, dataA, strlen(dataA), 0, scratch, record_cb,
data/hyperscan-5.3.0/unit/hyperscan/behaviour.cpp:1490:41:  [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).
    err = hs_scan_stream(stream, dataA, strlen(dataA), 0, scratch, record_cb,
data/hyperscan-5.3.0/unit/hyperscan/order.cpp:84: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).
    err = hs_scan(db, data, strlen(data), 0, scratch, record_cb,
data/hyperscan-5.3.0/unit/hyperscan/order.cpp:116: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).
    err = hs_scan(db, data, strlen(data), 0, scratch, record_cb,
data/hyperscan-5.3.0/unit/hyperscan/order.cpp:147: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).
    err = hs_scan(db, data, strlen(data), 0, scratch, record_cb,
data/hyperscan-5.3.0/unit/hyperscan/order.cpp:178: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).
    err = hs_scan(db, data, strlen(data), 0, scratch, record_cb,
data/hyperscan-5.3.0/unit/hyperscan/order.cpp:218:34:  [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).
        for (unsigned i = 0; i < strlen(data); i += jump) {
data/hyperscan-5.3.0/unit/hyperscan/order.cpp:219:62:  [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).
            err = hs_scan_stream(stream, data + i, min(jump, strlen(data) - i),
data/hyperscan-5.3.0/unit/hyperscan/order.cpp:261:34:  [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).
        for (unsigned i = 0; i < strlen(data); i += jump) {
data/hyperscan-5.3.0/unit/hyperscan/order.cpp:262:62:  [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).
            err = hs_scan_stream(stream, data + i, min(jump, strlen(data) - i),
data/hyperscan-5.3.0/unit/hyperscan/order.cpp:303:34:  [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).
        for (unsigned i = 0; i < strlen(data); i += jump) {
data/hyperscan-5.3.0/unit/hyperscan/order.cpp:304:62:  [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).
            err = hs_scan_stream(stream, data + i, min(jump, strlen(data) - i),
data/hyperscan-5.3.0/unit/hyperscan/order.cpp:345:34:  [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).
        for (unsigned i = 0; i < strlen(data); i += jump) {
data/hyperscan-5.3.0/unit/hyperscan/order.cpp:346:62:  [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).
            err = hs_scan_stream(stream, data + i, min(jump, strlen(data) - i),
data/hyperscan-5.3.0/unit/hyperscan/single.cpp:523:36:  [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).
    err = hs_scan(db, data.corpus, strlen(data.corpus), 0, scratch,
data/hyperscan-5.3.0/unit/hyperscan/single.cpp:542:36:  [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).
    err = hs_scan(db, data.corpus, strlen(data.corpus), 0, scratch,
data/hyperscan-5.3.0/unit/hyperscan/single.cpp:567:47:  [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).
    err = hs_scan_stream(stream, data.corpus, strlen(data.corpus), 0, scratch,
data/hyperscan-5.3.0/unit/hyperscan/single.cpp:593:18:  [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 = strlen(data.corpus);
data/hyperscan-5.3.0/unit/hyperscan/stream_op.cpp:144:41:  [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).
    err = hs_scan_stream(stream, data1, strlen(data1), 0, scratch, record_cb,
data/hyperscan-5.3.0/unit/hyperscan/stream_op.cpp:175:41:  [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).
    err = hs_scan_stream(stream, part1, strlen(part1), 0, scratch, record_cb,
data/hyperscan-5.3.0/unit/hyperscan/stream_op.cpp:181:41:  [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).
    err = hs_scan_stream(stream, part2, strlen(part2), 0, scratch, record_cb,
data/hyperscan-5.3.0/unit/hyperscan/stream_op.cpp:558:41:  [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).
    err = hs_scan_stream(stream, data1, strlen(data1), 0, scratch, record_cb,
data/hyperscan-5.3.0/unit/internal/fdr.cpp:412: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 data_len = strlen(data);
data/hyperscan-5.3.0/unit/internal/fdr.cpp:452:24:  [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 data_len1 = strlen(data1);
data/hyperscan-5.3.0/unit/internal/fdr.cpp:453:24:  [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 data_len2 = strlen(data2);
data/hyperscan-5.3.0/unit/internal/fdr.cpp:700:24:  [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 data_len1 = strlen(data1);
data/hyperscan-5.3.0/unit/internal/fdr.cpp:701:24:  [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 data_len2 = strlen(data2);
data/hyperscan-5.3.0/unit/internal/fdr.cpp:724:24:  [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 data_len1 = strlen(data1);
data/hyperscan-5.3.0/unit/internal/flat_map.cpp:287:22:  [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.
    ASSERT_TRUE(std::equal(f.begin(), f.end(), vec.begin()));
data/hyperscan-5.3.0/unit/internal/flat_map.cpp:288:22:  [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.
    ASSERT_TRUE(std::equal(f.rbegin(), f.rend(), vec.rbegin()));
data/hyperscan-5.3.0/unit/internal/flat_set.cpp:301:22:  [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.
    ASSERT_TRUE(std::equal(f.begin(), f.end(), vec.begin()));
data/hyperscan-5.3.0/unit/internal/flat_set.cpp:302:22:  [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.
    ASSERT_TRUE(std::equal(f.rbegin(), f.rend(), vec.rbegin()));
data/hyperscan-5.3.0/unit/internal/limex_nfa.cpp:195:22:  [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.
    ASSERT_TRUE(std::equal(dest, dest + real_state_size, full_state.get()));
data/hyperscan-5.3.0/unit/internal/rvermicelli.cpp:42:46:  [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).
            const u8 *end = (const u8 *)t1 + strlen(t1) - j;
data/hyperscan-5.3.0/unit/internal/rvermicelli.cpp:61:50:  [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).
                                      (u8 *)t1 + strlen(t1) - i);
data/hyperscan-5.3.0/unit/internal/rvermicelli.cpp:65:63:  [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).
        rv = rvermicelliExec('A', 1, (u8 *)t1 + i, (u8 *)t1 + strlen(t1));
data/hyperscan-5.3.0/unit/internal/rvermicelli.cpp:76:51:  [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).
                                       (u8 *)t1 + strlen(t1) - i);
data/hyperscan-5.3.0/unit/internal/rvermicelli.cpp:80:59:  [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).
        rv = rvermicelliExec('A', 1, (u8 *)t1, (u8 *)t1 + strlen(t1) - i);
data/hyperscan-5.3.0/unit/internal/rvermicelli.cpp:91:50:  [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).
                                      (u8 *)t1 + strlen(t1) - i);
data/hyperscan-5.3.0/unit/internal/rvermicelli.cpp:95:59:  [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).
        rv = rvermicelliExec('A', 1, (u8 *)t1, (u8 *)t1 + strlen(t1) - i);
data/hyperscan-5.3.0/unit/internal/rvermicelli.cpp:106:69:  [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).
        const u8 *rv = rvermicelliExec('a', 0, (u8 *)t1, (u8 *)t1 + strlen(t1));
data/hyperscan-5.3.0/unit/internal/rvermicelli.cpp:110:59:  [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).
        rv = rvermicelliExec('A', 1, (u8 *)t1, (u8 *)t1 + strlen(t1));
data/hyperscan-5.3.0/unit/internal/rvermicelli.cpp:121:50:  [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).
                                      (u8 *)t1 + strlen(t1) - i);
data/hyperscan-5.3.0/unit/internal/rvermicelli.cpp:126:40:  [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).
                            (u8 *)t1 + strlen(t1));
data/hyperscan-5.3.0/unit/internal/rvermicelli.cpp:131:40:  [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).
                            (u8 *)t1 + strlen(t1));
data/hyperscan-5.3.0/unit/internal/rvermicelli.cpp:136:40:  [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).
                            (u8 *)t1 + strlen(t1));
data/hyperscan-5.3.0/unit/internal/rvermicelli.cpp:147:50:  [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).
                                      (u8 *)t1 + strlen(t1) - i);
data/hyperscan-5.3.0/unit/internal/rvermicelli.cpp:152:40:  [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).
                            (u8 *)t1 + strlen(t1) - i);
data/hyperscan-5.3.0/unit/internal/rvermicelli.cpp:164:50:  [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).
                                      (u8 *)t1 + strlen(t1) - i );
data/hyperscan-5.3.0/unit/internal/rvermicelli.cpp:169:46:  [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).
                                  (u8 *)t1 + strlen(t1) - i);
data/hyperscan-5.3.0/unit/internal/rvermicelli.cpp:174:46:  [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).
                                  (u8 *)t1 + strlen(t1) - i);
data/hyperscan-5.3.0/unit/internal/rvermicelli.cpp:179:46:  [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).
                                  (u8 *)t1 + strlen(t1) - i);
data/hyperscan-5.3.0/unit/internal/rvermicelli.cpp:192:56:  [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).
                                            (u8 *)t1 + strlen(t1));
data/hyperscan-5.3.0/unit/internal/rvermicelli.cpp:195:70:  [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).
        rv = rvermicelliDoubleExec('A', 'A', 1, (u8 *)t1, (u8 *)t1 + strlen(t1));
data/hyperscan-5.3.0/unit/internal/rvermicelli.cpp:206:16:  [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).
            t1[strlen(t1) - i - j] = 'a';
data/hyperscan-5.3.0/unit/internal/rvermicelli.cpp:208:61:  [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).
                                                 (u8 *)t1 + strlen(t1) - i);
data/hyperscan-5.3.0/unit/internal/rvermicelli.cpp:210:35:  [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).
            ASSERT_EQ((size_t)&t1[strlen(t1) - i - j], (size_t)rv);
data/hyperscan-5.3.0/unit/internal/rvermicelli.cpp:213:51:  [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).
                                       (u8 *)t1 + strlen(t1) -i );
data/hyperscan-5.3.0/unit/internal/rvermicelli.cpp:215:35:  [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).
            ASSERT_EQ((size_t)&t1[strlen(t1) - i - j], (size_t)rv);
data/hyperscan-5.3.0/unit/internal/rvermicelli.cpp:217:16:  [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).
            t1[strlen(t1) - i - j] = 'b';
data/hyperscan-5.3.0/unit/internal/shufti.cpp:122:68:  [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).
        const u8 *rv = shuftiExec(lo, hi, (u8 *)t1 + i, (u8 *)t1 + strlen(t1));
data/hyperscan-5.3.0/unit/internal/shufti.cpp:124: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).
        ASSERT_LE(((size_t)t1 + strlen(t1)) & ~0xf, (size_t)rv);
data/hyperscan-5.3.0/unit/internal/shufti.cpp:141:68:  [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).
        const u8 *rv = shuftiExec(lo, hi, (u8 *)t1 + i, (u8 *)t1 + strlen(t1));
data/hyperscan-5.3.0/unit/internal/shufti.cpp:143: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).
        ASSERT_LE(((size_t)t1 + strlen(t1)) & ~0xf, (size_t)rv);
data/hyperscan-5.3.0/unit/internal/shufti.cpp:159:68:  [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).
        const u8 *rv = shuftiExec(lo, hi, (u8 *)t1 + i, (u8 *)t1 + strlen(t1));
data/hyperscan-5.3.0/unit/internal/shufti.cpp:161: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).
        ASSERT_LE(((size_t)t1 + strlen(t1)) & ~0xf, (size_t)rv);
data/hyperscan-5.3.0/unit/internal/shufti.cpp:178:68:  [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).
        const u8 *rv = shuftiExec(lo, hi, (u8 *)t1 + i, (u8 *)t1 + strlen(t1));
data/hyperscan-5.3.0/unit/internal/shufti.cpp:197:68:  [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).
        const u8 *rv = shuftiExec(lo, hi, (u8 *)t1 + i, (u8 *)t1 + strlen(t1));
data/hyperscan-5.3.0/unit/internal/shufti.cpp:217:68:  [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).
        const u8 *rv = shuftiExec(lo, hi, (u8 *)t1 + i, (u8 *)t1 + strlen(t1));
data/hyperscan-5.3.0/unit/internal/shufti.cpp:242:68:  [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).
        const u8 *rv = shuftiExec(lo, hi, (u8 *)t1 + i, (u8 *)t1 + strlen(t1));
data/hyperscan-5.3.0/unit/internal/shufti.cpp:246:58:  [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).
        rv = shuftiExec(lo, hi, (u8 *)t2 + i, (u8 *)t2 + strlen(t1));
data/hyperscan-5.3.0/unit/internal/shufti.cpp:250:58:  [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).
        rv = shuftiExec(lo, hi, (u8 *)t3 + i, (u8 *)t3 + strlen(t3));
data/hyperscan-5.3.0/unit/internal/shufti.cpp:254:58:  [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).
        rv = shuftiExec(lo, hi, (u8 *)t4 + i, (u8 *)t4 + strlen(t4));
data/hyperscan-5.3.0/unit/internal/shufti.cpp:273:64:  [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).
        const u8 *rv = shuftiExec(lo, hi, (u8 *)t1, (u8 *)t1 + strlen(t1));
data/hyperscan-5.3.0/unit/internal/shufti.cpp:496:66:  [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).
                                        (u8 *)t1 + i, (u8 *)t1 + strlen(t1));
data/hyperscan-5.3.0/unit/internal/shufti.cpp:498: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).
        ASSERT_LE(((size_t)t1 + strlen(t1)) & ~0xf, (size_t)rv);
data/hyperscan-5.3.0/unit/internal/shufti.cpp:517:66:  [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).
                                        (u8 *)t1 + i, (u8 *)t1 + strlen(t1));
data/hyperscan-5.3.0/unit/internal/shufti.cpp:539:66:  [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).
                                        (u8 *)t1 + i, (u8 *)t1 + strlen(t1));
data/hyperscan-5.3.0/unit/internal/shufti.cpp:541: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).
        ASSERT_LE(((size_t)t1 + strlen(t1)) & ~0xf, (size_t)rv);
data/hyperscan-5.3.0/unit/internal/shufti.cpp:561:52:  [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).
                                        (u8 *)t1 + strlen(t1));
data/hyperscan-5.3.0/unit/internal/shufti.cpp:582:66:  [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).
                                        (u8 *)t1 + i, (u8 *)t1 + strlen(t1));
data/hyperscan-5.3.0/unit/internal/shufti.cpp:584: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).
        ASSERT_LE(((size_t)t1 + strlen(t1)) & ~0xf, (size_t)rv);
data/hyperscan-5.3.0/unit/internal/shufti.cpp:603:66:  [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).
                                        (u8 *)t1 + i, (u8 *)t1 + strlen(t1));
data/hyperscan-5.3.0/unit/internal/shufti.cpp:625:66:  [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).
                                        (u8 *)t1 + i, (u8 *)t1 + strlen(t1));
data/hyperscan-5.3.0/unit/internal/shufti.cpp:647:66:  [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).
                                        (u8 *)t1 + i, (u8 *)t1 + strlen(t1));
data/hyperscan-5.3.0/unit/internal/shufti.cpp:669:66:  [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).
                                        (u8 *)t1 + i, (u8 *)t1 + strlen(t1));
data/hyperscan-5.3.0/unit/internal/shufti.cpp:692:66:  [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).
                                        (u8 *)t1 + i, (u8 *)t1 + strlen(t1));
data/hyperscan-5.3.0/unit/internal/shufti.cpp:720:66:  [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).
                                        (u8 *)t1 + i, (u8 *)t1 + strlen(t1));
data/hyperscan-5.3.0/unit/internal/shufti.cpp:725:56:  [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).
                              (u8 *)t2 + i, (u8 *)t2 + strlen(t2));
data/hyperscan-5.3.0/unit/internal/shufti.cpp:730:55:  [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).
                              (u8 *)t3+ i, (u8 *)t3 + strlen(t3));
data/hyperscan-5.3.0/unit/internal/shufti.cpp:735:56:  [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).
                              (u8 *)t4 + i, (u8 *)t4 + strlen(t4));
data/hyperscan-5.3.0/unit/internal/shufti.cpp:763:66:  [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).
                                        (u8 *)t1 + i, (u8 *)t1 + strlen(t1));
data/hyperscan-5.3.0/unit/internal/shufti.cpp:768:56:  [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).
                              (u8 *)t2 + i, (u8 *)t2 + strlen(t2));
data/hyperscan-5.3.0/unit/internal/shufti.cpp:773:55:  [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).
                              (u8 *)t3+ i, (u8 *)t3 + strlen(t3));
data/hyperscan-5.3.0/unit/internal/shufti.cpp:778:56:  [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).
                              (u8 *)t4 + i, (u8 *)t4 + strlen(t4));
data/hyperscan-5.3.0/unit/internal/shufti.cpp:801:62:  [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).
                                        (u8 *)t1, (u8 *)t1 + strlen(t1));
data/hyperscan-5.3.0/unit/internal/shufti.cpp:825:62:  [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).
                                        (u8 *)t1, (u8 *)t1 + strlen(t1));
data/hyperscan-5.3.0/unit/internal/shufti.cpp:851:62:  [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).
                                        (u8 *)t1, (u8 *)t1 + strlen(t1));
data/hyperscan-5.3.0/unit/internal/shufti.cpp:860:62:  [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).
                                        (u8 *)t2, (u8 *)t2 + strlen(t1));
data/hyperscan-5.3.0/unit/internal/shufti.cpp:915:18:  [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 = strlen(t1);
data/hyperscan-5.3.0/unit/internal/shufti.cpp:935:18:  [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 = strlen(t1);
data/hyperscan-5.3.0/unit/internal/shufti.cpp:954:18:  [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 = strlen(t1);
data/hyperscan-5.3.0/unit/internal/shufti.cpp:973:18:  [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 = strlen(t1);
data/hyperscan-5.3.0/unit/internal/shufti.cpp:994:18:  [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 = strlen(t1);
data/hyperscan-5.3.0/unit/internal/shufti.cpp:1016:18:  [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 = strlen(t1);
data/hyperscan-5.3.0/unit/internal/shufti.cpp:1053:18:  [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 = strlen(t1);
data/hyperscan-5.3.0/unit/internal/shufti.cpp:1084:18:  [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 = strlen(t1);
data/hyperscan-5.3.0/unit/internal/truffle.cpp:108:75:  [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).
        const u8 *rv = truffleExec(mask1, mask2, (u8 *)t1 + i, (u8 *)t1 + strlen(t1));
data/hyperscan-5.3.0/unit/internal/truffle.cpp:110:32:  [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).
        ASSERT_EQ((size_t)t1 + strlen(t1), (size_t)rv);
data/hyperscan-5.3.0/unit/internal/truffle.cpp:127:75:  [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).
        const u8 *rv = truffleExec(mask1, mask2, (u8 *)t1 + i, (u8 *)t1 + strlen(t1));
data/hyperscan-5.3.0/unit/internal/truffle.cpp:129:32:  [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).
        ASSERT_EQ((size_t)t1 + strlen(t1), (size_t)rv);
data/hyperscan-5.3.0/unit/internal/truffle.cpp:145:75:  [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).
        const u8 *rv = truffleExec(mask1, mask2, (u8 *)t1 + i, (u8 *)t1 + strlen(t1));
data/hyperscan-5.3.0/unit/internal/truffle.cpp:147:32:  [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).
        ASSERT_EQ((size_t)t1 + strlen(t1), (size_t)rv);
data/hyperscan-5.3.0/unit/internal/truffle.cpp:161:61:  [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).
    const u8 *rv = truffleExec(lo, hi, (u8 *)t1, (u8 *)t1 + strlen(t1));
data/hyperscan-5.3.0/unit/internal/truffle.cpp:176:61:  [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).
    const u8 *rv = truffleExec(lo, hi, (u8 *)t1, (u8 *)t1 + strlen(t1));
data/hyperscan-5.3.0/unit/internal/truffle.cpp:243:75:  [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).
        const u8 *rv = truffleExec(mask1, mask2, (u8 *)t1 + i, (u8 *)t1 + strlen(t1));
data/hyperscan-5.3.0/unit/internal/truffle.cpp:262:75:  [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).
        const u8 *rv = truffleExec(mask1, mask2, (u8 *)t1 + i, (u8 *)t1 + strlen(t1));
data/hyperscan-5.3.0/unit/internal/truffle.cpp:282:75:  [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).
        const u8 *rv = truffleExec(mask1, mask2, (u8 *)t1 + i, (u8 *)t1 + strlen(t1));
data/hyperscan-5.3.0/unit/internal/truffle.cpp:307:75:  [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).
        const u8 *rv = truffleExec(mask1, mask2, (u8 *)t1 + i, (u8 *)t1 + strlen(t1));
data/hyperscan-5.3.0/unit/internal/truffle.cpp:311:65:  [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).
        rv = truffleExec(mask1, mask2, (u8 *)t2 + i, (u8 *)t2 + strlen(t1));
data/hyperscan-5.3.0/unit/internal/truffle.cpp:315:65:  [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).
        rv = truffleExec(mask1, mask2, (u8 *)t3 + i, (u8 *)t3 + strlen(t3));
data/hyperscan-5.3.0/unit/internal/truffle.cpp:319:65:  [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).
        rv = truffleExec(mask1, mask2, (u8 *)t4 + i, (u8 *)t4 + strlen(t4));
data/hyperscan-5.3.0/unit/internal/truffle.cpp:338:71:  [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).
        const u8 *rv = truffleExec(mask1, mask2, (u8 *)t1, (u8 *)t1 + strlen(t1));
data/hyperscan-5.3.0/unit/internal/truffle.cpp:396:18:  [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 = strlen(t1);
data/hyperscan-5.3.0/unit/internal/truffle.cpp:416:18:  [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 = strlen(t1);
data/hyperscan-5.3.0/unit/internal/truffle.cpp:434:18:  [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 = strlen(t1);
data/hyperscan-5.3.0/unit/internal/truffle.cpp:452:62:  [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).
    const u8 *rv = rtruffleExec(lo, hi, (u8 *)t1, (u8 *)t1 + strlen(t1));
data/hyperscan-5.3.0/unit/internal/truffle.cpp:467:18:  [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 = strlen(t1);
data/hyperscan-5.3.0/unit/internal/truffle.cpp:485:18:  [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 = strlen(t1);
data/hyperscan-5.3.0/unit/internal/truffle.cpp:504:18:  [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 = strlen(t1);
data/hyperscan-5.3.0/unit/internal/truffle.cpp:524:18:  [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 = strlen(t1);
data/hyperscan-5.3.0/unit/internal/truffle.cpp:545:18:  [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 = strlen(t1);
data/hyperscan-5.3.0/unit/internal/truffle.cpp:581:18:  [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 = strlen(t1);
data/hyperscan-5.3.0/unit/internal/truffle.cpp:611:18:  [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 = strlen(t1);
data/hyperscan-5.3.0/unit/internal/vermicelli.cpp:40:54:  [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).
                                          (u8 *)t1 + strlen(t1) - j);
data/hyperscan-5.3.0/unit/internal/vermicelli.cpp:42:37:  [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).
            ASSERT_EQ(((size_t)t1 + strlen(t1) - j), (size_t)rv);
data/hyperscan-5.3.0/unit/internal/vermicelli.cpp:45:44:  [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).
                                (u8 *)t1 + strlen(t1) - j);
data/hyperscan-5.3.0/unit/internal/vermicelli.cpp:47:37:  [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).
            ASSERT_EQ(((size_t)t1 + strlen(t1) - j), (size_t)rv);
data/hyperscan-5.3.0/unit/internal/vermicelli.cpp:50:44:  [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).
                                (u8 *)t1 + strlen(t1) - j);
data/hyperscan-5.3.0/unit/internal/vermicelli.cpp:52:37:  [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).
            ASSERT_EQ(((size_t)t1 + strlen(t1) - j), (size_t)rv);
data/hyperscan-5.3.0/unit/internal/vermicelli.cpp:62:50:  [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).
                                      (u8 *)t1 + strlen(t1));
data/hyperscan-5.3.0/unit/internal/vermicelli.cpp:67:40:  [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).
                            (u8 *)t1 + strlen(t1));
data/hyperscan-5.3.0/unit/internal/vermicelli.cpp:78:50:  [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).
                                      (u8 *)t1 + strlen(t1));
data/hyperscan-5.3.0/unit/internal/vermicelli.cpp:83:40:  [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).
                            (u8 *)t1 + strlen(t1));
data/hyperscan-5.3.0/unit/internal/vermicelli.cpp:94:50:  [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).
                                      (u8 *)t1 + strlen(t1));
data/hyperscan-5.3.0/unit/internal/vermicelli.cpp:99:40:  [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).
                            (u8 *)t1 + strlen(t1));
data/hyperscan-5.3.0/unit/internal/vermicelli.cpp:111:68:  [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).
        const u8 *rv = vermicelliExec('a', 0, (u8 *)t1, (u8 *)t1 + strlen(t1));
data/hyperscan-5.3.0/unit/internal/vermicelli.cpp:115:58:  [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).
        rv = vermicelliExec('A', 1, (u8 *)t1, (u8 *)t1 + strlen(t1));
data/hyperscan-5.3.0/unit/internal/vermicelli.cpp:127:60:  [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).
                                                (u8 *)t1 + strlen(t1) - j);
data/hyperscan-5.3.0/unit/internal/vermicelli.cpp:129:37:  [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).
            ASSERT_EQ(((size_t)t1 + strlen(t1) - j), (size_t)rv);
data/hyperscan-5.3.0/unit/internal/vermicelli.cpp:132:44:  [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).
                                (u8 *)t1 + strlen(t1) - j);
data/hyperscan-5.3.0/unit/internal/vermicelli.cpp:134:37:  [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).
            ASSERT_EQ(((size_t)t1 + strlen(t1) - j), (size_t)rv);
data/hyperscan-5.3.0/unit/internal/vermicelli.cpp:137:44:  [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).
                                (u8 *)t1 + strlen(t1) - j);
data/hyperscan-5.3.0/unit/internal/vermicelli.cpp:139:37:  [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).
            ASSERT_EQ(((size_t)t1 + strlen(t1) - j), (size_t)rv);
data/hyperscan-5.3.0/unit/internal/vermicelli.cpp:143:44:  [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).
                                (u8 *)t1 + strlen(t1) - j);
data/hyperscan-5.3.0/unit/internal/vermicelli.cpp:145:37:  [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).
            ASSERT_EQ(((size_t)t1 + strlen(t1) - j - 1), (size_t)rv);
data/hyperscan-5.3.0/unit/internal/vermicelli.cpp:149:44:  [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).
                                (u8 *)t1 + strlen(t1) - j);
data/hyperscan-5.3.0/unit/internal/vermicelli.cpp:151:37:  [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).
            ASSERT_EQ(((size_t)t1 + strlen(t1) - j - 1), (size_t)rv);
data/hyperscan-5.3.0/unit/internal/vermicelli.cpp:161:50:  [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).
                                      (u8 *)t1 + strlen(t1));
data/hyperscan-5.3.0/unit/internal/vermicelli.cpp:166:40:  [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).
                            (u8 *)t1 + strlen(t1));
data/hyperscan-5.3.0/unit/internal/vermicelli.cpp:171:40:  [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).
                            (u8 *)t1 + strlen(t1));
data/hyperscan-5.3.0/unit/internal/vermicelli.cpp:176:40:  [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).
                            (u8 *)t1 + strlen(t1));
data/hyperscan-5.3.0/unit/internal/vermicelli.cpp:187:50:  [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).
                                      (u8 *)t1 + strlen(t1));
data/hyperscan-5.3.0/unit/internal/vermicelli.cpp:192:40:  [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).
                            (u8 *)t1 + strlen(t1));
data/hyperscan-5.3.0/unit/internal/vermicelli.cpp:204:50:  [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).
                                      (u8 *)t1 + strlen(t1));
data/hyperscan-5.3.0/unit/internal/vermicelli.cpp:209:46:  [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).
                                  (u8 *)t1 + strlen(t1));
data/hyperscan-5.3.0/unit/internal/vermicelli.cpp:214:46:  [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).
                                  (u8 *)t1 + strlen(t1));
data/hyperscan-5.3.0/unit/internal/vermicelli.cpp:219:46:  [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).
                                  (u8 *)t1 + strlen(t1));
data/hyperscan-5.3.0/unit/internal/vermicelli.cpp:233:56:  [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).
                                            (u8 *)t1 + strlen(t1));
data/hyperscan-5.3.0/unit/internal/vermicelli.cpp:237:69:  [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).
        rv = vermicelliDoubleExec('A', 'A', 1, (u8 *)t1, (u8 *)t1 + strlen(t1));
data/hyperscan-5.3.0/unit/internal/vermicelli.cpp:269:54:  [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).
                                          (u8 *)t1 + strlen(t1) - j);
data/hyperscan-5.3.0/unit/internal/vermicelli.cpp:271:37:  [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).
            ASSERT_EQ(((size_t)t1 + strlen(t1) - j), (size_t)rv);
data/hyperscan-5.3.0/unit/internal/vermicelli.cpp:274:44:  [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).
                                (u8 *)t1 + strlen(t1) - j);
data/hyperscan-5.3.0/unit/internal/vermicelli.cpp:276:37:  [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).
            ASSERT_EQ(((size_t)t1 + strlen(t1) - j), (size_t)rv);
data/hyperscan-5.3.0/unit/internal/vermicelli.cpp:287:50:  [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).
                                      (u8 *)t1 + strlen(t1));
data/hyperscan-5.3.0/unit/internal/vermicelli.cpp:292:40:  [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).
                            (u8 *)t1 + strlen(t1));
data/hyperscan-5.3.0/unit/internal/vermicelli.cpp:304:50:  [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).
                                      (u8 *)t1 + strlen(t1));
data/hyperscan-5.3.0/unit/internal/vermicelli.cpp:309:40:  [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).
                            (u8 *)t1 + strlen(t1));
data/hyperscan-5.3.0/unit/internal/vermicelli.cpp:321:50:  [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).
                                      (u8 *)t1 + strlen(t1));
data/hyperscan-5.3.0/unit/internal/vermicelli.cpp:326:40:  [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).
                            (u8 *)t1 + strlen(t1));
data/hyperscan-5.3.0/unit/internal/vermicelli.cpp:338:69:  [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).
        const u8 *rv = nvermicelliExec('b', 0, (u8 *)t1, (u8 *)t1 + strlen(t1));
data/hyperscan-5.3.0/unit/internal/vermicelli.cpp:342:59:  [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).
        rv = nvermicelliExec('B', 1, (u8 *)t1, (u8 *)t1 + strlen(t1));
data/hyperscan-5.3.0/util/database_util.cpp:117:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    is.read(bytes, len);
data/hyperscan-5.3.0/util/win_getopt.h:68: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.
    char *check, *equal;
data/hyperscan-5.3.0/util/win_getopt.h:131:15:  [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.
            ++equal;
data/hyperscan-5.3.0/util/win_getopt.h:133: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).
            current_opt_len = strlen(ptr);
data/hyperscan-5.3.0/util/win_getopt.h:148:21:  [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 (equal) {
data/hyperscan-5.3.0/util/win_getopt.h:149:30:  [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.
                    optarg = equal;
data/hyperscan-5.3.0/util/win_getopt.h:158:63:  [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 (long_options[match].has_arg == no_argument && equal) {

ANALYSIS SUMMARY:

Hits = 589
Lines analyzed = 261731 in approximately 6.54 seconds (40044 lines/second)
Physical Source Lines of Code (SLOC) = 178569
Hits@level = [0] 1143 [1] 263 [2] 283 [3]  29 [4]  14 [5]   0
Hits@level+ = [0+] 1732 [1+] 589 [2+] 326 [3+]  43 [4+]  14 [5+]   0
Hits/KSLOC@level+ = [0+] 9.69933 [1+] 3.29844 [2+] 1.82562 [3+] 0.240803 [4+] 0.0784011 [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.