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/android-platform-art-8.1.0+r23/benchmark/jni-perf/perf_jni.cc Examining data/android-platform-art-8.1.0+r23/benchmark/jni_loader.cc Examining data/android-platform-art-8.1.0+r23/benchmark/jobject-benchmark/jobject_benchmark.cc Examining data/android-platform-art-8.1.0+r23/benchmark/micro-native/micro_native.cc Examining data/android-platform-art-8.1.0+r23/benchmark/scoped-primitive-array/scoped_primitive_array.cc Examining data/android-platform-art-8.1.0+r23/cmdline/cmdline.h Examining data/android-platform-art-8.1.0+r23/cmdline/cmdline_parse_result.h Examining data/android-platform-art-8.1.0+r23/cmdline/cmdline_parser.h Examining data/android-platform-art-8.1.0+r23/cmdline/cmdline_parser_test.cc Examining data/android-platform-art-8.1.0+r23/cmdline/cmdline_result.h Examining data/android-platform-art-8.1.0+r23/cmdline/cmdline_type_parser.h Examining data/android-platform-art-8.1.0+r23/cmdline/cmdline_types.h Examining data/android-platform-art-8.1.0+r23/cmdline/detail/cmdline_debug_detail.h Examining data/android-platform-art-8.1.0+r23/cmdline/detail/cmdline_parse_argument_detail.h Examining data/android-platform-art-8.1.0+r23/cmdline/detail/cmdline_parser_detail.h Examining data/android-platform-art-8.1.0+r23/cmdline/memory_representation.h Examining data/android-platform-art-8.1.0+r23/cmdline/token_range.h Examining data/android-platform-art-8.1.0+r23/cmdline/unit.h Examining data/android-platform-art-8.1.0+r23/compiler/cfi_test.h Examining data/android-platform-art-8.1.0+r23/compiler/common_compiler_test.cc Examining data/android-platform-art-8.1.0+r23/compiler/common_compiler_test.h Examining data/android-platform-art-8.1.0+r23/compiler/compiled_method.cc Examining data/android-platform-art-8.1.0+r23/compiler/compiled_method.h Examining data/android-platform-art-8.1.0+r23/compiler/compiled_method_test.cc Examining data/android-platform-art-8.1.0+r23/compiler/compiler.cc Examining data/android-platform-art-8.1.0+r23/compiler/compiler.h Examining data/android-platform-art-8.1.0+r23/compiler/debug/dwarf/debug_abbrev_writer.h Examining data/android-platform-art-8.1.0+r23/compiler/debug/dwarf/debug_frame_opcode_writer.h Examining data/android-platform-art-8.1.0+r23/compiler/debug/dwarf/debug_info_entry_writer.h Examining data/android-platform-art-8.1.0+r23/compiler/debug/dwarf/debug_line_opcode_writer.h Examining data/android-platform-art-8.1.0+r23/compiler/debug/dwarf/dwarf_constants.h Examining data/android-platform-art-8.1.0+r23/compiler/debug/dwarf/dwarf_test.cc Examining data/android-platform-art-8.1.0+r23/compiler/debug/dwarf/dwarf_test.h Examining data/android-platform-art-8.1.0+r23/compiler/debug/dwarf/expression.h Examining data/android-platform-art-8.1.0+r23/compiler/debug/dwarf/headers.h Examining data/android-platform-art-8.1.0+r23/compiler/debug/dwarf/register.h Examining data/android-platform-art-8.1.0+r23/compiler/debug/dwarf/writer.h Examining data/android-platform-art-8.1.0+r23/compiler/debug/elf_compilation_unit.h Examining data/android-platform-art-8.1.0+r23/compiler/debug/elf_debug_frame_writer.h Examining data/android-platform-art-8.1.0+r23/compiler/debug/elf_debug_info_writer.h Examining data/android-platform-art-8.1.0+r23/compiler/debug/elf_debug_line_writer.h Examining data/android-platform-art-8.1.0+r23/compiler/debug/elf_debug_loc_writer.h Examining data/android-platform-art-8.1.0+r23/compiler/debug/elf_debug_writer.cc Examining data/android-platform-art-8.1.0+r23/compiler/debug/elf_debug_writer.h Examining data/android-platform-art-8.1.0+r23/compiler/debug/elf_gnu_debugdata_writer.h Examining data/android-platform-art-8.1.0+r23/compiler/debug/elf_symtab_writer.h Examining data/android-platform-art-8.1.0+r23/compiler/debug/method_debug_info.h Examining data/android-platform-art-8.1.0+r23/compiler/dex/dex_to_dex_compiler.cc Examining data/android-platform-art-8.1.0+r23/compiler/dex/dex_to_dex_compiler.h Examining data/android-platform-art-8.1.0+r23/compiler/dex/dex_to_dex_decompiler_test.cc Examining data/android-platform-art-8.1.0+r23/compiler/dex/inline_method_analyser.cc Examining data/android-platform-art-8.1.0+r23/compiler/dex/inline_method_analyser.h Examining data/android-platform-art-8.1.0+r23/compiler/dex/quick_compiler_callbacks.cc Examining data/android-platform-art-8.1.0+r23/compiler/dex/quick_compiler_callbacks.h Examining data/android-platform-art-8.1.0+r23/compiler/dex/verification_results.cc Examining data/android-platform-art-8.1.0+r23/compiler/dex/verification_results.h Examining data/android-platform-art-8.1.0+r23/compiler/dex/verified_method.cc Examining data/android-platform-art-8.1.0+r23/compiler/dex/verified_method.h Examining data/android-platform-art-8.1.0+r23/compiler/driver/compiled_method_storage.cc Examining data/android-platform-art-8.1.0+r23/compiler/driver/compiled_method_storage.h Examining data/android-platform-art-8.1.0+r23/compiler/driver/compiled_method_storage_test.cc Examining data/android-platform-art-8.1.0+r23/compiler/driver/compiler_driver-inl.h Examining data/android-platform-art-8.1.0+r23/compiler/driver/compiler_driver.cc Examining data/android-platform-art-8.1.0+r23/compiler/driver/compiler_driver.h Examining data/android-platform-art-8.1.0+r23/compiler/driver/compiler_driver_test.cc Examining data/android-platform-art-8.1.0+r23/compiler/driver/compiler_options.cc Examining data/android-platform-art-8.1.0+r23/compiler/driver/compiler_options.h Examining data/android-platform-art-8.1.0+r23/compiler/driver/dex_compilation_unit.cc Examining data/android-platform-art-8.1.0+r23/compiler/driver/dex_compilation_unit.h Examining data/android-platform-art-8.1.0+r23/compiler/elf_builder.h Examining data/android-platform-art-8.1.0+r23/compiler/elf_writer.cc Examining data/android-platform-art-8.1.0+r23/compiler/elf_writer.h Examining data/android-platform-art-8.1.0+r23/compiler/elf_writer_quick.cc Examining data/android-platform-art-8.1.0+r23/compiler/elf_writer_quick.h Examining data/android-platform-art-8.1.0+r23/compiler/elf_writer_test.cc Examining data/android-platform-art-8.1.0+r23/compiler/exception_test.cc Examining data/android-platform-art-8.1.0+r23/compiler/image_test.cc Examining data/android-platform-art-8.1.0+r23/compiler/image_test.h Examining data/android-platform-art-8.1.0+r23/compiler/image_write_read_test.cc Examining data/android-platform-art-8.1.0+r23/compiler/image_writer.cc Examining data/android-platform-art-8.1.0+r23/compiler/image_writer.h Examining data/android-platform-art-8.1.0+r23/compiler/intrinsics_enum.h Examining data/android-platform-art-8.1.0+r23/compiler/intrinsics_list.h Examining data/android-platform-art-8.1.0+r23/compiler/jit/jit_compiler.cc Examining data/android-platform-art-8.1.0+r23/compiler/jit/jit_compiler.h Examining data/android-platform-art-8.1.0+r23/compiler/jit/jit_logger.cc Examining data/android-platform-art-8.1.0+r23/compiler/jit/jit_logger.h Examining data/android-platform-art-8.1.0+r23/compiler/jni/jni_cfi_test.cc Examining data/android-platform-art-8.1.0+r23/compiler/jni/jni_compiler_test.cc Examining data/android-platform-art-8.1.0+r23/compiler/jni/quick/arm/calling_convention_arm.cc Examining data/android-platform-art-8.1.0+r23/compiler/jni/quick/arm/calling_convention_arm.h Examining data/android-platform-art-8.1.0+r23/compiler/jni/quick/arm64/calling_convention_arm64.cc Examining data/android-platform-art-8.1.0+r23/compiler/jni/quick/arm64/calling_convention_arm64.h Examining data/android-platform-art-8.1.0+r23/compiler/jni/quick/calling_convention.cc Examining data/android-platform-art-8.1.0+r23/compiler/jni/quick/calling_convention.h Examining data/android-platform-art-8.1.0+r23/compiler/jni/quick/jni_compiler.cc Examining data/android-platform-art-8.1.0+r23/compiler/jni/quick/jni_compiler.h Examining data/android-platform-art-8.1.0+r23/compiler/jni/quick/mips/calling_convention_mips.cc Examining data/android-platform-art-8.1.0+r23/compiler/jni/quick/mips/calling_convention_mips.h Examining data/android-platform-art-8.1.0+r23/compiler/jni/quick/mips64/calling_convention_mips64.cc Examining data/android-platform-art-8.1.0+r23/compiler/jni/quick/mips64/calling_convention_mips64.h Examining data/android-platform-art-8.1.0+r23/compiler/jni/quick/x86/calling_convention_x86.cc Examining data/android-platform-art-8.1.0+r23/compiler/jni/quick/x86/calling_convention_x86.h Examining data/android-platform-art-8.1.0+r23/compiler/jni/quick/x86_64/calling_convention_x86_64.cc Examining data/android-platform-art-8.1.0+r23/compiler/jni/quick/x86_64/calling_convention_x86_64.h Examining data/android-platform-art-8.1.0+r23/compiler/linker/arm/relative_patcher_arm_base.cc Examining data/android-platform-art-8.1.0+r23/compiler/linker/arm/relative_patcher_arm_base.h Examining data/android-platform-art-8.1.0+r23/compiler/linker/arm/relative_patcher_thumb2.cc Examining data/android-platform-art-8.1.0+r23/compiler/linker/arm/relative_patcher_thumb2.h Examining data/android-platform-art-8.1.0+r23/compiler/linker/arm/relative_patcher_thumb2_test.cc Examining data/android-platform-art-8.1.0+r23/compiler/linker/arm64/relative_patcher_arm64.cc Examining data/android-platform-art-8.1.0+r23/compiler/linker/arm64/relative_patcher_arm64.h Examining data/android-platform-art-8.1.0+r23/compiler/linker/arm64/relative_patcher_arm64_test.cc Examining data/android-platform-art-8.1.0+r23/compiler/linker/buffered_output_stream.cc Examining data/android-platform-art-8.1.0+r23/compiler/linker/buffered_output_stream.h Examining data/android-platform-art-8.1.0+r23/compiler/linker/error_delaying_output_stream.h Examining data/android-platform-art-8.1.0+r23/compiler/linker/file_output_stream.cc Examining data/android-platform-art-8.1.0+r23/compiler/linker/file_output_stream.h Examining data/android-platform-art-8.1.0+r23/compiler/linker/method_bss_mapping_encoder.h Examining data/android-platform-art-8.1.0+r23/compiler/linker/method_bss_mapping_encoder_test.cc Examining data/android-platform-art-8.1.0+r23/compiler/linker/mips/relative_patcher_mips.cc Examining data/android-platform-art-8.1.0+r23/compiler/linker/mips/relative_patcher_mips.h Examining data/android-platform-art-8.1.0+r23/compiler/linker/mips/relative_patcher_mips32r6_test.cc Examining data/android-platform-art-8.1.0+r23/compiler/linker/mips/relative_patcher_mips_test.cc Examining data/android-platform-art-8.1.0+r23/compiler/linker/mips64/relative_patcher_mips64.cc Examining data/android-platform-art-8.1.0+r23/compiler/linker/mips64/relative_patcher_mips64.h Examining data/android-platform-art-8.1.0+r23/compiler/linker/mips64/relative_patcher_mips64_test.cc Examining data/android-platform-art-8.1.0+r23/compiler/linker/multi_oat_relative_patcher.cc Examining data/android-platform-art-8.1.0+r23/compiler/linker/multi_oat_relative_patcher.h Examining data/android-platform-art-8.1.0+r23/compiler/linker/multi_oat_relative_patcher_test.cc Examining data/android-platform-art-8.1.0+r23/compiler/linker/output_stream.cc Examining data/android-platform-art-8.1.0+r23/compiler/linker/output_stream.h Examining data/android-platform-art-8.1.0+r23/compiler/linker/output_stream_test.cc Examining data/android-platform-art-8.1.0+r23/compiler/linker/relative_patcher.cc Examining data/android-platform-art-8.1.0+r23/compiler/linker/relative_patcher.h Examining data/android-platform-art-8.1.0+r23/compiler/linker/relative_patcher_test.h Examining data/android-platform-art-8.1.0+r23/compiler/linker/vector_output_stream.cc Examining data/android-platform-art-8.1.0+r23/compiler/linker/vector_output_stream.h Examining data/android-platform-art-8.1.0+r23/compiler/linker/x86/relative_patcher_x86.cc Examining data/android-platform-art-8.1.0+r23/compiler/linker/x86/relative_patcher_x86.h Examining data/android-platform-art-8.1.0+r23/compiler/linker/x86/relative_patcher_x86_base.cc Examining data/android-platform-art-8.1.0+r23/compiler/linker/x86/relative_patcher_x86_base.h Examining data/android-platform-art-8.1.0+r23/compiler/linker/x86/relative_patcher_x86_test.cc Examining data/android-platform-art-8.1.0+r23/compiler/linker/x86_64/relative_patcher_x86_64.cc Examining data/android-platform-art-8.1.0+r23/compiler/linker/x86_64/relative_patcher_x86_64.h Examining data/android-platform-art-8.1.0+r23/compiler/linker/x86_64/relative_patcher_x86_64_test.cc Examining data/android-platform-art-8.1.0+r23/compiler/oat_test.cc Examining data/android-platform-art-8.1.0+r23/compiler/oat_writer.cc Examining data/android-platform-art-8.1.0+r23/compiler/oat_writer.h Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/block_builder.cc Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/block_builder.h Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/bounds_check_elimination.cc Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/bounds_check_elimination.h Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/bounds_check_elimination_test.cc Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/builder.cc Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/builder.h Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/cha_guard_optimization.cc Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/cha_guard_optimization.h Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/code_generator.cc Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/code_generator.h Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/code_generator_arm64.cc Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/code_generator_arm64.h Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/code_generator_arm_vixl.cc Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/code_generator_arm_vixl.h Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/code_generator_mips.cc Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/code_generator_mips.h Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/code_generator_mips64.cc Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/code_generator_mips64.h Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/code_generator_utils.cc Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/code_generator_utils.h Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/code_generator_vector_arm64.cc Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/code_generator_vector_arm_vixl.cc Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/code_generator_vector_mips.cc Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/code_generator_vector_mips64.cc Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/code_generator_vector_x86.cc Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/code_generator_vector_x86_64.cc Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/code_generator_x86.cc Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/code_generator_x86.h Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/code_generator_x86_64.cc Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/code_generator_x86_64.h Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/code_sinking.cc Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/code_sinking.h Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/codegen_test.cc Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/codegen_test_utils.h Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/common_arm.h Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/common_arm64.h Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/common_dominator.h Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/constant_folding.cc Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/constant_folding.h Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/constant_folding_test.cc Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/dead_code_elimination.cc Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/dead_code_elimination.h Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/dead_code_elimination_test.cc Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/dominator_test.cc Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/emit_swap_mips_test.cc Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/escape.cc Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/escape.h Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/find_loops_test.cc Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/graph_checker.cc Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/graph_checker.h Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/graph_checker_test.cc Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/graph_test.cc Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/graph_visualizer.cc Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/graph_visualizer.h Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/gvn.cc Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/gvn.h Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/gvn_test.cc Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/induction_var_analysis.cc Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/induction_var_analysis.h Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/induction_var_analysis_test.cc Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/induction_var_range.cc Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/induction_var_range.h Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/induction_var_range_test.cc Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/inliner.cc Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/inliner.h Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/instruction_builder.cc Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/instruction_builder.h Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/instruction_simplifier.cc Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/instruction_simplifier.h Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/instruction_simplifier_arm.cc Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/instruction_simplifier_arm.h Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/instruction_simplifier_arm64.cc Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/instruction_simplifier_arm64.h Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/instruction_simplifier_shared.cc Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/instruction_simplifier_shared.h Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/intrinsics.cc Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/intrinsics.h Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/intrinsics_arm64.cc Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/intrinsics_arm64.h Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/intrinsics_arm_vixl.cc Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/intrinsics_arm_vixl.h Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/intrinsics_mips.cc Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/intrinsics_mips.h Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/intrinsics_mips64.cc Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/intrinsics_mips64.h Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/intrinsics_utils.h Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/intrinsics_x86.cc Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/intrinsics_x86.h Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/intrinsics_x86_64.cc Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/intrinsics_x86_64.h Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/licm.cc Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/licm.h Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/licm_test.cc Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/linear_order.cc Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/linear_order.h Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/linearize_test.cc Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/live_interval_test.cc Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/live_ranges_test.cc Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/liveness_test.cc Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/load_store_analysis.cc Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/load_store_analysis.h Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/load_store_analysis_test.cc Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/load_store_elimination.cc Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/load_store_elimination.h Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/locations.cc Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/locations.h Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/loop_optimization.cc Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/loop_optimization.h Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/loop_optimization_test.cc Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/nodes.cc Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/nodes.h Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/nodes_mips.h Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/nodes_shared.cc Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/nodes_shared.h Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/nodes_test.cc Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/nodes_vector.h Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/nodes_vector_test.cc Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/nodes_x86.h Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/optimization.cc Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/optimization.h Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/optimizing_cfi_test.cc Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/optimizing_compiler.cc Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/optimizing_compiler.h Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/optimizing_compiler_stats.h Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/optimizing_unit_test.h Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/parallel_move_resolver.cc Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/parallel_move_resolver.h Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/parallel_move_test.cc Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/pc_relative_fixups_mips.cc Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/pc_relative_fixups_mips.h Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/pc_relative_fixups_x86.cc Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/pc_relative_fixups_x86.h Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/prepare_for_register_allocation.cc Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/prepare_for_register_allocation.h Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/pretty_printer.h Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/pretty_printer_test.cc Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/reference_type_propagation.cc Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/reference_type_propagation.h Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/reference_type_propagation_test.cc Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/register_allocation_resolver.cc Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/register_allocation_resolver.h Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/register_allocator.cc Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/register_allocator.h Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/register_allocator_graph_color.cc Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/register_allocator_graph_color.h Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/register_allocator_linear_scan.cc Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/register_allocator_linear_scan.h Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/register_allocator_test.cc Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/scheduler.cc Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/scheduler.h Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/scheduler_arm.cc Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/scheduler_arm.h Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/scheduler_arm64.cc Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/scheduler_arm64.h Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/scheduler_test.cc Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/select_generator.cc Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/select_generator.h Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/sharpening.cc Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/sharpening.h Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/side_effects_analysis.cc Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/side_effects_analysis.h Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/side_effects_test.cc Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/ssa_builder.cc Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/ssa_builder.h Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/ssa_liveness_analysis.cc Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/ssa_liveness_analysis.h Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/ssa_liveness_analysis_test.cc Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/ssa_phi_elimination.cc Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/ssa_phi_elimination.h Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/ssa_test.cc Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/stack_map_stream.cc Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/stack_map_stream.h Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/stack_map_test.cc Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/suspend_check_test.cc Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/x86_memory_gen.cc Examining data/android-platform-art-8.1.0+r23/compiler/optimizing/x86_memory_gen.h Examining data/android-platform-art-8.1.0+r23/compiler/trampolines/trampoline_compiler.cc Examining data/android-platform-art-8.1.0+r23/compiler/trampolines/trampoline_compiler.h Examining data/android-platform-art-8.1.0+r23/compiler/utils/arm/assembler_arm_shared.h Examining data/android-platform-art-8.1.0+r23/compiler/utils/arm/assembler_arm_test.h Examining data/android-platform-art-8.1.0+r23/compiler/utils/arm/assembler_arm_vixl.cc Examining data/android-platform-art-8.1.0+r23/compiler/utils/arm/assembler_arm_vixl.h Examining data/android-platform-art-8.1.0+r23/compiler/utils/arm/constants_arm.cc Examining data/android-platform-art-8.1.0+r23/compiler/utils/arm/constants_arm.h Examining data/android-platform-art-8.1.0+r23/compiler/utils/arm/jni_macro_assembler_arm_vixl.cc Examining data/android-platform-art-8.1.0+r23/compiler/utils/arm/jni_macro_assembler_arm_vixl.h Examining data/android-platform-art-8.1.0+r23/compiler/utils/arm/managed_register_arm.cc Examining data/android-platform-art-8.1.0+r23/compiler/utils/arm/managed_register_arm.h Examining data/android-platform-art-8.1.0+r23/compiler/utils/arm/managed_register_arm_test.cc Examining data/android-platform-art-8.1.0+r23/compiler/utils/arm64/assembler_arm64.cc Examining data/android-platform-art-8.1.0+r23/compiler/utils/arm64/assembler_arm64.h Examining data/android-platform-art-8.1.0+r23/compiler/utils/arm64/jni_macro_assembler_arm64.cc Examining data/android-platform-art-8.1.0+r23/compiler/utils/arm64/jni_macro_assembler_arm64.h Examining data/android-platform-art-8.1.0+r23/compiler/utils/arm64/managed_register_arm64.cc Examining data/android-platform-art-8.1.0+r23/compiler/utils/arm64/managed_register_arm64.h Examining data/android-platform-art-8.1.0+r23/compiler/utils/arm64/managed_register_arm64_test.cc Examining data/android-platform-art-8.1.0+r23/compiler/utils/assembler.cc Examining data/android-platform-art-8.1.0+r23/compiler/utils/assembler.h Examining data/android-platform-art-8.1.0+r23/compiler/utils/assembler_test.h Examining data/android-platform-art-8.1.0+r23/compiler/utils/assembler_test_base.h Examining data/android-platform-art-8.1.0+r23/compiler/utils/assembler_thumb_test.cc Examining data/android-platform-art-8.1.0+r23/compiler/utils/atomic_dex_ref_map-inl.h Examining data/android-platform-art-8.1.0+r23/compiler/utils/atomic_dex_ref_map.h Examining data/android-platform-art-8.1.0+r23/compiler/utils/atomic_dex_ref_map_test.cc Examining data/android-platform-art-8.1.0+r23/compiler/utils/dedupe_set-inl.h Examining data/android-platform-art-8.1.0+r23/compiler/utils/dedupe_set.h Examining data/android-platform-art-8.1.0+r23/compiler/utils/dedupe_set_test.cc Examining data/android-platform-art-8.1.0+r23/compiler/utils/intrusive_forward_list.h Examining data/android-platform-art-8.1.0+r23/compiler/utils/intrusive_forward_list_test.cc Examining data/android-platform-art-8.1.0+r23/compiler/utils/jni_macro_assembler.cc Examining data/android-platform-art-8.1.0+r23/compiler/utils/jni_macro_assembler.h Examining data/android-platform-art-8.1.0+r23/compiler/utils/jni_macro_assembler_test.h Examining data/android-platform-art-8.1.0+r23/compiler/utils/label.h Examining data/android-platform-art-8.1.0+r23/compiler/utils/managed_register.h Examining data/android-platform-art-8.1.0+r23/compiler/utils/mips/assembler_mips.cc Examining data/android-platform-art-8.1.0+r23/compiler/utils/mips/assembler_mips.h Examining data/android-platform-art-8.1.0+r23/compiler/utils/mips/assembler_mips32r5_test.cc Examining data/android-platform-art-8.1.0+r23/compiler/utils/mips/assembler_mips32r6_test.cc Examining data/android-platform-art-8.1.0+r23/compiler/utils/mips/assembler_mips_test.cc Examining data/android-platform-art-8.1.0+r23/compiler/utils/mips/constants_mips.h Examining data/android-platform-art-8.1.0+r23/compiler/utils/mips/managed_register_mips.cc Examining data/android-platform-art-8.1.0+r23/compiler/utils/mips/managed_register_mips.h Examining data/android-platform-art-8.1.0+r23/compiler/utils/mips64/assembler_mips64.cc Examining data/android-platform-art-8.1.0+r23/compiler/utils/mips64/assembler_mips64.h Examining data/android-platform-art-8.1.0+r23/compiler/utils/mips64/assembler_mips64_test.cc Examining data/android-platform-art-8.1.0+r23/compiler/utils/mips64/constants_mips64.h Examining data/android-platform-art-8.1.0+r23/compiler/utils/mips64/managed_register_mips64.cc Examining data/android-platform-art-8.1.0+r23/compiler/utils/mips64/managed_register_mips64.h Examining data/android-platform-art-8.1.0+r23/compiler/utils/mips64/managed_register_mips64_test.cc Examining data/android-platform-art-8.1.0+r23/compiler/utils/stack_checks.h Examining data/android-platform-art-8.1.0+r23/compiler/utils/string_reference_test.cc Examining data/android-platform-art-8.1.0+r23/compiler/utils/swap_space.cc Examining data/android-platform-art-8.1.0+r23/compiler/utils/swap_space.h Examining data/android-platform-art-8.1.0+r23/compiler/utils/swap_space_test.cc Examining data/android-platform-art-8.1.0+r23/compiler/utils/test_dex_file_builder.h Examining data/android-platform-art-8.1.0+r23/compiler/utils/test_dex_file_builder_test.cc Examining data/android-platform-art-8.1.0+r23/compiler/utils/x86/assembler_x86.cc Examining data/android-platform-art-8.1.0+r23/compiler/utils/x86/assembler_x86.h Examining data/android-platform-art-8.1.0+r23/compiler/utils/x86/assembler_x86_test.cc Examining data/android-platform-art-8.1.0+r23/compiler/utils/x86/constants_x86.h Examining data/android-platform-art-8.1.0+r23/compiler/utils/x86/jni_macro_assembler_x86.cc Examining data/android-platform-art-8.1.0+r23/compiler/utils/x86/jni_macro_assembler_x86.h Examining data/android-platform-art-8.1.0+r23/compiler/utils/x86/managed_register_x86.cc Examining data/android-platform-art-8.1.0+r23/compiler/utils/x86/managed_register_x86.h Examining data/android-platform-art-8.1.0+r23/compiler/utils/x86/managed_register_x86_test.cc Examining data/android-platform-art-8.1.0+r23/compiler/utils/x86_64/assembler_x86_64.cc Examining data/android-platform-art-8.1.0+r23/compiler/utils/x86_64/assembler_x86_64.h Examining data/android-platform-art-8.1.0+r23/compiler/utils/x86_64/assembler_x86_64_test.cc Examining data/android-platform-art-8.1.0+r23/compiler/utils/x86_64/constants_x86_64.h Examining data/android-platform-art-8.1.0+r23/compiler/utils/x86_64/jni_macro_assembler_x86_64.cc Examining data/android-platform-art-8.1.0+r23/compiler/utils/x86_64/jni_macro_assembler_x86_64.h Examining data/android-platform-art-8.1.0+r23/compiler/utils/x86_64/managed_register_x86_64.cc Examining data/android-platform-art-8.1.0+r23/compiler/utils/x86_64/managed_register_x86_64.h Examining data/android-platform-art-8.1.0+r23/compiler/utils/x86_64/managed_register_x86_64_test.cc Examining data/android-platform-art-8.1.0+r23/compiler/verifier_deps_test.cc Examining data/android-platform-art-8.1.0+r23/dalvikvm/dalvikvm.cc Examining data/android-platform-art-8.1.0+r23/dex2oat/dex2oat.cc Examining data/android-platform-art-8.1.0+r23/dex2oat/dex2oat_image_test.cc Examining data/android-platform-art-8.1.0+r23/dex2oat/dex2oat_test.cc Examining data/android-platform-art-8.1.0+r23/dex2oat/include/dex2oat_return_codes.h Examining data/android-platform-art-8.1.0+r23/dexdump/dexdump.cc Examining data/android-platform-art-8.1.0+r23/dexdump/dexdump.h Examining data/android-platform-art-8.1.0+r23/dexdump/dexdump_cfg.cc Examining data/android-platform-art-8.1.0+r23/dexdump/dexdump_cfg.h Examining data/android-platform-art-8.1.0+r23/dexdump/dexdump_main.cc Examining data/android-platform-art-8.1.0+r23/dexdump/dexdump_test.cc Examining data/android-platform-art-8.1.0+r23/dexlayout/dex_ir.cc Examining data/android-platform-art-8.1.0+r23/dexlayout/dex_ir.h Examining data/android-platform-art-8.1.0+r23/dexlayout/dex_ir_builder.cc Examining data/android-platform-art-8.1.0+r23/dexlayout/dex_ir_builder.h Examining data/android-platform-art-8.1.0+r23/dexlayout/dex_verify.cc Examining data/android-platform-art-8.1.0+r23/dexlayout/dex_verify.h Examining data/android-platform-art-8.1.0+r23/dexlayout/dex_visualize.cc Examining data/android-platform-art-8.1.0+r23/dexlayout/dex_visualize.h Examining data/android-platform-art-8.1.0+r23/dexlayout/dex_writer.cc Examining data/android-platform-art-8.1.0+r23/dexlayout/dex_writer.h Examining data/android-platform-art-8.1.0+r23/dexlayout/dexdiag.cc Examining data/android-platform-art-8.1.0+r23/dexlayout/dexdiag_test.cc Examining data/android-platform-art-8.1.0+r23/dexlayout/dexlayout.cc Examining data/android-platform-art-8.1.0+r23/dexlayout/dexlayout.h Examining data/android-platform-art-8.1.0+r23/dexlayout/dexlayout_main.cc Examining data/android-platform-art-8.1.0+r23/dexlayout/dexlayout_test.cc Examining data/android-platform-art-8.1.0+r23/dexlist/dexlist.cc Examining data/android-platform-art-8.1.0+r23/dexlist/dexlist_test.cc Examining data/android-platform-art-8.1.0+r23/dexoptanalyzer/dexoptanalyzer.cc Examining data/android-platform-art-8.1.0+r23/dexoptanalyzer/dexoptanalyzer_test.cc Examining data/android-platform-art-8.1.0+r23/disassembler/disassembler.cc Examining data/android-platform-art-8.1.0+r23/disassembler/disassembler.h Examining data/android-platform-art-8.1.0+r23/disassembler/disassembler_arm.cc Examining data/android-platform-art-8.1.0+r23/disassembler/disassembler_arm.h Examining data/android-platform-art-8.1.0+r23/disassembler/disassembler_arm64.cc Examining data/android-platform-art-8.1.0+r23/disassembler/disassembler_arm64.h Examining data/android-platform-art-8.1.0+r23/disassembler/disassembler_mips.cc Examining data/android-platform-art-8.1.0+r23/disassembler/disassembler_mips.h Examining data/android-platform-art-8.1.0+r23/disassembler/disassembler_x86.cc Examining data/android-platform-art-8.1.0+r23/disassembler/disassembler_x86.h Examining data/android-platform-art-8.1.0+r23/imgdiag/imgdiag.cc Examining data/android-platform-art-8.1.0+r23/imgdiag/imgdiag_test.cc Examining data/android-platform-art-8.1.0+r23/libart_fake/fake.cc Examining data/android-platform-art-8.1.0+r23/oatdump/oatdump.cc Examining data/android-platform-art-8.1.0+r23/oatdump/oatdump_image_test.cc Examining data/android-platform-art-8.1.0+r23/oatdump/oatdump_test.cc Examining data/android-platform-art-8.1.0+r23/oatdump/oatdump_test.h Examining data/android-platform-art-8.1.0+r23/patchoat/patchoat.cc Examining data/android-platform-art-8.1.0+r23/patchoat/patchoat.h Examining data/android-platform-art-8.1.0+r23/profman/boot_image_profile.cc Examining data/android-platform-art-8.1.0+r23/profman/boot_image_profile.h Examining data/android-platform-art-8.1.0+r23/profman/profile_assistant.cc Examining data/android-platform-art-8.1.0+r23/profman/profile_assistant.h Examining data/android-platform-art-8.1.0+r23/profman/profile_assistant_test.cc Examining data/android-platform-art-8.1.0+r23/profman/profman.cc Examining data/android-platform-art-8.1.0+r23/runtime/aot_class_linker.cc Examining data/android-platform-art-8.1.0+r23/runtime/aot_class_linker.h Examining data/android-platform-art-8.1.0+r23/runtime/arch/arch_test.cc Examining data/android-platform-art-8.1.0+r23/runtime/arch/arm/asm_support_arm.h Examining data/android-platform-art-8.1.0+r23/runtime/arch/arm/context_arm.cc Examining data/android-platform-art-8.1.0+r23/runtime/arch/arm/context_arm.h Examining data/android-platform-art-8.1.0+r23/runtime/arch/arm/entrypoints_init_arm.cc Examining data/android-platform-art-8.1.0+r23/runtime/arch/arm/instruction_set_features_arm.h Examining data/android-platform-art-8.1.0+r23/runtime/arch/arm/instruction_set_features_arm_test.cc Examining data/android-platform-art-8.1.0+r23/runtime/arch/arm/quick_entrypoints_cc_arm.cc Examining data/android-platform-art-8.1.0+r23/runtime/arch/arm/quick_method_frame_info_arm.h Examining data/android-platform-art-8.1.0+r23/runtime/arch/arm/registers_arm.cc Examining data/android-platform-art-8.1.0+r23/runtime/arch/arm/registers_arm.h Examining data/android-platform-art-8.1.0+r23/runtime/arch/arm/thread_arm.cc Examining data/android-platform-art-8.1.0+r23/runtime/arch/arm/fault_handler_arm.cc Examining data/android-platform-art-8.1.0+r23/runtime/arch/arm/instruction_set_features_arm.cc Examining data/android-platform-art-8.1.0+r23/runtime/arch/arm64/asm_support_arm64.h Examining data/android-platform-art-8.1.0+r23/runtime/arch/arm64/context_arm64.cc Examining data/android-platform-art-8.1.0+r23/runtime/arch/arm64/context_arm64.h Examining data/android-platform-art-8.1.0+r23/runtime/arch/arm64/entrypoints_init_arm64.cc Examining data/android-platform-art-8.1.0+r23/runtime/arch/arm64/instruction_set_features_arm64.cc Examining data/android-platform-art-8.1.0+r23/runtime/arch/arm64/instruction_set_features_arm64.h Examining data/android-platform-art-8.1.0+r23/runtime/arch/arm64/instruction_set_features_arm64_test.cc Examining data/android-platform-art-8.1.0+r23/runtime/arch/arm64/quick_method_frame_info_arm64.h Examining data/android-platform-art-8.1.0+r23/runtime/arch/arm64/registers_arm64.cc Examining data/android-platform-art-8.1.0+r23/runtime/arch/arm64/registers_arm64.h Examining data/android-platform-art-8.1.0+r23/runtime/arch/arm64/thread_arm64.cc Examining data/android-platform-art-8.1.0+r23/runtime/arch/arm64/fault_handler_arm64.cc Examining data/android-platform-art-8.1.0+r23/runtime/arch/code_offset.h Examining data/android-platform-art-8.1.0+r23/runtime/arch/context-inl.h Examining data/android-platform-art-8.1.0+r23/runtime/arch/context.cc Examining data/android-platform-art-8.1.0+r23/runtime/arch/context.h Examining data/android-platform-art-8.1.0+r23/runtime/arch/instruction_set.cc Examining data/android-platform-art-8.1.0+r23/runtime/arch/instruction_set.h Examining data/android-platform-art-8.1.0+r23/runtime/arch/instruction_set_features.h Examining data/android-platform-art-8.1.0+r23/runtime/arch/instruction_set_features_test.cc Examining data/android-platform-art-8.1.0+r23/runtime/arch/instruction_set_test.cc Examining data/android-platform-art-8.1.0+r23/runtime/arch/memcmp16.cc Examining data/android-platform-art-8.1.0+r23/runtime/arch/memcmp16.h Examining data/android-platform-art-8.1.0+r23/runtime/arch/memcmp16_test.cc Examining data/android-platform-art-8.1.0+r23/runtime/arch/mips/asm_support_mips.h Examining data/android-platform-art-8.1.0+r23/runtime/arch/mips/context_mips.cc Examining data/android-platform-art-8.1.0+r23/runtime/arch/mips/context_mips.h Examining data/android-platform-art-8.1.0+r23/runtime/arch/mips/entrypoints_direct_mips.h Examining data/android-platform-art-8.1.0+r23/runtime/arch/mips/entrypoints_init_mips.cc Examining data/android-platform-art-8.1.0+r23/runtime/arch/mips/instruction_set_features_mips.h Examining data/android-platform-art-8.1.0+r23/runtime/arch/mips/instruction_set_features_mips_test.cc Examining data/android-platform-art-8.1.0+r23/runtime/arch/mips/quick_method_frame_info_mips.h Examining data/android-platform-art-8.1.0+r23/runtime/arch/mips/registers_mips.cc Examining data/android-platform-art-8.1.0+r23/runtime/arch/mips/registers_mips.h Examining data/android-platform-art-8.1.0+r23/runtime/arch/mips/thread_mips.cc Examining data/android-platform-art-8.1.0+r23/runtime/arch/mips/instruction_set_features_mips.cc Examining data/android-platform-art-8.1.0+r23/runtime/arch/mips/fault_handler_mips.cc Examining data/android-platform-art-8.1.0+r23/runtime/arch/mips64/asm_support_mips64.h Examining data/android-platform-art-8.1.0+r23/runtime/arch/mips64/context_mips64.cc Examining data/android-platform-art-8.1.0+r23/runtime/arch/mips64/context_mips64.h Examining data/android-platform-art-8.1.0+r23/runtime/arch/mips64/entrypoints_init_mips64.cc Examining data/android-platform-art-8.1.0+r23/runtime/arch/mips64/instruction_set_features_mips64.cc Examining data/android-platform-art-8.1.0+r23/runtime/arch/mips64/instruction_set_features_mips64.h Examining data/android-platform-art-8.1.0+r23/runtime/arch/mips64/instruction_set_features_mips64_test.cc Examining data/android-platform-art-8.1.0+r23/runtime/arch/mips64/quick_method_frame_info_mips64.h Examining data/android-platform-art-8.1.0+r23/runtime/arch/mips64/registers_mips64.cc Examining data/android-platform-art-8.1.0+r23/runtime/arch/mips64/registers_mips64.h Examining data/android-platform-art-8.1.0+r23/runtime/arch/mips64/thread_mips64.cc Examining data/android-platform-art-8.1.0+r23/runtime/arch/mips64/fault_handler_mips64.cc Examining data/android-platform-art-8.1.0+r23/runtime/arch/stub_test.cc Examining data/android-platform-art-8.1.0+r23/runtime/arch/x86/asm_support_x86.h Examining data/android-platform-art-8.1.0+r23/runtime/arch/x86/context_x86.h Examining data/android-platform-art-8.1.0+r23/runtime/arch/x86/entrypoints_init_x86.cc Examining data/android-platform-art-8.1.0+r23/runtime/arch/x86/instruction_set_features_x86.cc Examining data/android-platform-art-8.1.0+r23/runtime/arch/x86/instruction_set_features_x86.h Examining data/android-platform-art-8.1.0+r23/runtime/arch/x86/instruction_set_features_x86_test.cc Examining data/android-platform-art-8.1.0+r23/runtime/arch/x86/quick_method_frame_info_x86.h Examining data/android-platform-art-8.1.0+r23/runtime/arch/x86/registers_x86.cc Examining data/android-platform-art-8.1.0+r23/runtime/arch/x86/registers_x86.h Examining data/android-platform-art-8.1.0+r23/runtime/arch/x86/thread_x86.cc Examining data/android-platform-art-8.1.0+r23/runtime/arch/x86/context_x86.cc Examining data/android-platform-art-8.1.0+r23/runtime/arch/x86/fault_handler_x86.cc Examining data/android-platform-art-8.1.0+r23/runtime/arch/x86_64/asm_support_x86_64.h Examining data/android-platform-art-8.1.0+r23/runtime/arch/x86_64/context_x86_64.cc Examining data/android-platform-art-8.1.0+r23/runtime/arch/x86_64/context_x86_64.h Examining data/android-platform-art-8.1.0+r23/runtime/arch/x86_64/entrypoints_init_x86_64.cc Examining data/android-platform-art-8.1.0+r23/runtime/arch/x86_64/instruction_set_features_x86_64.h Examining data/android-platform-art-8.1.0+r23/runtime/arch/x86_64/instruction_set_features_x86_64_test.cc Examining data/android-platform-art-8.1.0+r23/runtime/arch/x86_64/quick_method_frame_info_x86_64.h Examining data/android-platform-art-8.1.0+r23/runtime/arch/x86_64/registers_x86_64.cc Examining data/android-platform-art-8.1.0+r23/runtime/arch/x86_64/registers_x86_64.h Examining data/android-platform-art-8.1.0+r23/runtime/arch/x86_64/thread_x86_64.cc Examining data/android-platform-art-8.1.0+r23/runtime/arch/instruction_set_features.cc Examining data/android-platform-art-8.1.0+r23/runtime/art_field-inl.h Examining data/android-platform-art-8.1.0+r23/runtime/art_field.cc Examining data/android-platform-art-8.1.0+r23/runtime/art_field.h Examining data/android-platform-art-8.1.0+r23/runtime/art_method-inl.h Examining data/android-platform-art-8.1.0+r23/runtime/art_method.cc Examining data/android-platform-art-8.1.0+r23/runtime/art_method.h Examining data/android-platform-art-8.1.0+r23/runtime/asm_support.h Examining data/android-platform-art-8.1.0+r23/runtime/asm_support_check.h Examining data/android-platform-art-8.1.0+r23/runtime/atomic.cc Examining data/android-platform-art-8.1.0+r23/runtime/atomic.h Examining data/android-platform-art-8.1.0+r23/runtime/backtrace_helper.h Examining data/android-platform-art-8.1.0+r23/runtime/barrier.cc Examining data/android-platform-art-8.1.0+r23/runtime/barrier.h Examining data/android-platform-art-8.1.0+r23/runtime/barrier_test.cc Examining data/android-platform-art-8.1.0+r23/runtime/base/allocator.cc Examining data/android-platform-art-8.1.0+r23/runtime/base/allocator.h Examining data/android-platform-art-8.1.0+r23/runtime/base/arena_allocator-inl.h Examining data/android-platform-art-8.1.0+r23/runtime/base/arena_allocator.cc Examining data/android-platform-art-8.1.0+r23/runtime/base/arena_allocator_test.cc Examining data/android-platform-art-8.1.0+r23/runtime/base/arena_bit_vector.cc Examining data/android-platform-art-8.1.0+r23/runtime/base/arena_bit_vector.h Examining data/android-platform-art-8.1.0+r23/runtime/base/arena_containers.h Examining data/android-platform-art-8.1.0+r23/runtime/base/arena_object.h Examining data/android-platform-art-8.1.0+r23/runtime/base/array_ref.h Examining data/android-platform-art-8.1.0+r23/runtime/base/array_slice.h Examining data/android-platform-art-8.1.0+r23/runtime/base/bit_field.h Examining data/android-platform-art-8.1.0+r23/runtime/base/bit_field_test.cc Examining data/android-platform-art-8.1.0+r23/runtime/base/bit_utils.h Examining data/android-platform-art-8.1.0+r23/runtime/base/bit_utils_iterator.h Examining data/android-platform-art-8.1.0+r23/runtime/base/bit_utils_test.cc Examining data/android-platform-art-8.1.0+r23/runtime/base/bit_vector-inl.h Examining data/android-platform-art-8.1.0+r23/runtime/base/bit_vector.cc Examining data/android-platform-art-8.1.0+r23/runtime/base/bit_vector_test.cc Examining data/android-platform-art-8.1.0+r23/runtime/base/bounded_fifo.h Examining data/android-platform-art-8.1.0+r23/runtime/base/callee_save_type.h Examining data/android-platform-art-8.1.0+r23/runtime/base/casts.h Examining data/android-platform-art-8.1.0+r23/runtime/base/dchecked_vector.h Examining data/android-platform-art-8.1.0+r23/runtime/base/debug_stack.h Examining data/android-platform-art-8.1.0+r23/runtime/base/dumpable-inl.h Examining data/android-platform-art-8.1.0+r23/runtime/base/dumpable.h Examining data/android-platform-art-8.1.0+r23/runtime/base/enums.h Examining data/android-platform-art-8.1.0+r23/runtime/base/file_magic.cc Examining data/android-platform-art-8.1.0+r23/runtime/base/file_magic.h Examining data/android-platform-art-8.1.0+r23/runtime/base/hash_map.h Examining data/android-platform-art-8.1.0+r23/runtime/base/hash_set.h Examining data/android-platform-art-8.1.0+r23/runtime/base/hash_set_test.cc Examining data/android-platform-art-8.1.0+r23/runtime/base/hex_dump.cc Examining data/android-platform-art-8.1.0+r23/runtime/base/hex_dump.h Examining data/android-platform-art-8.1.0+r23/runtime/base/hex_dump_test.cc Examining data/android-platform-art-8.1.0+r23/runtime/base/histogram-inl.h Examining data/android-platform-art-8.1.0+r23/runtime/base/histogram.h Examining data/android-platform-art-8.1.0+r23/runtime/base/histogram_test.cc Examining data/android-platform-art-8.1.0+r23/runtime/base/iteration_range.h Examining data/android-platform-art-8.1.0+r23/runtime/base/length_prefixed_array.h Examining data/android-platform-art-8.1.0+r23/runtime/base/logging.cc Examining data/android-platform-art-8.1.0+r23/runtime/base/logging.h Examining data/android-platform-art-8.1.0+r23/runtime/base/logging_test.cc Examining data/android-platform-art-8.1.0+r23/runtime/base/macros.h Examining data/android-platform-art-8.1.0+r23/runtime/base/mutex-inl.h Examining data/android-platform-art-8.1.0+r23/runtime/base/mutex.h Examining data/android-platform-art-8.1.0+r23/runtime/base/mutex_test.cc Examining data/android-platform-art-8.1.0+r23/runtime/base/safe_copy.h Examining data/android-platform-art-8.1.0+r23/runtime/base/safe_copy_test.cc Examining data/android-platform-art-8.1.0+r23/runtime/base/scoped_arena_allocator.cc Examining data/android-platform-art-8.1.0+r23/runtime/base/scoped_arena_allocator.h Examining data/android-platform-art-8.1.0+r23/runtime/base/scoped_arena_containers.h Examining data/android-platform-art-8.1.0+r23/runtime/base/scoped_flock.h Examining data/android-platform-art-8.1.0+r23/runtime/base/scoped_flock_test.cc Examining data/android-platform-art-8.1.0+r23/runtime/base/stl_util_identity.h Examining data/android-platform-art-8.1.0+r23/runtime/base/stringpiece.h Examining data/android-platform-art-8.1.0+r23/runtime/base/strlcpy.h Examining data/android-platform-art-8.1.0+r23/runtime/base/systrace.h Examining data/android-platform-art-8.1.0+r23/runtime/base/time_utils.cc Examining data/android-platform-art-8.1.0+r23/runtime/base/time_utils.h Examining data/android-platform-art-8.1.0+r23/runtime/base/time_utils_test.cc Examining data/android-platform-art-8.1.0+r23/runtime/base/timing_logger.cc Examining data/android-platform-art-8.1.0+r23/runtime/base/timing_logger.h Examining data/android-platform-art-8.1.0+r23/runtime/base/timing_logger_test.cc Examining data/android-platform-art-8.1.0+r23/runtime/base/to_str.h Examining data/android-platform-art-8.1.0+r23/runtime/base/transform_array_ref.h Examining data/android-platform-art-8.1.0+r23/runtime/base/transform_array_ref_test.cc Examining data/android-platform-art-8.1.0+r23/runtime/base/transform_iterator.h Examining data/android-platform-art-8.1.0+r23/runtime/base/transform_iterator_test.cc Examining data/android-platform-art-8.1.0+r23/runtime/base/type_static_if.h Examining data/android-platform-art-8.1.0+r23/runtime/base/unix_file/fd_file.h Examining data/android-platform-art-8.1.0+r23/runtime/base/unix_file/fd_file_test.cc Examining data/android-platform-art-8.1.0+r23/runtime/base/unix_file/random_access_file.h Examining data/android-platform-art-8.1.0+r23/runtime/base/unix_file/random_access_file_test.h Examining data/android-platform-art-8.1.0+r23/runtime/base/unix_file/random_access_file_utils.cc Examining data/android-platform-art-8.1.0+r23/runtime/base/unix_file/random_access_file_utils.h Examining data/android-platform-art-8.1.0+r23/runtime/base/unix_file/fd_file.cc Examining data/android-platform-art-8.1.0+r23/runtime/base/value_object.h Examining data/android-platform-art-8.1.0+r23/runtime/base/variant_map.h Examining data/android-platform-art-8.1.0+r23/runtime/base/variant_map_test.cc Examining data/android-platform-art-8.1.0+r23/runtime/base/memory_tool.h Examining data/android-platform-art-8.1.0+r23/runtime/base/bit_vector.h Examining data/android-platform-art-8.1.0+r23/runtime/base/arena_allocator.h Examining data/android-platform-art-8.1.0+r23/runtime/base/mutex.cc Examining data/android-platform-art-8.1.0+r23/runtime/base/scoped_flock.cc Examining data/android-platform-art-8.1.0+r23/runtime/base/stringpiece.cc Examining data/android-platform-art-8.1.0+r23/runtime/base/stl_util.h Examining data/android-platform-art-8.1.0+r23/runtime/base/safe_copy.cc Examining data/android-platform-art-8.1.0+r23/runtime/bit_memory_region.h Examining data/android-platform-art-8.1.0+r23/runtime/bytecode_utils.h Examining data/android-platform-art-8.1.0+r23/runtime/cha.cc Examining data/android-platform-art-8.1.0+r23/runtime/cha.h Examining data/android-platform-art-8.1.0+r23/runtime/cha_test.cc Examining data/android-platform-art-8.1.0+r23/runtime/check_jni.cc Examining data/android-platform-art-8.1.0+r23/runtime/check_jni.h Examining data/android-platform-art-8.1.0+r23/runtime/check_reference_map_visitor.h Examining data/android-platform-art-8.1.0+r23/runtime/class_linker-inl.h Examining data/android-platform-art-8.1.0+r23/runtime/class_linker.cc Examining data/android-platform-art-8.1.0+r23/runtime/class_linker.h Examining data/android-platform-art-8.1.0+r23/runtime/class_linker_test.cc Examining data/android-platform-art-8.1.0+r23/runtime/class_loader_context.cc Examining data/android-platform-art-8.1.0+r23/runtime/class_loader_context.h Examining data/android-platform-art-8.1.0+r23/runtime/class_loader_context_test.cc Examining data/android-platform-art-8.1.0+r23/runtime/class_loader_utils.h Examining data/android-platform-art-8.1.0+r23/runtime/class_reference.h Examining data/android-platform-art-8.1.0+r23/runtime/class_table-inl.h Examining data/android-platform-art-8.1.0+r23/runtime/class_table.cc Examining data/android-platform-art-8.1.0+r23/runtime/class_table.h Examining data/android-platform-art-8.1.0+r23/runtime/class_table_test.cc Examining data/android-platform-art-8.1.0+r23/runtime/code_simulator_container.cc Examining data/android-platform-art-8.1.0+r23/runtime/code_simulator_container.h Examining data/android-platform-art-8.1.0+r23/runtime/common_dex_operations.h Examining data/android-platform-art-8.1.0+r23/runtime/common_runtime_test.cc Examining data/android-platform-art-8.1.0+r23/runtime/common_runtime_test.h Examining data/android-platform-art-8.1.0+r23/runtime/common_throws.cc Examining data/android-platform-art-8.1.0+r23/runtime/common_throws.h Examining data/android-platform-art-8.1.0+r23/runtime/compiler_callbacks.h Examining data/android-platform-art-8.1.0+r23/runtime/compiler_filter.cc Examining data/android-platform-art-8.1.0+r23/runtime/compiler_filter.h Examining data/android-platform-art-8.1.0+r23/runtime/compiler_filter_test.cc Examining data/android-platform-art-8.1.0+r23/runtime/debugger.cc Examining data/android-platform-art-8.1.0+r23/runtime/debugger.h Examining data/android-platform-art-8.1.0+r23/runtime/deoptimization_kind.h Examining data/android-platform-art-8.1.0+r23/runtime/dex2oat_environment_test.h Examining data/android-platform-art-8.1.0+r23/runtime/dex_cache_resolved_classes.h Examining data/android-platform-art-8.1.0+r23/runtime/dex_file-inl.h Examining data/android-platform-art-8.1.0+r23/runtime/dex_file.cc Examining data/android-platform-art-8.1.0+r23/runtime/dex_file_annotations.cc Examining data/android-platform-art-8.1.0+r23/runtime/dex_file_annotations.h Examining data/android-platform-art-8.1.0+r23/runtime/dex_file_layout.cc Examining data/android-platform-art-8.1.0+r23/runtime/dex_file_layout.h Examining data/android-platform-art-8.1.0+r23/runtime/dex_file_test.cc Examining data/android-platform-art-8.1.0+r23/runtime/dex_file_tracking_registrar.cc Examining data/android-platform-art-8.1.0+r23/runtime/dex_file_tracking_registrar.h Examining data/android-platform-art-8.1.0+r23/runtime/dex_file_types.h Examining data/android-platform-art-8.1.0+r23/runtime/dex_file_verifier.cc Examining data/android-platform-art-8.1.0+r23/runtime/dex_file_verifier.h Examining data/android-platform-art-8.1.0+r23/runtime/dex_file_verifier_test.cc Examining data/android-platform-art-8.1.0+r23/runtime/dex_instruction-inl.h Examining data/android-platform-art-8.1.0+r23/runtime/dex_instruction.cc Examining data/android-platform-art-8.1.0+r23/runtime/dex_instruction.h Examining data/android-platform-art-8.1.0+r23/runtime/dex_instruction_list.h Examining data/android-platform-art-8.1.0+r23/runtime/dex_instruction_test.cc Examining data/android-platform-art-8.1.0+r23/runtime/dex_instruction_utils.h Examining data/android-platform-art-8.1.0+r23/runtime/dex_method_iterator.h Examining data/android-platform-art-8.1.0+r23/runtime/dex_method_iterator_test.cc Examining data/android-platform-art-8.1.0+r23/runtime/dex_reference_collection.h Examining data/android-platform-art-8.1.0+r23/runtime/dex_to_dex_decompiler.cc Examining data/android-platform-art-8.1.0+r23/runtime/dex_to_dex_decompiler.h Examining data/android-platform-art-8.1.0+r23/runtime/dexopt_test.cc Examining data/android-platform-art-8.1.0+r23/runtime/dexopt_test.h Examining data/android-platform-art-8.1.0+r23/runtime/elf.h Examining data/android-platform-art-8.1.0+r23/runtime/elf_file.cc Examining data/android-platform-art-8.1.0+r23/runtime/elf_file.h Examining data/android-platform-art-8.1.0+r23/runtime/elf_file_impl.h Examining data/android-platform-art-8.1.0+r23/runtime/elf_utils.h Examining data/android-platform-art-8.1.0+r23/runtime/entrypoints/entrypoint_utils-inl.h Examining data/android-platform-art-8.1.0+r23/runtime/entrypoints/entrypoint_utils.cc Examining data/android-platform-art-8.1.0+r23/runtime/entrypoints/entrypoint_utils.h Examining data/android-platform-art-8.1.0+r23/runtime/entrypoints/jni/jni_entrypoints.cc Examining data/android-platform-art-8.1.0+r23/runtime/entrypoints/jni/jni_entrypoints.h Examining data/android-platform-art-8.1.0+r23/runtime/entrypoints/math_entrypoints.cc Examining data/android-platform-art-8.1.0+r23/runtime/entrypoints/math_entrypoints.h Examining data/android-platform-art-8.1.0+r23/runtime/entrypoints/math_entrypoints_test.cc Examining data/android-platform-art-8.1.0+r23/runtime/entrypoints/quick/callee_save_frame.h Examining data/android-platform-art-8.1.0+r23/runtime/entrypoints/quick/quick_alloc_entrypoints.cc Examining data/android-platform-art-8.1.0+r23/runtime/entrypoints/quick/quick_alloc_entrypoints.h Examining data/android-platform-art-8.1.0+r23/runtime/entrypoints/quick/quick_cast_entrypoints.cc Examining data/android-platform-art-8.1.0+r23/runtime/entrypoints/quick/quick_default_externs.h Examining data/android-platform-art-8.1.0+r23/runtime/entrypoints/quick/quick_default_init_entrypoints.h Examining data/android-platform-art-8.1.0+r23/runtime/entrypoints/quick/quick_deoptimization_entrypoints.cc Examining data/android-platform-art-8.1.0+r23/runtime/entrypoints/quick/quick_dexcache_entrypoints.cc Examining data/android-platform-art-8.1.0+r23/runtime/entrypoints/quick/quick_entrypoints.h Examining data/android-platform-art-8.1.0+r23/runtime/entrypoints/quick/quick_entrypoints_enum.cc Examining data/android-platform-art-8.1.0+r23/runtime/entrypoints/quick/quick_entrypoints_enum.h Examining data/android-platform-art-8.1.0+r23/runtime/entrypoints/quick/quick_entrypoints_list.h Examining data/android-platform-art-8.1.0+r23/runtime/entrypoints/quick/quick_field_entrypoints.cc Examining data/android-platform-art-8.1.0+r23/runtime/entrypoints/quick/quick_fillarray_entrypoints.cc Examining data/android-platform-art-8.1.0+r23/runtime/entrypoints/quick/quick_jni_entrypoints.cc Examining data/android-platform-art-8.1.0+r23/runtime/entrypoints/quick/quick_lock_entrypoints.cc Examining data/android-platform-art-8.1.0+r23/runtime/entrypoints/quick/quick_math_entrypoints.cc Examining data/android-platform-art-8.1.0+r23/runtime/entrypoints/quick/quick_thread_entrypoints.cc Examining data/android-platform-art-8.1.0+r23/runtime/entrypoints/quick/quick_throw_entrypoints.cc Examining data/android-platform-art-8.1.0+r23/runtime/entrypoints/quick/quick_trampoline_entrypoints.cc Examining data/android-platform-art-8.1.0+r23/runtime/entrypoints/quick/quick_trampoline_entrypoints_test.cc Examining data/android-platform-art-8.1.0+r23/runtime/entrypoints/runtime_asm_entrypoints.h Examining data/android-platform-art-8.1.0+r23/runtime/entrypoints_order_test.cc Examining data/android-platform-art-8.1.0+r23/runtime/exec_utils.h Examining data/android-platform-art-8.1.0+r23/runtime/experimental_flags.h Examining data/android-platform-art-8.1.0+r23/runtime/fault_handler.cc Examining data/android-platform-art-8.1.0+r23/runtime/fault_handler.h Examining data/android-platform-art-8.1.0+r23/runtime/gc/accounting/atomic_stack.h Examining data/android-platform-art-8.1.0+r23/runtime/gc/accounting/bitmap-inl.h Examining data/android-platform-art-8.1.0+r23/runtime/gc/accounting/bitmap.cc Examining data/android-platform-art-8.1.0+r23/runtime/gc/accounting/bitmap.h Examining data/android-platform-art-8.1.0+r23/runtime/gc/accounting/card_table-inl.h Examining data/android-platform-art-8.1.0+r23/runtime/gc/accounting/card_table.cc Examining data/android-platform-art-8.1.0+r23/runtime/gc/accounting/card_table.h Examining data/android-platform-art-8.1.0+r23/runtime/gc/accounting/card_table_test.cc Examining data/android-platform-art-8.1.0+r23/runtime/gc/accounting/heap_bitmap-inl.h Examining data/android-platform-art-8.1.0+r23/runtime/gc/accounting/heap_bitmap.h Examining data/android-platform-art-8.1.0+r23/runtime/gc/accounting/mod_union_table-inl.h Examining data/android-platform-art-8.1.0+r23/runtime/gc/accounting/mod_union_table.cc Examining data/android-platform-art-8.1.0+r23/runtime/gc/accounting/mod_union_table.h Examining data/android-platform-art-8.1.0+r23/runtime/gc/accounting/mod_union_table_test.cc Examining data/android-platform-art-8.1.0+r23/runtime/gc/accounting/remembered_set.cc Examining data/android-platform-art-8.1.0+r23/runtime/gc/accounting/remembered_set.h Examining data/android-platform-art-8.1.0+r23/runtime/gc/accounting/space_bitmap-inl.h Examining data/android-platform-art-8.1.0+r23/runtime/gc/accounting/space_bitmap.cc Examining data/android-platform-art-8.1.0+r23/runtime/gc/accounting/space_bitmap.h Examining data/android-platform-art-8.1.0+r23/runtime/gc/accounting/space_bitmap_test.cc Examining data/android-platform-art-8.1.0+r23/runtime/gc/accounting/heap_bitmap.cc Examining data/android-platform-art-8.1.0+r23/runtime/gc/accounting/read_barrier_table.h Examining data/android-platform-art-8.1.0+r23/runtime/gc/allocation_listener.h Examining data/android-platform-art-8.1.0+r23/runtime/gc/allocation_record.cc Examining data/android-platform-art-8.1.0+r23/runtime/gc/allocation_record.h Examining data/android-platform-art-8.1.0+r23/runtime/gc/allocator/rosalloc-inl.h Examining data/android-platform-art-8.1.0+r23/runtime/gc/allocator/rosalloc.cc Examining data/android-platform-art-8.1.0+r23/runtime/gc/allocator/rosalloc.h Examining data/android-platform-art-8.1.0+r23/runtime/gc/allocator/dlmalloc.h Examining data/android-platform-art-8.1.0+r23/runtime/gc/allocator/dlmalloc.cc Examining data/android-platform-art-8.1.0+r23/runtime/gc/allocator_type.h Examining data/android-platform-art-8.1.0+r23/runtime/gc/collector/concurrent_copying-inl.h Examining data/android-platform-art-8.1.0+r23/runtime/gc/collector/concurrent_copying.cc Examining data/android-platform-art-8.1.0+r23/runtime/gc/collector/concurrent_copying.h Examining data/android-platform-art-8.1.0+r23/runtime/gc/collector/garbage_collector.cc Examining data/android-platform-art-8.1.0+r23/runtime/gc/collector/garbage_collector.h Examining data/android-platform-art-8.1.0+r23/runtime/gc/collector/gc_type.h Examining data/android-platform-art-8.1.0+r23/runtime/gc/collector/immune_region.cc Examining data/android-platform-art-8.1.0+r23/runtime/gc/collector/immune_region.h Examining data/android-platform-art-8.1.0+r23/runtime/gc/collector/immune_spaces.h Examining data/android-platform-art-8.1.0+r23/runtime/gc/collector/immune_spaces_test.cc Examining data/android-platform-art-8.1.0+r23/runtime/gc/collector/iteration.h Examining data/android-platform-art-8.1.0+r23/runtime/gc/collector/mark_compact.cc Examining data/android-platform-art-8.1.0+r23/runtime/gc/collector/mark_compact.h Examining data/android-platform-art-8.1.0+r23/runtime/gc/collector/mark_sweep-inl.h Examining data/android-platform-art-8.1.0+r23/runtime/gc/collector/mark_sweep.cc Examining data/android-platform-art-8.1.0+r23/runtime/gc/collector/mark_sweep.h Examining data/android-platform-art-8.1.0+r23/runtime/gc/collector/object_byte_pair.h Examining data/android-platform-art-8.1.0+r23/runtime/gc/collector/partial_mark_sweep.cc Examining data/android-platform-art-8.1.0+r23/runtime/gc/collector/partial_mark_sweep.h Examining data/android-platform-art-8.1.0+r23/runtime/gc/collector/semi_space-inl.h Examining data/android-platform-art-8.1.0+r23/runtime/gc/collector/semi_space.cc Examining data/android-platform-art-8.1.0+r23/runtime/gc/collector/semi_space.h Examining data/android-platform-art-8.1.0+r23/runtime/gc/collector/sticky_mark_sweep.cc Examining data/android-platform-art-8.1.0+r23/runtime/gc/collector/sticky_mark_sweep.h Examining data/android-platform-art-8.1.0+r23/runtime/gc/collector/immune_spaces.cc Examining data/android-platform-art-8.1.0+r23/runtime/gc/collector_type.h Examining data/android-platform-art-8.1.0+r23/runtime/gc/gc_cause.cc Examining data/android-platform-art-8.1.0+r23/runtime/gc/gc_cause.h Examining data/android-platform-art-8.1.0+r23/runtime/gc/gc_pause_listener.h Examining data/android-platform-art-8.1.0+r23/runtime/gc/heap-inl.h Examining data/android-platform-art-8.1.0+r23/runtime/gc/heap-visit-objects-inl.h Examining data/android-platform-art-8.1.0+r23/runtime/gc/heap.cc Examining data/android-platform-art-8.1.0+r23/runtime/gc/heap.h Examining data/android-platform-art-8.1.0+r23/runtime/gc/heap_test.cc Examining data/android-platform-art-8.1.0+r23/runtime/gc/heap_verification_test.cc Examining data/android-platform-art-8.1.0+r23/runtime/gc/reference_processor-inl.h Examining data/android-platform-art-8.1.0+r23/runtime/gc/reference_processor.cc Examining data/android-platform-art-8.1.0+r23/runtime/gc/reference_processor.h Examining data/android-platform-art-8.1.0+r23/runtime/gc/reference_queue.cc Examining data/android-platform-art-8.1.0+r23/runtime/gc/reference_queue.h Examining data/android-platform-art-8.1.0+r23/runtime/gc/reference_queue_test.cc Examining data/android-platform-art-8.1.0+r23/runtime/gc/scoped_gc_critical_section.cc Examining data/android-platform-art-8.1.0+r23/runtime/gc/scoped_gc_critical_section.h Examining data/android-platform-art-8.1.0+r23/runtime/gc/space/bump_pointer_space-inl.h Examining data/android-platform-art-8.1.0+r23/runtime/gc/space/bump_pointer_space-walk-inl.h Examining data/android-platform-art-8.1.0+r23/runtime/gc/space/bump_pointer_space.cc Examining data/android-platform-art-8.1.0+r23/runtime/gc/space/bump_pointer_space.h Examining data/android-platform-art-8.1.0+r23/runtime/gc/space/dlmalloc_space-inl.h Examining data/android-platform-art-8.1.0+r23/runtime/gc/space/dlmalloc_space.cc Examining data/android-platform-art-8.1.0+r23/runtime/gc/space/dlmalloc_space.h Examining data/android-platform-art-8.1.0+r23/runtime/gc/space/dlmalloc_space_random_test.cc Examining data/android-platform-art-8.1.0+r23/runtime/gc/space/dlmalloc_space_static_test.cc Examining data/android-platform-art-8.1.0+r23/runtime/gc/space/image_space.cc Examining data/android-platform-art-8.1.0+r23/runtime/gc/space/image_space.h Examining data/android-platform-art-8.1.0+r23/runtime/gc/space/image_space_fs.h Examining data/android-platform-art-8.1.0+r23/runtime/gc/space/image_space_test.cc Examining data/android-platform-art-8.1.0+r23/runtime/gc/space/large_object_space.cc Examining data/android-platform-art-8.1.0+r23/runtime/gc/space/large_object_space.h Examining data/android-platform-art-8.1.0+r23/runtime/gc/space/large_object_space_test.cc Examining data/android-platform-art-8.1.0+r23/runtime/gc/space/malloc_space.cc Examining data/android-platform-art-8.1.0+r23/runtime/gc/space/malloc_space.h Examining data/android-platform-art-8.1.0+r23/runtime/gc/space/memory_tool_malloc_space-inl.h Examining data/android-platform-art-8.1.0+r23/runtime/gc/space/memory_tool_malloc_space.h Examining data/android-platform-art-8.1.0+r23/runtime/gc/space/memory_tool_settings.h Examining data/android-platform-art-8.1.0+r23/runtime/gc/space/region_space-inl.h Examining data/android-platform-art-8.1.0+r23/runtime/gc/space/region_space.cc Examining data/android-platform-art-8.1.0+r23/runtime/gc/space/region_space.h Examining data/android-platform-art-8.1.0+r23/runtime/gc/space/rosalloc_space-inl.h Examining data/android-platform-art-8.1.0+r23/runtime/gc/space/rosalloc_space.cc Examining data/android-platform-art-8.1.0+r23/runtime/gc/space/rosalloc_space.h Examining data/android-platform-art-8.1.0+r23/runtime/gc/space/rosalloc_space_random_test.cc Examining data/android-platform-art-8.1.0+r23/runtime/gc/space/rosalloc_space_static_test.cc Examining data/android-platform-art-8.1.0+r23/runtime/gc/space/space-inl.h Examining data/android-platform-art-8.1.0+r23/runtime/gc/space/space.cc Examining data/android-platform-art-8.1.0+r23/runtime/gc/space/space.h Examining data/android-platform-art-8.1.0+r23/runtime/gc/space/space_create_test.cc Examining data/android-platform-art-8.1.0+r23/runtime/gc/space/space_test.h Examining data/android-platform-art-8.1.0+r23/runtime/gc/space/zygote_space.cc Examining data/android-platform-art-8.1.0+r23/runtime/gc/space/zygote_space.h Examining data/android-platform-art-8.1.0+r23/runtime/gc/system_weak.h Examining data/android-platform-art-8.1.0+r23/runtime/gc/system_weak_test.cc Examining data/android-platform-art-8.1.0+r23/runtime/gc/task_processor.cc Examining data/android-platform-art-8.1.0+r23/runtime/gc/task_processor.h Examining data/android-platform-art-8.1.0+r23/runtime/gc/task_processor_test.cc Examining data/android-platform-art-8.1.0+r23/runtime/gc/verification.cc Examining data/android-platform-art-8.1.0+r23/runtime/gc/verification.h Examining data/android-platform-art-8.1.0+r23/runtime/gc/weak_root_state.h Examining data/android-platform-art-8.1.0+r23/runtime/gc_root-inl.h Examining data/android-platform-art-8.1.0+r23/runtime/generated/asm_support_gen.h Examining data/android-platform-art-8.1.0+r23/runtime/globals.h Examining data/android-platform-art-8.1.0+r23/runtime/gtest_test.cc Examining data/android-platform-art-8.1.0+r23/runtime/handle.h Examining data/android-platform-art-8.1.0+r23/runtime/handle_scope-inl.h Examining data/android-platform-art-8.1.0+r23/runtime/handle_scope.h Examining data/android-platform-art-8.1.0+r23/runtime/handle_scope_test.cc Examining data/android-platform-art-8.1.0+r23/runtime/hprof/hprof.cc Examining data/android-platform-art-8.1.0+r23/runtime/hprof/hprof.h Examining data/android-platform-art-8.1.0+r23/runtime/image-inl.h Examining data/android-platform-art-8.1.0+r23/runtime/image.cc Examining data/android-platform-art-8.1.0+r23/runtime/image.h Examining data/android-platform-art-8.1.0+r23/runtime/imt_conflict_table.h Examining data/android-platform-art-8.1.0+r23/runtime/imtable-inl.h Examining data/android-platform-art-8.1.0+r23/runtime/imtable.h Examining data/android-platform-art-8.1.0+r23/runtime/imtable_test.cc Examining data/android-platform-art-8.1.0+r23/runtime/indenter.h Examining data/android-platform-art-8.1.0+r23/runtime/indenter_test.cc Examining data/android-platform-art-8.1.0+r23/runtime/indirect_reference_table-inl.h Examining data/android-platform-art-8.1.0+r23/runtime/indirect_reference_table.cc Examining data/android-platform-art-8.1.0+r23/runtime/indirect_reference_table.h Examining data/android-platform-art-8.1.0+r23/runtime/indirect_reference_table_test.cc Examining data/android-platform-art-8.1.0+r23/runtime/instrumentation.cc Examining data/android-platform-art-8.1.0+r23/runtime/instrumentation.h Examining data/android-platform-art-8.1.0+r23/runtime/instrumentation_test.cc Examining data/android-platform-art-8.1.0+r23/runtime/intern_table.cc Examining data/android-platform-art-8.1.0+r23/runtime/intern_table.h Examining data/android-platform-art-8.1.0+r23/runtime/intern_table_test.cc Examining data/android-platform-art-8.1.0+r23/runtime/interpreter/interpreter.cc Examining data/android-platform-art-8.1.0+r23/runtime/interpreter/interpreter.h Examining data/android-platform-art-8.1.0+r23/runtime/interpreter/interpreter_common.cc Examining data/android-platform-art-8.1.0+r23/runtime/interpreter/interpreter_common.h Examining data/android-platform-art-8.1.0+r23/runtime/interpreter/interpreter_intrinsics.cc Examining data/android-platform-art-8.1.0+r23/runtime/interpreter/interpreter_intrinsics.h Examining data/android-platform-art-8.1.0+r23/runtime/interpreter/interpreter_mterp_impl.h Examining data/android-platform-art-8.1.0+r23/runtime/interpreter/interpreter_switch_impl.cc Examining data/android-platform-art-8.1.0+r23/runtime/interpreter/interpreter_switch_impl.h Examining data/android-platform-art-8.1.0+r23/runtime/interpreter/lock_count_data.cc Examining data/android-platform-art-8.1.0+r23/runtime/interpreter/lock_count_data.h Examining data/android-platform-art-8.1.0+r23/runtime/interpreter/mterp/mterp.cc Examining data/android-platform-art-8.1.0+r23/runtime/interpreter/mterp/mterp.h Examining data/android-platform-art-8.1.0+r23/runtime/interpreter/mterp/mterp_stub.cc Examining data/android-platform-art-8.1.0+r23/runtime/interpreter/safe_math.h Examining data/android-platform-art-8.1.0+r23/runtime/interpreter/safe_math_test.cc Examining data/android-platform-art-8.1.0+r23/runtime/interpreter/shadow_frame.cc Examining data/android-platform-art-8.1.0+r23/runtime/interpreter/shadow_frame.h Examining data/android-platform-art-8.1.0+r23/runtime/interpreter/unstarted_runtime.cc Examining data/android-platform-art-8.1.0+r23/runtime/interpreter/unstarted_runtime.h Examining data/android-platform-art-8.1.0+r23/runtime/interpreter/unstarted_runtime_list.h Examining data/android-platform-art-8.1.0+r23/runtime/interpreter/unstarted_runtime_test.cc Examining data/android-platform-art-8.1.0+r23/runtime/invoke_type.h Examining data/android-platform-art-8.1.0+r23/runtime/java_frame_root_info.cc Examining data/android-platform-art-8.1.0+r23/runtime/java_frame_root_info.h Examining data/android-platform-art-8.1.0+r23/runtime/java_vm_ext.cc Examining data/android-platform-art-8.1.0+r23/runtime/java_vm_ext.h Examining data/android-platform-art-8.1.0+r23/runtime/java_vm_ext_test.cc Examining data/android-platform-art-8.1.0+r23/runtime/jdwp/jdwp.h Examining data/android-platform-art-8.1.0+r23/runtime/jdwp/jdwp_adb.cc Examining data/android-platform-art-8.1.0+r23/runtime/jdwp/jdwp_bits.h Examining data/android-platform-art-8.1.0+r23/runtime/jdwp/jdwp_constants.h Examining data/android-platform-art-8.1.0+r23/runtime/jdwp/jdwp_event.cc Examining data/android-platform-art-8.1.0+r23/runtime/jdwp/jdwp_event.h Examining data/android-platform-art-8.1.0+r23/runtime/jdwp/jdwp_expand_buf.cc Examining data/android-platform-art-8.1.0+r23/runtime/jdwp/jdwp_expand_buf.h Examining data/android-platform-art-8.1.0+r23/runtime/jdwp/jdwp_main.cc Examining data/android-platform-art-8.1.0+r23/runtime/jdwp/jdwp_priv.h Examining data/android-platform-art-8.1.0+r23/runtime/jdwp/jdwp_request.cc Examining data/android-platform-art-8.1.0+r23/runtime/jdwp/jdwp_socket.cc Examining data/android-platform-art-8.1.0+r23/runtime/jdwp/object_registry.cc Examining data/android-platform-art-8.1.0+r23/runtime/jdwp/object_registry.h Examining data/android-platform-art-8.1.0+r23/runtime/jdwp/jdwp_handler.cc Examining data/android-platform-art-8.1.0+r23/runtime/jit/debugger_interface.cc Examining data/android-platform-art-8.1.0+r23/runtime/jit/debugger_interface.h Examining data/android-platform-art-8.1.0+r23/runtime/jit/jit.cc Examining data/android-platform-art-8.1.0+r23/runtime/jit/jit.h Examining data/android-platform-art-8.1.0+r23/runtime/jit/jit_code_cache.cc Examining data/android-platform-art-8.1.0+r23/runtime/jit/jit_code_cache.h Examining data/android-platform-art-8.1.0+r23/runtime/jit/profile_compilation_info.cc Examining data/android-platform-art-8.1.0+r23/runtime/jit/profile_compilation_info.h Examining data/android-platform-art-8.1.0+r23/runtime/jit/profile_compilation_info_test.cc Examining data/android-platform-art-8.1.0+r23/runtime/jit/profile_saver.cc Examining data/android-platform-art-8.1.0+r23/runtime/jit/profile_saver.h Examining data/android-platform-art-8.1.0+r23/runtime/jit/profile_saver_options.h Examining data/android-platform-art-8.1.0+r23/runtime/jit/profiling_info.cc Examining data/android-platform-art-8.1.0+r23/runtime/jit/profiling_info.h Examining data/android-platform-art-8.1.0+r23/runtime/jni_env_ext-inl.h Examining data/android-platform-art-8.1.0+r23/runtime/jni_env_ext.cc Examining data/android-platform-art-8.1.0+r23/runtime/jni_env_ext.h Examining data/android-platform-art-8.1.0+r23/runtime/jni_internal.cc Examining data/android-platform-art-8.1.0+r23/runtime/jni_internal.h Examining data/android-platform-art-8.1.0+r23/runtime/jni_internal_test.cc Examining data/android-platform-art-8.1.0+r23/runtime/jobject_comparator.cc Examining data/android-platform-art-8.1.0+r23/runtime/jobject_comparator.h Examining data/android-platform-art-8.1.0+r23/runtime/jvalue-inl.h Examining data/android-platform-art-8.1.0+r23/runtime/jvalue.h Examining data/android-platform-art-8.1.0+r23/runtime/leb128.h Examining data/android-platform-art-8.1.0+r23/runtime/leb128_test.cc Examining data/android-platform-art-8.1.0+r23/runtime/linear_alloc.cc Examining data/android-platform-art-8.1.0+r23/runtime/linear_alloc.h Examining data/android-platform-art-8.1.0+r23/runtime/lock_word-inl.h Examining data/android-platform-art-8.1.0+r23/runtime/lock_word.h Examining data/android-platform-art-8.1.0+r23/runtime/managed_stack-inl.h Examining data/android-platform-art-8.1.0+r23/runtime/managed_stack.cc Examining data/android-platform-art-8.1.0+r23/runtime/managed_stack.h Examining data/android-platform-art-8.1.0+r23/runtime/mapping_table.h Examining data/android-platform-art-8.1.0+r23/runtime/mem_map.cc Examining data/android-platform-art-8.1.0+r23/runtime/mem_map.h Examining data/android-platform-art-8.1.0+r23/runtime/mem_map_test.cc Examining data/android-platform-art-8.1.0+r23/runtime/memory_region.cc Examining data/android-platform-art-8.1.0+r23/runtime/memory_region.h Examining data/android-platform-art-8.1.0+r23/runtime/memory_region_test.cc Examining data/android-platform-art-8.1.0+r23/runtime/method_bss_mapping.h Examining data/android-platform-art-8.1.0+r23/runtime/method_handles-inl.h Examining data/android-platform-art-8.1.0+r23/runtime/method_handles.cc Examining data/android-platform-art-8.1.0+r23/runtime/method_handles.h Examining data/android-platform-art-8.1.0+r23/runtime/method_info.h Examining data/android-platform-art-8.1.0+r23/runtime/method_reference.h Examining data/android-platform-art-8.1.0+r23/runtime/mirror/accessible_object.h Examining data/android-platform-art-8.1.0+r23/runtime/mirror/array-inl.h Examining data/android-platform-art-8.1.0+r23/runtime/mirror/array.cc Examining data/android-platform-art-8.1.0+r23/runtime/mirror/array.h Examining data/android-platform-art-8.1.0+r23/runtime/mirror/call_site.cc Examining data/android-platform-art-8.1.0+r23/runtime/mirror/call_site.h Examining data/android-platform-art-8.1.0+r23/runtime/mirror/class-inl.h Examining data/android-platform-art-8.1.0+r23/runtime/mirror/class-refvisitor-inl.h Examining data/android-platform-art-8.1.0+r23/runtime/mirror/class.cc Examining data/android-platform-art-8.1.0+r23/runtime/mirror/class.h Examining data/android-platform-art-8.1.0+r23/runtime/mirror/class_ext-inl.h Examining data/android-platform-art-8.1.0+r23/runtime/mirror/class_ext.cc Examining data/android-platform-art-8.1.0+r23/runtime/mirror/class_ext.h Examining data/android-platform-art-8.1.0+r23/runtime/mirror/class_flags.h Examining data/android-platform-art-8.1.0+r23/runtime/mirror/class_loader-inl.h Examining data/android-platform-art-8.1.0+r23/runtime/mirror/class_loader.h Examining data/android-platform-art-8.1.0+r23/runtime/mirror/dex_cache-inl.h Examining data/android-platform-art-8.1.0+r23/runtime/mirror/dex_cache.cc Examining data/android-platform-art-8.1.0+r23/runtime/mirror/dex_cache_test.cc Examining data/android-platform-art-8.1.0+r23/runtime/mirror/emulated_stack_frame.cc Examining data/android-platform-art-8.1.0+r23/runtime/mirror/emulated_stack_frame.h Examining data/android-platform-art-8.1.0+r23/runtime/mirror/executable.cc Examining data/android-platform-art-8.1.0+r23/runtime/mirror/executable.h Examining data/android-platform-art-8.1.0+r23/runtime/mirror/field-inl.h Examining data/android-platform-art-8.1.0+r23/runtime/mirror/field.cc Examining data/android-platform-art-8.1.0+r23/runtime/mirror/field.h Examining data/android-platform-art-8.1.0+r23/runtime/mirror/iftable-inl.h Examining data/android-platform-art-8.1.0+r23/runtime/mirror/iftable.h Examining data/android-platform-art-8.1.0+r23/runtime/mirror/method.cc Examining data/android-platform-art-8.1.0+r23/runtime/mirror/method.h Examining data/android-platform-art-8.1.0+r23/runtime/mirror/method_handle_impl-inl.h Examining data/android-platform-art-8.1.0+r23/runtime/mirror/method_handle_impl.cc Examining data/android-platform-art-8.1.0+r23/runtime/mirror/method_handle_impl.h Examining data/android-platform-art-8.1.0+r23/runtime/mirror/method_handles_lookup.cc Examining data/android-platform-art-8.1.0+r23/runtime/mirror/method_handles_lookup.h Examining data/android-platform-art-8.1.0+r23/runtime/mirror/method_type.cc Examining data/android-platform-art-8.1.0+r23/runtime/mirror/method_type.h Examining data/android-platform-art-8.1.0+r23/runtime/mirror/method_type_test.cc Examining data/android-platform-art-8.1.0+r23/runtime/mirror/object-inl.h Examining data/android-platform-art-8.1.0+r23/runtime/mirror/object-readbarrier-inl.h Examining data/android-platform-art-8.1.0+r23/runtime/mirror/object-refvisitor-inl.h Examining data/android-platform-art-8.1.0+r23/runtime/mirror/object.cc Examining data/android-platform-art-8.1.0+r23/runtime/mirror/object.h Examining data/android-platform-art-8.1.0+r23/runtime/mirror/object_array-inl.h Examining data/android-platform-art-8.1.0+r23/runtime/mirror/object_array.h Examining data/android-platform-art-8.1.0+r23/runtime/mirror/object_reference-inl.h Examining data/android-platform-art-8.1.0+r23/runtime/mirror/object_test.cc Examining data/android-platform-art-8.1.0+r23/runtime/mirror/proxy.h Examining data/android-platform-art-8.1.0+r23/runtime/mirror/reference-inl.h Examining data/android-platform-art-8.1.0+r23/runtime/mirror/reference.cc Examining data/android-platform-art-8.1.0+r23/runtime/mirror/reference.h Examining data/android-platform-art-8.1.0+r23/runtime/mirror/stack_trace_element.cc Examining data/android-platform-art-8.1.0+r23/runtime/mirror/stack_trace_element.h Examining data/android-platform-art-8.1.0+r23/runtime/mirror/string-inl.h Examining data/android-platform-art-8.1.0+r23/runtime/mirror/string.cc Examining data/android-platform-art-8.1.0+r23/runtime/mirror/string.h Examining data/android-platform-art-8.1.0+r23/runtime/mirror/throwable.cc Examining data/android-platform-art-8.1.0+r23/runtime/mirror/throwable.h Examining data/android-platform-art-8.1.0+r23/runtime/mirror/dex_cache.h Examining data/android-platform-art-8.1.0+r23/runtime/mirror/object_reference.h Examining data/android-platform-art-8.1.0+r23/runtime/modifiers.h Examining data/android-platform-art-8.1.0+r23/runtime/monitor.cc Examining data/android-platform-art-8.1.0+r23/runtime/monitor_android.cc Examining data/android-platform-art-8.1.0+r23/runtime/monitor_linux.cc Examining data/android-platform-art-8.1.0+r23/runtime/monitor_pool.cc Examining data/android-platform-art-8.1.0+r23/runtime/monitor_pool.h Examining data/android-platform-art-8.1.0+r23/runtime/monitor_pool_test.cc Examining data/android-platform-art-8.1.0+r23/runtime/monitor_test.cc Examining data/android-platform-art-8.1.0+r23/runtime/native/dalvik_system_DexFile.cc Examining data/android-platform-art-8.1.0+r23/runtime/native/dalvik_system_DexFile.h Examining data/android-platform-art-8.1.0+r23/runtime/native/dalvik_system_VMDebug.cc Examining data/android-platform-art-8.1.0+r23/runtime/native/dalvik_system_VMDebug.h Examining data/android-platform-art-8.1.0+r23/runtime/native/dalvik_system_VMRuntime.cc Examining data/android-platform-art-8.1.0+r23/runtime/native/dalvik_system_VMRuntime.h Examining data/android-platform-art-8.1.0+r23/runtime/native/dalvik_system_VMStack.cc Examining data/android-platform-art-8.1.0+r23/runtime/native/dalvik_system_VMStack.h Examining data/android-platform-art-8.1.0+r23/runtime/native/dalvik_system_ZygoteHooks.cc Examining data/android-platform-art-8.1.0+r23/runtime/native/dalvik_system_ZygoteHooks.h Examining data/android-platform-art-8.1.0+r23/runtime/native/java_lang_Class.cc Examining data/android-platform-art-8.1.0+r23/runtime/native/java_lang_Class.h Examining data/android-platform-art-8.1.0+r23/runtime/native/java_lang_Object.cc Examining data/android-platform-art-8.1.0+r23/runtime/native/java_lang_Object.h Examining data/android-platform-art-8.1.0+r23/runtime/native/java_lang_String.cc Examining data/android-platform-art-8.1.0+r23/runtime/native/java_lang_String.h Examining data/android-platform-art-8.1.0+r23/runtime/native/java_lang_StringFactory.cc Examining data/android-platform-art-8.1.0+r23/runtime/native/java_lang_StringFactory.h Examining data/android-platform-art-8.1.0+r23/runtime/native/java_lang_System.cc Examining data/android-platform-art-8.1.0+r23/runtime/native/java_lang_System.h Examining data/android-platform-art-8.1.0+r23/runtime/native/java_lang_Thread.cc Examining data/android-platform-art-8.1.0+r23/runtime/native/java_lang_Thread.h Examining data/android-platform-art-8.1.0+r23/runtime/native/java_lang_Throwable.cc Examining data/android-platform-art-8.1.0+r23/runtime/native/java_lang_Throwable.h Examining data/android-platform-art-8.1.0+r23/runtime/native/java_lang_VMClassLoader.cc Examining data/android-platform-art-8.1.0+r23/runtime/native/java_lang_VMClassLoader.h Examining data/android-platform-art-8.1.0+r23/runtime/native/java_lang_Void.cc Examining data/android-platform-art-8.1.0+r23/runtime/native/java_lang_Void.h Examining data/android-platform-art-8.1.0+r23/runtime/native/java_lang_invoke_MethodHandleImpl.cc Examining data/android-platform-art-8.1.0+r23/runtime/native/java_lang_invoke_MethodHandleImpl.h Examining data/android-platform-art-8.1.0+r23/runtime/native/java_lang_ref_FinalizerReference.cc Examining data/android-platform-art-8.1.0+r23/runtime/native/java_lang_ref_FinalizerReference.h Examining data/android-platform-art-8.1.0+r23/runtime/native/java_lang_ref_Reference.cc Examining data/android-platform-art-8.1.0+r23/runtime/native/java_lang_ref_Reference.h Examining data/android-platform-art-8.1.0+r23/runtime/native/java_lang_reflect_Array.cc Examining data/android-platform-art-8.1.0+r23/runtime/native/java_lang_reflect_Array.h Examining data/android-platform-art-8.1.0+r23/runtime/native/java_lang_reflect_Constructor.cc Examining data/android-platform-art-8.1.0+r23/runtime/native/java_lang_reflect_Constructor.h Examining data/android-platform-art-8.1.0+r23/runtime/native/java_lang_reflect_Executable.cc Examining data/android-platform-art-8.1.0+r23/runtime/native/java_lang_reflect_Executable.h Examining data/android-platform-art-8.1.0+r23/runtime/native/java_lang_reflect_Field.cc Examining data/android-platform-art-8.1.0+r23/runtime/native/java_lang_reflect_Field.h Examining data/android-platform-art-8.1.0+r23/runtime/native/java_lang_reflect_Method.cc Examining data/android-platform-art-8.1.0+r23/runtime/native/java_lang_reflect_Method.h Examining data/android-platform-art-8.1.0+r23/runtime/native/java_lang_reflect_Parameter.cc Examining data/android-platform-art-8.1.0+r23/runtime/native/java_lang_reflect_Parameter.h Examining data/android-platform-art-8.1.0+r23/runtime/native/java_lang_reflect_Proxy.cc Examining data/android-platform-art-8.1.0+r23/runtime/native/java_lang_reflect_Proxy.h Examining data/android-platform-art-8.1.0+r23/runtime/native/java_util_concurrent_atomic_AtomicLong.cc Examining data/android-platform-art-8.1.0+r23/runtime/native/java_util_concurrent_atomic_AtomicLong.h Examining data/android-platform-art-8.1.0+r23/runtime/native/libcore_util_CharsetUtils.cc Examining data/android-platform-art-8.1.0+r23/runtime/native/libcore_util_CharsetUtils.h Examining data/android-platform-art-8.1.0+r23/runtime/native/native_util.h Examining data/android-platform-art-8.1.0+r23/runtime/native/org_apache_harmony_dalvik_ddmc_DdmServer.cc Examining data/android-platform-art-8.1.0+r23/runtime/native/org_apache_harmony_dalvik_ddmc_DdmServer.h Examining data/android-platform-art-8.1.0+r23/runtime/native/org_apache_harmony_dalvik_ddmc_DdmVmInternal.cc Examining data/android-platform-art-8.1.0+r23/runtime/native/org_apache_harmony_dalvik_ddmc_DdmVmInternal.h Examining data/android-platform-art-8.1.0+r23/runtime/native/scoped_fast_native_object_access-inl.h Examining data/android-platform-art-8.1.0+r23/runtime/native/scoped_fast_native_object_access.h Examining data/android-platform-art-8.1.0+r23/runtime/native/sun_misc_Unsafe.cc Examining data/android-platform-art-8.1.0+r23/runtime/native/sun_misc_Unsafe.h Examining data/android-platform-art-8.1.0+r23/runtime/native_bridge_art_interface.cc Examining data/android-platform-art-8.1.0+r23/runtime/native_bridge_art_interface.h Examining data/android-platform-art-8.1.0+r23/runtime/native_stack_dump.h Examining data/android-platform-art-8.1.0+r23/runtime/non_debuggable_classes.cc Examining data/android-platform-art-8.1.0+r23/runtime/non_debuggable_classes.h Examining data/android-platform-art-8.1.0+r23/runtime/noop_compiler_callbacks.h Examining data/android-platform-art-8.1.0+r23/runtime/nth_caller_visitor.h Examining data/android-platform-art-8.1.0+r23/runtime/oat.cc Examining data/android-platform-art-8.1.0+r23/runtime/oat.h Examining data/android-platform-art-8.1.0+r23/runtime/oat_file-inl.h Examining data/android-platform-art-8.1.0+r23/runtime/oat_file.cc Examining data/android-platform-art-8.1.0+r23/runtime/oat_file.h Examining data/android-platform-art-8.1.0+r23/runtime/oat_file_assistant.cc Examining data/android-platform-art-8.1.0+r23/runtime/oat_file_assistant.h Examining data/android-platform-art-8.1.0+r23/runtime/oat_file_assistant_test.cc Examining data/android-platform-art-8.1.0+r23/runtime/oat_file_manager.cc Examining data/android-platform-art-8.1.0+r23/runtime/oat_file_manager.h Examining data/android-platform-art-8.1.0+r23/runtime/oat_file_test.cc Examining data/android-platform-art-8.1.0+r23/runtime/oat_quick_method_header.cc Examining data/android-platform-art-8.1.0+r23/runtime/oat_quick_method_header.h Examining data/android-platform-art-8.1.0+r23/runtime/obj_ptr-inl.h Examining data/android-platform-art-8.1.0+r23/runtime/obj_ptr.h Examining data/android-platform-art-8.1.0+r23/runtime/object_callbacks.h Examining data/android-platform-art-8.1.0+r23/runtime/object_lock.cc Examining data/android-platform-art-8.1.0+r23/runtime/object_lock.h Examining data/android-platform-art-8.1.0+r23/runtime/offsets.cc Examining data/android-platform-art-8.1.0+r23/runtime/offsets.h Examining data/android-platform-art-8.1.0+r23/runtime/openjdkjvm/OpenjdkJvm.cc Examining data/android-platform-art-8.1.0+r23/runtime/openjdkjvmti/OpenjdkJvmTi.cc Examining data/android-platform-art-8.1.0+r23/runtime/openjdkjvmti/art_jvmti.h Examining data/android-platform-art-8.1.0+r23/runtime/openjdkjvmti/events-inl.h Examining data/android-platform-art-8.1.0+r23/runtime/openjdkjvmti/events.cc Examining data/android-platform-art-8.1.0+r23/runtime/openjdkjvmti/events.h Examining data/android-platform-art-8.1.0+r23/runtime/openjdkjvmti/fixed_up_dex_file.cc Examining data/android-platform-art-8.1.0+r23/runtime/openjdkjvmti/fixed_up_dex_file.h Examining data/android-platform-art-8.1.0+r23/runtime/openjdkjvmti/include/jvmti.h Examining data/android-platform-art-8.1.0+r23/runtime/openjdkjvmti/jvmti_allocator.h Examining data/android-platform-art-8.1.0+r23/runtime/openjdkjvmti/jvmti_weak_table-inl.h Examining data/android-platform-art-8.1.0+r23/runtime/openjdkjvmti/jvmti_weak_table.h Examining data/android-platform-art-8.1.0+r23/runtime/openjdkjvmti/object_tagging.cc Examining data/android-platform-art-8.1.0+r23/runtime/openjdkjvmti/object_tagging.h Examining data/android-platform-art-8.1.0+r23/runtime/openjdkjvmti/ti_allocator.cc Examining data/android-platform-art-8.1.0+r23/runtime/openjdkjvmti/ti_allocator.h Examining data/android-platform-art-8.1.0+r23/runtime/openjdkjvmti/ti_breakpoint.cc Examining data/android-platform-art-8.1.0+r23/runtime/openjdkjvmti/ti_breakpoint.h Examining data/android-platform-art-8.1.0+r23/runtime/openjdkjvmti/ti_class.cc Examining data/android-platform-art-8.1.0+r23/runtime/openjdkjvmti/ti_class.h Examining data/android-platform-art-8.1.0+r23/runtime/openjdkjvmti/ti_class_definition.cc Examining data/android-platform-art-8.1.0+r23/runtime/openjdkjvmti/ti_class_definition.h Examining data/android-platform-art-8.1.0+r23/runtime/openjdkjvmti/ti_class_loader.cc Examining data/android-platform-art-8.1.0+r23/runtime/openjdkjvmti/ti_class_loader.h Examining data/android-platform-art-8.1.0+r23/runtime/openjdkjvmti/ti_dump.cc Examining data/android-platform-art-8.1.0+r23/runtime/openjdkjvmti/ti_dump.h Examining data/android-platform-art-8.1.0+r23/runtime/openjdkjvmti/ti_field.cc Examining data/android-platform-art-8.1.0+r23/runtime/openjdkjvmti/ti_field.h Examining data/android-platform-art-8.1.0+r23/runtime/openjdkjvmti/ti_heap.cc Examining data/android-platform-art-8.1.0+r23/runtime/openjdkjvmti/ti_heap.h Examining data/android-platform-art-8.1.0+r23/runtime/openjdkjvmti/ti_jni.cc Examining data/android-platform-art-8.1.0+r23/runtime/openjdkjvmti/ti_jni.h Examining data/android-platform-art-8.1.0+r23/runtime/openjdkjvmti/ti_method.cc Examining data/android-platform-art-8.1.0+r23/runtime/openjdkjvmti/ti_method.h Examining data/android-platform-art-8.1.0+r23/runtime/openjdkjvmti/ti_monitor.cc Examining data/android-platform-art-8.1.0+r23/runtime/openjdkjvmti/ti_monitor.h Examining data/android-platform-art-8.1.0+r23/runtime/openjdkjvmti/ti_object.cc Examining data/android-platform-art-8.1.0+r23/runtime/openjdkjvmti/ti_object.h Examining data/android-platform-art-8.1.0+r23/runtime/openjdkjvmti/ti_phase.cc Examining data/android-platform-art-8.1.0+r23/runtime/openjdkjvmti/ti_phase.h Examining data/android-platform-art-8.1.0+r23/runtime/openjdkjvmti/ti_properties.cc Examining data/android-platform-art-8.1.0+r23/runtime/openjdkjvmti/ti_properties.h Examining data/android-platform-art-8.1.0+r23/runtime/openjdkjvmti/ti_redefine.cc Examining data/android-platform-art-8.1.0+r23/runtime/openjdkjvmti/ti_redefine.h Examining data/android-platform-art-8.1.0+r23/runtime/openjdkjvmti/ti_search.cc Examining data/android-platform-art-8.1.0+r23/runtime/openjdkjvmti/ti_search.h Examining data/android-platform-art-8.1.0+r23/runtime/openjdkjvmti/ti_stack.cc Examining data/android-platform-art-8.1.0+r23/runtime/openjdkjvmti/ti_stack.h Examining data/android-platform-art-8.1.0+r23/runtime/openjdkjvmti/ti_thread.cc Examining data/android-platform-art-8.1.0+r23/runtime/openjdkjvmti/ti_thread.h Examining data/android-platform-art-8.1.0+r23/runtime/openjdkjvmti/ti_threadgroup.cc Examining data/android-platform-art-8.1.0+r23/runtime/openjdkjvmti/ti_threadgroup.h Examining data/android-platform-art-8.1.0+r23/runtime/openjdkjvmti/ti_timers.cc Examining data/android-platform-art-8.1.0+r23/runtime/openjdkjvmti/ti_timers.h Examining data/android-platform-art-8.1.0+r23/runtime/openjdkjvmti/transform.cc Examining data/android-platform-art-8.1.0+r23/runtime/openjdkjvmti/transform.h Examining data/android-platform-art-8.1.0+r23/runtime/os.h Examining data/android-platform-art-8.1.0+r23/runtime/os_linux.cc Examining data/android-platform-art-8.1.0+r23/runtime/parsed_options.cc Examining data/android-platform-art-8.1.0+r23/runtime/parsed_options.h Examining data/android-platform-art-8.1.0+r23/runtime/parsed_options_test.cc Examining data/android-platform-art-8.1.0+r23/runtime/plugin.cc Examining data/android-platform-art-8.1.0+r23/runtime/plugin.h Examining data/android-platform-art-8.1.0+r23/runtime/prebuilt_tools_test.cc Examining data/android-platform-art-8.1.0+r23/runtime/primitive.cc Examining data/android-platform-art-8.1.0+r23/runtime/process_state.h Examining data/android-platform-art-8.1.0+r23/runtime/proxy_test.cc Examining data/android-platform-art-8.1.0+r23/runtime/quick/quick_method_frame_info.h Examining data/android-platform-art-8.1.0+r23/runtime/quick_exception_handler.cc Examining data/android-platform-art-8.1.0+r23/runtime/quick_exception_handler.h Examining data/android-platform-art-8.1.0+r23/runtime/quicken_info.h Examining data/android-platform-art-8.1.0+r23/runtime/read_barrier-inl.h Examining data/android-platform-art-8.1.0+r23/runtime/read_barrier.cc Examining data/android-platform-art-8.1.0+r23/runtime/read_barrier.h Examining data/android-platform-art-8.1.0+r23/runtime/read_barrier_c.h Examining data/android-platform-art-8.1.0+r23/runtime/read_barrier_option.h Examining data/android-platform-art-8.1.0+r23/runtime/reference_table.cc Examining data/android-platform-art-8.1.0+r23/runtime/reference_table.h Examining data/android-platform-art-8.1.0+r23/runtime/reference_table_test.cc Examining data/android-platform-art-8.1.0+r23/runtime/reflection-inl.h Examining data/android-platform-art-8.1.0+r23/runtime/reflection.cc Examining data/android-platform-art-8.1.0+r23/runtime/reflection.h Examining data/android-platform-art-8.1.0+r23/runtime/reflection_test.cc Examining data/android-platform-art-8.1.0+r23/runtime/runtime-inl.h Examining data/android-platform-art-8.1.0+r23/runtime/runtime.cc Examining data/android-platform-art-8.1.0+r23/runtime/runtime.h Examining data/android-platform-art-8.1.0+r23/runtime/runtime_android.cc Examining data/android-platform-art-8.1.0+r23/runtime/runtime_callbacks.cc Examining data/android-platform-art-8.1.0+r23/runtime/runtime_callbacks.h Examining data/android-platform-art-8.1.0+r23/runtime/runtime_callbacks_test.cc Examining data/android-platform-art-8.1.0+r23/runtime/runtime_common.cc Examining data/android-platform-art-8.1.0+r23/runtime/runtime_linux.cc Examining data/android-platform-art-8.1.0+r23/runtime/runtime_options.cc Examining data/android-platform-art-8.1.0+r23/runtime/runtime_options.h Examining data/android-platform-art-8.1.0+r23/runtime/runtime_stats.h Examining data/android-platform-art-8.1.0+r23/runtime/safe_map.h Examining data/android-platform-art-8.1.0+r23/runtime/scoped_thread_state_change-inl.h Examining data/android-platform-art-8.1.0+r23/runtime/scoped_thread_state_change.cc Examining data/android-platform-art-8.1.0+r23/runtime/scoped_thread_state_change.h Examining data/android-platform-art-8.1.0+r23/runtime/signal_catcher.cc Examining data/android-platform-art-8.1.0+r23/runtime/signal_catcher.h Examining data/android-platform-art-8.1.0+r23/runtime/signal_set.h Examining data/android-platform-art-8.1.0+r23/runtime/simulator/code_simulator.cc Examining data/android-platform-art-8.1.0+r23/runtime/simulator/code_simulator.h Examining data/android-platform-art-8.1.0+r23/runtime/simulator/code_simulator_arm64.cc Examining data/android-platform-art-8.1.0+r23/runtime/simulator/code_simulator_arm64.h Examining data/android-platform-art-8.1.0+r23/runtime/stack.cc Examining data/android-platform-art-8.1.0+r23/runtime/stack.h Examining data/android-platform-art-8.1.0+r23/runtime/stack_map.cc Examining data/android-platform-art-8.1.0+r23/runtime/stack_map.h Examining data/android-platform-art-8.1.0+r23/runtime/stack_reference.h Examining data/android-platform-art-8.1.0+r23/runtime/string_reference.h Examining data/android-platform-art-8.1.0+r23/runtime/suspend_reason.h Examining data/android-platform-art-8.1.0+r23/runtime/thread-current-inl.h Examining data/android-platform-art-8.1.0+r23/runtime/thread-inl.h Examining data/android-platform-art-8.1.0+r23/runtime/thread.cc Examining data/android-platform-art-8.1.0+r23/runtime/thread.h Examining data/android-platform-art-8.1.0+r23/runtime/thread_android.cc Examining data/android-platform-art-8.1.0+r23/runtime/thread_linux.cc Examining data/android-platform-art-8.1.0+r23/runtime/thread_list.cc Examining data/android-platform-art-8.1.0+r23/runtime/thread_list.h Examining data/android-platform-art-8.1.0+r23/runtime/thread_pool.cc Examining data/android-platform-art-8.1.0+r23/runtime/thread_pool.h Examining data/android-platform-art-8.1.0+r23/runtime/thread_pool_test.cc Examining data/android-platform-art-8.1.0+r23/runtime/thread_state.h Examining data/android-platform-art-8.1.0+r23/runtime/ti/agent.cc Examining data/android-platform-art-8.1.0+r23/runtime/ti/agent.h Examining data/android-platform-art-8.1.0+r23/runtime/trace.cc Examining data/android-platform-art-8.1.0+r23/runtime/trace.h Examining data/android-platform-art-8.1.0+r23/runtime/transaction.cc Examining data/android-platform-art-8.1.0+r23/runtime/transaction.h Examining data/android-platform-art-8.1.0+r23/runtime/transaction_test.cc Examining data/android-platform-art-8.1.0+r23/runtime/type_lookup_table.cc Examining data/android-platform-art-8.1.0+r23/runtime/type_lookup_table.h Examining data/android-platform-art-8.1.0+r23/runtime/type_lookup_table_test.cc Examining data/android-platform-art-8.1.0+r23/runtime/type_reference.h Examining data/android-platform-art-8.1.0+r23/runtime/utf-inl.h Examining data/android-platform-art-8.1.0+r23/runtime/utf.cc Examining data/android-platform-art-8.1.0+r23/runtime/utf.h Examining data/android-platform-art-8.1.0+r23/runtime/utf_test.cc Examining data/android-platform-art-8.1.0+r23/runtime/utils.cc Examining data/android-platform-art-8.1.0+r23/runtime/utils.h Examining data/android-platform-art-8.1.0+r23/runtime/utils/dex_cache_arrays_layout-inl.h Examining data/android-platform-art-8.1.0+r23/runtime/utils/dex_cache_arrays_layout.h Examining data/android-platform-art-8.1.0+r23/runtime/utils_test.cc Examining data/android-platform-art-8.1.0+r23/runtime/vdex_file.cc Examining data/android-platform-art-8.1.0+r23/runtime/vdex_file.h Examining data/android-platform-art-8.1.0+r23/runtime/vdex_file_test.cc Examining data/android-platform-art-8.1.0+r23/runtime/verifier/instruction_flags.cc Examining data/android-platform-art-8.1.0+r23/runtime/verifier/instruction_flags.h Examining data/android-platform-art-8.1.0+r23/runtime/verifier/method_verifier-inl.h Examining data/android-platform-art-8.1.0+r23/runtime/verifier/method_verifier.cc Examining data/android-platform-art-8.1.0+r23/runtime/verifier/method_verifier.h Examining data/android-platform-art-8.1.0+r23/runtime/verifier/method_verifier_test.cc Examining data/android-platform-art-8.1.0+r23/runtime/verifier/reg_type-inl.h Examining data/android-platform-art-8.1.0+r23/runtime/verifier/reg_type.cc Examining data/android-platform-art-8.1.0+r23/runtime/verifier/reg_type.h Examining data/android-platform-art-8.1.0+r23/runtime/verifier/reg_type_cache-inl.h Examining data/android-platform-art-8.1.0+r23/runtime/verifier/reg_type_cache.cc Examining data/android-platform-art-8.1.0+r23/runtime/verifier/reg_type_cache.h Examining data/android-platform-art-8.1.0+r23/runtime/verifier/reg_type_test.cc Examining data/android-platform-art-8.1.0+r23/runtime/verifier/register_line-inl.h Examining data/android-platform-art-8.1.0+r23/runtime/verifier/register_line.cc Examining data/android-platform-art-8.1.0+r23/runtime/verifier/register_line.h Examining data/android-platform-art-8.1.0+r23/runtime/verifier/verifier_compiler_binding.h Examining data/android-platform-art-8.1.0+r23/runtime/verifier/verifier_deps.cc Examining data/android-platform-art-8.1.0+r23/runtime/verifier/verifier_deps.h Examining data/android-platform-art-8.1.0+r23/runtime/verifier/verifier_enums.h Examining data/android-platform-art-8.1.0+r23/runtime/verify_object-inl.h Examining data/android-platform-art-8.1.0+r23/runtime/verify_object.cc Examining data/android-platform-art-8.1.0+r23/runtime/verify_object.h Examining data/android-platform-art-8.1.0+r23/runtime/well_known_classes.cc Examining data/android-platform-art-8.1.0+r23/runtime/well_known_classes.h Examining data/android-platform-art-8.1.0+r23/runtime/zip_archive.cc Examining data/android-platform-art-8.1.0+r23/runtime/zip_archive.h Examining data/android-platform-art-8.1.0+r23/runtime/zip_archive_test.cc Examining data/android-platform-art-8.1.0+r23/runtime/runtime_common.h Examining data/android-platform-art-8.1.0+r23/runtime/dex_file.h Examining data/android-platform-art-8.1.0+r23/runtime/exec_utils.cc Examining data/android-platform-art-8.1.0+r23/runtime/primitive.h Examining data/android-platform-art-8.1.0+r23/runtime/monitor.h Examining data/android-platform-art-8.1.0+r23/runtime/native_stack_dump.cc Examining data/android-platform-art-8.1.0+r23/runtime/gc_root.h Examining data/android-platform-art-8.1.0+r23/runtime/stride_iterator.h Examining data/android-platform-art-8.1.0+r23/sigchainlib/sigchain.h Examining data/android-platform-art-8.1.0+r23/sigchainlib/sigchain_dummy.cc Examining data/android-platform-art-8.1.0+r23/sigchainlib/sigchain.cc Examining data/android-platform-art-8.1.0+r23/test/004-JniTest/jni_test.cc Examining data/android-platform-art-8.1.0+r23/test/004-ReferenceMap/stack_walk_refmap_jni.cc Examining data/android-platform-art-8.1.0+r23/test/004-SignalTest/signaltest.cc Examining data/android-platform-art-8.1.0+r23/test/004-StackWalk/stack_walk_jni.cc Examining data/android-platform-art-8.1.0+r23/test/004-ThreadStress/thread_stress.cc Examining data/android-platform-art-8.1.0+r23/test/004-UnsafeTest/unsafe_test.cc Examining data/android-platform-art-8.1.0+r23/test/023-many-interfaces/iface-gen.c Examining data/android-platform-art-8.1.0+r23/test/044-proxy/native_proxy.cc Examining data/android-platform-art-8.1.0+r23/test/051-thread/thread_test.cc Examining data/android-platform-art-8.1.0+r23/test/115-native-bridge/nativebridge.cc Examining data/android-platform-art-8.1.0+r23/test/117-nopatchoat/nopatchoat.cc Examining data/android-platform-art-8.1.0+r23/test/1337-gc-coverage/gc_coverage.cc Examining data/android-platform-art-8.1.0+r23/test/136-daemon-jni-shutdown/daemon_jni_shutdown.cc Examining data/android-platform-art-8.1.0+r23/test/137-cfi/cfi.cc Examining data/android-platform-art-8.1.0+r23/test/139-register-natives/regnative.cc Examining data/android-platform-art-8.1.0+r23/test/141-class-unload/jni_unload.cc Examining data/android-platform-art-8.1.0+r23/test/148-multithread-gc-annotations/gc_coverage.cc Examining data/android-platform-art-8.1.0+r23/test/149-suspend-all-stress/suspend_all.cc Examining data/android-platform-art-8.1.0+r23/test/154-gc-loop/heap_interface.cc Examining data/android-platform-art-8.1.0+r23/test/1900-track-alloc/alloc.cc Examining data/android-platform-art-8.1.0+r23/test/1901-get-bytecodes/bytecodes.cc Examining data/android-platform-art-8.1.0+r23/test/1905-suspend-native/native_suspend.cc Examining data/android-platform-art-8.1.0+r23/test/1908-suspend-native-resume-self/native_suspend_resume.cc Examining data/android-platform-art-8.1.0+r23/test/1909-per-agent-tls/agent_tls.cc Examining data/android-platform-art-8.1.0+r23/test/303-verification-stress/classes-gen.c Examining data/android-platform-art-8.1.0+r23/test/454-get-vreg/get_vreg_jni.cc Examining data/android-platform-art-8.1.0+r23/test/457-regs/regs_jni.cc Examining data/android-platform-art-8.1.0+r23/test/461-get-reference-vreg/get_reference_vreg_jni.cc Examining data/android-platform-art-8.1.0+r23/test/466-get-live-vreg/get_live_vreg_jni.cc Examining data/android-platform-art-8.1.0+r23/test/497-inlining-and-class-loader/clear_dex_cache.cc Examining data/android-platform-art-8.1.0+r23/test/543-env-long-ref/env_long_ref.cc Examining data/android-platform-art-8.1.0+r23/test/566-polymorphic-inlining/polymorphic_inline.cc Examining data/android-platform-art-8.1.0+r23/test/570-checker-osr/osr.cc Examining data/android-platform-art-8.1.0+r23/test/595-profile-saving/profile-saving.cc Examining data/android-platform-art-8.1.0+r23/test/596-app-images/app_images.cc Examining data/android-platform-art-8.1.0+r23/test/596-monitor-inflation/monitor_inflation.cc Examining data/android-platform-art-8.1.0+r23/test/597-deopt-new-string/deopt.cc Examining data/android-platform-art-8.1.0+r23/test/626-const-class-linking/clear_dex_cache_types.cc Examining data/android-platform-art-8.1.0+r23/test/642-fp-callees/fp_callees.cc Examining data/android-platform-art-8.1.0+r23/test/647-jni-get-field-id/get_field_id.cc Examining data/android-platform-art-8.1.0+r23/test/656-annotation-lookup-generic-jni/test.cc Examining data/android-platform-art-8.1.0+r23/test/708-jit-cache-churn/jit.cc Examining data/android-platform-art-8.1.0+r23/test/900-hello-plugin/load_unload.cc Examining data/android-platform-art-8.1.0+r23/test/901-hello-ti-agent/basics.cc Examining data/android-platform-art-8.1.0+r23/test/901-hello-ti-agent/basics.h Examining data/android-platform-art-8.1.0+r23/test/903-hello-tagging/tagging.cc Examining data/android-platform-art-8.1.0+r23/test/904-object-allocation/tracking.cc Examining data/android-platform-art-8.1.0+r23/test/905-object-free/tracking_free.cc Examining data/android-platform-art-8.1.0+r23/test/906-iterate-heap/iterate_heap.cc Examining data/android-platform-art-8.1.0+r23/test/907-get-loaded-classes/get_loaded_classes.cc Examining data/android-platform-art-8.1.0+r23/test/908-gc-start-finish/gc_callbacks.cc Examining data/android-platform-art-8.1.0+r23/test/909-attach-agent/attach.cc Examining data/android-platform-art-8.1.0+r23/test/909-attach-agent/attach.h Examining data/android-platform-art-8.1.0+r23/test/910-methods/methods.cc Examining data/android-platform-art-8.1.0+r23/test/911-get-stack-trace/stack_trace.cc Examining data/android-platform-art-8.1.0+r23/test/912-classes/classes.cc Examining data/android-platform-art-8.1.0+r23/test/912-classes/classes_art.cc Examining data/android-platform-art-8.1.0+r23/test/913-heaps/heaps.cc Examining data/android-platform-art-8.1.0+r23/test/918-fields/fields.cc Examining data/android-platform-art-8.1.0+r23/test/920-objects/objects.cc Examining data/android-platform-art-8.1.0+r23/test/922-properties/properties.cc Examining data/android-platform-art-8.1.0+r23/test/923-monitors/monitors.cc Examining data/android-platform-art-8.1.0+r23/test/924-threads/threads.cc Examining data/android-platform-art-8.1.0+r23/test/925-threadgroups/threadgroups.cc Examining data/android-platform-art-8.1.0+r23/test/927-timers/timers.cc Examining data/android-platform-art-8.1.0+r23/test/928-jni-table/jni_table.cc Examining data/android-platform-art-8.1.0+r23/test/929-search/search.cc Examining data/android-platform-art-8.1.0+r23/test/931-agent-thread/agent_thread.cc Examining data/android-platform-art-8.1.0+r23/test/933-misc-events/misc_events.cc Examining data/android-platform-art-8.1.0+r23/test/936-search-onload/search_onload.cc Examining data/android-platform-art-8.1.0+r23/test/936-search-onload/search_onload.h Examining data/android-platform-art-8.1.0+r23/test/945-obsolete-native/obsolete_native.cc Examining data/android-platform-art-8.1.0+r23/test/983-source-transform-verify/source_transform.cc Examining data/android-platform-art-8.1.0+r23/test/983-source-transform-verify/source_transform.h Examining data/android-platform-art-8.1.0+r23/test/984-obsolete-invoke/obsolete_invoke.cc Examining data/android-platform-art-8.1.0+r23/test/986-native-method-bind/native_bind.cc Examining data/android-platform-art-8.1.0+r23/test/987-agent-bind/agent_bind.cc Examining data/android-platform-art-8.1.0+r23/test/989-method-trace-throw/method_trace.cc Examining data/android-platform-art-8.1.0+r23/test/991-field-trace-2/field_trace.cc Examining data/android-platform-art-8.1.0+r23/test/992-source-data/source_file.cc Examining data/android-platform-art-8.1.0+r23/test/993-breakpoints/breakpoints.cc Examining data/android-platform-art-8.1.0+r23/test/996-breakpoint-obsolete/obsolete_breakpoints.cc Examining data/android-platform-art-8.1.0+r23/test/common/runtime_state.cc Examining data/android-platform-art-8.1.0+r23/test/common/stack_inspect.cc Examining data/android-platform-art-8.1.0+r23/test/ti-agent/agent_common.cc Examining data/android-platform-art-8.1.0+r23/test/ti-agent/agent_startup.cc Examining data/android-platform-art-8.1.0+r23/test/ti-agent/breakpoint_helper.cc Examining data/android-platform-art-8.1.0+r23/test/ti-agent/common_helper.cc Examining data/android-platform-art-8.1.0+r23/test/ti-agent/common_helper.h Examining data/android-platform-art-8.1.0+r23/test/ti-agent/common_load.cc Examining data/android-platform-art-8.1.0+r23/test/ti-agent/jni_binder.cc Examining data/android-platform-art-8.1.0+r23/test/ti-agent/jni_binder.h Examining data/android-platform-art-8.1.0+r23/test/ti-agent/jni_helper.h Examining data/android-platform-art-8.1.0+r23/test/ti-agent/jvmti_helper.cc Examining data/android-platform-art-8.1.0+r23/test/ti-agent/jvmti_helper.h Examining data/android-platform-art-8.1.0+r23/test/ti-agent/redefinition_helper.cc Examining data/android-platform-art-8.1.0+r23/test/ti-agent/scoped_local_ref.h Examining data/android-platform-art-8.1.0+r23/test/ti-agent/scoped_primitive_array.h Examining data/android-platform-art-8.1.0+r23/test/ti-agent/scoped_utf_chars.h Examining data/android-platform-art-8.1.0+r23/test/ti-agent/suspension_helper.cc Examining data/android-platform-art-8.1.0+r23/test/ti-agent/test_env.cc Examining data/android-platform-art-8.1.0+r23/test/ti-agent/test_env.h Examining data/android-platform-art-8.1.0+r23/test/ti-agent/ti_macros.h Examining data/android-platform-art-8.1.0+r23/test/ti-agent/ti_utf.h Examining data/android-platform-art-8.1.0+r23/test/ti-agent/trace_helper.cc Examining data/android-platform-art-8.1.0+r23/test/ti-stress/stress.cc Examining data/android-platform-art-8.1.0+r23/tools/cpp-define-generator/main.cc Examining data/android-platform-art-8.1.0+r23/tools/dmtracedump/createtesttrace.cc Examining data/android-platform-art-8.1.0+r23/tools/dmtracedump/profile.h Examining data/android-platform-art-8.1.0+r23/tools/dmtracedump/tracedump.cc Examining data/android-platform-art-8.1.0+r23/tools/jfuzz/jfuzz.cc Examining data/android-platform-art-8.1.0+r23/debian/dlmalloc/malloc.c Examining data/android-platform-art-8.1.0+r23/debian/dlmalloc/malloc.h FINAL RESULTS: data/android-platform-art-8.1.0+r23/runtime/oat_file_assistant.cc:618:7: [5] (race) chmod: This accepts filename arguments; if an attacker can move those files, a race condition results. (CWE-362). Use fchmod( ) instead. if (chmod(dir.c_str(), mode) != 0) { data/android-platform-art-8.1.0+r23/runtime/oat_file_assistant_test.cc:59:11: [5] (race) chmod: This accepts filename arguments; if an attacker can move those files, a race condition results. (CWE-362). Use fchmod( ) instead. if (chmod(dex_parent_.c_str(), 0555) != 0) { data/android-platform-art-8.1.0+r23/runtime/oat_file_assistant_test.cc:69:11: [5] (race) chmod: This accepts filename arguments; if an attacker can move those files, a race condition results. (CWE-362). Use fchmod( ) instead. if (chmod(dex_parent_.c_str(), 0777) != 0) { data/android-platform-art-8.1.0+r23/compiler/cfi_test.h:147:7: [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(f, i % 12 == 0 ? "\n " : " "); // Whitespace. data/android-platform-art-8.1.0+r23/compiler/debug/dwarf/dwarf_test.h:89:20: [4] (shell) popen: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. FILE* output = popen(cmd.data(), "r"); data/android-platform-art-8.1.0+r23/compiler/debug/elf_debug_info_writer.h:481:5: [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. snprintf(name, sizeof(name), "0x%" PRIXPTR, reinterpret_cast<uintptr_t>(methods_ptr)); data/android-platform-art-8.1.0+r23/compiler/optimizing/instruction_simplifier.cc:1898:45: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. DCHECK(method->GetDeclaringClass() == system); data/android-platform-art-8.1.0+r23/compiler/optimizing/instruction_simplifier_shared.cc:232:49: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. bool TryExtractArrayAccessAddress(HInstruction* access, data/android-platform-art-8.1.0+r23/compiler/optimizing/instruction_simplifier_shared.cc:264:56: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. access->GetBlock()->InsertInstructionBefore(address, access); data/android-platform-art-8.1.0+r23/compiler/optimizing/instruction_simplifier_shared.cc:351:59: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. bool TryExtractVecArrayAccessAddress(HVecMemoryOperation* access, HInstruction* index) { data/android-platform-art-8.1.0+r23/compiler/optimizing/instruction_simplifier_shared.cc:369:49: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. if (user->IsVecMemoryOperation() && user != access) { data/android-platform-art-8.1.0+r23/compiler/optimizing/instruction_simplifier_shared.cc:400:56: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. access->GetBlock()->InsertInstructionBefore(address, access); data/android-platform-art-8.1.0+r23/compiler/optimizing/instruction_simplifier_shared.h:56:49: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. bool TryExtractArrayAccessAddress(HInstruction* access, data/android-platform-art-8.1.0+r23/compiler/optimizing/instruction_simplifier_shared.h:62:59: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. bool TryExtractVecArrayAccessAddress(HVecMemoryOperation* access, HInstruction* index); data/android-platform-art-8.1.0+r23/compiler/utils/assembler_thumb_test.cc:126:20: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. int cmd_result = system(cmd); data/android-platform-art-8.1.0+r23/compiler/utils/assembler_thumb_test.cc:132:21: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. int cmd_result2 = system(cmd); data/android-platform-art-8.1.0+r23/compiler/utils/assembler_thumb_test.cc:143:23: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. int cmd_result3 = system(cmd); data/android-platform-art-8.1.0+r23/compiler/utils/assembler_thumb_test.cc:147:16: [4] (shell) popen: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. FILE *fp = popen(cmd, "r"); data/android-platform-art-8.1.0+r23/dex2oat/dex2oat_image_test.cc:204:7: [4] (shell) execv: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. execv(c_args[0], const_cast<char* const*>(c_args.data())); data/android-platform-art-8.1.0+r23/dex2oat/dex2oat_test.cc:224:7: [4] (shell) execv: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. execv(c_args[0], const_cast<char* const*>(c_args.data())); data/android-platform-art-8.1.0+r23/dexdump/dexdump.cc:442:7: [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(gOutFile, "%" PRId8, static_cast<s1>(readVarWidth(data, arg, false))); data/android-platform-art-8.1.0+r23/dexdump/dexdump.cc:445:7: [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(gOutFile, "%" PRId16, static_cast<s2>(readVarWidth(data, arg, true))); data/android-platform-art-8.1.0+r23/dexdump/dexdump.cc:448:7: [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(gOutFile, "%" PRIu16, static_cast<u2>(readVarWidth(data, arg, false))); data/android-platform-art-8.1.0+r23/dexdump/dexdump.cc:451:7: [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(gOutFile, "%" PRId32, static_cast<s4>(readVarWidth(data, arg, true))); data/android-platform-art-8.1.0+r23/dexdump/dexdump.cc:454:7: [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(gOutFile, "%" PRId64, static_cast<s8>(readVarWidth(data, arg, true))); data/android-platform-art-8.1.0+r23/dexdump/dexdump.cc:1125:7: [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(gOutFile, " v%d, #double %g // #%016" PRIx64, data/android-platform-art-8.1.0+r23/dexlayout/dexlayout.cc:518:7: [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(out_file_, "%" PRId8, data->GetByte()); data/android-platform-art-8.1.0+r23/dexlayout/dexlayout.cc:521:7: [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(out_file_, "%" PRId16, data->GetShort()); data/android-platform-art-8.1.0+r23/dexlayout/dexlayout.cc:524:7: [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(out_file_, "%" PRIu16, data->GetChar()); data/android-platform-art-8.1.0+r23/dexlayout/dexlayout.cc:527:7: [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(out_file_, "%" PRId32, data->GetInt()); data/android-platform-art-8.1.0+r23/dexlayout/dexlayout.cc:530:7: [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(out_file_, "%" PRId64, data->GetLong()); data/android-platform-art-8.1.0+r23/dexlayout/dexlayout.cc:1051:7: [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(out_file_, " v%d, #double %g // #%016" PRIx64, data/android-platform-art-8.1.0+r23/oatdump/oatdump_test.h:152:14: [4] (shell) execv: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. UNUSED(execv(argv[0], &argv[0])); data/android-platform-art-8.1.0+r23/runtime/base/time_utils.cc:111:5: [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. snprintf(ptr, avail_digits, "%" PRIu64, fractional_part); data/android-platform-art-8.1.0+r23/runtime/common_runtime_test.cc:311:16: [4] (buffer) sscanf: The scanf() family's %s operation, without a limit specification, permits buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a different input function. If the scanf format is influenceable by an attacker, it's exploitable. if (std::sscanf(entry->d_name, format.c_str(), &version) == 1) { data/android-platform-art-8.1.0+r23/runtime/exec_utils.cc:61:7: [4] (shell) execv: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. execv(program, &args[0]); data/android-platform-art-8.1.0+r23/runtime/gc/space/image_space.cc:328:38: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. std::unique_ptr<ImageHeader> system(ReadSpecificImageHeader(system_filename.c_str(), data/android-platform-art-8.1.0+r23/runtime/gc/space/image_space.cc:332:13: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. if (system.get() == nullptr || data/android-platform-art-8.1.0+r23/runtime/gc/space/image_space.cc:336:18: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. return system.release(); data/android-platform-art-8.1.0+r23/runtime/gc/space/image_space.cc:379:7: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. if (access(dalvik_cache.c_str(), O_RDWR) == 0) { data/android-platform-art-8.1.0+r23/runtime/monitor.cc:514:69: [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. __attribute__((format(printf, 1, 2))); data/android-platform-art-8.1.0+r23/runtime/native_stack_dump.cc:123:5: [4] (shell) execv: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. execv(args[0], const_cast<char* const*>(args)); data/android-platform-art-8.1.0+r23/runtime/native_stack_dump.cc:264:18: [4] (shell) popen: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. FILE* stream = popen(cmd.c_str(), "r"); data/android-platform-art-8.1.0+r23/runtime/oat_file_assistant.cc:135:9: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. if (access(parent.c_str(), W_OK) == 0) { data/android-platform-art-8.1.0+r23/runtime/oat_file_assistant_test.cc:65:46: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. bool IsSuccessful() { return is_valid_ && (access(dex_parent_.c_str(), W_OK) != 0); } data/android-platform-art-8.1.0+r23/runtime/openjdkjvm/OpenjdkJvm.cc:195:12: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. return vfprintf(fp, fmt, args); data/android-platform-art-8.1.0+r23/runtime/openjdkjvm/OpenjdkJvm.cc:225: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. return vsnprintf(str, count, fmt, args); data/android-platform-art-8.1.0+r23/runtime/parsed_options.cc:40:20: [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. hook_vfprintf_(vfprintf), data/android-platform-art-8.1.0+r23/runtime/thread.h:465:29: [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. __attribute__((format(printf, 3, 4))) data/android-platform-art-8.1.0+r23/sigchainlib/sigchain.cc:72:3: [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. vsnprintf(buf, sizeof(buf), format, ap); data/android-platform-art-8.1.0+r23/sigchainlib/sigchain_dummy.cc:40:3: [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. vsnprintf(buf, sizeof(buf), format, ap); data/android-platform-art-8.1.0+r23/tools/dmtracedump/tracedump.cc:1482:3: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. system(command); data/android-platform-art-8.1.0+r23/tools/dmtracedump/tracedump.cc:1748:7: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf(buf, "%" PRIu64, pClass->elapsedExclusive); data/android-platform-art-8.1.0+r23/tools/dmtracedump/tracedump.cc:1788:9: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf(buf, "%" PRIu64, method->elapsedExclusive); data/android-platform-art-8.1.0+r23/tools/dmtracedump/tracedump.cc:1791:9: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf(buf, "%" PRIu64, method->elapsedInclusive); data/android-platform-art-8.1.0+r23/tools/dmtracedump/tracedump.cc:1958:7: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf(buf, "%" PRIu64, pUnique->elapsedExclusive); data/android-platform-art-8.1.0+r23/tools/dmtracedump/tracedump.cc:1998:9: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf(buf, "%" PRIu64, method->elapsedExclusive); data/android-platform-art-8.1.0+r23/tools/dmtracedump/tracedump.cc:2001:9: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf(buf, "%" PRIu64, method->elapsedInclusive); data/android-platform-art-8.1.0+r23/tools/dmtracedump/tracedump.cc:2233: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(htmlHeader, gOptions.sortableUrl); data/android-platform-art-8.1.0+r23/tools/dmtracedump/tracedump.cc:2395: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(htmlHeader, gOptions.sortableUrl); data/android-platform-art-8.1.0+r23/tools/dmtracedump/tracedump.cc:2404: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(tableHeader, "exclusive_table"); data/android-platform-art-8.1.0+r23/tools/dmtracedump/tracedump.cc:2442: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(htmlHeader, gOptions.sortableUrl); data/android-platform-art-8.1.0+r23/tools/dmtracedump/tracedump.cc:2446: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(tableHeader, "inclusive_table"); data/android-platform-art-8.1.0+r23/tools/dmtracedump/tracedump.cc:2485: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(tableHeaderMissing, "?"); data/android-platform-art-8.1.0+r23/tools/dmtracedump/tracedump.cc:2497: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(tableHeaderMissing, "?"); data/android-platform-art-8.1.0+r23/compiler/optimizing/scheduler.h:387:5: [3] (random) srand: 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. srand(seed_); data/android-platform-art-8.1.0+r23/compiler/utils/assembler_test_base.h:479:23: [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. char* build_top = getenv("ANDROID_BUILD_TOP"); data/android-platform-art-8.1.0+r23/compiler/utils/assembler_thumb_test.cc:52:22: [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* data = getenv("ANDROID_DATA"); data/android-platform-art-8.1.0+r23/debian/dlmalloc/malloc.c:1975:32: [3] (misc) EnterCriticalSection: On some versions of Windows, exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. #define ACQUIRE_LOCK(lk) (EnterCriticalSection(lk), 0) data/android-platform-art-8.1.0+r23/debian/dlmalloc/malloc.c:1994:7: [3] (misc) InitializeCriticalSection: Exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. InitializeCriticalSection(&malloc_global_mutex); data/android-platform-art-8.1.0+r23/dex2oat/dex2oat.cc:827:42: [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* android_root_env_var = getenv("ANDROID_ROOT"); data/android-platform-art-8.1.0+r23/dex2oat/dex2oat_image_test.cc:173:32: [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* android_root = getenv("ANDROID_ROOT"); data/android-platform-art-8.1.0+r23/dex2oat/dex2oat_test.cc:190:32: [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* android_root = getenv("ANDROID_ROOT"); data/android-platform-art-8.1.0+r23/dexdump/dexdump_main.cc:73:20: [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. const int ic = getopt(argc, argv, "acdefghil:o:"); data/android-platform-art-8.1.0+r23/dexlayout/dexlayout_main.cc:80:20: [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. const int ic = getopt(argc, argv, "abcdefghil:mo:p:stvw:"); data/android-platform-art-8.1.0+r23/dexlist/dexlist.cc:223:20: [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. const int ic = getopt(argc, argv, "o:m:"); data/android-platform-art-8.1.0+r23/runtime/class_loader_context_test.cc:92:11: [3] (buffer) realpath: This function does not protect against buffer overflows, and some implementations can overflow internally (CWE-120/CWE-785!). Ensure that the destination buffer is at least of size MAXPATHLEN, andto protect against implementation problems, the input argument should also be checked to ensure it is no larger than MAXPATHLEN. realpath(expected_location.c_str(), nullptr)); data/android-platform-art-8.1.0+r23/runtime/common_runtime_test.cc:142:41: [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. CHECK_NE(static_cast<char*>(nullptr), getenv("ANDROID_DATA")) << data/android-platform-art-8.1.0+r23/runtime/common_runtime_test.cc:144:15: [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. filename_ = getenv("ANDROID_DATA"); data/android-platform-art-8.1.0+r23/runtime/common_runtime_test.cc:219:41: [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* android_root_from_env = getenv("ANDROID_ROOT"); data/android-platform-art-8.1.0+r23/runtime/common_runtime_test.cc:222:38: [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* android_host_out = getenv("ANDROID_HOST_OUT"); data/android-platform-art-8.1.0+r23/runtime/common_runtime_test.cc:228:41: [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* android_build_top = getenv("ANDROID_BUILD_TOP"); data/android-platform-art-8.1.0+r23/runtime/common_runtime_test.cc:251:9: [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. if (getenv("ANDROID_HOST_OUT") == nullptr) { data/android-platform-art-8.1.0+r23/runtime/common_runtime_test.cc:252:34: [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. setenv("ANDROID_HOST_OUT", getenv("ANDROID_ROOT"), 1); data/android-platform-art-8.1.0+r23/runtime/common_runtime_test.cc:260:26: [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* tmpdir = getenv("TMPDIR"); data/android-platform-art-8.1.0+r23/runtime/common_runtime_test.cc:291:35: [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* android_build_top = getenv("ANDROID_BUILD_TOP"); data/android-platform-art-8.1.0+r23/runtime/common_runtime_test.cc:498:30: [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* android_data = getenv("ANDROID_DATA"); data/android-platform-art-8.1.0+r23/runtime/common_runtime_test.cc:514:28: [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* host_dir = getenv("ANDROID_HOST_OUT"); data/android-platform-art-8.1.0+r23/runtime/common_runtime_test.cc:535:28: [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* host_dir = getenv("ANDROID_HOST_OUT"); data/android-platform-art-8.1.0+r23/runtime/common_runtime_test.cc:557:17: [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. filename += getenv("ANDROID_HOST_OUT"); data/android-platform-art-8.1.0+r23/runtime/common_runtime_test.cc:756:28: [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* host_dir = getenv("ANDROID_HOST_OUT"); data/android-platform-art-8.1.0+r23/runtime/dex2oat_environment_test.h:50:48: [3] (buffer) realpath: This function does not protect against buffer overflows, and some implementations can overflow internally (CWE-120/CWE-785!). Ensure that the destination buffer is at least of size MAXPATHLEN, andto protect against implementation problems, the input argument should also be checked to ensure it is no larger than MAXPATHLEN. UniqueCPtr<const char[]> android_data_real(realpath(android_data_.c_str(), nullptr)); data/android-platform-art-8.1.0+r23/runtime/dex2oat_environment_test.h:133:30: [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* host_dir = getenv("ANDROID_HOST_OUT"); data/android-platform-art-8.1.0+r23/runtime/dex_file.cc:1244:33: [3] (buffer) realpath: This function does not protect against buffer overflows, and some implementations can overflow internally (CWE-120/CWE-785!). Ensure that the destination buffer is at least of size MAXPATHLEN, andto protect against implementation problems, the input argument should also be checked to ensure it is no larger than MAXPATHLEN. UniqueCPtr<const char[]> path(realpath(base_location.c_str(), nullptr)); data/android-platform-art-8.1.0+r23/runtime/dex_file_test.cc:546:46: [3] (buffer) realpath: This function does not protect against buffer overflows, and some implementations can overflow internally (CWE-120/CWE-785!). Ensure that the destination buffer is at least of size MAXPATHLEN, andto protect against implementation problems, the input argument should also be checked to ensure it is no larger than MAXPATHLEN. UniqueCPtr<const char[]> dex_location_real(realpath(file.GetFilename().c_str(), nullptr)); data/android-platform-art-8.1.0+r23/runtime/jit/profile_compilation_info.cc:1509:8: [3] (random) srand: 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. std::srand(random_seed); data/android-platform-art-8.1.0+r23/runtime/jit/profile_compilation_info.cc:1548:8: [3] (random) srand: 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. std::srand(random_seed); data/android-platform-art-8.1.0+r23/runtime/jit/profile_saver.cc:838:46: [3] (buffer) realpath: This function does not protect against buffer overflows, and some implementations can overflow internally (CWE-120/CWE-785!). Ensure that the destination buffer is at least of size MAXPATHLEN, andto protect against implementation problems, the input argument should also be checked to ensure it is no larger than MAXPATHLEN. UniqueCPtr<const char[]> location_real(realpath(location.c_str(), nullptr)); data/android-platform-art-8.1.0+r23/runtime/oat_file.cc:830:36: [3] (buffer) realpath: This function does not protect against buffer overflows, and some implementations can overflow internally (CWE-120/CWE-785!). Ensure that the destination buffer is at least of size MAXPATHLEN, andto protect against implementation problems, the input argument should also be checked to ensure it is no larger than MAXPATHLEN. UniqueCPtr<char> absolute_path(realpath(elf_filename.c_str(), nullptr)); data/android-platform-art-8.1.0+r23/runtime/oat_file_assistant.cc:93:46: [3] (buffer) realpath: This function does not protect against buffer overflows, and some implementations can overflow internally (CWE-120/CWE-785!). Ensure that the destination buffer is at least of size MAXPATHLEN, andto protect against implementation problems, the input argument should also be checked to ensure it is no larger than MAXPATHLEN. UniqueCPtr<const char[]> dex_location_real(realpath(dex_location, nullptr)); data/android-platform-art-8.1.0+r23/runtime/parsed_options.cc:509:7: [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. if (getenv("BOOTCLASSPATH") != nullptr) { data/android-platform-art-8.1.0+r23/runtime/parsed_options.cc:510:53: [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. args.SetIfMissing(M::BootClassPath, std::string(getenv("BOOTCLASSPATH"))); data/android-platform-art-8.1.0+r23/runtime/parsed_options.cc:514:7: [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. if (getenv("CLASSPATH") != nullptr) { data/android-platform-art-8.1.0+r23/runtime/parsed_options.cc:515:49: [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. args.SetIfMissing(M::ClassPath, std::string(getenv("CLASSPATH"))); data/android-platform-art-8.1.0+r23/runtime/runtime_android.cc:43:30: [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* android_root = getenv("ANDROID_ROOT"); data/android-platform-art-8.1.0+r23/runtime/runtime_linux.cc:37:7: [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. if (getenv("debug_db_uid") != nullptr || getenv("art_wait_for_gdb_on_crash") != nullptr) { data/android-platform-art-8.1.0+r23/runtime/runtime_linux.cc:37:44: [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. if (getenv("debug_db_uid") != nullptr || getenv("art_wait_for_gdb_on_crash") != nullptr) { data/android-platform-art-8.1.0+r23/runtime/utils.cc:740:29: [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* android_dir = getenv(env_var); data/android-platform-art-8.1.0+r23/runtime/utils_test.cc:368:28: [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* save_value = getenv(kDeletedVariable); data/android-platform-art-8.1.0+r23/test/936-search-onload/search_onload.cc:44:19: [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. char* dex_loc = getenv("DEX_LOCATION"); data/android-platform-art-8.1.0+r23/tools/dmtracedump/createtesttrace.cc:412: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. int32_t opt = getopt(argc, argv, "v:d"); data/android-platform-art-8.1.0+r23/tools/dmtracedump/tracedump.cc:2536: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. int32_t opt = getopt(argc, argv, "d:hg:kos:t:"); data/android-platform-art-8.1.0+r23/tools/jfuzz/jfuzz.cc:485:45: [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. case kInt: fprintf(out_, "%d", random()); break; data/android-platform-art-8.1.0+r23/tools/jfuzz/jfuzz.cc:486:45: [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. case kLong: fprintf(out_, "%dL", random()); break; data/android-platform-art-8.1.0+r23/tools/jfuzz/jfuzz.cc:487:45: [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. case kFloat: fprintf(out_, "%d.0f", random()); break; data/android-platform-art-8.1.0+r23/tools/jfuzz/jfuzz.cc:488:45: [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. case kDouble: fprintf(out_, "%d.0", random()); break; data/android-platform-art-8.1.0+r23/tools/jfuzz/jfuzz.cc:1153: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. int32_t random() { data/android-platform-art-8.1.0+r23/tools/jfuzz/jfuzz.cc:1216:22: [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. int32_t option = getopt(argc, argv, "s:d:l:i:n:vh"); data/android-platform-art-8.1.0+r23/tools/jfuzz/jfuzz.cc:1251:3: [3] (random) srand: 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. srand(seed); data/android-platform-art-8.1.0+r23/compiler/common_compiler_test.cc:81: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(&(*chunk)[0], &method_header, sizeof(method_header)); data/android-platform-art-8.1.0+r23/compiler/debug/dwarf/dwarf_test.cc:270:7: [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 expected[1024]; data/android-platform-art-8.1.0+r23/compiler/debug/dwarf/dwarf_test.cc:271:7: [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(expected, "%i 0x%x", line, pc); data/android-platform-art-8.1.0+r23/compiler/debug/dwarf/dwarf_test.h:90: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 buffer[1024]; data/android-platform-art-8.1.0+r23/compiler/debug/elf_debug_info_writer.h:480: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 name[32]; data/android-platform-art-8.1.0+r23/compiler/debug/elf_gnu_debugdata_writer.h:50:7: [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, ctx->src_->data() + ctx->src_pos_, *size); data/android-platform-art-8.1.0+r23/compiler/exception_test.cc:80: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(&fake_header_code_and_maps_[stack_maps_size], &method_header, sizeof(method_header)); data/android-platform-art-8.1.0+r23/compiler/image_test.cc:91:5: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy(magic, "art\n000"); // bad version data/android-platform-art-8.1.0+r23/compiler/image_writer.cc:2052: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(dest, pair.first, sizeof(ArtField)); data/android-platform-art-8.1.0+r23/compiler/image_writer.cc:2069: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(dest, pair.first, LengthPrefixedArray<ArtField>::ComputeSize(0)); data/android-platform-art-8.1.0+r23/compiler/image_writer.cc:2076: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(dest, pair.first, LengthPrefixedArray<ArtMethod>::ComputeSize(0, size, alignment)); data/android-platform-art-8.1.0+r23/compiler/image_writer.cc:2218: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(dst, src, n); data/android-platform-art-8.1.0+r23/compiler/image_writer.cc:2588: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(copy, orig, ArtMethod::Size(target_ptr_size_)); data/android-platform-art-8.1.0+r23/compiler/jit/jit_logger.cc:180: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. const char name_[0]; // Followed by null-terminated name or \0xff\0 if same as previous. data/android-platform-art-8.1.0+r23/compiler/linker/buffered_output_stream.cc:45: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_[used_], src, byte_count); data/android-platform-art-8.1.0+r23/compiler/linker/vector_output_stream.h:42:7: [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(&(*vector_)[offset_], buffer, byte_count); data/android-platform-art-8.1.0+r23/compiler/oat_test.cc:509:3: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy(magic, "oat\n000"); // bad version data/android-platform-art-8.1.0+r23/compiler/optimizing/gvn.cc:176:7: [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(buckets_, other.buckets_, num_buckets_ * sizeof(Node*)); data/android-platform-art-8.1.0+r23/compiler/utils/assembler_test_base.h:485: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[1024]; data/android-platform-art-8.1.0+r23/compiler/utils/assembler_thumb_test.cc:122: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 cmd[1024]; data/android-platform-art-8.1.0+r23/compiler/utils/assembler_thumb_test.cc:142:5: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(cmd, " | sed '-es/^/ \"/' | sed '-es/$/\\\\n\",/'"); data/android-platform-art-8.1.0+r23/compiler/utils/assembler_thumb_test.cc:153:7: [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 testline[256]; data/android-platform-art-8.1.0+r23/compiler/utils/assembler_thumb_test.cc:169:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[FILENAME_MAX]; data/android-platform-art-8.1.0+r23/compiler/utils/mips/assembler_mips.h:98: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_, data, size); data/android-platform-art-8.1.0+r23/compiler/utils/mips/assembler_mips.h: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(&value, data_, sizeof(T)); data/android-platform-art-8.1.0+r23/compiler/utils/mips64/assembler_mips64.h:330: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_, data, size); data/android-platform-art-8.1.0+r23/compiler/utils/mips64/assembler_mips64.h:337: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(&value, data_, sizeof(T)); data/android-platform-art-8.1.0+r23/compiler/utils/test_dex_file_builder.h:171:12: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. std::memcpy(&dex_file_data_[raw_offset + 1], entry.first.c_str(), entry.first.size() + 1); data/android-platform-art-8.1.0+r23/compiler/utils/test_dex_file_builder.h:219:10: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. std::memcpy(&dex_file_data_[0], header_data.data, sizeof(DexFile::Header)); data/android-platform-art-8.1.0+r23/compiler/utils/test_dex_file_builder.h:228:10: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. std::memcpy(&dex_file_data_[0], header_data.data, sizeof(DexFile::Header)); data/android-platform-art-8.1.0+r23/debian/dlmalloc/malloc.c:1657:27: [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). (dev_zero_fd = open("/dev/zero", O_RDWR), \ data/android-platform-art-8.1.0+r23/debian/dlmalloc/malloc.c:3171:16: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char buf[sizeof(size_t)]; data/android-platform-art-8.1.0+r23/debian/dlmalloc/malloc.c:3173: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 ((fd = open("/dev/urandom", O_RDONLY)) >= 0 && data/android-platform-art-8.1.0+r23/debian/dlmalloc/malloc.c:5250:11: [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(mem, oldmem, (oc < bytes)? oc : bytes); data/android-platform-art-8.1.0+r23/debian/dlmalloc/malloc.c:5809:11: [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(mem, oldmem, (oc < bytes)? oc : bytes); data/android-platform-art-8.1.0+r23/dex2oat/dex2oat_image_test.cc:209:7: [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[128]; data/android-platform-art-8.1.0+r23/dex2oat/dex2oat_test.cc:229:7: [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[128]; data/android-platform-art-8.1.0+r23/dex2oat/dex2oat_test.cc:638:27: [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 profile_test_fd = open(test_profile.c_str(), O_CREAT | O_TRUNC | O_WRONLY, 0644); data/android-platform-art-8.1.0+r23/dexdump/dexdump.cc:314:7: [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(cp, accessStr, len); data/android-platform-art-8.1.0+r23/dexdump/dexdump.cc:553: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 sanitized[sizeof(pHeader.magic_) * 2 + 1]; data/android-platform-art-8.1.0+r23/dexdump/dexdump_main.cc:137:16: [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). gOutFile = fopen(gOptions.outputFileName, "w"); data/android-platform-art-8.1.0+r23/dexlayout/dex_ir.cc:576:7: [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(debug_info_buffer, debug_info_stream, debug_info_size); data/android-platform-art-8.1.0+r23/dexlayout/dex_ir.cc:584: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(insns, disk_code_item.insns_, insns_size * sizeof(uint16_t)); data/android-platform-art-8.1.0+r23/dexlayout/dex_visualize.cc:54:17: [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). out_file_ = fopen(MultidexName("layout", dex_index, ".gnuplot").c_str(), "w"); data/android-platform-art-8.1.0+r23/dexlayout/dex_writer.cc:108: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(mem_map_->Begin() + offset, buffer, length); data/android-platform-art-8.1.0+r23/dexlayout/dexlayout.cc:235:7: [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(cp, accessStr, len); data/android-platform-art-8.1.0+r23/dexlayout/dexlayout.cc:595: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 sanitized[8 * 2 + 1]; data/android-platform-art-8.1.0+r23/dexlayout/dexlayout_main.cc:165:16: [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). out_file = fopen(options.output_file_name_, "w"); data/android-platform-art-8.1.0+r23/dexlayout/dexlayout_main.cc:175: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). int profile_fd = open(options.profile_file_name_, O_RDONLY); data/android-platform-art-8.1.0+r23/dexlist/dexlist.cc:267:16: [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). gOutFile = fopen(gOptions.outputFileName, "w"); data/android-platform-art-8.1.0+r23/oatdump/oatdump_test.h:160:7: [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 line[kLineMax] = {}; data/android-platform-art-8.1.0+r23/profman/profman.cc:359:12: [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(filename.c_str(), O_RDWR); data/android-platform-art-8.1.0+r23/profman/profman.cc:514: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(profile_file.c_str(), O_RDONLY); data/android-platform-art-8.1.0+r23/profman/profman.cc:897:12: [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(reference_profile_file_.c_str(), O_CREAT | O_TRUNC | O_WRONLY, 0644); data/android-platform-art-8.1.0+r23/profman/profman.cc:1034:27: [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 profile_test_fd = open(test_profile_.c_str(), O_CREAT | O_TRUNC | O_WRONLY, 0644); data/android-platform-art-8.1.0+r23/runtime/arch/arm/entrypoints_init_arm.cc:171:22: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. qpoints->pMemcpy = memcpy; data/android-platform-art-8.1.0+r23/runtime/arch/arm64/entrypoints_init_arm64.cc:187:22: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. qpoints->pMemcpy = memcpy; data/android-platform-art-8.1.0+r23/runtime/arch/mips/entrypoints_init_mips.cc:356:22: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. qpoints->pMemcpy = memcpy; data/android-platform-art-8.1.0+r23/runtime/arch/mips64/entrypoints_init_mips64.cc:163:22: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. qpoints->pMemcpy = memcpy; data/android-platform-art-8.1.0+r23/runtime/arch/x86/fault_handler_x86.cc:82:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[15]; // x86/x86-64 have a maximum instruction length of 15 bytes. data/android-platform-art-8.1.0+r23/runtime/art_method.cc:728: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(reinterpret_cast<void*>(this), reinterpret_cast<const void*>(src), data/android-platform-art-8.1.0+r23/runtime/base/arena_allocator.h: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(new_ptr, ptr, ptr_size); data/android-platform-art-8.1.0+r23/runtime/base/bit_vector.cc:305: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(storage_, src->GetRawStorage(), kWordBytes * size); data/android-platform-art-8.1.0+r23/runtime/base/bit_vector.cc:357: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(new_storage, storage_, storage_size_ * kWordBytes); data/android-platform-art-8.1.0+r23/runtime/base/bit_vector.h:266:7: [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(dst, storage_, vec_len); data/android-platform-art-8.1.0+r23/runtime/base/bit_vector.h:269:7: [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(dst, storage_, len); data/android-platform-art-8.1.0+r23/runtime/base/hex_dump.cc:38: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 out[(kBitsPerIntPtrT / 4) + /* offset */ data/android-platform-art-8.1.0+r23/runtime/base/safe_copy_test.cc:52:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[kPageSize]; data/android-platform-art-8.1.0+r23/runtime/base/stringpiece.cc:40:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(buf, ptr_ + pos, ret); data/android-platform-art-8.1.0+r23/runtime/base/time_utils.cc:102: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 fraction_buffer[kMaxDigits]; data/android-platform-art-8.1.0+r23/runtime/base/unix_file/fd_file.cc:140: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). fd_ = TEMP_FAILURE_RETRY(open(path.c_str(), flags, mode)); data/android-platform-art-8.1.0+r23/runtime/base/unix_file/fd_file.cc:360:37: [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 cur_fd = TEMP_FAILURE_RETRY(open(file_path_.c_str(), O_RDONLY)); data/android-platform-art-8.1.0+r23/runtime/base/unix_file/fd_file_test.cc:27:30: [2] (tmpfile) tmpfile: Function tmpfile() has a security flaw on some systems (e.g., older System V systems) (CWE-377). return new FdFile(fileno(tmpfile()), false); data/android-platform-art-8.1.0+r23/runtime/base/unix_file/fd_file_test.cc:94:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char ignore_prefix[20] = {'a', }; data/android-platform-art-8.1.0+r23/runtime/base/unix_file/fd_file_test.cc:96: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 read_suffix[10] = {'b', }; data/android-platform-art-8.1.0+r23/runtime/base/unix_file/fd_file_test.cc:108: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[sizeof(read_suffix)]; data/android-platform-art-8.1.0+r23/runtime/base/unix_file/fd_file_test.cc:163: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 check_data[sizeof(src_data)]; data/android-platform-art-8.1.0+r23/runtime/base/unix_file/random_access_file_test.h:56: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[256]; data/android-platform-art-8.1.0+r23/runtime/base/unix_file/random_access_file_test.h: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[256]; data/android-platform-art-8.1.0+r23/runtime/base/unix_file/random_access_file_test.h:159: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[256]; data/android-platform-art-8.1.0+r23/runtime/check_jni.cc:1403: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(const_cast<uint8_t*>(copy->BufferWithinRedZones()), original_buf, len); data/android-platform-art-8.1.0+r23/runtime/check_jni.cc:1450:7: [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(original_ptr, embedded_buf, copy->original_length_); data/android-platform-art-8.1.0+r23/runtime/check_jni.cc:1531:7: [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, &magic_, 4); data/android-platform-art-8.1.0+r23/runtime/check_jni.cc:2790: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 sig[5] = { 'E', is_static ? 'c' : 'L', 'f', data/android-platform-art-8.1.0+r23/runtime/common_runtime_test.cc:146:12: [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). int fd = mkstemp(&filename_[0]); data/android-platform-art-8.1.0+r23/runtime/common_runtime_test.cc:155:12: [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_.c_str(), O_RDWR | O_CREAT, 0666); data/android-platform-art-8.1.0+r23/runtime/debugger.cc:1212:7: [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(dst, &src[offset * width], count * width); data/android-platform-art-8.1.0+r23/runtime/debugger.cc:1550:20: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const char genericSignature[1] = ""; data/android-platform-art-8.1.0+r23/runtime/dex_file.cc:636:10: [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). return atoi(version); data/android-platform-art-8.1.0+r23/runtime/dex_file_test.cc:48: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(res.data(), data.get(), size); data/android-platform-art-8.1.0+r23/runtime/dex_file_test.cc:252: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(region->Begin(), dex_bytes.data(), dex_bytes.size()); data/android-platform-art-8.1.0+r23/runtime/elf.h:70:12: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char e_ident[EI_NIDENT]; // ELF Identification bytes data/android-platform-art-8.1.0+r23/runtime/elf.h:94:12: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char e_ident[EI_NIDENT]; data/android-platform-art-8.1.0+r23/runtime/elf_file.cc:1496: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(Begin() + offset, §ion_headers[0], section_headers_size_in_bytes); data/android-platform-art-8.1.0+r23/runtime/entrypoints/entrypoint_utils.cc:175: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(array->GetRawData(payload->element_width, 0), payload->data, size_in_bytes); data/android-platform-art-8.1.0+r23/runtime/gc/accounting/mod_union_table_test.cc:87:7: [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(klass, java_lang_object_array_, class_size); data/android-platform-art-8.1.0+r23/runtime/gc/allocation_record.cc:47: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 allocMaxString[PROPERTY_VALUE_MAX]; data/android-platform-art-8.1.0+r23/runtime/gc/allocation_record.cc:63: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 recentAllocMaxString[PROPERTY_VALUE_MAX]; data/android-platform-art-8.1.0+r23/runtime/gc/allocation_record.cc:79: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 stackDepthString[PROPERTY_VALUE_MAX]; data/android-platform-art-8.1.0+r23/runtime/gc/collector/concurrent_copying.cc:2316: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(reinterpret_cast<uint8_t*>(to_ref) + kObjectHeaderSize, data/android-platform-art-8.1.0+r23/runtime/gc/collector/semi_space.cc:470: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(dest, src, size); data/android-platform-art-8.1.0+r23/runtime/gc/collector/semi_space.cc:485: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(dest, src, page_remain); data/android-platform-art-8.1.0+r23/runtime/gc/collector/semi_space.cc:510: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(byte_dest, byte_src, limit - byte_src); data/android-platform-art-8.1.0+r23/runtime/gc/heap.cc:2251: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(reinterpret_cast<void*>(forward_address), obj, obj_size); data/android-platform-art-8.1.0+r23/runtime/gc/space/image_space.cc:809:7: [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(map->Begin(), &image_header, sizeof(ImageHeader)); data/android-platform-art-8.1.0+r23/runtime/hprof/hprof.cc:771:16: [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_fd = open(filename_.c_str(), O_WRONLY|O_CREAT|O_TRUNC, 0644); data/android-platform-art-8.1.0+r23/runtime/image.cc:75: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(magic_, kImageMagic, sizeof(kImageMagic)); data/android-platform-art-8.1.0+r23/runtime/image.cc:76: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(version_, kImageVersion, sizeof(kImageVersion)); data/android-platform-art-8.1.0+r23/runtime/indenter.h:60: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[1] = { static_cast<char>(c) }; data/android-platform-art-8.1.0+r23/runtime/indenter.h: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. const char text_[8]; data/android-platform-art-8.1.0+r23/runtime/indirect_reference_table.cc:231: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(new_map->Begin(), table_mem_map_->Begin(), table_mem_map_->Size()); data/android-platform-art-8.1.0+r23/runtime/interpreter/interpreter_intrinsics.cc:288: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(dst, src_16, len * sizeof(uint16_t)); data/android-platform-art-8.1.0+r23/runtime/interpreter/unstarted_runtime.cc:569: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(h_array->GetData(), mem_map->Begin(), map_size); data/android-platform-art-8.1.0+r23/runtime/interpreter/unstarted_runtime_test.cc:331:11: [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, h_char_array->GetData(), kBaseLen * sizeof(uint16_t)); data/android-platform-art-8.1.0+r23/runtime/jdwp/jdwp_adb.cc:77: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(control_addr_.controlAddrUn.sun_path, kJdwpControlName, kJdwpControlNameLen); data/android-platform-art-8.1.0+r23/runtime/jdwp/jdwp_adb.cc:171: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 buffer[CMSG_SPACE(sizeof(int))]; data/android-platform-art-8.1.0+r23/runtime/jdwp/jdwp_adb.cc:228: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 buff[5]; data/android-platform-art-8.1.0+r23/runtime/jdwp/jdwp_expand_buf.cc:156: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 + sizeof(uint32_t), str, strLen); data/android-platform-art-8.1.0+r23/runtime/jdwp/jdwp_handler.cc:364:18: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const char genericSignature[1] = ""; data/android-platform-art-8.1.0+r23/runtime/jdwp/jdwp_handler.cc:1427: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(expandBufAddSpace(pReply, replyLen), replyBuf, replyLen); data/android-platform-art-8.1.0+r23/runtime/jdwp/jdwp_request.cc:59: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(&s[0], p_, length); data/android-platform-art-8.1.0+r23/runtime/jdwp/jdwp_socket.cc:321: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(&addr.addrInet.sin_addr, pEntry->h_addr, pEntry->h_length); data/android-platform-art-8.1.0+r23/runtime/jit/debugger_interface.cc:80: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(symfile_copy, symfile.data(), symfile.size()); data/android-platform-art-8.1.0+r23/runtime/jni_internal.cc:1790: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, chars + start, length * sizeof(jchar)); data/android-platform-art-8.1.0+r23/runtime/jni_internal.cc:1829: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(chars, s->GetValue(), sizeof(jchar) * s->GetLength()); data/android-platform-art-8.1.0+r23/runtime/jni_internal.cc:2557:7: [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, array->GetData(), size); data/android-platform-art-8.1.0+r23/runtime/jni_internal.cc:2598: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(array_data, elements, bytes); data/android-platform-art-8.1.0+r23/runtime/jni_internal.cc:2634: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, data + start, length * sizeof(ElementT)); data/android-platform-art-8.1.0+r23/runtime/jni_internal.cc:2654: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 + start, buf, length * sizeof(ElementT)); data/android-platform-art-8.1.0+r23/runtime/jni_internal_test.cc:1573: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 bytes[4] = { 'x', 'x', 'x', 'x' }; data/android-platform-art-8.1.0+r23/runtime/jni_internal_test.cc:2167: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 bytes[1024]; data/android-platform-art-8.1.0+r23/runtime/jni_internal_test.cc:2379: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(&env_override, env_->functions, sizeof(JNINativeInterface)); data/android-platform-art-8.1.0+r23/runtime/managed_stack.h:49: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(fragment, this, sizeof(ManagedStack)); data/android-platform-art-8.1.0+r23/runtime/managed_stack.h:59: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(this, &fragment, sizeof(ManagedStack)); data/android-platform-art-8.1.0+r23/runtime/mirror/array-inl.h:218: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(arr->GetData(), data, sizeof(T) * length); data/android-platform-art-8.1.0+r23/runtime/mirror/array-inl.h:381: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(dst_raw, src_raw, count); data/android-platform-art-8.1.0+r23/runtime/mirror/array.cc: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(new_array->GetRawData(component_size, 0), data/android-platform-art-8.1.0+r23/runtime/mirror/emulated_stack_frame.cc:93: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(array + stack_frame_idx_, &value, sizeof(uint32_t)); data/android-platform-art-8.1.0+r23/runtime/mirror/emulated_stack_frame.cc:101: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(array + stack_frame_idx_, &value, sizeof(int64_t)); data/android-platform-art-8.1.0+r23/runtime/mirror/emulated_stack_frame.cc:115: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(&val, array + stack_frame_idx_, sizeof(uint32_t)); data/android-platform-art-8.1.0+r23/runtime/mirror/emulated_stack_frame.cc:126: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(&val, array + stack_frame_idx_, sizeof(int64_t)); data/android-platform-art-8.1.0+r23/runtime/mirror/emulated_stack_frame.cc:245:7: [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(&primitive, array + length - sizeof(int64_t), sizeof(int64_t)); data/android-platform-art-8.1.0+r23/runtime/mirror/emulated_stack_frame.cc:249:7: [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(&primitive, array + length - sizeof(uint32_t), sizeof(uint32_t)); data/android-platform-art-8.1.0+r23/runtime/mirror/emulated_stack_frame.cc:269:7: [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(array + length - sizeof(int64_t), &primitive, sizeof(int64_t)); data/android-platform-art-8.1.0+r23/runtime/mirror/emulated_stack_frame.cc:272:7: [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(array + length - sizeof(uint32_t), &primitive, sizeof(uint32_t)); data/android-platform-art-8.1.0+r23/runtime/mirror/string-inl.h:116:7: [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(string->GetValue(), src, length * sizeof(uint16_t)); data/android-platform-art-8.1.0+r23/runtime/mirror/string-inl.h:144:7: [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(string->GetValueCompressed(), src, length * sizeof(uint8_t)); data/android-platform-art-8.1.0+r23/runtime/mirror/string-inl.h:152: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(string->GetValue(), src, length * sizeof(uint16_t)); data/android-platform-art-8.1.0+r23/runtime/mirror/string.cc:152: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(new_value, string->GetValueCompressed(), length * sizeof(uint8_t)); data/android-platform-art-8.1.0+r23/runtime/mirror/string.cc:153: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(new_value + length, string2->GetValueCompressed(), length2 * sizeof(uint8_t)); data/android-platform-art-8.1.0+r23/runtime/mirror/string.cc:161:7: [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_value, string->GetValue(), length * sizeof(uint16_t)); data/android-platform-art-8.1.0+r23/runtime/mirror/string.cc:168:7: [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_value + length, string2->GetValue(), length2 * sizeof(uint16_t)); data/android-platform-art-8.1.0+r23/runtime/mirror/string.cc:191: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(array, utf16_data_in, utf16_length * sizeof(uint16_t)); data/android-platform-art-8.1.0+r23/runtime/mirror/string.cc:222: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(string->GetValueCompressed(), utf8_data_in, utf16_length * sizeof(uint8_t)); data/android-platform-art-8.1.0+r23/runtime/mirror/string.cc:389:7: [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(result->GetData(), string->GetValue(), string->GetLength() * sizeof(uint16_t)); data/android-platform-art-8.1.0+r23/runtime/mirror/string.cc:405: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, value, (end - start) * sizeof(uint16_t)); data/android-platform-art-8.1.0+r23/runtime/monitor_android.cc:46: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("/proc/self/cmdline", O_RDONLY); data/android-platform-art-8.1.0+r23/runtime/monitor_android.cc:47: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 procName[33]; data/android-platform-art-8.1.0+r23/runtime/native/dalvik_system_DexFile.cc:239: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(dex_mem_map->Begin(), base_address, length); data/android-platform-art-8.1.0+r23/runtime/native/dalvik_system_ZygoteHooks.cc:284:7: [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 name_buf[kMaxProcessNameLength] = {}; data/android-platform-art-8.1.0+r23/runtime/native/libcore_util_CharsetUtils.cc:84:7: [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(newRawArray, mRawArray, mOffset); data/android-platform-art-8.1.0+r23/runtime/native/sun_misc_Unsafe.cc:308: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(reinterpret_cast<void *>(dst), reinterpret_cast<void *>(src), sz); data/android-platform-art-8.1.0+r23/runtime/native_stack_dump.cc:175: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 buffer[kMaxBuffer]; data/android-platform-art-8.1.0+r23/runtime/oat.cc:94: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(magic_, kOatMagic, sizeof(kOatMagic)); data/android-platform-art-8.1.0+r23/runtime/oat.cc:95: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(version_, kOatVersion, sizeof(kOatVersion)); data/android-platform-art-8.1.0+r23/runtime/oat_file_assistant_test.cc:967:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[MAXPATHLEN]; data/android-platform-art-8.1.0+r23/runtime/openjdkjvm/OpenjdkJvm.cc:84:33: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). int fd = TEMP_FAILURE_RETRY(open(fname, flags & ~JVM_O_DELETE, mode)); data/android-platform-art-8.1.0+r23/runtime/openjdkjvmti/OpenjdkJvmTi.cc:1019: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.get(), callbacks, copy_size); data/android-platform-art-8.1.0+r23/runtime/openjdkjvmti/OpenjdkJvmTi.cc: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(out_data.get(), data/android-platform-art-8.1.0+r23/runtime/openjdkjvmti/art_jvmti.h:199: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(reinterpret_cast<void*>(*dest), data/android-platform-art-8.1.0+r23/runtime/openjdkjvmti/fixed_up_dex_file.cc:69: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(data.data(), original.Begin(), original.Size()); data/android-platform-art-8.1.0+r23/runtime/openjdkjvmti/jvmti_weak_table-inl.h:282:7: [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, data, sizeof(Storage) * size); data/android-platform-art-8.1.0+r23/runtime/openjdkjvmti/ti_heap.cc:91: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.get(), str->GetValue(), string_length * sizeof(uint16_t)); data/android-platform-art-8.1.0+r23/runtime/openjdkjvmti/ti_heap.cc:163:7: [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.get(), array->GetRawData(component_size, 0), array_length * component_size); data/android-platform-art-8.1.0+r23/runtime/openjdkjvmti/ti_jni.cc:84: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(data, current_table, sizeof(JNINativeInterface)); data/android-platform-art-8.1.0+r23/runtime/openjdkjvmti/ti_method.cc:124: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(*bytecode_ptr, code_item->insns_, *size_ptr); data/android-platform-art-8.1.0+r23/runtime/openjdkjvmti/ti_method.cc:383: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(*table_ptr, context.data(), mem_size); data/android-platform-art-8.1.0+r23/runtime/openjdkjvmti/ti_redefine.cc:283: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(map->Begin(), data.data(), data.size()); data/android-platform-art-8.1.0+r23/runtime/openjdkjvmti/ti_redefine.cc:349: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(class_bytes_copy, definitions[i].class_bytes, definitions[i].class_byte_count); data/android-platform-art-8.1.0+r23/runtime/openjdkjvmti/ti_stack.cc:163:7: [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(frame_buffer, frames.data(), collected_frames * sizeof(jvmtiFrameInfo)); data/android-platform-art-8.1.0+r23/runtime/openjdkjvmti/ti_stack.cc:175: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(frame_buffer, data/android-platform-art-8.1.0+r23/runtime/openjdkjvmti/ti_stack.cc:460: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(stack_info, stack_info_array.get(), sizeof(jvmtiStackInfo) * data.frames.size()); data/android-platform-art-8.1.0+r23/runtime/openjdkjvmti/ti_stack.cc:476:7: [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(frame_info, old_stack_info.frame_buffer, frames_size); data/android-platform-art-8.1.0+r23/runtime/openjdkjvmti/ti_stack.cc:652:7: [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_stack_info, &old_stack_info, sizeof(jvmtiStackInfo)); data/android-platform-art-8.1.0+r23/runtime/openjdkjvmti/ti_stack.cc:658: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(frame_info, old_stack_info.frame_buffer, frames_size); data/android-platform-art-8.1.0+r23/runtime/signal_catcher.cc:133:12: [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(stack_trace_file_.c_str(), O_APPEND | O_CREAT | O_WRONLY, 0666); data/android-platform-art-8.1.0+r23/runtime/thread.cc:583:16: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. volatile char space[kPageSize - (kAsanMultiplier * 256)]; data/android-platform-art-8.1.0+r23/runtime/trace.cc:901:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(buf_.get() + old_offset, src, src_size); data/android-platform-art-8.1.0+r23/runtime/utf_test.cc:315: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 bytes_test[8] = { 0 }, bytes_reference[8] = { 0 }; data/android-platform-art-8.1.0+r23/runtime/utils.cc:104:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[kBufSize + 1]; // +1 for terminator. data/android-platform-art-8.1.0+r23/runtime/utils.cc:708:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[16]; // MAX_TASK_COMM_LEN=16 is hard-coded in the kernel. data/android-platform-art-8.1.0+r23/runtime/utils_test.cc:417: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 c[7]; data/android-platform-art-8.1.0+r23/runtime/utils_test.cc:422: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[64]; data/android-platform-art-8.1.0+r23/runtime/vdex_file.cc:52: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(magic_, kVdexMagic, sizeof(kVdexMagic)); data/android-platform-art-8.1.0+r23/runtime/vdex_file.cc:53: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(version_, kVdexVersion, sizeof(kVdexVersion)); data/android-platform-art-8.1.0+r23/runtime/verifier/instruction_flags.cc:25: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 encoding[8]; data/android-platform-art-8.1.0+r23/runtime/verifier/reg_type_cache.cc:168: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(ptr, string_piece.data(), string_piece.length()); data/android-platform-art-8.1.0+r23/runtime/verifier/register_line.h:136: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(&line_, &src->line_, num_regs_ * sizeof(uint16_t)); data/android-platform-art-8.1.0+r23/runtime/zip_archive_test.cc:52:12: [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(tmp.GetFilename().c_str(), O_RDONLY); data/android-platform-art-8.1.0+r23/sigchainlib/sigchain.cc:69:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[256]; data/android-platform-art-8.1.0+r23/sigchainlib/sigchain_dummy.cc:37:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[256]; data/android-platform-art-8.1.0+r23/test/023-many-interfaces/iface-gen.c:17: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 nameBuf[32]; data/android-platform-art-8.1.0+r23/test/023-many-interfaces/iface-gen.c:20:14: [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). fp = fopen(nameBuf, "w"); data/android-platform-art-8.1.0+r23/test/023-many-interfaces/iface-gen.c:33: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). fp = fopen("func-decl", "w"); data/android-platform-art-8.1.0+r23/test/115-native-bridge/nativebridge.cc:443: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 cwd[1024] = {'\0'}; data/android-platform-art-8.1.0+r23/test/1901-get-bytecodes/bytecodes.cc:57: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(bytes, bytecodes, bytecodes_size); data/android-platform-art-8.1.0+r23/test/303-verification-stress/classes-gen.c:18: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 nameBuf[32]; data/android-platform-art-8.1.0+r23/test/303-verification-stress/classes-gen.c:21:14: [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). fp = fopen(nameBuf, "w"); data/android-platform-art-8.1.0+r23/test/303-verification-stress/classes-gen.c:39: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). fp = fopen("src/MainTest.java", "w"); data/android-platform-art-8.1.0+r23/test/901-hello-ti-agent/basics.cc:98:3: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy(reinterpret_cast<char*>(local_data), "hello!!"); data/android-platform-art-8.1.0+r23/test/906-iterate-heap/iterate_heap.cc:382: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(&val, &value, sizeof(uint64_t)); // To avoid undefined behavior. data/android-platform-art-8.1.0+r23/test/909-attach-agent/attach.cc:58:3: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy(reinterpret_cast<char*>(local_data), "hello!!"); data/android-platform-art-8.1.0+r23/test/913-heaps/heaps.cc:259: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_, reference_info, sizeof(jvmtiHeapReferenceInfo)); data/android-platform-art-8.1.0+r23/test/913-heaps/heaps.cc:300: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_, reference_info, sizeof(jvmtiHeapReferenceInfo)); data/android-platform-art-8.1.0+r23/test/913-heaps/heaps.cc:734: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(&val, &value, sizeof(uint64_t)); // To avoid undefined behavior. data/android-platform-art-8.1.0+r23/test/ti-agent/redefinition_helper.cc: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(new_data, desired_array.data(), desired_array.size()); data/android-platform-art-8.1.0+r23/test/ti-stress/stress.cc:633: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(new_data, out.data(), out.size()); data/android-platform-art-8.1.0+r23/tools/dmtracedump/createtesttrace.cc:75:1: [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/android-platform-art-8.1.0+r23/tools/dmtracedump/createtesttrace.cc:117: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* inputFp = fopen(inputFileName, "r"); data/android-platform-art-8.1.0+r23/tools/dmtracedump/createtesttrace.cc:398:14: [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* fp = fopen(traceFileName, "w"); data/android-platform-art-8.1.0+r23/tools/dmtracedump/tracedump.cc:304:47: [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). method->lineNum = (lineNumStr != nullptr) ? atoi(lineNumStr) : -1; data/android-platform-art-8.1.0+r23/tools/dmtracedump/tracedump.cc:667:34: [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). pKeys->threads[i].threadId = atoi(data); data/android-platform-art-8.1.0+r23/tools/dmtracedump/tracedump.cc:1037: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 bogusBuf[80]; data/android-platform-art-8.1.0+r23/tools/dmtracedump/tracedump.cc:1042: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 spaces[MAX_STACK_DEPTH + 1]; data/android-platform-art-8.1.0+r23/tools/dmtracedump/tracedump.cc:1049:18: [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* dataFp = fopen(gOptions.traceFileName, "rb"); data/android-platform-art-8.1.0+r23/tools/dmtracedump/tracedump.cc:1106:7: [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(bogusBuf, "methodId: %#" PRIx64 "", methodId); data/android-platform-art-8.1.0+r23/tools/dmtracedump/tracedump.cc:1233: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(&sorted[ii], pTimed, sizeof(TimedMethod)); data/android-platform-art-8.1.0+r23/tools/dmtracedump/tracedump.cc:1250:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[80]; data/android-platform-art-8.1.0+r23/tools/dmtracedump/tracedump.cc:1255: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 classBuf[HTML_BUFSIZE], methodBuf[HTML_BUFSIZE]; data/android-platform-art-8.1.0+r23/tools/dmtracedump/tracedump.cc:1256: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 signatureBuf[HTML_BUFSIZE]; data/android-platform-art-8.1.0+r23/tools/dmtracedump/tracedump.cc:1269:5: [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(buf, "[%d]", relative->index); data/android-platform-art-8.1.0+r23/tools/dmtracedump/tracedump.cc:1273:7: [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(buf, "<a href=\"#m%d\">[%d]", relative->index, relative->index); data/android-platform-art-8.1.0+r23/tools/dmtracedump/tracedump.cc:1348: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 classBuf[HTML_BUFSIZE], methodBuf[HTML_BUFSIZE]; data/android-platform-art-8.1.0+r23/tools/dmtracedump/tracedump.cc:1349: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 signatureBuf[HTML_BUFSIZE]; data/android-platform-art-8.1.0+r23/tools/dmtracedump/tracedump.cc:1351: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 anchor_buf[80]; data/android-platform-art-8.1.0+r23/tools/dmtracedump/tracedump.cc:1397:7: [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(anchor_buf, "<a href=\"#m%d\">", method->index); data/android-platform-art-8.1.0+r23/tools/dmtracedump/tracedump.cc:1461: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 path[FILENAME_MAX]; data/android-platform-art-8.1.0+r23/tools/dmtracedump/tracedump.cc:1468:16: [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* file = fopen(path, "w+"); data/android-platform-art-8.1.0+r23/tools/dmtracedump/tracedump.cc:1479: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 command[1024]; data/android-platform-art-8.1.0+r23/tools/dmtracedump/tracedump.cc:1490: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 classBuf[HTML_BUFSIZE], methodBuf[HTML_BUFSIZE]; data/android-platform-art-8.1.0+r23/tools/dmtracedump/tracedump.cc:1491: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 signatureBuf[HTML_BUFSIZE]; data/android-platform-art-8.1.0+r23/tools/dmtracedump/tracedump.cc:1492: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 anchor_buf[80]; data/android-platform-art-8.1.0+r23/tools/dmtracedump/tracedump.cc:1518: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[40]; data/android-platform-art-8.1.0+r23/tools/dmtracedump/tracedump.cc:1545:5: [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(buf, "[%d]", ii); data/android-platform-art-8.1.0+r23/tools/dmtracedump/tracedump.cc:1665: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 classBuf[HTML_BUFSIZE]; data/android-platform-art-8.1.0+r23/tools/dmtracedump/tracedump.cc:1666: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 methodBuf[HTML_BUFSIZE]; data/android-platform-art-8.1.0+r23/tools/dmtracedump/tracedump.cc:1667: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 signatureBuf[HTML_BUFSIZE]; data/android-platform-art-8.1.0+r23/tools/dmtracedump/tracedump.cc:1739:7: [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[80]; data/android-platform-art-8.1.0+r23/tools/dmtracedump/tracedump.cc:1751:7: [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(buf, "%.1f", per); data/android-platform-art-8.1.0+r23/tools/dmtracedump/tracedump.cc:1754:7: [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(buf, "%.1f", sum_per); data/android-platform-art-8.1.0+r23/tools/dmtracedump/tracedump.cc:1757:7: [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(buf, "%d", pClass->numCalls[0]); data/android-platform-art-8.1.0+r23/tools/dmtracedump/tracedump.cc:1760:7: [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(buf, "%d", pClass->numCalls[1]); data/android-platform-art-8.1.0+r23/tools/dmtracedump/tracedump.cc:1783:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[80]; data/android-platform-art-8.1.0+r23/tools/dmtracedump/tracedump.cc:1794: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(buf, "%.1f", per); data/android-platform-art-8.1.0+r23/tools/dmtracedump/tracedump.cc:1797: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(buf, "%.1f", sum_per); data/android-platform-art-8.1.0+r23/tools/dmtracedump/tracedump.cc:1800: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(buf, "%d", method->numCalls[0]); data/android-platform-art-8.1.0+r23/tools/dmtracedump/tracedump.cc:1803: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(buf, "%d", method->numCalls[1]); data/android-platform-art-8.1.0+r23/tools/dmtracedump/tracedump.cc:1882: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 classBuf[HTML_BUFSIZE], methodBuf[HTML_BUFSIZE]; data/android-platform-art-8.1.0+r23/tools/dmtracedump/tracedump.cc:1883: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 signatureBuf[HTML_BUFSIZE]; data/android-platform-art-8.1.0+r23/tools/dmtracedump/tracedump.cc:1949:7: [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[80]; data/android-platform-art-8.1.0+r23/tools/dmtracedump/tracedump.cc:1961:7: [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(buf, "%.1f", per); data/android-platform-art-8.1.0+r23/tools/dmtracedump/tracedump.cc:1964:7: [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(buf, "%.1f", sum_per); data/android-platform-art-8.1.0+r23/tools/dmtracedump/tracedump.cc:1967:7: [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(buf, "%d", pUnique->numCalls[0]); data/android-platform-art-8.1.0+r23/tools/dmtracedump/tracedump.cc:1970:7: [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(buf, "%d", pUnique->numCalls[1]); data/android-platform-art-8.1.0+r23/tools/dmtracedump/tracedump.cc:1993:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[80]; data/android-platform-art-8.1.0+r23/tools/dmtracedump/tracedump.cc:2004: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(buf, "%.1f", per); data/android-platform-art-8.1.0+r23/tools/dmtracedump/tracedump.cc:2007: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(buf, "%.1f", sum_per); data/android-platform-art-8.1.0+r23/tools/dmtracedump/tracedump.cc:2010: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(buf, "%d", method->numCalls[0]); data/android-platform-art-8.1.0+r23/tools/dmtracedump/tracedump.cc:2013: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(buf, "%d", method->numCalls[1]); data/android-platform-art-8.1.0+r23/tools/dmtracedump/tracedump.cc:2038:18: [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* dataFp = fopen(traceFileName, "rb"); data/android-platform-art-8.1.0+r23/tools/dmtracedump/tracedump.cc:2054:22: [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* dumpStream = fopen("debug", "w"); data/android-platform-art-8.1.0+r23/tools/dmtracedump/tracedump.cc:2310: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 classBuf[HTML_BUFSIZE]; data/android-platform-art-8.1.0+r23/tools/dmtracedump/tracedump.cc:2311: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 methodBuf[HTML_BUFSIZE]; data/android-platform-art-8.1.0+r23/tools/dmtracedump/tracedump.cc:2407: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 classBuf[HTML_BUFSIZE]; data/android-platform-art-8.1.0+r23/tools/dmtracedump/tracedump.cc:2408: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 methodBuf[HTML_BUFSIZE]; data/android-platform-art-8.1.0+r23/tools/dmtracedump/tracedump.cc:2558: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). gOptions.threshold = atoi(optarg); data/android-platform-art-8.1.0+r23/cmdline/cmdline.h:145: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). boot_image_location_ = option.substr(strlen("--boot-image=")).data(); data/android-platform-art-8.1.0+r23/cmdline/cmdline.h:147:57: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). StringPiece instruction_set_str = option.substr(strlen("--instruction-set=")).data(); data/android-platform-art-8.1.0+r23/cmdline/cmdline.h:155: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). output_name_ = option.substr(strlen("--output=")).ToString(); data/android-platform-art-8.1.0+r23/cmdline/token_range.h:183:17: [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 std::equal(begin(), end(), other.begin()); data/android-platform-art-8.1.0+r23/cmdline/token_range.h:205:17: [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 std::equal(smaller.begin(), smaller.end(), greater.begin()); data/android-platform-art-8.1.0+r23/cmdline/token_range.h:386: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. return std::equal(smaller.begin(), smaller.end(), larger.begin()); data/android-platform-art-8.1.0+r23/compiler/cfi_test.h:87: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). return pos + strlen(substr); data/android-platform-art-8.1.0+r23/compiler/cfi_test.h:124: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). new_line = new_line.replace(pos, strlen(bad_reg), ""); data/android-platform-art-8.1.0+r23/compiler/compiled_method.cc:43: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. return std::equal(quick_code_->begin(), quick_code_->end(), rhs.quick_code_->begin()); data/android-platform-art-8.1.0+r23/compiler/debug/dwarf/debug_info_entry_writer.h:185: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). WriteStrp(attrib, str, strlen(str), debug_str); data/android-platform-art-8.1.0+r23/compiler/debug/dwarf/debug_line_opcode_writer.h:146: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). strlen(filename) + 1 + data/android-platform-art-8.1.0+r23/compiler/debug/dwarf/writer.h:114:48: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). data_->insert(data_->end(), value, value + strlen(value) + 1); data/android-platform-art-8.1.0+r23/compiler/dex/inline_method_analyser.cc:516: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). return strncmp(method_name, "access$", strlen("access$")) == 0 || data/android-platform-art-8.1.0+r23/compiler/dex/inline_method_analyser.cc:517: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). strncmp(method_name, "-", strlen("-")) == 0; data/android-platform-art-8.1.0+r23/compiler/driver/compiler_options.cc:85: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). std::string file_name = option.substr(strlen("--dump-init-failures=")).data(); data/android-platform-art-8.1.0+r23/compiler/driver/compiler_options.cc:99: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). StringPiece choice = option.substr(strlen("--register-allocation-strategy=")).data(); data/android-platform-art-8.1.0+r23/compiler/driver/compiler_options.cc:111: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). const char* compiler_filter_string = option.substr(strlen("--compiler-filter=")).data(); data/android-platform-art-8.1.0+r23/compiler/driver/compiler_options.cc:150: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). dump_cfg_file_name_ = option.substr(strlen("--dump-cfg=")).data(); data/android-platform-art-8.1.0+r23/compiler/driver/compiler_options.cc:159: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). Split(option.substr(strlen("--verbose-methods=")).ToString(), ',', &verbose_methods_); data/android-platform-art-8.1.0+r23/compiler/image_test.cc:89:5: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. strcpy(magic, ""); // bad magic data/android-platform-art-8.1.0+r23/compiler/image_writer.cc:203:11: [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(image_filename) == 0u) { data/android-platform-art-8.1.0+r23/compiler/jit/jit_compiler.cc:112: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). StringPiece str = option.substr(strlen("--instruction-set-variant=")).data(); data/android-platform-art-8.1.0+r23/compiler/jit/jit_compiler.cc:120: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). StringPiece str = option.substr(strlen("--instruction-set-features=")).data(); data/android-platform-art-8.1.0+r23/compiler/jni/quick/calling_convention.h:84: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). num_args_ = (is_static ? 0 : 1) + strlen(shorty) - 1; data/android-platform-art-8.1.0+r23/compiler/jni/quick/calling_convention.h:88: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). for (size_t i = 1; i < strlen(shorty); i++) { data/android-platform-art-8.1.0+r23/compiler/jni/quick/jni_compiler.cc:173: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). for (size_t i = 0; i < strlen(shorty); ++i) { data/android-platform-art-8.1.0+r23/compiler/oat_test.cc:292: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). file_header.filename_length = strlen(location); data/android-platform-art-8.1.0+r23/compiler/oat_test.cc:507:3: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. strcpy(magic, ""); // bad magic data/android-platform-art-8.1.0+r23/compiler/oat_writer.cc:3331: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). dex_file_location_size_(strlen(dex_file_location)), data/android-platform-art-8.1.0+r23/compiler/optimizing/codegen_test.cc:431:33: [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. first_block->AddInstruction(equal); data/android-platform-art-8.1.0+r23/compiler/optimizing/codegen_test.cc:432:54: [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. first_block->AddInstruction(new (&allocator) HIf(equal)); data/android-platform-art-8.1.0+r23/compiler/optimizing/graph_test.cc:32:28: [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_block->AddInstruction(equal); data/android-platform-art-8.1.0+r23/compiler/optimizing/graph_test.cc:33:31: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. instr = new (allocator) HIf(equal); data/android-platform-art-8.1.0+r23/compiler/optimizing/instruction_builder.cc:810: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). size_t number_of_arguments = strlen(descriptor) - 1; data/android-platform-art-8.1.0+r23/compiler/optimizing/instruction_builder.cc:943: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). size_t number_of_arguments = strlen(descriptor); data/android-platform-art-8.1.0+r23/compiler/optimizing/instruction_simplifier.cc:71:27: [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. void VisitEqual(HEqual* equal) OVERRIDE; data/android-platform-art-8.1.0+r23/compiler/optimizing/instruction_simplifier.cc:72:33: [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. void VisitNotEqual(HNotEqual* equal) OVERRIDE; data/android-platform-art-8.1.0+r23/compiler/optimizing/instruction_simplifier.cc:74:49: [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. void VisitInstanceFieldSet(HInstanceFieldSet* equal) OVERRIDE; data/android-platform-art-8.1.0+r23/compiler/optimizing/instruction_simplifier.cc:75:45: [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. void VisitStaticFieldSet(HStaticFieldSet* equal) OVERRIDE; data/android-platform-art-8.1.0+r23/compiler/optimizing/instruction_simplifier.cc:76:33: [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. void VisitArraySet(HArraySet* equal) OVERRIDE; data/android-platform-art-8.1.0+r23/compiler/optimizing/instruction_simplifier.cc:648:55: [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. void InstructionSimplifierVisitor::VisitEqual(HEqual* equal) { data/android-platform-art-8.1.0+r23/compiler/optimizing/instruction_simplifier.cc:652:37: [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 (CmpHasBoolType(input_value, equal) && input_const->IsIntConstant()) { data/android-platform-art-8.1.0+r23/compiler/optimizing/instruction_simplifier.cc:659:34: [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. block->RemoveInstruction(equal); data/android-platform-art-8.1.0+r23/compiler/optimizing/instruction_simplifier.cc:663:77: [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->ReplaceWith(GetGraph()->InsertOppositeCondition(input_value, equal)); data/android-platform-art-8.1.0+r23/compiler/optimizing/instruction_simplifier.cc:664:34: [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. block->RemoveInstruction(equal); data/android-platform-art-8.1.0+r23/compiler/optimizing/instruction_simplifier.cc:669:34: [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. block->RemoveInstruction(equal); data/android-platform-art-8.1.0+r23/compiler/optimizing/instruction_simplifier.cc:673: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. VisitCondition(equal); data/android-platform-art-8.1.0+r23/compiler/optimizing/instruction_simplifier.cc:676:20: [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. VisitCondition(equal); data/android-platform-art-8.1.0+r23/compiler/optimizing/instruction_simplifier.cc:2001: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. replacement = equal; data/android-platform-art-8.1.0+r23/compiler/optimizing/side_effects_test.cc:31:60: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void testWriteAndReadSanity(SideEffects write, SideEffects read) { data/android-platform-art-8.1.0+r23/compiler/optimizing/side_effects_test.cc:33:16: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). EXPECT_FALSE(read.DoesNothing()); data/android-platform-art-8.1.0+r23/compiler/optimizing/side_effects_test.cc:37:16: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). EXPECT_FALSE(read.DoesAnyWrite()); data/android-platform-art-8.1.0+r23/compiler/optimizing/side_effects_test.cc:38:15: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). EXPECT_TRUE(read.DoesAnyRead()); data/android-platform-art-8.1.0+r23/compiler/optimizing/side_effects_test.cc:44:32: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). EXPECT_FALSE(all.MayDependOn(read)); data/android-platform-art-8.1.0+r23/compiler/optimizing/side_effects_test.cc:45:15: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). EXPECT_TRUE(read.MayDependOn(all)); data/android-platform-art-8.1.0+r23/compiler/optimizing/side_effects_test.cc:51:33: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). EXPECT_FALSE(none.MayDependOn(read)); data/android-platform-art-8.1.0+r23/compiler/optimizing/side_effects_test.cc:52:16: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). EXPECT_FALSE(read.MayDependOn(none)); data/android-platform-art-8.1.0+r23/compiler/optimizing/side_effects_test.cc:55:64: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void testWriteAndReadDependence(SideEffects write, SideEffects read) { data/android-platform-art-8.1.0+r23/compiler/optimizing/side_effects_test.cc:56:33: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). testWriteAndReadSanity(write, read); data/android-platform-art-8.1.0+r23/compiler/optimizing/side_effects_test.cc:59:34: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). EXPECT_FALSE(write.MayDependOn(read)); data/android-platform-art-8.1.0+r23/compiler/optimizing/side_effects_test.cc:60:15: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). EXPECT_TRUE(read.MayDependOn(write)); data/android-platform-art-8.1.0+r23/compiler/optimizing/side_effects_test.cc:63:66: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void testNoWriteAndReadDependence(SideEffects write, SideEffects read) { data/android-platform-art-8.1.0+r23/compiler/optimizing/side_effects_test.cc:64:33: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). testWriteAndReadSanity(write, read); data/android-platform-art-8.1.0+r23/compiler/optimizing/side_effects_test.cc:67:34: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). EXPECT_FALSE(write.MayDependOn(read)); data/android-platform-art-8.1.0+r23/compiler/optimizing/side_effects_test.cc:68:16: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). EXPECT_FALSE(read.MayDependOn(write)); data/android-platform-art-8.1.0+r23/compiler/optimizing/stack_map_stream.cc:508: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. if (!std::equal(a_begin, a_begin + number_of_live_dex_registers, b_begin)) { data/android-platform-art-8.1.0+r23/compiler/utils/assembler_test_base.h:367:24: [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 result = std::equal(std::istreambuf_iterator<char>(f1_in), data/android-platform-art-8.1.0+r23/compiler/utils/assembler_test_base.h:432:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). obj.read(reinterpret_cast<char*>(&(*res->code)[0]), res->length); data/android-platform-art-8.1.0+r23/compiler/utils/dedupe_set-inl.h:172: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. std::equal(lhs.Key()->begin(), lhs.Key()->end(), rhs.Key()->begin()); data/android-platform-art-8.1.0+r23/compiler/utils/dedupe_set_test.cc:68: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(test1.begin(), test1.end(), array1->begin())); data/android-platform-art-8.1.0+r23/compiler/utils/dedupe_set_test.cc:77: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(test2.begin(), test2.end(), array2->begin())); data/android-platform-art-8.1.0+r23/compiler/utils/dedupe_set_test.cc:87: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(test3.begin(), test3.end(), array3->begin())); data/android-platform-art-8.1.0+r23/compiler/utils/intrusive_forward_list_test.cc:66: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((expected).begin(), (expected).end(), (value).begin())); \ data/android-platform-art-8.1.0+r23/dalvikvm/dalvikvm.cc:135:43: [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 (strncmp(argv[arg_idx], "-XXlib:", strlen("-XXlib:")) == 0) { data/android-platform-art-8.1.0+r23/dalvikvm/dalvikvm.cc:136: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). lib = argv[arg_idx] + strlen("-XXlib:"); data/android-platform-art-8.1.0+r23/debian/dlmalloc/malloc.c:819:32: [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 dlmemalign memalign data/android-platform-art-8.1.0+r23/debian/dlmalloc/malloc.c:3174:11: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). read(fd, buf, sizeof(buf)) == sizeof(buf)) { data/android-platform-art-8.1.0+r23/debian/dlmalloc/malloc.h:55:32: [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 dlmemalign memalign data/android-platform-art-8.1.0+r23/dex2oat/dex2oat.cc:693:48: [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 char* image_base_str = option.substr(strlen("--base=")).data(); data/android-platform-art-8.1.0+r23/dex2oat/dex2oat.cc:703:53: [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). StringPiece instruction_set_str = option.substr(strlen("--instruction-set=")).data(); data/android-platform-art-8.1.0+r23/dex2oat/dex2oat.cc:706:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(buf.get(), instruction_set_str.data(), instruction_set_str.length()); data/android-platform-art-8.1.0+r23/dex2oat/dex2oat.cc:717: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). StringPiece str = option.substr(strlen("--instruction-set-variant=")).data(); data/android-platform-art-8.1.0+r23/dex2oat/dex2oat.cc:727: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). StringPiece str = option.substr(strlen("--instruction-set-features=")).data(); data/android-platform-art-8.1.0+r23/dex2oat/dex2oat.cc:747:45: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). StringPiece backend_str = option.substr(strlen("--compiler-backend=")).data(); data/android-platform-art-8.1.0+r23/dex2oat/dex2oat.cc:1072: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). infix = dex_file.substr(strlen("core")); data/android-platform-art-8.1.0+r23/dex2oat/dex2oat.cc:1132: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). in = in.substr(0, in.length() - strlen(".jar")) + data/android-platform-art-8.1.0+r23/dex2oat/dex2oat.cc:1194:48: [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). dex_filenames_.push_back(option.substr(strlen("--dex-file=")).data()); data/android-platform-art-8.1.0+r23/dex2oat/dex2oat.cc:1196:48: [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). dex_locations_.push_back(option.substr(strlen("--dex-location=")).data()); data/android-platform-art-8.1.0+r23/dex2oat/dex2oat.cc:1200: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). zip_location_ = option.substr(strlen("--zip-location=")).data(); data/android-platform-art-8.1.0+r23/dex2oat/dex2oat.cc:1204: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). input_vdex_ = option.substr(strlen("--input-vdex=")).data(); data/android-platform-art-8.1.0+r23/dex2oat/dex2oat.cc:1206: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). output_vdex_ = option.substr(strlen("--output-vdex=")).data(); data/android-platform-art-8.1.0+r23/dex2oat/dex2oat.cc:1210:48: [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). oat_filenames_.push_back(option.substr(strlen("--oat-file=")).data()); data/android-platform-art-8.1.0+r23/dex2oat/dex2oat.cc:1212: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). parser_options->oat_symbols.push_back(option.substr(strlen("--oat-symbols=")).data()); data/android-platform-art-8.1.0+r23/dex2oat/dex2oat.cc:1216: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). oat_location_ = option.substr(strlen("--oat-location=")).data(); data/android-platform-art-8.1.0+r23/dex2oat/dex2oat.cc:1229: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). image_filenames_.push_back(option.substr(strlen("--image=")).data()); data/android-platform-art-8.1.0+r23/dex2oat/dex2oat.cc:1231: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). image_classes_filename_ = option.substr(strlen("--image-classes=")).data(); data/android-platform-art-8.1.0+r23/dex2oat/dex2oat.cc:1233:53: [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). image_classes_zip_filename_ = option.substr(strlen("--image-classes-zip=")).data(); data/android-platform-art-8.1.0+r23/dex2oat/dex2oat.cc:1237: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). compiled_classes_filename_ = option.substr(strlen("--compiled-classes=")).data(); data/android-platform-art-8.1.0+r23/dex2oat/dex2oat.cc:1239: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). compiled_classes_zip_filename_ = option.substr(strlen("--compiled-classes-zip=")).data(); data/android-platform-art-8.1.0+r23/dex2oat/dex2oat.cc:1241: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). compiled_methods_filename_ = option.substr(strlen("--compiled-methods=")).data(); data/android-platform-art-8.1.0+r23/dex2oat/dex2oat.cc:1243: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). compiled_methods_zip_filename_ = option.substr(strlen("--compiled-methods-zip=")).data(); data/android-platform-art-8.1.0+r23/dex2oat/dex2oat.cc:1245: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). passes_to_run_filename_ = option.substr(strlen("--run-passes=")).data(); data/android-platform-art-8.1.0+r23/dex2oat/dex2oat.cc:1249: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). parser_options->boot_image_filename = option.substr(strlen("--boot-image=")).data(); data/android-platform-art-8.1.0+r23/dex2oat/dex2oat.cc:1251: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). android_root_ = option.substr(strlen("--android-root=")).data(); data/android-platform-art-8.1.0+r23/dex2oat/dex2oat.cc:1261: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). profile_file_ = option.substr(strlen("--profile-file=")).ToString(); data/android-platform-art-8.1.0+r23/dex2oat/dex2oat.cc:1283: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). swap_file_name_ = option.substr(strlen("--swap-file=")).data(); data/android-platform-art-8.1.0+r23/dex2oat/dex2oat.cc:1302: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). app_image_file_name_ = option.substr(strlen("--app-image-file=")).data(); data/android-platform-art-8.1.0+r23/dex2oat/dex2oat.cc:1308:48: [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). no_inline_from_string_ = option.substr(strlen("--no-inline-from=")).data(); data/android-platform-art-8.1.0+r23/dex2oat/dex2oat.cc:1315: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). classpath_dir_ = option.substr(strlen("--classpath-dir=")).data(); data/android-platform-art-8.1.0+r23/dex2oat/dex2oat.cc:1318: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). option.substr(strlen("--class-loader-context=")).data()); data/android-platform-art-8.1.0+r23/dex2oat/dex2oat.cc:1323: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). dirty_image_objects_filename_ = option.substr(strlen("--dirty-image-objects=")).data(); data/android-platform-art-8.1.0+r23/dex2oat/dex2oat_image_test.cc:213:46: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). while (TEMP_FAILURE_RETRY(bytes_read = read(link[0], buffer, 128)) > 0) { data/android-platform-art-8.1.0+r23/dex2oat/dex2oat_test.cc:233:46: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). while (TEMP_FAILURE_RETRY(bytes_read = read(link[0], buffer, 128)) > 0) { data/android-platform-art-8.1.0+r23/dexdump/dexdump.cc:125:19: [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). int targetLen = strlen(str); data/android-platform-art-8.1.0+r23/dexdump/dexdump.cc:140:17: [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). targetLen = strlen(str); data/android-platform-art-8.1.0+r23/dexdump/dexdump.cc:182: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). const int targetLen = strlen(lastSlash); data/android-platform-art-8.1.0+r23/dexdump/dexdump.cc:310: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). const int len = strlen(accessStr); data/android-platform-art-8.1.0+r23/dexdump/dexdump.cc:1262: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). char* tmpBuf = reinterpret_cast<char*>(malloc(strlen(typeDescriptor) + 1)); data/android-platform-art-8.1.0+r23/dexdump/dexdump.cc:1429: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). classDescriptor[strlen(classDescriptor)-1] == ';')) { data/android-platform-art-8.1.0+r23/dexdump/dexdump.cc:1434: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). mangle[strlen(mangle)-1] = '\0'; data/android-platform-art-8.1.0+r23/dexlayout/dex_ir.h:463: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). size_ = UnsignedLeb128Size(CountModifiedUtf8Chars(data)) + strlen(data); data/android-platform-art-8.1.0+r23/dexlayout/dex_writer.cc:256: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). Write(string_data->Data(), strlen(string_data->Data()), offset); data/android-platform-art-8.1.0+r23/dexlayout/dexdiag.cc:306:79: [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 (match_loc != std::string::npos && mapped_name.length() == match_loc + strlen(suffix)) { data/android-platform-art-8.1.0+r23/dexlayout/dexdiag.cc:395:79: [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 (match_loc != std::string::npos && mapped_name.length() == match_loc + strlen(suffix)) { data/android-platform-art-8.1.0+r23/dexlayout/dexdiag.cc:459: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). std::string contains(option.substr(strlen("--contains=")).data()); data/android-platform-art-8.1.0+r23/dexlayout/dexlayout.cc:231: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). const int len = strlen(accessStr); data/android-platform-art-8.1.0+r23/dexlayout/dexlayout.cc:1183: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). char* tmp_buf = reinterpret_cast<char*>(malloc(strlen(type_descriptor) + 1)); data/android-platform-art-8.1.0+r23/dexlayout/dexlayout.cc:1307:26: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). class_descriptor[strlen(class_descriptor)-1] == ';')) { data/android-platform-art-8.1.0+r23/dexlayout/dexlayout.cc:1312: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). mangle[strlen(mangle)-1] = '\0'; data/android-platform-art-8.1.0+r23/dexlist/dexlist.cc:64: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). size_t len = strlen(str); data/android-platform-art-8.1.0+r23/dexoptanalyzer/dexoptanalyzer.cc:149: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). dex_file_ = option.substr(strlen("--dex-file=")).ToString(); data/android-platform-art-8.1.0+r23/dexoptanalyzer/dexoptanalyzer.cc:151:48: [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). std::string filter_str = option.substr(strlen("--compiler-filter=")).ToString(); data/android-platform-art-8.1.0+r23/dexoptanalyzer/dexoptanalyzer.cc:156:45: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). std::string isa_str = option.substr(strlen("--isa=")).ToString(); data/android-platform-art-8.1.0+r23/dexoptanalyzer/dexoptanalyzer.cc:162: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). image_ = option.substr(strlen("--image=")).ToString(); data/android-platform-art-8.1.0+r23/dexoptanalyzer/dexoptanalyzer.cc:166: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). std::string new_android_data = option.substr(strlen("--android-data=")).ToString(); data/android-platform-art-8.1.0+r23/imgdiag/imgdiag.cc:1678: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). const char* image_diff_pid = option.substr(strlen("--image-diff-pid=")).data(); data/android-platform-art-8.1.0+r23/imgdiag/imgdiag.cc:1685: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). const char* zygote_diff_pid = option.substr(strlen("--zygote-diff-pid=")).data(); data/android-platform-art-8.1.0+r23/oatdump/oatdump.cc:1046:45: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). dex_file_location.erase(dex_orig_pos, strlen("base.apk") + 1); data/android-platform-art-8.1.0+r23/oatdump/oatdump.cc:3391: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). oat_filename_ = option.substr(strlen("--oat-file=")).data(); data/android-platform-art-8.1.0+r23/oatdump/oatdump.cc:3393: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). image_location_ = option.substr(strlen("--image=")).data(); data/android-platform-art-8.1.0+r23/oatdump/oatdump.cc:3403: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). oat_filename_ = option.substr(strlen("--symbolize=")).data(); data/android-platform-art-8.1.0+r23/oatdump/oatdump.cc:3408: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). class_filter_ = option.substr(strlen("--class-filter=")).data(); data/android-platform-art-8.1.0+r23/oatdump/oatdump.cc:3410: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). method_filter_ = option.substr(strlen("--method-filter=")).data(); data/android-platform-art-8.1.0+r23/oatdump/oatdump.cc:3416: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). export_dex_location_ = option.substr(strlen("--export-dex-to=")).data(); data/android-platform-art-8.1.0+r23/oatdump/oatdump.cc:3418: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). if (!ParseUint(option.substr(strlen("--addr2instr=")).data(), &addr2instr_)) { data/android-platform-art-8.1.0+r23/oatdump/oatdump.cc:3423: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). app_image_ = option.substr(strlen("--app-image=")).data(); data/android-platform-art-8.1.0+r23/oatdump/oatdump.cc:3425: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). app_oat_ = option.substr(strlen("--app-oat=")).data(); data/android-platform-art-8.1.0+r23/oatdump/oatdump.cc:3427: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). imt_dump_ = option.substr(strlen("--dump-imt=")).data(); data/android-platform-art-8.1.0+r23/oatdump/oatdump_test.h:174:34: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). TEMP_FAILURE_RETRY(read(link[0], &line[line_len], kLineMax - line_len)); data/android-platform-art-8.1.0+r23/patchoat/patchoat.cc:824:43: [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 char* isa_str = option.substr(strlen("--instruction-set=")).data(); data/android-platform-art-8.1.0+r23/patchoat/patchoat.cc:830: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). input_image_location = option.substr(strlen("--input-image-location=")).data(); data/android-platform-art-8.1.0+r23/patchoat/patchoat.cc:832:45: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). output_image_filename = option.substr(strlen("--output-image-file=")).data(); data/android-platform-art-8.1.0+r23/patchoat/patchoat.cc:834: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). const char* base_delta_str = option.substr(strlen("--base-offset-delta=")).data(); data/android-platform-art-8.1.0+r23/profman/profman.cc:216: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). create_profile_from_file_ = option.substr(strlen("--create-profile-from=")).ToString(); data/android-platform-art-8.1.0+r23/profman/profman.cc:237:48: [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). profile_files_.push_back(option.substr(strlen("--profile-file=")).ToString()); data/android-platform-art-8.1.0+r23/profman/profman.cc:241: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). reference_profile_file_ = option.substr(strlen("--reference-profile-file=")).ToString(); data/android-platform-art-8.1.0+r23/profman/profman.cc:245:48: [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). dex_locations_.push_back(option.substr(strlen("--dex-location=")).ToString()); data/android-platform-art-8.1.0+r23/profman/profman.cc:249: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). apk_files_.push_back(option.substr(strlen("--apk=")).ToString()); data/android-platform-art-8.1.0+r23/profman/profman.cc:251: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). test_profile_ = option.substr(strlen("--generate-test-profile=")).ToString(); data/android-platform-art-8.1.0+r23/runtime/arch/mips/instruction_set_features_mips.cc:88: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). const size_t kPrefixLength = strlen(kMips32Prefix); data/android-platform-art-8.1.0+r23/runtime/arch/stub_test.cc:1994: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). DCHECK_LE(strlen(c_str[kStringCount-1]), kMaxLen) << "Please fix the indexof test."; data/android-platform-art-8.1.0+r23/runtime/base/array_ref.h:192:43: [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 lhs.size() == rhs.size() && std::equal(lhs.begin(), lhs.end(), rhs.begin()); data/android-platform-art-8.1.0+r23/runtime/base/dchecked_vector.h:203:43: [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 lhs.size() == rhs.size() && std::equal(lhs.begin(), lhs.end(), rhs.begin()); data/android-platform-art-8.1.0+r23/runtime/base/file_magic.cc:40:30: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). int n = TEMP_FAILURE_RETRY(read(fd.Fd(), magic, sizeof(*magic))); data/android-platform-art-8.1.0+r23/runtime/base/hex_dump_test.cc:36: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). oss << HexDump(test_text, strlen(test_text), false, ""); data/android-platform-art-8.1.0+r23/runtime/base/hex_dump_test.cc:45: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). oss << HexDump(test_text, strlen(test_text), false, ""); data/android-platform-art-8.1.0+r23/runtime/base/hex_dump_test.cc:66: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). oss << HexDump(test_text, strlen(test_text), false, "test prefix: "); data/android-platform-art-8.1.0+r23/runtime/base/logging.cc:164: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). buf_size = strlen(file) + 1 /* ':' */ + std::numeric_limits<decltype(line)>::max_digits10 + data/android-platform-art-8.1.0+r23/runtime/base/logging.cc:165: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). 2 /* "] " */ + strlen(message) + 1 /* terminating 0 */; data/android-platform-art-8.1.0+r23/runtime/base/logging.cc:182:57: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). TEMP_FAILURE_RETRY(write(STDERR_FILENO, program_name, strlen(program_name))); data/android-platform-art-8.1.0+r23/runtime/base/logging.cc:187: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). TEMP_FAILURE_RETRY(write(STDERR_FILENO, file, strlen(file))); data/android-platform-art-8.1.0+r23/runtime/base/logging.cc:191: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). TEMP_FAILURE_RETRY(write(STDERR_FILENO, message, strlen(message))); data/android-platform-art-8.1.0+r23/runtime/base/stringpiece.h:52: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). : ptr_(str), length_((str == nullptr) ? 0 : strlen(str)) { } data/android-platform-art-8.1.0+r23/runtime/base/stringpiece.h:77:17: [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). length_ = strlen(str); data/android-platform-art-8.1.0+r23/runtime/base/transform_array_ref.h:165:43: [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 lhs.size() == rhs.size() && std::equal(lhs.begin(), lhs.end(), rhs.begin()); data/android-platform-art-8.1.0+r23/runtime/base/unix_file/fd_file.cc:248:10: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). return read(fd, buf, count); data/android-platform-art-8.1.0+r23/runtime/base/unix_file/fd_file_test.cc:124:19: [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 length = strlen(test_string) + 1; data/android-platform-art-8.1.0+r23/runtime/check_jni.cc:3287: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). size_t length_in_bytes = strlen(result.u) + 1; data/android-platform-art-8.1.0+r23/runtime/class_linker.cc:1921:9: [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/android-platform-art-8.1.0+r23/runtime/class_linker.cc:1924:26: [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. for (size_t i = 0; equal && i < image_count; ++i, ++it1, ++it2) { data/android-platform-art-8.1.0+r23/runtime/class_linker.cc:1925:17: [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 = equal && (*it1)->Equals(*it2); data/android-platform-art-8.1.0+r23/runtime/class_linker.cc:1928: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. if (!equal) { data/android-platform-art-8.1.0+r23/runtime/class_linker.cc:2470:9: [1] (obsolete) usleep: This C routine is considered obsolete (as opposed to the shell command by the same name). The interaction of this function with SIGALRM and other timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead. usleep(kSleepDurationUS); data/android-platform-art-8.1.0+r23/runtime/class_linker.cc:2738: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). size_t descriptor_length = strlen(descriptor); data/android-platform-art-8.1.0+r23/runtime/class_linker.cc:8231: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). const size_t num_method_args = strlen(dex_file.StringDataByIdx(proto_id.shorty_idx_)) - 1; data/android-platform-art-8.1.0+r23/runtime/class_linker_test.cc:201:15: [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_GT(strlen(array->GetComponentType()->GetDescriptor(&temp)), 0U); data/android-platform-art-8.1.0+r23/runtime/class_linker_test.cc:1339:15: [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). EXPECT_GT(strlen(klass->GetDescriptor(&temp)), 0U); data/android-platform-art-8.1.0+r23/runtime/class_loader_context.cc:93:26: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). size_t type_str_size = strlen(class_loader_type_str); data/android-platform-art-8.1.0+r23/runtime/class_loader_context.cc:143: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). if (class_loader_spec.compare(0, strlen(type_str), type_str) == 0) { data/android-platform-art-8.1.0+r23/runtime/debugger.cc:4926:7: [1] (obsolete) usleep: This C routine is considered obsolete (as opposed to the shell command by the same name). The interaction of this function with SIGALRM and other timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead. usleep(40000); data/android-platform-art-8.1.0+r23/runtime/debugger.cc:4974: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 str_len = strlen(str); data/android-platform-art-8.1.0+r23/runtime/elf.h:85: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). return (memcmp(e_ident, ElfMagic, strlen(ElfMagic))) == 0; data/android-platform-art-8.1.0+r23/runtime/elf.h:109: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). return (memcmp(e_ident, ElfMagic, strlen(ElfMagic))) == 0; data/android-platform-art-8.1.0+r23/runtime/entrypoints/quick/quick_trampoline_entrypoints.cc:2586: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). const size_t shorty_length = strlen(shorty); data/android-platform-art-8.1.0+r23/runtime/entrypoints/quick/quick_trampoline_entrypoints.cc:2640:53: [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(shorty), data/android-platform-art-8.1.0+r23/runtime/gc/heap.cc:880:7: [1] (obsolete) usleep: This C routine is considered obsolete (as opposed to the shell command by the same name). The interaction of this function with SIGALRM and other timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead. usleep(kCollectorTransitionStressWait); data/android-platform-art-8.1.0+r23/runtime/gc/heap.cc:1994:5: [1] (obsolete) usleep: This C routine is considered obsolete (as opposed to the shell command by the same name). The interaction of this function with SIGALRM and other timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead. usleep(1000); data/android-platform-art-8.1.0+r23/runtime/gc/task_processor_test.cc:80:5: [1] (obsolete) usleep: This C routine is considered obsolete (as opposed to the shell command by the same name). The interaction of this function with SIGALRM and other timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead. usleep(10); data/android-platform-art-8.1.0+r23/runtime/hprof/hprof.cc:255: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). AddU1List((const uint8_t*)str, strlen(str)); data/android-platform-art-8.1.0+r23/runtime/intern_table.cc:348:27: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). size_t b_byte_count = strlen(b.GetUtf8Data()); data/android-platform-art-8.1.0+r23/runtime/interpreter/unstarted_runtime_test.cc:367:43: [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). int32_t base_len = static_cast<int32_t>(strlen(base_string)); data/android-platform-art-8.1.0+r23/runtime/interpreter/unstarted_runtime_test.cc:424: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. EXPECT_EQ(equal, true); data/android-platform-art-8.1.0+r23/runtime/interpreter/unstarted_runtime_test.cc:597: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). CHECK_EQ(strlen(test_string), 11U); data/android-platform-art-8.1.0+r23/runtime/interpreter/unstarted_runtime_test.cc:645: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). CHECK_EQ(strlen(test_string), 11U); data/android-platform-art-8.1.0+r23/runtime/jdwp/jdwp_adb.cc:293:7: [1] (obsolete) usleep: This C routine is considered obsolete (as opposed to the shell command by the same name). The interaction of this function with SIGALRM and other timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead. usleep(sleep_ms * 1000); data/android-platform-art-8.1.0+r23/runtime/jdwp/jdwp_adb.cc:430:21: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). readCount = read(clientSock, input_buffer_ + input_count_, sizeof(input_buffer_) - input_count_); data/android-platform-art-8.1.0+r23/runtime/jdwp/jdwp_event.cc:469:19: [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 patLen = strlen(pattern); data/android-platform-art-8.1.0+r23/runtime/jdwp/jdwp_expand_buf.cc:169: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). int strLen = (s != nullptr ? strlen(s) : 0); data/android-platform-art-8.1.0+r23/runtime/jdwp/jdwp_socket.cc:470:13: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). read(clientSock, input_buffer_ + input_count_, sizeof(input_buffer_) - input_count_); data/android-platform-art-8.1.0+r23/runtime/jit/profile_compilation_info.cc:811:29: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). return TEMP_FAILURE_RETRY(read(fd, buffer, 1)); data/android-platform-art-8.1.0+r23/runtime/jit/profile_compilation_info.cc:847:41: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). int bytes_read = TEMP_FAILURE_RETRY(read(fd, buffer, byte_count)); data/android-platform-art-8.1.0+r23/runtime/jni_internal_test.cc:1243: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). ASSERT_EQ(strlen(primitive_descriptors), arraysize(primitive_names)); data/android-platform-art-8.1.0+r23/runtime/jni_internal_test.cc:1247:26: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). for (size_t i = 0; i < strlen(primitive_descriptors); ++i) { data/android-platform-art-8.1.0+r23/runtime/jni_internal_test.cc:1256:26: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). for (size_t i = 0; i < strlen(primitive_descriptors); ++i) { data/android-platform-art-8.1.0+r23/runtime/mirror/object_test.cc:68: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). ASSERT_TRUE(string->Equals(utf8_in) || (expected_utf16_length == 1 && strlen(utf8_in) == 0)); data/android-platform-art-8.1.0+r23/runtime/mirror/object_test.cc:70:48: [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). (expected_utf16_length == 1 && strlen(utf8_in) == 0)); data/android-platform-art-8.1.0+r23/runtime/mirror/object_test.cc:585: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). std::vector<Class*> prim_types(strlen(prims)); data/android-platform-art-8.1.0+r23/runtime/mirror/object_test.cc:586:26: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). for (size_t i = 0; i < strlen(prims); i++) { data/android-platform-art-8.1.0+r23/runtime/mirror/object_test.cc:589:26: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). for (size_t i = 0; i < strlen(prims); i++) { data/android-platform-art-8.1.0+r23/runtime/mirror/object_test.cc: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). for (size_t j = 0; i < strlen(prims); i++) { data/android-platform-art-8.1.0+r23/runtime/mirror/string.cc:198: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 byte_count = strlen(utf); data/android-platform-art-8.1.0+r23/runtime/mirror/string.cc:206: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). return AllocFromModifiedUtf8(self, utf16_length, utf8_data_in, strlen(utf8_data_in)); data/android-platform-art-8.1.0+r23/runtime/monitor_android.cc:49:5: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). read(fd, procName, sizeof(procName) - 1); data/android-platform-art-8.1.0+r23/runtime/native/dalvik_system_DexFile.cc:142: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). return strlen(mUtfChars); data/android-platform-art-8.1.0+r23/runtime/native/java_lang_Class.cc:259: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). size_t field_length = strlen(field.GetName()); data/android-platform-art-8.1.0+r23/runtime/native_stack_dump.cc:177:41: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). int bytes_read = TEMP_FAILURE_RETRY(read(in, buffer, kMaxBuffer - 1)); data/android-platform-art-8.1.0+r23/runtime/oat_file_assistant.cc:217: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). const char* compiler_filter_string = option.substr(strlen("--compiler-filter=")).data(); data/android-platform-art-8.1.0+r23/runtime/openjdkjvm/OpenjdkJvm.cc:105:31: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). return TEMP_FAILURE_RETRY(read(fd, buf, nbytes)); data/android-platform-art-8.1.0+r23/runtime/openjdkjvm/OpenjdkJvm.cc:171:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(buf, result, len); data/android-platform-art-8.1.0+r23/runtime/openjdkjvm/OpenjdkJvm.cc:175: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). return strlen(buf); data/android-platform-art-8.1.0+r23/runtime/openjdkjvmti/art_jvmti.h:207: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). size_t len = strlen(src) + 1; data/android-platform-art-8.1.0+r23/runtime/openjdkjvmti/ti_class.cc:185: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). std::string name(std::string(descriptor).substr(1, strlen(descriptor) - 2)); data/android-platform-art-8.1.0+r23/runtime/runtime_callbacks_test.cc:232: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. if (!std::equal(cb_.data.begin(), cb_.data.end(), list.begin())) { data/android-platform-art-8.1.0+r23/runtime/thread_list.cc:304:5: [1] (obsolete) usleep: This C routine is considered obsolete (as opposed to the shell command by the same name). The interaction of this function with SIGALRM and other timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead. usleep(delay_us); data/android-platform-art-8.1.0+r23/runtime/thread_list.cc:1358:5: [1] (obsolete) usleep: This C routine is considered obsolete (as opposed to the shell command by the same name). The interaction of this function with SIGALRM and other timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead. usleep(kDaemonSleepTime); data/android-platform-art-8.1.0+r23/runtime/thread_list.cc:1381:5: [1] (obsolete) usleep: This C routine is considered obsolete (as opposed to the shell command by the same name). The interaction of this function with SIGALRM and other timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead. usleep(kSleepMicroseconds); data/android-platform-art-8.1.0+r23/runtime/thread_pool_test.cc:37:5: [1] (obsolete) usleep: This C routine is considered obsolete (as opposed to the shell command by the same name). The interaction of this function with SIGALRM and other timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead. usleep(100); data/android-platform-art-8.1.0+r23/runtime/thread_pool_test.cc:85:3: [1] (obsolete) usleep: This C routine is considered obsolete (as opposed to the shell command by the same name). The interaction of this function with SIGALRM and other timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead. usleep(200); data/android-platform-art-8.1.0+r23/runtime/thread_pool_test.cc:90:3: [1] (obsolete) usleep: This C routine is considered obsolete (as opposed to the shell command by the same name). The interaction of this function with SIGALRM and other timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead. usleep(200); data/android-platform-art-8.1.0+r23/runtime/thread_pool_test.cc:94:3: [1] (obsolete) usleep: This C routine is considered obsolete (as opposed to the shell command by the same name). The interaction of this function with SIGALRM and other timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead. usleep(200); data/android-platform-art-8.1.0+r23/runtime/thread_pool_test.cc:114:3: [1] (obsolete) usleep: This C routine is considered obsolete (as opposed to the shell command by the same name). The interaction of this function with SIGALRM and other timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead. usleep(200); data/android-platform-art-8.1.0+r23/runtime/trace.cc:293:5: [1] (obsolete) usleep: This C routine is considered obsolete (as opposed to the shell command by the same name). The interaction of this function with SIGALRM and other timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead. usleep(interval_us); data/android-platform-art-8.1.0+r23/runtime/utf.cc:28: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). return CountModifiedUtf8Chars(utf8, strlen(utf8)); data/android-platform-art-8.1.0+r23/runtime/utf.cc:47: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). DCHECK_LE(byte_count, strlen(utf8)); data/android-platform-art-8.1.0+r23/runtime/utils.cc:86:36: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). int64_t n = TEMP_FAILURE_RETRY(read(file.Fd(), &buf[0], buf.size())); data/android-platform-art-8.1.0+r23/runtime/utils.cc:108:36: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). int64_t n = TEMP_FAILURE_RETRY(read(file.Fd(), &buf[filled_to], kBufSize - filled_to)); data/android-platform-art-8.1.0+r23/runtime/utils.cc:404:19: [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 length = strlen(descriptor); data/android-platform-art-8.1.0+r23/runtime/utils.cc:423:19: [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 length = strlen(descriptor); data/android-platform-art-8.1.0+r23/runtime/utils.cc:709:3: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(buf, s, sizeof(buf)-1); data/android-platform-art-8.1.0+r23/runtime/utils.cc:939:5: [1] (obsolete) usleep: This C routine is considered obsolete (as opposed to the shell command by the same name). The interaction of this function with SIGALRM and other timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead. usleep(1000000); data/android-platform-art-8.1.0+r23/runtime/verifier/instruction_flags.cc:27:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). Risk is low because the source is a constant string. strncpy(encoding, "XXXXXXX", sizeof(encoding)); data/android-platform-art-8.1.0+r23/runtime/verifier/instruction_flags.cc:29:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). Risk is low because the source is a constant string. strncpy(encoding, "-------", sizeof(encoding)); data/android-platform-art-8.1.0+r23/runtime/verifier/method_verifier.cc:2607:11: [1] (buffer) mismatch: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. if (mismatch) { data/android-platform-art-8.1.0+r23/runtime/zip_archive.cc:162:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). while (read(zip_fd, &buf, 1) > 0 && i < count) { data/android-platform-art-8.1.0+r23/runtime/zip_archive_test.cc:57:45: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ssize_t bytes_read = TEMP_FAILURE_RETRY(read(fd, buf, kBufSize)); data/android-platform-art-8.1.0+r23/test/004-JniTest/jni_test.cc:592: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). int byte_array_length = strlen(test_array); data/android-platform-art-8.1.0+r23/test/115-native-bridge/nativebridge.cc:428: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). size_t len = strlen(libpath); data/android-platform-art-8.1.0+r23/test/115-native-bridge/nativebridge.cc:430:3: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(tmp, libpath, len); data/android-platform-art-8.1.0+r23/test/136-daemon-jni-shutdown/daemon_jni_shutdown.cc:37:5: [1] (obsolete) usleep: This C routine is considered obsolete (as opposed to the shell command by the same name). The interaction of this function with SIGALRM and other timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead. usleep(1000); data/android-platform-art-8.1.0+r23/test/136-daemon-jni-shutdown/daemon_jni_shutdown.cc:46:5: [1] (obsolete) usleep: This C routine is considered obsolete (as opposed to the shell command by the same name). The interaction of this function with SIGALRM and other timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead. usleep(1000); data/android-platform-art-8.1.0+r23/test/136-daemon-jni-shutdown/daemon_jni_shutdown.cc:70:3: [1] (obsolete) usleep: This C routine is considered obsolete (as opposed to the shell command by the same name). The interaction of this function with SIGALRM and other timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead. usleep(1000000); data/android-platform-art-8.1.0+r23/test/137-cfi/cfi.cc:201:5: [1] (obsolete) usleep: This C routine is considered obsolete (as opposed to the shell command by the same name). The interaction of this function with SIGALRM and other timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead. usleep(kSleepTimeMicroseconds); data/android-platform-art-8.1.0+r23/test/149-suspend-all-stress/suspend_all.cc:26:3: [1] (obsolete) usleep: This C routine is considered obsolete (as opposed to the shell command by the same name). The interaction of this function with SIGALRM and other timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead. usleep(kInitialSleepUS); // Leave some time for threads to get in here before we start suspending. data/android-platform-art-8.1.0+r23/test/149-suspend-all-stress/suspend_all.cc:41:9: [1] (obsolete) usleep: This C routine is considered obsolete (as opposed to the shell command by the same name). The interaction of this function with SIGALRM and other timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead. usleep(500); data/android-platform-art-8.1.0+r23/test/149-suspend-all-stress/suspend_all.cc:46:9: [1] (obsolete) usleep: This C routine is considered obsolete (as opposed to the shell command by the same name). The interaction of this function with SIGALRM and other timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead. usleep(500); data/android-platform-art-8.1.0+r23/test/566-polymorphic-inlining/polymorphic_inline.cc:44:7: [1] (obsolete) usleep: This C routine is considered obsolete (as opposed to the shell command by the same name). The interaction of this function with SIGALRM and other timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead. usleep(1000); data/android-platform-art-8.1.0+r23/test/570-checker-osr/osr.cc:140:9: [1] (obsolete) usleep: This C routine is considered obsolete (as opposed to the shell command by the same name). The interaction of this function with SIGALRM and other timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead. usleep(1000); data/android-platform-art-8.1.0+r23/test/common/runtime_state.cc:115: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). backend += strlen(kCompilerBackend); data/android-platform-art-8.1.0+r23/test/common/runtime_state.cc:116: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). if (strncmp(backend, "Optimizing", strlen("Optimizing")) != 0) { data/android-platform-art-8.1.0+r23/test/common/runtime_state.cc:127:15: [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). filter += strlen(kCompilerFilter); data/android-platform-art-8.1.0+r23/test/common/runtime_state.cc:131: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). if (strncmp(filter, kInterpretOnly, strlen(kInterpretOnly)) == 0 || data/android-platform-art-8.1.0+r23/test/common/runtime_state.cc:132: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). strncmp(filter, kVerifyNone, strlen(kVerifyNone)) == 0 || data/android-platform-art-8.1.0+r23/test/common/runtime_state.cc:133:43: [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). strncmp(filter, kVerifyAtRuntime, strlen(kVerifyAtRuntime)) == 0) { data/android-platform-art-8.1.0+r23/test/common/runtime_state.cc:206:7: [1] (obsolete) usleep: This C routine is considered obsolete (as opposed to the shell command by the same name). The interaction of this function with SIGALRM and other timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead. usleep(1000); data/android-platform-art-8.1.0+r23/test/ti-agent/common_load.cc:89: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). if (strncmp(l.name, name, strlen(l.name)) == 0) { data/android-platform-art-8.1.0+r23/test/ti-agent/jni_binder.cc:127:19: [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 length = strlen(descriptor); data/android-platform-art-8.1.0+r23/test/ti-agent/scoped_utf_chars.h:75: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). return strlen(utf_chars_); data/android-platform-art-8.1.0+r23/test/ti-agent/ti_utf.h:29: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). DCHECK_LE(byte_count, strlen(utf8)); data/android-platform-art-8.1.0+r23/test/ti-stress/stress.cc:59:8: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). file.read(reinterpret_cast<char*>(data->data()), len); data/android-platform-art-8.1.0+r23/tools/dmtracedump/createtesttrace.cc:86:3: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(dest, src, len); data/android-platform-art-8.1.0+r23/tools/dmtracedump/createtesttrace.cc:354:21: [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). fwrite(methodStr, strlen(methodStr), 1, keyFp); data/android-platform-art-8.1.0+r23/tools/dmtracedump/createtesttrace.cc:385: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). fwrite(keyThreads, strlen(keyThreads), 1, keyFp); data/android-platform-art-8.1.0+r23/tools/dmtracedump/createtesttrace.cc:387: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). fwrite(keyEnd, strlen(keyEnd), 1, keyFp); data/android-platform-art-8.1.0+r23/tools/dmtracedump/tracedump.cc:568: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). int32_t cmpLen = strlen(cmpStr); data/android-platform-art-8.1.0+r23/tools/dmtracedump/tracedump.cc:916:18: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). uint32_t val = getc(fp); data/android-platform-art-8.1.0+r23/tools/dmtracedump/tracedump.cc:917:10: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). val |= getc(fp) << 8; data/android-platform-art-8.1.0+r23/tools/dmtracedump/tracedump.cc:921:18: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). uint32_t val = getc(fp); data/android-platform-art-8.1.0+r23/tools/dmtracedump/tracedump.cc:922:10: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). val |= getc(fp) << 8; data/android-platform-art-8.1.0+r23/tools/dmtracedump/tracedump.cc:923:10: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). val |= getc(fp) << 16; data/android-platform-art-8.1.0+r23/tools/dmtracedump/tracedump.cc:924:10: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). val |= getc(fp) << 24; data/android-platform-art-8.1.0+r23/tools/dmtracedump/tracedump.cc:928:18: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). uint64_t val = getc(fp); data/android-platform-art-8.1.0+r23/tools/dmtracedump/tracedump.cc:929:21: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). val |= (uint64_t) getc(fp) << 8; data/android-platform-art-8.1.0+r23/tools/dmtracedump/tracedump.cc:930:21: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). val |= (uint64_t) getc(fp) << 16; data/android-platform-art-8.1.0+r23/tools/dmtracedump/tracedump.cc:931:21: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). val |= (uint64_t) getc(fp) << 24; data/android-platform-art-8.1.0+r23/tools/dmtracedump/tracedump.cc:932:21: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). val |= (uint64_t) getc(fp) << 32; data/android-platform-art-8.1.0+r23/tools/dmtracedump/tracedump.cc:933:21: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). val |= (uint64_t) getc(fp) << 40; data/android-platform-art-8.1.0+r23/tools/dmtracedump/tracedump.cc:934:21: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). val |= (uint64_t) getc(fp) << 48; data/android-platform-art-8.1.0+r23/tools/dmtracedump/tracedump.cc:935:21: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). val |= (uint64_t) getc(fp) << 56; data/android-platform-art-8.1.0+r23/tools/dmtracedump/tracedump.cc:1004:10: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). id = getc(dataFp); data/android-platform-art-8.1.0+r23/tools/dmtracedump/tracedump.cc:1018:5: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). getc(dataFp); data/android-platform-art-8.1.0+r23/tools/dmtracedump/tracedump.cc:1112:14: [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. mismatch ? '!' : ' ', elapsedTime, depthNote, data/android-platform-art-8.1.0+r23/tools/dmtracedump/tracedump.cc:1117:14: [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. mismatch ? '!' : ' ', elapsedTime, depthNote, data/android-platform-art-8.1.0+r23/tools/dmtracedump/tracedump.cc:1253: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). int32_t num_spaces = strlen(spaces); data/android-platform-art-8.1.0+r23/tools/dmtracedump/tracedump.cc:1271:21: [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). int32_t len = strlen(buf); data/android-platform-art-8.1.0+r23/tools/dmtracedump/tracedump.cc:1653:17: [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). int32_t len = strlen(buf); ANALYSIS SUMMARY: Hits = 700 Lines analyzed = 573841 in approximately 13.82 seconds (41511 lines/second) Physical Source Lines of Code (SLOC) = 425554 Hits@level = [0] 936 [1] 305 [2] 276 [3] 54 [4] 62 [5] 3 Hits@level+ = [0+] 1636 [1+] 700 [2+] 395 [3+] 119 [4+] 65 [5+] 3 Hits/KSLOC@level+ = [0+] 3.8444 [1+] 1.64491 [2+] 0.928202 [3+] 0.279635 [4+] 0.152742 [5+] 0.00704963 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.