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/autofdo-0.19/profile_writer.h Examining data/autofdo-0.19/gcov.cc Examining data/autofdo-0.19/profile_diff.cc Examining data/autofdo-0.19/source_info.cc Examining data/autofdo-0.19/gcov.h Examining data/autofdo-0.19/llvm_profile_writer.cc Examining data/autofdo-0.19/module_grouper.cc Examining data/autofdo-0.19/create_llvm_prof.cc Examining data/autofdo-0.19/profile_update.cc Examining data/autofdo-0.19/profile_creator.cc Examining data/autofdo-0.19/third_party/protobuf/objectivec/GPBUnknownFieldSet_PackagePrivate.h Examining data/autofdo-0.19/third_party/protobuf/objectivec/GPBRootObject.h Examining data/autofdo-0.19/third_party/protobuf/objectivec/GPBExtensionRegistry.h Examining data/autofdo-0.19/third_party/protobuf/objectivec/GPBDictionary_PackagePrivate.h Examining data/autofdo-0.19/third_party/protobuf/objectivec/GPBDescriptor_PackagePrivate.h Examining data/autofdo-0.19/third_party/protobuf/objectivec/GPBCodedOutputStream_PackagePrivate.h Examining data/autofdo-0.19/third_party/protobuf/objectivec/GPBUnknownFieldSet.h Examining data/autofdo-0.19/third_party/protobuf/objectivec/Tests/UnitTests-Bridging-Header.h Examining data/autofdo-0.19/third_party/protobuf/objectivec/Tests/GPBTestUtilities.h Examining data/autofdo-0.19/third_party/protobuf/objectivec/Tests/CocoaPods/OSXCocoaPodsTester/OSXCocoaPodsTester/AppDelegate.h Examining data/autofdo-0.19/third_party/protobuf/objectivec/Tests/CocoaPods/iOSCocoaPodsTester/iOSCocoaPodsTester/ViewController.h Examining data/autofdo-0.19/third_party/protobuf/objectivec/Tests/CocoaPods/iOSCocoaPodsTester/iOSCocoaPodsTester/AppDelegate.h Examining data/autofdo-0.19/third_party/protobuf/objectivec/GPBUnknownField_PackagePrivate.h Examining data/autofdo-0.19/third_party/protobuf/objectivec/GPBCodedInputStream_PackagePrivate.h Examining data/autofdo-0.19/third_party/protobuf/objectivec/google/protobuf/Empty.pbobjc.h Examining data/autofdo-0.19/third_party/protobuf/objectivec/google/protobuf/Wrappers.pbobjc.h Examining data/autofdo-0.19/third_party/protobuf/objectivec/google/protobuf/FieldMask.pbobjc.h Examining data/autofdo-0.19/third_party/protobuf/objectivec/google/protobuf/Timestamp.pbobjc.h Examining data/autofdo-0.19/third_party/protobuf/objectivec/google/protobuf/Struct.pbobjc.h Examining data/autofdo-0.19/third_party/protobuf/objectivec/google/protobuf/Any.pbobjc.h Examining data/autofdo-0.19/third_party/protobuf/objectivec/google/protobuf/Type.pbobjc.h Examining data/autofdo-0.19/third_party/protobuf/objectivec/google/protobuf/Duration.pbobjc.h Examining data/autofdo-0.19/third_party/protobuf/objectivec/google/protobuf/SourceContext.pbobjc.h Examining data/autofdo-0.19/third_party/protobuf/objectivec/google/protobuf/Api.pbobjc.h Examining data/autofdo-0.19/third_party/protobuf/objectivec/GPBUnknownField.h Examining data/autofdo-0.19/third_party/protobuf/objectivec/GPBArray.h Examining data/autofdo-0.19/third_party/protobuf/objectivec/GPBExtensionInternals.h Examining data/autofdo-0.19/third_party/protobuf/objectivec/GPBDescriptor.h Examining data/autofdo-0.19/third_party/protobuf/objectivec/GPBRootObject_PackagePrivate.h Examining data/autofdo-0.19/third_party/protobuf/objectivec/GPBArray_PackagePrivate.h Examining data/autofdo-0.19/third_party/protobuf/objectivec/GPBMessage_PackagePrivate.h Examining data/autofdo-0.19/third_party/protobuf/objectivec/GPBWellKnownTypes.h Examining data/autofdo-0.19/third_party/protobuf/objectivec/GPBBootstrap.h Examining data/autofdo-0.19/third_party/protobuf/objectivec/GPBUtilities_PackagePrivate.h Examining data/autofdo-0.19/third_party/protobuf/objectivec/GPBUtilities.h Examining data/autofdo-0.19/third_party/protobuf/objectivec/GPBWireFormat.h Examining data/autofdo-0.19/third_party/protobuf/objectivec/GPBProtocolBuffers.h Examining data/autofdo-0.19/third_party/protobuf/objectivec/GPBDictionary.h Examining data/autofdo-0.19/third_party/protobuf/objectivec/GPBProtocolBuffers_RuntimeSupport.h Examining data/autofdo-0.19/third_party/protobuf/objectivec/GPBCodedOutputStream.h Examining data/autofdo-0.19/third_party/protobuf/objectivec/GPBCodedInputStream.h Examining data/autofdo-0.19/third_party/protobuf/objectivec/GPBRuntimeTypes.h Examining data/autofdo-0.19/third_party/protobuf/objectivec/GPBMessage.h Examining data/autofdo-0.19/third_party/protobuf/python/google/protobuf/pyext/message_factory.h Examining data/autofdo-0.19/third_party/protobuf/python/google/protobuf/pyext/message_module.cc Examining data/autofdo-0.19/third_party/protobuf/python/google/protobuf/pyext/descriptor.h Examining data/autofdo-0.19/third_party/protobuf/python/google/protobuf/pyext/message_factory.cc Examining data/autofdo-0.19/third_party/protobuf/python/google/protobuf/pyext/message.h Examining data/autofdo-0.19/third_party/protobuf/python/google/protobuf/pyext/message.cc Examining data/autofdo-0.19/third_party/protobuf/python/google/protobuf/pyext/descriptor_pool.cc Examining data/autofdo-0.19/third_party/protobuf/python/google/protobuf/pyext/descriptor_pool.h Examining data/autofdo-0.19/third_party/protobuf/python/google/protobuf/pyext/descriptor.cc Examining data/autofdo-0.19/third_party/protobuf/python/google/protobuf/pyext/descriptor_containers.h Examining data/autofdo-0.19/third_party/protobuf/python/google/protobuf/pyext/repeated_composite_container.cc Examining data/autofdo-0.19/third_party/protobuf/python/google/protobuf/pyext/safe_numerics.h Examining data/autofdo-0.19/third_party/protobuf/python/google/protobuf/pyext/repeated_composite_container.h Examining data/autofdo-0.19/third_party/protobuf/python/google/protobuf/pyext/repeated_scalar_container.cc Examining data/autofdo-0.19/third_party/protobuf/python/google/protobuf/pyext/map_container.h Examining data/autofdo-0.19/third_party/protobuf/python/google/protobuf/pyext/scoped_pyobject_ptr.h Examining data/autofdo-0.19/third_party/protobuf/python/google/protobuf/pyext/descriptor_database.cc Examining data/autofdo-0.19/third_party/protobuf/python/google/protobuf/pyext/descriptor_database.h Examining data/autofdo-0.19/third_party/protobuf/python/google/protobuf/pyext/map_container.cc Examining data/autofdo-0.19/third_party/protobuf/python/google/protobuf/pyext/thread_unsafe_shared_ptr.h Examining data/autofdo-0.19/third_party/protobuf/python/google/protobuf/pyext/extension_dict.h Examining data/autofdo-0.19/third_party/protobuf/python/google/protobuf/pyext/descriptor_containers.cc Examining data/autofdo-0.19/third_party/protobuf/python/google/protobuf/pyext/extension_dict.cc Examining data/autofdo-0.19/third_party/protobuf/python/google/protobuf/pyext/repeated_scalar_container.h Examining data/autofdo-0.19/third_party/protobuf/python/google/protobuf/internal/api_implementation.cc Examining data/autofdo-0.19/third_party/protobuf/python/google/protobuf/internal/python_protobuf.cc Examining data/autofdo-0.19/third_party/protobuf/python/google/protobuf/python_protobuf.h Examining data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/protobuf.h Examining data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/type_check.c Examining data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/storage.c Examining data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/message.c Examining data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/def.c Examining data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/protobuf.c Examining data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/utf8.c Examining data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/array.c Examining data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/utf8.h Examining data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/encode_decode.c Examining data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.h Examining data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.c Examining data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/map.c Examining data/autofdo-0.19/third_party/protobuf/third_party/benchmark/include/benchmark/benchmark_api.h Examining data/autofdo-0.19/third_party/protobuf/third_party/benchmark/include/benchmark/reporter.h Examining data/autofdo-0.19/third_party/protobuf/third_party/benchmark/include/benchmark/benchmark.h Examining data/autofdo-0.19/third_party/protobuf/third_party/benchmark/test/reporter_output_test.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/benchmark/test/user_counters_tabular_test.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/benchmark/test/fixture_test.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/benchmark/test/filter_test.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/benchmark/test/multiple_ranges_test.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/benchmark/test/basic_test.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/benchmark/test/output_test_helper.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/benchmark/test/register_benchmark_test.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/benchmark/test/diagnostics_test.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/benchmark/test/user_counters_test.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/benchmark/test/benchmark_test.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/benchmark/test/complexity_test.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/benchmark/test/options_test.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/benchmark/test/skip_with_error_test.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/benchmark/test/donotoptimize_test.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/benchmark/test/map_test.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/benchmark/test/cxx03_test.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/benchmark/test/output_test.h Examining data/autofdo-0.19/third_party/protobuf/third_party/benchmark/src/sleep.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/benchmark/src/check.h Examining data/autofdo-0.19/third_party/protobuf/third_party/benchmark/src/benchmark.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/benchmark/src/json_reporter.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/benchmark/src/arraysize.h Examining data/autofdo-0.19/third_party/protobuf/third_party/benchmark/src/internal_macros.h Examining data/autofdo-0.19/third_party/protobuf/third_party/benchmark/src/csv_reporter.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/benchmark/src/re.h Examining data/autofdo-0.19/third_party/protobuf/third_party/benchmark/src/commandlineflags.h Examining data/autofdo-0.19/third_party/protobuf/third_party/benchmark/src/sysinfo.h Examining data/autofdo-0.19/third_party/protobuf/third_party/benchmark/src/string_util.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/benchmark/src/colorprint.h Examining data/autofdo-0.19/third_party/protobuf/third_party/benchmark/src/benchmark_register.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/benchmark/src/colorprint.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/benchmark/src/reporter.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/benchmark/src/sysinfo.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/benchmark/src/commandlineflags.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/benchmark/src/counter.h Examining data/autofdo-0.19/third_party/protobuf/third_party/benchmark/src/stat.h Examining data/autofdo-0.19/third_party/protobuf/third_party/benchmark/src/sleep.h Examining data/autofdo-0.19/third_party/protobuf/third_party/benchmark/src/mutex.h Examining data/autofdo-0.19/third_party/protobuf/third_party/benchmark/src/timers.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/benchmark/src/log.h Examining data/autofdo-0.19/third_party/protobuf/third_party/benchmark/src/counter.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/benchmark/src/cycleclock.h Examining data/autofdo-0.19/third_party/protobuf/third_party/benchmark/src/complexity.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/benchmark/src/console_reporter.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/benchmark/src/timers.h Examining data/autofdo-0.19/third_party/protobuf/third_party/benchmark/src/benchmark_api_internal.h Examining data/autofdo-0.19/third_party/protobuf/third_party/benchmark/src/complexity.h Examining data/autofdo-0.19/third_party/protobuf/third_party/benchmark/src/string_util.h Examining data/autofdo-0.19/third_party/protobuf/third_party/benchmark/cmake/posix_regex.cpp Examining data/autofdo-0.19/third_party/protobuf/third_party/benchmark/cmake/steady_clock.cpp Examining data/autofdo-0.19/third_party/protobuf/third_party/benchmark/cmake/gnu_posix_regex.cpp Examining data/autofdo-0.19/third_party/protobuf/third_party/benchmark/cmake/thread_safety_attributes.cpp Examining data/autofdo-0.19/third_party/protobuf/third_party/benchmark/cmake/std_regex.cpp Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googlemock/include/gmock/gmock-generated-actions.h Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googlemock/include/gmock/gmock-generated-matchers.h Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googlemock/include/gmock/gmock-cardinalities.h Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googlemock/include/gmock/gmock-generated-nice-strict.h Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googlemock/include/gmock/internal/gmock-internal-utils.h Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googlemock/include/gmock/internal/gmock-port.h Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googlemock/include/gmock/internal/custom/gmock-generated-actions.h Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googlemock/include/gmock/internal/custom/gmock-port.h Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googlemock/include/gmock/internal/custom/gmock-matchers.h Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googlemock/include/gmock/internal/gmock-generated-internal-utils.h Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googlemock/include/gmock/gmock-more-actions.h Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googlemock/include/gmock/gmock-more-matchers.h Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googlemock/include/gmock/gmock.h Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googlemock/include/gmock/gmock-spec-builders.h Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googlemock/include/gmock/gmock-matchers.h Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googlemock/include/gmock/gmock-generated-function-mockers.h Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googlemock/include/gmock/gmock-actions.h Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googlemock/test/gmock_link2_test.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googlemock/test/gmock-cardinalities_test.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googlemock/test/gmock-generated-function-mockers_test.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googlemock/test/gmock-generated-matchers_test.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googlemock/test/gmock_ex_test.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googlemock/test/gmock_output_test_.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googlemock/test/gmock_link_test.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googlemock/test/gmock-generated-internal-utils_test.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googlemock/test/gmock_leak_test_.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googlemock/test/gmock_test.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googlemock/test/gmock-internal-utils_test.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googlemock/test/gmock-generated-actions_test.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googlemock/test/gmock-nice-strict_test.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googlemock/test/gmock_stress_test.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googlemock/test/gmock_all_test.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googlemock/test/gmock-matchers_test.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googlemock/test/gmock-port_test.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googlemock/test/gmock-actions_test.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googlemock/test/gmock-more-actions_test.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googlemock/test/gmock-spec-builders_test.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googlemock/test/gmock_link_test.h Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googlemock/src/gmock.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googlemock/src/gmock_main.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googlemock/src/gmock-all.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googlemock/src/gmock-spec-builders.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googlemock/src/gmock-cardinalities.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googlemock/src/gmock-matchers.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googlemock/src/gmock-internal-utils.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/xcode/Samples/FrameworkSample/widget.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/xcode/Samples/FrameworkSample/widget.h Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/xcode/Samples/FrameworkSample/widget_test.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/include/gtest/gtest-spi.h Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/include/gtest/gtest-param-test.h Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/include/gtest/gtest_prod.h Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/include/gtest/gtest-printers.h Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/include/gtest/gtest-death-test.h Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/include/gtest/gtest-typed-test.h Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/include/gtest/internal/gtest-death-test-internal.h Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/include/gtest/internal/gtest-port.h Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/include/gtest/internal/gtest-type-util.h Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/include/gtest/internal/custom/gtest-port.h Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/include/gtest/internal/custom/gtest-printers.h Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/include/gtest/internal/custom/gtest.h Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/include/gtest/internal/gtest-param-util.h Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/include/gtest/internal/gtest-filepath.h Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/include/gtest/internal/gtest-string.h Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/include/gtest/internal/gtest-port-arch.h Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/include/gtest/internal/gtest-internal.h Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/include/gtest/internal/gtest-tuple.h Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/include/gtest/internal/gtest-linked_ptr.h Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/include/gtest/internal/gtest-param-util-generated.h Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/include/gtest/gtest.h Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/include/gtest/gtest_pred_impl.h Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/include/gtest/gtest-test-part.h Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/include/gtest/gtest-message.h Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/test/gtest_color_test_.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/test/gtest-linked_ptr_test.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/test/gtest-typed-test_test.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/test/gtest_repeat_test.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/test/gtest-printers_test.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/test/gtest_break_on_failure_unittest_.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/test/gtest_xml_outfile2_test_.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/test/gtest-unittest-api_test.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/test/gtest_catch_exceptions_test_.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/test/gtest_list_tests_unittest_.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/test/gtest_premature_exit_test.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/test/gtest_help_test_.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/test/gtest-death-test_test.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/test/gtest_uninitialized_test_.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/test/gtest-typed-test_test.h Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/test/gtest_env_var_test_.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/test/gtest-param-test_test.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/test/production.h Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/test/gtest_all_test.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/test/gtest-death-test_ex_test.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/test/gtest_unittest.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/test/gtest-param-test_test.h Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/test/gtest_shuffle_test_.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/test/gtest-param-test2_test.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/test/gtest_xml_output_unittest_.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/test/gtest_throw_on_failure_ex_test.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/test/gtest_main_unittest.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/test/gtest-filepath_test.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/test/gtest-message_test.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/test/gtest-listener_test.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/test/gtest_throw_on_failure_test_.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/test/gtest_sole_header_test.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/test/gtest_pred_impl_unittest.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/test/gtest_prod_test.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/test/gtest-port_test.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/test/gtest_output_test_.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/test/gtest_stress_test.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/test/production.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/test/gtest-tuple_test.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/test/gtest_filter_unittest_.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/test/gtest-typed-test2_test.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/test/gtest_no_test_unittest.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/test/gtest-options_test.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/test/gtest_xml_outfile1_test_.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/test/gtest_environment_test.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/test/gtest-test-part_test.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/samples/sample3-inl.h Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/samples/sample1_unittest.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/samples/sample1.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/samples/sample3_unittest.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/samples/sample2.h Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/samples/sample6_unittest.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/samples/sample8_unittest.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/samples/sample4_unittest.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/samples/sample10_unittest.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/samples/sample4.h Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/samples/sample9_unittest.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/samples/sample4.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/samples/sample5_unittest.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/samples/sample2_unittest.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/samples/sample1.h Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/samples/prime_tables.h Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/samples/sample7_unittest.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/samples/sample2.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/src/gtest-typed-test.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/src/gtest-filepath.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/src/gtest-printers.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/src/gtest_main.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/src/gtest-death-test.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/src/gtest-port.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/src/gtest.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/src/gtest-test-part.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/src/gtest-all.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/src/gtest-internal-inl.h Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/codegear/gtest_link.cc Examining data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/codegear/gtest_all.cc Examining data/autofdo-0.19/third_party/protobuf/conformance/conformance_cpp.cc Examining data/autofdo-0.19/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp Examining data/autofdo-0.19/third_party/protobuf/conformance/third_party/jsoncpp/json.h Examining data/autofdo-0.19/third_party/protobuf/conformance/conformance_test_runner.cc Examining data/autofdo-0.19/third_party/protobuf/conformance/conformance_test.cc Examining data/autofdo-0.19/third_party/protobuf/conformance/conformance_test.h Examining data/autofdo-0.19/third_party/protobuf/benchmarks/cpp_benchmark.cc Examining data/autofdo-0.19/third_party/protobuf/benchmarks/python_benchmark_messages.cc Examining data/autofdo-0.19/third_party/protobuf/examples/list_people.cc Examining data/autofdo-0.19/third_party/protobuf/examples/add_person.cc Examining data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/protobuf.h Examining data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/storage.c Examining data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/message.c Examining data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/protobuf.c Examining data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/repeated_field.c Examining data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/encode_decode.c Examining data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/defs.c Examining data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/wrap_memcpy.c Examining data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.h Examining data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c Examining data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/map.c Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/map_type_handler.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/reflection_internal.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/map_field_lite.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/metadata_lite.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/arena_impl.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/dynamic_message_unittest.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/extension_set_heavy.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/descriptor.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/text_format_unittest.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/extension_set.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/any.pb.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/arena.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/field_comparator_test.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/delimited_message_util.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/type_resolver_util.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/time_util.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/type_resolver_util_test.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/message_differencer.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/message_differencer.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/message_differencer_unittest.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/time_util_test.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/json_util.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/type_resolver.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/field_comparator.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/field_mask_util.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/internal/protostream_objectwriter.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/internal/json_stream_parser.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/internal/protostream_objectwriter_test.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/internal/error_listener.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/internal/type_info_test_helper.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/internal/structured_objectwriter.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/internal/object_location_tracker.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/internal/object_writer.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/internal/constants.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/internal/default_value_objectwriter_test.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/internal/protostream_objectsource.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/internal/expecting_objectwriter.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/internal/protostream_objectwriter.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/internal/json_stream_parser.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/internal/utility.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/internal/object_source.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/internal/datapiece.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/internal/json_stream_parser_test.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/internal/protostream_objectsource.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/internal/field_mask_utility.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/internal/json_escaping.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/internal/type_info_test_helper.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/internal/default_value_objectwriter.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/internal/proto_writer.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/internal/json_objectwriter.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/internal/object_writer.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/internal/protostream_objectsource_test.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/internal/type_info.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/internal/error_listener.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/internal/proto_writer.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/internal/field_mask_utility.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/internal/json_escaping.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/internal/datapiece.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/internal/location_tracker.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/internal/utility.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/internal/default_value_objectwriter.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/internal/mock_error_listener.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/internal/type_info.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/internal/json_objectwriter.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/internal/json_objectwriter_test.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/field_mask_util_test.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/field_comparator.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/json_util_test.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/delimited_message_util.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/delimited_message_util_test.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/json_util.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/type_resolver_util.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/field_mask_util.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/time_util.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/package_info.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/wire_format.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/proto3_arena_lite_unittest.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/text_format.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/timestamp.pb.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/struct.pb.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/message.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/arena_unittest.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/test_util.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/dynamic_message.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/reflection_ops.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/text_format.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/test_util.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/message.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/generated_message_reflection_unittest.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/extension_set.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/generated_message_table_driven.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/arenastring_unittest.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/map.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/descriptor.pb.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/coded_stream.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/coded_stream.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/tokenizer.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/strtod.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/tokenizer_unittest.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/coded_stream_inl.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/gzip_stream.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl_lite.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/strtod.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl_lite.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/printer.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/printer.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/tokenizer.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/zero_copy_stream.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/zero_copy_stream.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/gzip_stream.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/printer_unittest.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/package_info.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/map_entry_lite.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/arenastring.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/reflection_ops_unittest.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/testing/file.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/testing/zcgzip.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/testing/googletest.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/testing/file.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/testing/zcgunzip.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/testing/googletest.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/descriptor.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/preserve_unknown_enum_test.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/any.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/repeated_field.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/any.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/callback.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/substitute.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/common.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/time.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/port.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/status_test.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/bytestream.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/common.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/fastmem.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/mathutil.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/macros.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/time.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/structurally_valid.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/substitute.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/strutil.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/casts.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/statusor.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/io_win32_unittest.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/bytestream_unittest.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/platform_macros.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/status.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/stringpiece.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/status.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/int128.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/statusor_test.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/stringprintf.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/common_unittest.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/status_macros.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/bytestream.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/hash.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/mutex.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/strutil_unittest.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/structurally_valid_unittest.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/stl_util.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/stringprintf.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/int128.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/strutil.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/mathlimits.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/int128_unittest.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/map_util.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/logging.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/template_util.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/time_test.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/template_util_unittest.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/mathlimits.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/stringprintf_unittest.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/stringpiece_unittest.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/io_win32.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/io_win32.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/once.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/singleton.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/stringpiece.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/statusor.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/arenastring.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/message_unittest.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/message_lite.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/command_line_interface.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/annotation_test_util.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/zip_writer.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/mock_code_generator.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/command_line_interface_unittest.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/code_generator.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_generator.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_generator.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_message.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_enum.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_enum.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_message.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_primitive_field.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_message_field.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_helpers.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_field.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_helpers_unittest.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_helpers.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_extension.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_extension.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_oneof.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_oneof.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_primitive_field.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_map_field.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_file.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_field.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_message_field.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_enum_field.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_enum_field.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_file.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_map_field.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/plugin.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/importer.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/importer_unittest.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/python/python_generator.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/python/python_generator.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/python/python_plugin_unittest.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/php/php_generator.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/php/php_generator.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/main.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/parser_unittest.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/subprocess.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/java/java_file.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/java/java_map_field.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/java/java_field.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/java/java_service.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/java/java_generator_factory.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/java/java_map_field_lite.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/java/java_extension_lite.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/java/java_enum_lite.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/java/java_context.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/java/java_doc_comment_unittest.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/java/java_message_field.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/java/java_primitive_field_lite.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/java/java_doc_comment.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/java/java_message_field_lite.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/java/java_message_builder.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/java/java_name_resolver.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/java/java_string_field_lite.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/java/java_name_resolver.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/java/java_extension.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/java/java_message_field.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/java/java_lazy_message_field_lite.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/java/java_doc_comment.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/java/java_message.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/java/java_helpers.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/java/java_extension_lite.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/java/java_names.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/java/java_enum.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/java/java_string_field.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/java/java_enum_field_lite.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/java/java_primitive_field.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/java/java_field.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/java/java_extension.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/java/java_shared_code_generator.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/java/java_map_field_lite.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/java/java_message_field_lite.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/java/java_options.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/java/java_helpers.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/java/java_context.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/java/java_string_field_lite.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/java/java_generator_factory.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/java/java_file.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/java/java_string_field.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/java/java_map_field.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/java/java_message_builder.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/java/java_enum_lite.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/java/java_message_builder_lite.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/java/java_generator.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/java/java_enum_field.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/java/java_plugin_unittest.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/java/java_generator.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/java/java_lazy_message_field.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/java/java_lazy_message_field.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/java/java_primitive_field.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/java/java_shared_code_generator.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/java/java_primitive_field_lite.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/java/java_message_lite.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/java/java_enum_field_lite.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/java/java_service.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/java/java_enum_field.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/java/java_message.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/java/java_enum.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/java/java_message_lite.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/java/java_lazy_message_field_lite.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/java/java_message_builder_lite.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/command_line_interface.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/importer.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/mock_code_generator.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/plugin.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_helpers.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_names.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_enum_field.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_repeated_primitive_field.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_enum.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_generator.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_repeated_message_field.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_helpers.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_wrapper_field.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_repeated_primitive_field.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_generator.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_doc_comment.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_repeated_message_field.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_field_base.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_enum.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_message.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_reflection_class.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_source_generator_base.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_message_field.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_message.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_map_field.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_source_generator_base.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_doc_comment.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_reflection_class.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_enum_field.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_repeated_enum_field.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_bootstrap_unittest.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_primitive_field.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_message_field.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_field_base.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_wrapper_field.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_primitive_field.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_repeated_enum_field.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_map_field.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_generator_unittest.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_options.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/plugin.pb.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/parser.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/js/js_generator.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/js/well_known_types_embed.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/js/js_generator.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/js/embed.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_bootstrap_unittest.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_extension.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_generator.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_file.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message_layout_helper.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message_field.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_service.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_file.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_service.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_map_field.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_string_field.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_plugin_unittest.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_string_field.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_unittest.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_move_unittest.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_enum_field.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_padding_optimizer.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_extension.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_options.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_enum_field.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_enum.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_primitive_field.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_map_field.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/cpp/metadata_test.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_padding_optimizer.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_primitive_field.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message_field.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_field.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_unittest.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_enum.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_field.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_generator.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/code_generator.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/parser.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/annotation_test_util.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/subprocess.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/ruby/ruby_generator.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/ruby/ruby_generator.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/ruby/ruby_generator_unittest.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/zip_writer.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/package_info.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/test_plugin.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/plugin.pb.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/repeated_field.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/test_util_lite.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/proto3_lite_unittest.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/descriptor_unittest.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/type.pb.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/generated_message_util.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/wire_format.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/message_lite.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/source_context.pb.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/metadata.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/any.pb.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/arena_test_util.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/any_test.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/well_known_types_unittest.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/wire_format_lite_inl.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/field_mask.pb.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/map_test_util.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/unknown_field_set.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/map_lite_test_util.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/generated_message_reflection.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/reflection_ops.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/extension_set_unittest.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/arena.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/arena_test_util.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/generated_message_reflection.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/no_field_presence_test.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/implicit_weak_message.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/reflection.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/proto3_arena_unittest.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/empty.pb.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/generated_message_table_driven.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/api.pb.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/generated_enum_reflection.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/map_test_util.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/map_lite_test_util.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/lite_arena_unittest.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/api.pb.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/map_test_util_impl.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/test_util_lite.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/has_bits.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/unknown_field_set.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/map_entry.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/empty.pb.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/map_field.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/map_field_inl.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/lite_unittest.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/map_field_test.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/generated_message_table_driven_lite.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/generated_message_table_driven_lite.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/wire_format_lite.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/descriptor_database.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/map_field.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/source_context.pb.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/service.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/descriptor_database.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/timestamp.pb.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/descriptor.pb.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/dynamic_message.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/inlined_string_field.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/struct.pb.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/generated_message_util.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/drop_unknown_fields_test.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/unknown_field_set_unittest.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/map_test.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/wire_format_unittest.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/service.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/repeated_field_reflection_unittest.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/duration.pb.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/wrappers.pb.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/generated_enum_util.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/wire_format_lite.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/type.pb.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/wrappers.pb.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/package_info.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/implicit_weak_message.cc Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/field_mask.pb.h Examining data/autofdo-0.19/third_party/protobuf/src/google/protobuf/duration.pb.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/objectivec/GPBUnknownFieldSet_PackagePrivate.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/objectivec/GPBRootObject.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/objectivec/GPBExtensionRegistry.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/objectivec/GPBDictionary_PackagePrivate.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/objectivec/GPBDescriptor_PackagePrivate.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/objectivec/GPBCodedOutputStream_PackagePrivate.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/objectivec/GPBUnknownFieldSet.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/objectivec/Tests/UnitTests-Bridging-Header.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/objectivec/Tests/GPBTestUtilities.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/objectivec/Tests/CocoaPods/OSXCocoaPodsTester/OSXCocoaPodsTester/AppDelegate.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/objectivec/Tests/CocoaPods/iOSCocoaPodsTester/iOSCocoaPodsTester/ViewController.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/objectivec/Tests/CocoaPods/iOSCocoaPodsTester/iOSCocoaPodsTester/AppDelegate.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/objectivec/GPBUnknownField_PackagePrivate.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/objectivec/GPBCodedInputStream_PackagePrivate.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/objectivec/google/protobuf/Empty.pbobjc.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/objectivec/google/protobuf/Wrappers.pbobjc.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/objectivec/google/protobuf/FieldMask.pbobjc.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/objectivec/google/protobuf/Timestamp.pbobjc.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/objectivec/google/protobuf/Struct.pbobjc.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/objectivec/google/protobuf/Any.pbobjc.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/objectivec/google/protobuf/Type.pbobjc.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/objectivec/google/protobuf/Duration.pbobjc.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/objectivec/google/protobuf/SourceContext.pbobjc.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/objectivec/google/protobuf/Api.pbobjc.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/objectivec/GPBUnknownField.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/objectivec/GPBArray.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/objectivec/GPBExtensionInternals.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/objectivec/GPBDescriptor.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/objectivec/GPBRootObject_PackagePrivate.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/objectivec/GPBArray_PackagePrivate.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/objectivec/GPBMessage_PackagePrivate.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/objectivec/GPBWellKnownTypes.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/objectivec/GPBBootstrap.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/objectivec/GPBUtilities_PackagePrivate.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/objectivec/GPBUtilities.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/objectivec/GPBWireFormat.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/objectivec/GPBProtocolBuffers.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/objectivec/GPBDictionary.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/objectivec/GPBProtocolBuffers_RuntimeSupport.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/objectivec/GPBCodedOutputStream.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/objectivec/GPBCodedInputStream.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/objectivec/GPBRuntimeTypes.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/objectivec/GPBMessage.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/python/google/protobuf/pyext/message_factory.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/python/google/protobuf/pyext/message_module.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/python/google/protobuf/pyext/descriptor.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/python/google/protobuf/pyext/message_factory.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/python/google/protobuf/pyext/message.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/python/google/protobuf/pyext/message.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/python/google/protobuf/pyext/descriptor_pool.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/python/google/protobuf/pyext/descriptor_pool.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/python/google/protobuf/pyext/descriptor.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/python/google/protobuf/pyext/descriptor_containers.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/python/google/protobuf/pyext/repeated_composite_container.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/python/google/protobuf/pyext/safe_numerics.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/python/google/protobuf/pyext/repeated_composite_container.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/python/google/protobuf/pyext/repeated_scalar_container.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/python/google/protobuf/pyext/map_container.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/python/google/protobuf/pyext/scoped_pyobject_ptr.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/python/google/protobuf/pyext/descriptor_database.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/python/google/protobuf/pyext/descriptor_database.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/python/google/protobuf/pyext/map_container.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/python/google/protobuf/pyext/extension_dict.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/python/google/protobuf/pyext/descriptor_containers.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/python/google/protobuf/pyext/extension_dict.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/python/google/protobuf/pyext/repeated_scalar_container.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/python/google/protobuf/internal/api_implementation.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/python/google/protobuf/internal/python_protobuf.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/python/google/protobuf/python_protobuf.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/protobuf.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/type_check.c Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/storage.c Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/message.c Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/def.c Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/protobuf.c Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/utf8.c Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/array.c Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/utf8.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/encode_decode.c Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/upb.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/upb.c Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/map.c Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/third_party/benchmark/include/benchmark/benchmark_api.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/third_party/benchmark/include/benchmark/macros.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/third_party/benchmark/include/benchmark/reporter.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/third_party/benchmark/include/benchmark/benchmark.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/third_party/benchmark/test/fixture_test.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/third_party/benchmark/test/filter_test.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/third_party/benchmark/test/basic_test.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/third_party/benchmark/test/benchmark_test.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/third_party/benchmark/test/options_test.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/third_party/benchmark/test/map_test.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/third_party/benchmark/test/cxx03_test.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/third_party/benchmark/src/sleep.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/third_party/benchmark/src/check.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/third_party/benchmark/src/benchmark.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/third_party/benchmark/src/json_reporter.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/third_party/benchmark/src/arraysize.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/third_party/benchmark/src/internal_macros.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/third_party/benchmark/src/csv_reporter.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/third_party/benchmark/src/log.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/third_party/benchmark/src/walltime.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/third_party/benchmark/src/re_posix.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/third_party/benchmark/src/re.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/third_party/benchmark/src/commandlineflags.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/third_party/benchmark/src/sysinfo.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/third_party/benchmark/src/string_util.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/third_party/benchmark/src/re_std.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/third_party/benchmark/src/colorprint.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/third_party/benchmark/src/colorprint.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/third_party/benchmark/src/reporter.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/third_party/benchmark/src/sysinfo.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/third_party/benchmark/src/commandlineflags.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/third_party/benchmark/src/stat.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/third_party/benchmark/src/sleep.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/third_party/benchmark/src/mutex.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/third_party/benchmark/src/log.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/third_party/benchmark/src/cycleclock.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/third_party/benchmark/src/console_reporter.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/third_party/benchmark/src/walltime.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/third_party/benchmark/src/string_util.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/third_party/benchmark/cmake/posix_regex.cpp Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/third_party/benchmark/cmake/steady_clock.cpp Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/third_party/benchmark/cmake/gnu_posix_regex.cpp Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/third_party/benchmark/cmake/thread_safety_attributes.cpp Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/third_party/benchmark/cmake/std_regex.cpp Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/conformance/conformance_cpp.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/conformance/third_party/jsoncpp/json.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/conformance/conformance_test_runner.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/conformance/conformance_test.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/conformance/conformance_test.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/benchmarks/generate_datasets.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/benchmarks/cpp_benchmark.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/examples/list_people.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/examples/add_person.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/protobuf.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/storage.c Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/message.c Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/protobuf.c Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/repeated_field.c Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/encode_decode.c Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/defs.c Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/wrap_memcpy.c Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/upb.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/map.c Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/map_type_handler.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/reflection_internal.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/map_field_lite.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/metadata_lite.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/dynamic_message_unittest.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/extension_set_heavy.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/descriptor.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/text_format_unittest.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/extension_set.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/any.pb.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/arena.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/field_comparator_test.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/delimited_message_util.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/type_resolver_util.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/time_util.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/type_resolver_util_test.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/message_differencer.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/message_differencer.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/message_differencer_unittest.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/time_util_test.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/json_util.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/type_resolver.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/field_comparator.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/field_mask_util.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/internal/protostream_objectwriter.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/internal/json_stream_parser.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/internal/protostream_objectwriter_test.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/internal/error_listener.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/internal/type_info_test_helper.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/internal/structured_objectwriter.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/internal/object_location_tracker.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/internal/object_writer.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/internal/constants.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/internal/default_value_objectwriter_test.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/internal/protostream_objectsource.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/internal/expecting_objectwriter.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/internal/protostream_objectwriter.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/internal/json_stream_parser.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/internal/utility.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/internal/object_source.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/internal/datapiece.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/internal/json_stream_parser_test.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/internal/protostream_objectsource.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/internal/field_mask_utility.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/internal/json_escaping.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/internal/type_info_test_helper.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/internal/default_value_objectwriter.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/internal/proto_writer.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/internal/json_objectwriter.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/internal/object_writer.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/internal/protostream_objectsource_test.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/internal/type_info.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/internal/error_listener.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/internal/proto_writer.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/internal/field_mask_utility.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/internal/json_escaping.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/internal/datapiece.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/internal/location_tracker.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/internal/utility.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/internal/default_value_objectwriter.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/internal/mock_error_listener.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/internal/type_info.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/internal/json_objectwriter.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/internal/json_objectwriter_test.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/field_mask_util_test.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/field_comparator.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/json_util_test.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/delimited_message_util.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/delimited_message_util_test.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/json_util.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/type_resolver_util.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/field_mask_util.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/time_util.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/package_info.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/wire_format.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/proto3_arena_lite_unittest.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/text_format.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/timestamp.pb.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/struct.pb.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/message.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/arena_unittest.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/test_util.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/dynamic_message.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/reflection_ops.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/text_format.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/test_util.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/message.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/generated_message_reflection_unittest.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/extension_set.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/generated_message_table_driven.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/arenastring_unittest.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/map.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/descriptor.pb.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/coded_stream.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/coded_stream.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/tokenizer.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/strtod.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/tokenizer_unittest.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/coded_stream_inl.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/gzip_stream.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl_lite.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/strtod.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl_lite.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/printer.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/printer.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/tokenizer.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/zero_copy_stream.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/zero_copy_stream.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/gzip_stream.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/printer_unittest.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/package_info.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/map_entry_lite.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/arenastring.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/reflection_ops_unittest.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/testing/file.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/testing/zcgzip.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/testing/googletest.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/testing/file.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/testing/zcgunzip.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/testing/googletest.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/descriptor.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/preserve_unknown_enum_test.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/any.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/repeated_field.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/any.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/callback.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/atomicops_internals_arm64_gcc.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/substitute.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/type_traits.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/atomicops_internals_mips_gcc.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/atomicops_internals_x86_msvc.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/common.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/time.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/port.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/status_test.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/atomicops_internals_ppc_gcc.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/bytestream.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/common.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/fastmem.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/mathutil.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/macros.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/shared_ptr.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/time.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/structurally_valid.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/substitute.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/once_unittest.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/strutil.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/casts.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/statusor.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/atomicops_internals_tsan.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/bytestream_unittest.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/atomicops_internals_generic_c11_atomic.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/platform_macros.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/status.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/atomic_sequence_num.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/stringpiece.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/status.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/atomicops_internals_x86_msvc.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/int128.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/statusor_test.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/once.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/stringprintf.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/atomicops_internals_x86_gcc.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/atomicops_internals_arm_qnx.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/common_unittest.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/atomicops.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/status_macros.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/type_traits_unittest.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/atomicops_internals_arm_gcc.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/bytestream.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/hash.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/atomicops_internals_generic_gcc.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/mutex.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/strutil_unittest.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/structurally_valid_unittest.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/atomicops_internals_atomicword_compat.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/stl_util.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/stringprintf.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/int128.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/strutil.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/mathlimits.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/int128_unittest.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/map_util.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/atomicops_internals_power.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/logging.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/template_util.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/atomicops_internals_x86_gcc.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/time_test.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/template_util_unittest.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/mathlimits.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/scoped_ptr.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/stringprintf_unittest.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/stringpiece_unittest.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/atomicops_internals_solaris.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/once.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/singleton.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/stringpiece.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/statusor.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/arenastring.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/message_unittest.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/message_lite.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/command_line_interface.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/profile.pb.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/zip_writer.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/mock_code_generator.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/command_line_interface_unittest.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/code_generator.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_generator.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_generator.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_message.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_enum.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_enum.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_message.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_primitive_field.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_message_field.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_helpers.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_field.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_helpers_unittest.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_helpers.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_extension.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_extension.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_oneof.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_oneof.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_primitive_field.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_map_field.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_file.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_field.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_message_field.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_enum_field.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_enum_field.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_file.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_map_field.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/plugin.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/importer.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/importer_unittest.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/python/python_generator.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/python/python_generator.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/python/python_plugin_unittest.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/php/php_generator.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/php/php_generator.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/main.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/parser_unittest.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/profile.pb.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/subprocess.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/java/java_file.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/java/java_map_field.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/java/java_field.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/java/java_service.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/java/java_generator_factory.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/java/java_map_field_lite.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/java/java_extension_lite.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/java/java_enum_lite.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/java/java_context.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/java/java_doc_comment_unittest.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/java/java_message_field.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/java/java_primitive_field_lite.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/java/java_doc_comment.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/java/java_message_field_lite.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/java/java_message_builder.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/java/java_name_resolver.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/java/java_string_field_lite.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/java/java_name_resolver.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/java/java_extension.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/java/java_message_field.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/java/java_lazy_message_field_lite.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/java/java_doc_comment.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/java/java_message.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/java/java_helpers.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/java/java_extension_lite.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/java/java_names.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/java/java_enum.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/java/java_string_field.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/java/java_enum_field_lite.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/java/java_primitive_field.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/java/java_field.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/java/java_extension.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/java/java_shared_code_generator.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/java/java_map_field_lite.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/java/java_message_field_lite.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/java/java_options.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/java/java_helpers.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/java/java_context.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/java/java_string_field_lite.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/java/java_generator_factory.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/java/java_file.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/java/java_string_field.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/java/java_map_field.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/java/java_message_builder.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/java/java_enum_lite.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/java/java_message_builder_lite.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/java/java_generator.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/java/java_enum_field.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/java/java_plugin_unittest.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/java/java_generator.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/java/java_lazy_message_field.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/java/java_lazy_message_field.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/java/java_primitive_field.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/java/java_shared_code_generator.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/java/java_primitive_field_lite.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/java/java_message_lite.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/java/java_enum_field_lite.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/java/java_service.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/java/java_enum_field.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/java/java_message.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/java/java_enum.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/java/java_message_lite.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/java/java_lazy_message_field_lite.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/java/java_message_builder_lite.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/command_line_interface.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/importer.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/mock_code_generator.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/plugin.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_helpers.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_names.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_enum_field.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_repeated_primitive_field.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_enum.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_generator.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_repeated_message_field.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_helpers.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_wrapper_field.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_repeated_primitive_field.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_generator.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_doc_comment.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_repeated_message_field.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_field_base.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_enum.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_message.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_reflection_class.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_source_generator_base.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_message_field.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_message.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_map_field.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_source_generator_base.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_doc_comment.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_reflection_class.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_enum_field.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_repeated_enum_field.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_bootstrap_unittest.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_primitive_field.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_message_field.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_field_base.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_wrapper_field.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_primitive_field.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_repeated_enum_field.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_map_field.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_generator_unittest.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_options.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/plugin.pb.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/parser.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/js/js_generator.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/js/well_known_types_embed.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/js/js_generator.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/js/embed.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_bootstrap_unittest.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_extension.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_generator.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_file.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message_field.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_service.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_file.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_service.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_map_field.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_string_field.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_plugin_unittest.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_string_field.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_unittest.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_enum_field.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_extension.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_options.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_enum_field.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_enum.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_primitive_field.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_map_field.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/cpp/metadata_test.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_primitive_field.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message_field.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_field.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_unittest.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_enum.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_field.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_generator.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/code_generator.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/parser.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/subprocess.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/ruby/ruby_generator.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/ruby/ruby_generator.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/ruby/ruby_generator_unittest.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/javanano/javanano_message.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/javanano/javanano_message_field.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/javanano/javanano_file.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/javanano/javanano_primitive_field.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/javanano/javanano_enum.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/javanano/javanano_params.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/javanano/javanano_map_field.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/javanano/javanano_message_field.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/javanano/javanano_generator.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/javanano/javanano_message.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/javanano/javanano_extension.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/javanano/javanano_generator.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/javanano/javanano_enum_field.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/javanano/javanano_enum_field.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/javanano/javanano_primitive_field.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/javanano/javanano_helpers.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/javanano/javanano_enum.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/javanano/javanano_map_field.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/javanano/javanano_file.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/javanano/javanano_helpers.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/javanano/javanano_field.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/javanano/javanano_extension.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/javanano/javanano_field.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/zip_writer.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/package_info.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/test_plugin.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/plugin.pb.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/repeated_field.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/test_util_lite.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/proto3_lite_unittest.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/descriptor_unittest.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/type.pb.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/generated_message_util.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/wire_format.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/message_lite.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/descriptor_database_unittest.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/source_context.pb.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/metadata.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/any.pb.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/arena_test_util.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/any_test.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/well_known_types_unittest.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/wire_format_lite_inl.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/field_mask.pb.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/map_test_util.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/unknown_field_set.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/map_lite_test_util.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/generated_message_reflection.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/reflection_ops.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/extension_set_unittest.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/arena.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/arena_test_util.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/generated_message_reflection.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/no_field_presence_test.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/reflection.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/proto3_arena_unittest.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/empty.pb.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/generated_message_table_driven.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/api.pb.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/generated_enum_reflection.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/map_test_util.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/map_lite_test_util.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/lite_arena_unittest.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/api.pb.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/map_test_util_impl.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/test_util_lite.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/has_bits.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/unknown_field_set.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/map_entry.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/empty.pb.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/map_field.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/map_field_inl.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/lite_unittest.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/map_field_test.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/wire_format_lite.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/descriptor_database.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/map_field.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/source_context.pb.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/service.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/descriptor_database.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/timestamp.pb.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/descriptor.pb.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/dynamic_message.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/struct.pb.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/generated_message_util.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/drop_unknown_fields_test.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/unknown_field_set_unittest.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/map_test.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/wire_format_unittest.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/service.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/repeated_field_reflection_unittest.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/duration.pb.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/wrappers.pb.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/generated_enum_util.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/wire_format_lite.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/type.pb.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/wrappers.pb.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/package_info.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/field_mask.pb.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/duration.pb.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googlemock/include/gmock/gmock-generated-actions.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googlemock/include/gmock/gmock-generated-matchers.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googlemock/include/gmock/gmock-cardinalities.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googlemock/include/gmock/gmock-generated-nice-strict.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googlemock/include/gmock/internal/gmock-internal-utils.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googlemock/include/gmock/internal/gmock-port.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googlemock/include/gmock/internal/custom/gmock-generated-actions.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googlemock/include/gmock/internal/custom/gmock-port.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googlemock/include/gmock/internal/custom/gmock-matchers.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googlemock/include/gmock/internal/gmock-generated-internal-utils.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googlemock/include/gmock/gmock-more-actions.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googlemock/include/gmock/gmock-more-matchers.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googlemock/include/gmock/gmock.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googlemock/include/gmock/gmock-spec-builders.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googlemock/include/gmock/gmock-matchers.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googlemock/include/gmock/gmock-generated-function-mockers.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googlemock/include/gmock/gmock-actions.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googlemock/test/gmock_link2_test.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googlemock/test/gmock-cardinalities_test.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googlemock/test/gmock-generated-function-mockers_test.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googlemock/test/gmock-generated-matchers_test.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googlemock/test/gmock_ex_test.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googlemock/test/gmock_output_test_.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googlemock/test/gmock_link_test.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googlemock/test/gmock-generated-internal-utils_test.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googlemock/test/gmock_leak_test_.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googlemock/test/gmock_test.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googlemock/test/gmock-internal-utils_test.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googlemock/test/gmock-generated-actions_test.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googlemock/test/gmock-nice-strict_test.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googlemock/test/gmock_stress_test.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googlemock/test/gmock_all_test.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googlemock/test/gmock-matchers_test.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googlemock/test/gmock-port_test.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googlemock/test/gmock-actions_test.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googlemock/test/gmock-more-actions_test.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googlemock/test/gmock-spec-builders_test.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googlemock/test/gmock_link_test.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googlemock/src/gmock.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googlemock/src/gmock_main.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googlemock/src/gmock-all.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googlemock/src/gmock-spec-builders.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googlemock/src/gmock-cardinalities.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googlemock/src/gmock-matchers.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googlemock/src/gmock-internal-utils.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/xcode/Samples/FrameworkSample/widget.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/xcode/Samples/FrameworkSample/widget.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/xcode/Samples/FrameworkSample/widget_test.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/include/gtest/gtest-spi.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/include/gtest/gtest-param-test.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/include/gtest/gtest_prod.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/include/gtest/gtest-printers.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/include/gtest/gtest-death-test.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/include/gtest/gtest-typed-test.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/include/gtest/internal/gtest-death-test-internal.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/include/gtest/internal/gtest-port.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/include/gtest/internal/gtest-type-util.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/include/gtest/internal/custom/gtest-port.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/include/gtest/internal/custom/gtest-printers.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/include/gtest/internal/custom/gtest.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/include/gtest/internal/gtest-param-util.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/include/gtest/internal/gtest-filepath.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/include/gtest/internal/gtest-string.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/include/gtest/internal/gtest-port-arch.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/include/gtest/internal/gtest-internal.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/include/gtest/internal/gtest-tuple.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/include/gtest/internal/gtest-linked_ptr.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/include/gtest/internal/gtest-param-util-generated.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/include/gtest/gtest.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/include/gtest/gtest_pred_impl.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/include/gtest/gtest-test-part.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/include/gtest/gtest-message.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/test/gtest_color_test_.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/test/gtest-linked_ptr_test.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/test/gtest-typed-test_test.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/test/gtest_repeat_test.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/test/gtest-printers_test.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/test/gtest_break_on_failure_unittest_.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/test/gtest_xml_outfile2_test_.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/test/gtest-unittest-api_test.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/test/gtest_catch_exceptions_test_.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/test/gtest_list_tests_unittest_.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/test/gtest_premature_exit_test.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/test/gtest_help_test_.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/test/gtest-death-test_test.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/test/gtest_uninitialized_test_.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/test/gtest-typed-test_test.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/test/gtest_env_var_test_.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/test/gtest-param-test_test.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/test/production.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/test/gtest_all_test.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/test/gtest-death-test_ex_test.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/test/gtest_unittest.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/test/gtest-param-test_test.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/test/gtest_shuffle_test_.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/test/gtest-param-test2_test.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/test/gtest_xml_output_unittest_.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/test/gtest_throw_on_failure_ex_test.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/test/gtest_main_unittest.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/test/gtest-filepath_test.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/test/gtest-message_test.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/test/gtest-listener_test.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/test/gtest_throw_on_failure_test_.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/test/gtest_sole_header_test.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/test/gtest_pred_impl_unittest.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/test/gtest_prod_test.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/test/gtest-port_test.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/test/gtest_output_test_.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/test/gtest_stress_test.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/test/production.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/test/gtest-tuple_test.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/test/gtest_filter_unittest_.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/test/gtest-typed-test2_test.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/test/gtest_no_test_unittest.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/test/gtest-options_test.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/test/gtest_xml_outfile1_test_.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/test/gtest_environment_test.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/test/gtest-test-part_test.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/samples/sample3-inl.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/samples/sample1_unittest.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/samples/sample1.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/samples/sample3_unittest.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/samples/sample2.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/samples/sample6_unittest.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/samples/sample8_unittest.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/samples/sample4_unittest.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/samples/sample10_unittest.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/samples/sample4.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/samples/sample9_unittest.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/samples/sample4.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/samples/sample5_unittest.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/samples/sample2_unittest.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/samples/sample1.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/samples/prime_tables.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/samples/sample7_unittest.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/samples/sample2.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/src/gtest-typed-test.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/src/gtest-filepath.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/src/gtest-printers.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/src/gtest_main.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/src/gtest-death-test.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/src/gtest-port.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/src/gtest.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/src/gtest-test-part.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/src/gtest-all.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/src/gtest-internal-inl.h Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/codegear/gtest_link.cc Examining data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/codegear/gtest_all.cc Examining data/autofdo-0.19/third_party/perf_data_converter/src/intervalmap_test.cc Examining data/autofdo-0.19/third_party/perf_data_converter/src/perf_to_profile_lib.cc Examining data/autofdo-0.19/third_party/perf_data_converter/src/quipper/perf_data_utils_test.cc Examining data/autofdo-0.19/third_party/perf_data_converter/src/quipper/kernel/perf_internals.h Examining data/autofdo-0.19/third_party/perf_data_converter/src/quipper/kernel/perf_event.h Examining data/autofdo-0.19/third_party/perf_data_converter/src/quipper/perf_data_structures.h Examining data/autofdo-0.19/third_party/perf_data_converter/src/quipper/string_utils.h Examining data/autofdo-0.19/third_party/perf_data_converter/src/quipper/buffer_writer_test.cc Examining data/autofdo-0.19/third_party/perf_data_converter/src/quipper/binary_data_utils.h Examining data/autofdo-0.19/third_party/perf_data_converter/src/quipper/buffer_reader.cc Examining data/autofdo-0.19/third_party/perf_data_converter/src/quipper/scoped_temp_path.cc Examining data/autofdo-0.19/third_party/perf_data_converter/src/quipper/address_mapper.cc Examining data/autofdo-0.19/third_party/perf_data_converter/src/quipper/perf_parser_test.cc Examining data/autofdo-0.19/third_party/perf_data_converter/src/quipper/conversion_utils.cc Examining data/autofdo-0.19/third_party/perf_data_converter/src/quipper/binary_data_utils.cc Examining data/autofdo-0.19/third_party/perf_data_converter/src/quipper/binary_data_utils_test.cc Examining data/autofdo-0.19/third_party/perf_data_converter/src/quipper/compat/log_level.cc Examining data/autofdo-0.19/third_party/perf_data_converter/src/quipper/compat/string.h Examining data/autofdo-0.19/third_party/perf_data_converter/src/quipper/compat/non_cros/detail/thread.h Examining data/autofdo-0.19/third_party/perf_data_converter/src/quipper/compat/proto.h Examining data/autofdo-0.19/third_party/perf_data_converter/src/quipper/compat/test.h Examining data/autofdo-0.19/third_party/perf_data_converter/src/quipper/compat/thread.h Examining data/autofdo-0.19/third_party/perf_data_converter/src/quipper/compat/cros/detail/thread.h Examining data/autofdo-0.19/third_party/perf_data_converter/src/quipper/compat/log_level.h Examining data/autofdo-0.19/third_party/perf_data_converter/src/quipper/perf_stat_parser_test.cc Examining data/autofdo-0.19/third_party/perf_data_converter/src/quipper/dso_test.cc Examining data/autofdo-0.19/third_party/perf_data_converter/src/quipper/dso.h Examining data/autofdo-0.19/third_party/perf_data_converter/src/quipper/file_reader_test.cc Examining data/autofdo-0.19/third_party/perf_data_converter/src/quipper/perf_stat_parser.cc Examining data/autofdo-0.19/third_party/perf_data_converter/src/quipper/file_utils.cc Examining data/autofdo-0.19/third_party/perf_data_converter/src/quipper/buffer_reader.h Examining data/autofdo-0.19/third_party/perf_data_converter/src/quipper/buffer_writer.h Examining data/autofdo-0.19/third_party/perf_data_converter/src/quipper/conversion_utils_test.cc Examining data/autofdo-0.19/third_party/perf_data_converter/src/quipper/sample_info_reader.cc Examining data/autofdo-0.19/third_party/perf_data_converter/src/quipper/dso.cc Examining data/autofdo-0.19/third_party/perf_data_converter/src/quipper/perf_test_files.cc Examining data/autofdo-0.19/third_party/perf_data_converter/src/quipper/perf_option_parser.h Examining data/autofdo-0.19/third_party/perf_data_converter/src/quipper/test_runner.cc Examining data/autofdo-0.19/third_party/perf_data_converter/src/quipper/perf_protobuf_io.h Examining data/autofdo-0.19/third_party/perf_data_converter/src/quipper/dso_test_utils.cc Examining data/autofdo-0.19/third_party/perf_data_converter/src/quipper/sample_info_reader.h Examining data/autofdo-0.19/third_party/perf_data_converter/src/quipper/run_command.h Examining data/autofdo-0.19/third_party/perf_data_converter/src/quipper/huge_page_deducer.h Examining data/autofdo-0.19/third_party/perf_data_converter/src/quipper/perf_serializer.h Examining data/autofdo-0.19/third_party/perf_data_converter/src/quipper/file_reader.h Examining data/autofdo-0.19/third_party/perf_data_converter/src/quipper/perf_recorder_test.cc Examining data/autofdo-0.19/third_party/perf_data_converter/src/quipper/perf_stat_parser.h Examining data/autofdo-0.19/third_party/perf_data_converter/src/quipper/huge_page_deducer_test.cc Examining data/autofdo-0.19/third_party/perf_data_converter/src/quipper/address_mapper_test.cc Examining data/autofdo-0.19/third_party/perf_data_converter/src/quipper/test_utils.cc Examining data/autofdo-0.19/third_party/perf_data_converter/src/quipper/conversion_utils.h Examining data/autofdo-0.19/third_party/perf_data_converter/src/quipper/data_reader.cc Examining data/autofdo-0.19/third_party/perf_data_converter/src/quipper/perf_option_parser_test.cc Examining data/autofdo-0.19/third_party/perf_data_converter/src/quipper/perf_test_files.h Examining data/autofdo-0.19/third_party/perf_data_converter/src/quipper/huge_page_deducer.cc Examining data/autofdo-0.19/third_party/perf_data_converter/src/quipper/quipper.cc Examining data/autofdo-0.19/third_party/perf_data_converter/src/quipper/test_perf_data.cc Examining data/autofdo-0.19/third_party/perf_data_converter/src/quipper/perf_data_utils.h Examining data/autofdo-0.19/third_party/perf_data_converter/src/quipper/perf_parser.h Examining data/autofdo-0.19/third_party/perf_data_converter/src/quipper/data_reader.h Examining data/autofdo-0.19/third_party/perf_data_converter/src/quipper/scoped_temp_path_test.cc Examining data/autofdo-0.19/third_party/perf_data_converter/src/quipper/run_command.cc Examining data/autofdo-0.19/third_party/perf_data_converter/src/quipper/perf_serializer_test.cc Examining data/autofdo-0.19/third_party/perf_data_converter/src/quipper/string_utils.cc Examining data/autofdo-0.19/third_party/perf_data_converter/src/quipper/perf_reader_test.cc Examining data/autofdo-0.19/third_party/perf_data_converter/src/quipper/perf_serializer.cc Examining data/autofdo-0.19/third_party/perf_data_converter/src/quipper/perf_converter.cc Examining data/autofdo-0.19/third_party/perf_data_converter/src/quipper/test_utils.h Examining data/autofdo-0.19/third_party/perf_data_converter/src/quipper/perf_option_parser.cc Examining data/autofdo-0.19/third_party/perf_data_converter/src/quipper/file_reader.cc Examining data/autofdo-0.19/third_party/perf_data_converter/src/quipper/perf_reader.h Examining data/autofdo-0.19/third_party/perf_data_converter/src/quipper/data_writer.h Examining data/autofdo-0.19/third_party/perf_data_converter/src/quipper/file_utils.h Examining data/autofdo-0.19/third_party/perf_data_converter/src/quipper/run_command_test.cc Examining data/autofdo-0.19/third_party/perf_data_converter/src/quipper/dso_test_utils.h Examining data/autofdo-0.19/third_party/perf_data_converter/src/quipper/perf_recorder.h Examining data/autofdo-0.19/third_party/perf_data_converter/src/quipper/buffer_reader_test.cc Examining data/autofdo-0.19/third_party/perf_data_converter/src/quipper/perf_parser.cc Examining data/autofdo-0.19/third_party/perf_data_converter/src/quipper/sample_info_reader_test.cc Examining data/autofdo-0.19/third_party/perf_data_converter/src/quipper/perf_data_utils.cc Examining data/autofdo-0.19/third_party/perf_data_converter/src/quipper/data_writer.cc Examining data/autofdo-0.19/third_party/perf_data_converter/src/quipper/base/macros.h Examining data/autofdo-0.19/third_party/perf_data_converter/src/quipper/base/logging.cc Examining data/autofdo-0.19/third_party/perf_data_converter/src/quipper/base/logging.h Examining data/autofdo-0.19/third_party/perf_data_converter/src/quipper/buffer_writer.cc Examining data/autofdo-0.19/third_party/perf_data_converter/src/quipper/perf_protobuf_io.cc Examining data/autofdo-0.19/third_party/perf_data_converter/src/quipper/test_perf_data.h Examining data/autofdo-0.19/third_party/perf_data_converter/src/quipper/address_mapper.h Examining data/autofdo-0.19/third_party/perf_data_converter/src/quipper/scoped_temp_path.h Examining data/autofdo-0.19/third_party/perf_data_converter/src/quipper/perf_recorder.cc Examining data/autofdo-0.19/third_party/perf_data_converter/src/quipper/perf_reader.cc Examining data/autofdo-0.19/third_party/perf_data_converter/src/compat/string_compat.h Examining data/autofdo-0.19/third_party/perf_data_converter/src/compat/test_compat.h Examining data/autofdo-0.19/third_party/perf_data_converter/src/compat/int_compat.h Examining data/autofdo-0.19/third_party/perf_data_converter/src/perf_data_converter.cc Examining data/autofdo-0.19/third_party/perf_data_converter/src/perf_to_profile_lib_test.cc Examining data/autofdo-0.19/third_party/perf_data_converter/src/perf_data_converter_test.cc Examining data/autofdo-0.19/third_party/perf_data_converter/src/builder.cc Examining data/autofdo-0.19/third_party/perf_data_converter/src/perf_data_handler.h Examining data/autofdo-0.19/third_party/perf_data_converter/src/perf_data_handler_test.cc Examining data/autofdo-0.19/third_party/perf_data_converter/src/perf_to_profile.cc Examining data/autofdo-0.19/third_party/perf_data_converter/src/perf_to_profile_lib.h Examining data/autofdo-0.19/third_party/perf_data_converter/src/builder.h Examining data/autofdo-0.19/third_party/perf_data_converter/src/intervalmap.h Examining data/autofdo-0.19/third_party/perf_data_converter/src/path_matching.h Examining data/autofdo-0.19/third_party/perf_data_converter/src/perf_data_converter.h Examining data/autofdo-0.19/third_party/perf_data_converter/src/perf_data_handler.cc Examining data/autofdo-0.19/instruction_map.h Examining data/autofdo-0.19/instruction_map.cc Examining data/autofdo-0.19/create_gcov.cc Examining data/autofdo-0.19/profile_merger.cc Examining data/autofdo-0.19/llvm_profile_writer.h Examining data/autofdo-0.19/addr2line.h Examining data/autofdo-0.19/sample_reader.h Examining data/autofdo-0.19/profile_reader.cc Examining data/autofdo-0.19/glog/src/utilities.h Examining data/autofdo-0.19/glog/src/mock-log.h Examining data/autofdo-0.19/glog/src/stacktrace.h Examining data/autofdo-0.19/glog/src/logging_unittest.cc Examining data/autofdo-0.19/glog/src/stacktrace_libunwind-inl.h Examining data/autofdo-0.19/glog/src/stacktrace_x86-inl.h Examining data/autofdo-0.19/glog/src/vlog_is_on.cc Examining data/autofdo-0.19/glog/src/logging_striptest10.cc Examining data/autofdo-0.19/glog/src/stacktrace_powerpc-inl.h Examining data/autofdo-0.19/glog/src/stacktrace_generic-inl.h Examining data/autofdo-0.19/glog/src/symbolize.cc Examining data/autofdo-0.19/glog/src/symbolize_unittest.cc Examining data/autofdo-0.19/glog/src/symbolize.h Examining data/autofdo-0.19/glog/src/signalhandler.cc Examining data/autofdo-0.19/glog/src/utilities.cc Examining data/autofdo-0.19/glog/src/stl_logging_unittest.cc Examining data/autofdo-0.19/glog/src/stacktrace_unittest.cc Examining data/autofdo-0.19/glog/src/demangle_unittest.cc Examining data/autofdo-0.19/glog/src/stacktrace_x86_64-inl.h Examining data/autofdo-0.19/glog/src/utilities_unittest.cc Examining data/autofdo-0.19/glog/src/googletest.h Examining data/autofdo-0.19/glog/src/glog/log_severity.h Examining data/autofdo-0.19/glog/src/config_for_unittests.h Examining data/autofdo-0.19/glog/src/windows/port.h Examining data/autofdo-0.19/glog/src/windows/config.h Examining data/autofdo-0.19/glog/src/windows/glog/stl_logging.h Examining data/autofdo-0.19/glog/src/windows/glog/vlog_is_on.h Examining data/autofdo-0.19/glog/src/windows/glog/log_severity.h Examining data/autofdo-0.19/glog/src/windows/glog/raw_logging.h Examining data/autofdo-0.19/glog/src/windows/glog/logging.h Examining data/autofdo-0.19/glog/src/windows/port.cc Examining data/autofdo-0.19/glog/src/raw_logging.cc Examining data/autofdo-0.19/glog/src/demangle.h Examining data/autofdo-0.19/glog/src/logging.cc Examining data/autofdo-0.19/glog/src/demangle.cc Examining data/autofdo-0.19/glog/src/logging_striptest2.cc Examining data/autofdo-0.19/glog/src/logging_striptest_main.cc Examining data/autofdo-0.19/glog/src/signalhandler_unittest.cc Examining data/autofdo-0.19/glog/src/base/commandlineflags.h Examining data/autofdo-0.19/glog/src/base/googleinit.h Examining data/autofdo-0.19/glog/src/base/mutex.h Examining data/autofdo-0.19/glog/src/mock-log_test.cc Examining data/autofdo-0.19/sample_merger.cc Examining data/autofdo-0.19/profile.cc Examining data/autofdo-0.19/dump_gcov.cc Examining data/autofdo-0.19/symbol_map.cc Examining data/autofdo-0.19/gflags/gflags.h Examining data/autofdo-0.19/gflags/gflags.cc Examining data/autofdo-0.19/gflags/config.h Examining data/autofdo-0.19/gflags/gflags_completions.cc Examining data/autofdo-0.19/gflags/mutex.h Examining data/autofdo-0.19/gflags/gflags_reporting.cc Examining data/autofdo-0.19/gflags/gflags_completions.h Examining data/autofdo-0.19/module_grouper.h Examining data/autofdo-0.19/addr2line.cc Examining data/autofdo-0.19/sample_reader.cc Examining data/autofdo-0.19/profile_reader.h Examining data/autofdo-0.19/profile_creator.h Examining data/autofdo-0.19/profile_writer.cc Examining data/autofdo-0.19/symbolize/functioninfo.h Examining data/autofdo-0.19/symbolize/functioninfo.cc Examining data/autofdo-0.19/symbolize/elf_reader.h Examining data/autofdo-0.19/symbolize/nonoverlapping_range_map.h Examining data/autofdo-0.19/symbolize/bytereader.h Examining data/autofdo-0.19/symbolize/line_state_machine.h Examining data/autofdo-0.19/symbolize/dwarf3ranges.h Examining data/autofdo-0.19/symbolize/elf_reader.cc Examining data/autofdo-0.19/symbolize/dwarf2reader.h Examining data/autofdo-0.19/symbolize/dwarf3ranges.cc Examining data/autofdo-0.19/symbolize/dwarf2enums.h Examining data/autofdo-0.19/symbolize/bytereader-inl.h Examining data/autofdo-0.19/symbolize/addr2line_inlinestack.cc Examining data/autofdo-0.19/symbolize/dwarf2reader.cc Examining data/autofdo-0.19/symbolize/bytereader.cc Examining data/autofdo-0.19/symbolize/addr2line_inlinestack.h Examining data/autofdo-0.19/symbol_map.h Examining data/autofdo-0.19/profile.h Examining data/autofdo-0.19/source_info.h Examining data/autofdo-0.19/base/port.h Examining data/autofdo-0.19/base/common.h Examining data/autofdo-0.19/base/macros.h Examining data/autofdo-0.19/base/logging.h Examining data/autofdo-0.19/base/integral_types.h Examining data/autofdo-0.19/base/basictypes.h FINAL RESULTS: data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/command_line_interface.cc:220:13: [5] (race) readlink: This accepts filename arguments; if an attacker can move those files or change the link content, a race condition results. Also, it does not terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach. int len = readlink("/proc/self/exe", buffer, PATH_MAX); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/command_line_interface.cc:205:13: [5] (race) readlink: This accepts filename arguments; if an attacker can move those files or change the link content, a race condition results. Also, it does not terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach. int len = readlink("/proc/self/exe", buffer, PATH_MAX); data/autofdo-0.19/base/port.h:919:9: [4] (format) vsnprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. #define vsnprintf base_port_MSVC_vsnprintf data/autofdo-0.19/base/port.h:923:9: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. #define snprintf base_port_MSVC_snprintf data/autofdo-0.19/gflags/gflags.cc:209:3: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. vfprintf(stderr, format, ap); data/autofdo-0.19/gflags/gflags.cc:361:7: [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(intbuf, sizeof(intbuf), "%" PRId32, VALUE_AS(int32)); data/autofdo-0.19/gflags/gflags.cc:364:7: [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(intbuf, sizeof(intbuf), "%" PRId64, VALUE_AS(int64)); data/autofdo-0.19/gflags/gflags.cc:367:7: [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(intbuf, sizeof(intbuf), "%" PRIu64, VALUE_AS(uint64)); data/autofdo-0.19/gflags/gflags.h:112:68: [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. #error Do not know how to define a 32-bit integer quantity on your system data/autofdo-0.19/glog/src/googletest.h:495:9: [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(diffcmd.c_str()) != 0) { data/autofdo-0.19/glog/src/logging.cc:83:12: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. using std::fprintf; data/autofdo-0.19/glog/src/logging.cc:1691: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* pipe = popen(cmd.c_str(), "w"); data/autofdo-0.19/glog/src/logging.cc:1811:10: [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(i_dir->c_str(), 0) ) { data/autofdo-0.19/glog/src/raw_logging.cc:93:11: [4] (format) vsnprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. int n = vsnprintf(*buf, *size, format, ap); data/autofdo-0.19/glog/src/raw_logging.cc:104:11: [4] (format) vsnprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. int n = vsnprintf(*buf, *size, format, ap); data/autofdo-0.19/glog/src/symbolize.cc:641:7: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(out, info.dli_sname); data/autofdo-0.19/glog/src/windows/glog/logging.h:110:68: [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. #error Do not know how to define a 32-bit integer quantity on your system data/autofdo-0.19/glog/src/windows/port.cc:58: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. int snprintf(char *str, size_t size, const char *format, ...) { data/autofdo-0.19/glog/src/windows/port.cc:61:17: [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. const int r = vsnprintf(str, size, format, ap); data/autofdo-0.19/glog/src/windows/port.h:76: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. #define access _access data/autofdo-0.19/glog/src/windows/port.h:83:9: [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. #define popen _popen data/autofdo-0.19/glog/src/windows/port.h:112:12: [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. extern int snprintf(char *str, size_t size, data/autofdo-0.19/glog/src/windows/port.h:116:9: [4] (format) vsnprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. #define vsnprintf(str, size, format, ap) safe_vsnprintf(str, size, format, ap) data/autofdo-0.19/profile_creator.cc:60:16: [4] (buffer) fscanf: 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 (3 != fscanf(fp, "%llx,%lld,%s\n", &address, &delta, prefetch_type)) { data/autofdo-0.19/third_party/perf_data_converter/src/quipper/run_command.cc:111:5: [4] (shell) execvp: 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. execvp(c_str_cmd[0], c_str_cmd.data()); data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/include/gtest/internal/gtest-death-test-internal.h:165:5: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(\ data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/include/gtest/internal/gtest-port.h:2362:20: [4] (buffer) StrNCpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). inline const char* StrNCpy(char* dest, const char* src, size_t n) { data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/include/gtest/internal/gtest-port.h:2433:26: [4] (format) _snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. # define GTEST_SNPRINTF_ _snprintf data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/include/gtest/internal/gtest-port.h:2435:26: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. # define GTEST_SNPRINTF_ snprintf data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/src/gtest.cc:146:10: [4] (format) vsnprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. # define vsnprintf _vsnprintf data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/src/gtest.cc:2971:5: [4] (format) vprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. vprintf(fmt, args); data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/src/gtest.cc:2991:3: [4] (format) vprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. vprintf(fmt, args); data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/src/gtest.cc:2998:3: [4] (format) vprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. vprintf(fmt, args); data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/test/gtest-death-test_test.cc:1310:5: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stderr, InDeathTestChild() ? "Inside" : "Outside"); data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/test/gtest-death-test_test.cc:1320:5: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stderr, InDeathTestChild() ? "Inside" : "Outside"); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/conformance/conformance_test_runner.cc:191:21: [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. CHECK_SYSCALL(execv(executable.get(), argv)); // Never returns. data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp:211:9: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. #define snprintf sprintf_s data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp:213:9: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. #define snprintf std::snprintf data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp:213:23: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. #define snprintf std::snprintf data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp:215:9: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. #define snprintf _snprintf data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp:215:18: [4] (format) _snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. #define snprintf _snprintf data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp:218:9: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. #define snprintf snprintf data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp:218:18: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. #define snprintf snprintf data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp:220:9: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. #define snprintf std::snprintf data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp:220:23: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. #define snprintf std::snprintf data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp:224:9: [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. #define sscanf std::sscanf data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp:224:21: [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. #define sscanf std::sscanf data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp:1804:13: [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. count = sscanf(buffer, format, &value); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp:1807:13: [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. count = sscanf(buffer.c_str(), format, &value); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp:4020:9: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. #define snprintf sprintf_s data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp:4022:9: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. #define snprintf std::snprintf data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp:4022:23: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. #define snprintf std::snprintf data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp:4024:9: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. #define snprintf _snprintf data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp:4024:18: [4] (format) _snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. #define snprintf _snprintf data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp:4027:9: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. #define snprintf snprintf data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp:4027:18: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. #define snprintf snprintf data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp:4029:9: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. #define snprintf std::snprintf data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp:4029:23: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. #define snprintf std::snprintf data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp:4035:9: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. #define snprintf _snprintf data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp:4035:18: [4] (format) _snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. #define snprintf _snprintf data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp:4118:11: [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. len = snprintf(buffer, sizeof(buffer), formatString, value); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp:4122:13: [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. len = snprintf(buffer, sizeof(buffer), useSpecialFloats ? "NaN" : "null"); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp:4124:13: [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. len = snprintf(buffer, sizeof(buffer), useSpecialFloats ? "-Infinity" : "-1e+9999"); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp:4126:13: [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. len = snprintf(buffer, sizeof(buffer), useSpecialFloats ? "Infinity" : "1e+9999"); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/encode_decode.c:114:5: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf(err_msg, se->php_error_template, upb_status_errmsg(status)); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/upb.c:7416:5: [4] (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). strcat(ret, base); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/upb.c:7418:5: [4] (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). strcat(ret, name); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/upb.c:10941:11: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf(dst, (use_hex ? "\\x%02x" : "\\%03o"), (uint8_t)*buf); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/upb.c:10973:13: [4] (format) vsprintf: Potential format string problem (CWE-134). Make format string constant. written = vsprintf(str, fmt, args); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/upb.h:129:23: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. #define _upb_snprintf snprintf data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/upb.h:130:24: [4] (format) vsnprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. #define _upb_vsnprintf vsnprintf data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/upb.h:142:35: [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. #error Need implementations of [v]snprintf and va_copy data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:742:5: [4] (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). strcat(newname, f->sub.def->fullname); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:7537:5: [4] (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). strcat(ret, base); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:7539:5: [4] (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). strcat(ret, name); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:11044:11: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf(dst, (use_hex ? "\\x%02x" : "\\%03o"), (uint8_t)*buf); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:11076:13: [4] (format) vsprintf: Potential format string problem (CWE-134). Make format string constant. written = vsprintf(str, fmt, args); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/upb.h:123:23: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. #define _upb_snprintf snprintf data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/upb.h:124:24: [4] (format) vsnprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. #define _upb_vsnprintf vsnprintf data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/upb.h:136:35: [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. #error Need implementations of [v]snprintf and va_copy data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/command_line_interface.cc:171: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(path.c_str(), F_OK) == -1) { data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/command_line_interface.cc:235:10: [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. return access(file_path.c_str(), F_OK) != -1; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/command_line_interface.cc:984:13: [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(input_files_[i].c_str(), F_OK) < 0) { data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/command_line_interface.cc:1221:11: [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(disk_path.c_str(), F_OK) < 0) { data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/command_line_interface.cc:1223:13: [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(parts[i].c_str(), F_OK) < 0) { data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/command_line_interface_unittest.cc:330:11: [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(possible_paths[i], F_OK) == 0) { data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/command_line_interface_unittest.cc:341: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(plugin_path.c_str(), F_OK) != 0) { data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_field.cc:74:7: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). StrCat("&this->", FieldName(descriptor), "()"); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_field.cc:106:7: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). StrCat(prefix, (*variables)["name"], "_"); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.cc:450:12: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). return StrCat("::", name); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.cc:452:10: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). return StrCat("::", DotsToColons(package), "::", name); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_map_field.cc:271:9: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). StrCat(key, ".data(), ", key, ".length(),\n").data(), printer); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_map_field.cc:275:9: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). StrCat(value, ".data(), ", value, ".length(),\n").data(), printer); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_map_field.cc:293:7: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). StrCat("::google::protobuf::scoped_ptr<$map_classname$> entry;\n", data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_map_field.cc:297:29: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). printer->Print(variables, StrCat( data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_map_field.cc:314:9: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). StrCat(utf8_check, "(", (loop_via_iterators ? "&*" : ""), ptr, ");\n") data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc:824:24: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). vars["has_mask"] = StrCat(strings::Hex(1u << (has_bit_index % 32), data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc:3123:33: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). const string mask = StrCat( data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc:3600:27: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). const string mask = StrCat( data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc:3920:16: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). string m = StrCat("0x", strings::Hex(masks[i], strings::ZERO_PAD_8)); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc:3922:21: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). parts.push_back(StrCat("((_has_bits_[", i, "] & ", m, ") ^ ", m, ")")); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc:3927:7: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). StrCat("(", Join(parts, "\n | "), ")"); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc:4259:17: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). "mask", StrCat(strings::Hex(mask, strings::ZERO_PAD_8))); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message_field.cc:55:9: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). StrCat("this->", (*variables)["name"], "_"); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/importer.cc:409:11: [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(shadowing_disk_file->c_str(), F_OK) >= 0) { data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/subprocess.cc:319:9: [4] (shell) execvp: 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. execvp(argv[0], argv); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/subprocess.cc:322:9: [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(argv[0], argv); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/map_test.cc:3076:12: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). return StrCat(n); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/common.cc:47:9: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. #define snprintf _snprintf // see comment in strutil.cc data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/common.cc:47:18: [4] (format) _snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. #define snprintf _snprintf // see comment in strutil.cc data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/common.cc:231: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(buffer, sizeof(buffer), FORMAT, value); \ data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/stringprintf.cc:65:16: [4] (format) vsnprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. int result = vsnprintf(space, kSpaceLength, format, backup_ap); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/stringprintf.cc:79:16: [4] (format) vsnprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. result = vsnprintf(NULL, 0, format, backup_ap); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/stringprintf.cc:96:12: [4] (format) vsnprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. result = vsnprintf(buf, length, format, backup_ap); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/strutil.cc:56:9: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. #define snprintf _snprintf data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/strutil.cc:56:18: [4] (format) _snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. #define snprintf _snprintf data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/strutil.cc:524:11: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf(dest + used, (use_hex ? "\\x%02x" : "\\%03o"), data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/strutil.cc:1476:8: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). string StrCat(const AlphaNum &a, const AlphaNum &b) { data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/strutil.cc:1485:8: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). string StrCat(const AlphaNum &a, const AlphaNum &b, const AlphaNum &c) { data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/strutil.cc:1495:8: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). string StrCat(const AlphaNum &a, const AlphaNum &b, const AlphaNum &c, data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/strutil.cc:1505:8: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). string StrCat(const AlphaNum &a, const AlphaNum &b, const AlphaNum &c, data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/strutil.cc:1516:8: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). string StrCat(const AlphaNum &a, const AlphaNum &b, const AlphaNum &c, data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/strutil.cc:1528:8: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). string StrCat(const AlphaNum &a, const AlphaNum &b, const AlphaNum &c, data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/strutil.cc:1542:8: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). string StrCat(const AlphaNum &a, const AlphaNum &b, const AlphaNum &c, data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/strutil.cc:1555:8: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). string StrCat(const AlphaNum &a, const AlphaNum &b, const AlphaNum &c, data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/strutil.h:695:27: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). LIBPROTOBUF_EXPORT string StrCat(const AlphaNum& a, const AlphaNum& b); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/strutil.h:696:27: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). LIBPROTOBUF_EXPORT string StrCat(const AlphaNum& a, const AlphaNum& b, data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/strutil.h:698:27: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). LIBPROTOBUF_EXPORT string StrCat(const AlphaNum& a, const AlphaNum& b, data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/strutil.h:700:27: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). LIBPROTOBUF_EXPORT string StrCat(const AlphaNum& a, const AlphaNum& b, data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/strutil.h:703:27: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). LIBPROTOBUF_EXPORT string StrCat(const AlphaNum& a, const AlphaNum& b, data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/strutil.h:706:27: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). LIBPROTOBUF_EXPORT string StrCat(const AlphaNum& a, const AlphaNum& b, data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/strutil.h:710:27: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). LIBPROTOBUF_EXPORT string StrCat(const AlphaNum& a, const AlphaNum& b, data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/strutil.h:714:27: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). LIBPROTOBUF_EXPORT string StrCat(const AlphaNum& a, const AlphaNum& b, data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/strutil.h:720:15: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). inline string StrCat(const AlphaNum& a) { return string(a.data(), a.size()); } data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/strutil_unittest.cc:42:9: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. #define snprintf _snprintf data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/strutil_unittest.cc:42:18: [4] (format) _snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. #define snprintf _snprintf data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/testing/file.cc:62:10: [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. return access(name.c_str(), F_OK) == 0; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/text_format.cc:1432:14: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). return StrCat("[", field->message_type()->full_name(), "]"); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/text_format.cc:1434:14: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). return StrCat("[", field->full_name(), "]"); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/text_format.cc:1463:12: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). return StrCat("\"", strings::Utf8SafeCEscape(val), "\""); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/text_format.cc:1592:19: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). generator.Print(StrCat("[", type_url, "]")); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/text_format.cc:1890:13: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). StrCat(strings::Hex(field.fixed32(), strings::ZERO_PAD_8))); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/text_format.cc:1902:13: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). StrCat(strings::Hex(field.fixed64(), strings::ZERO_PAD_16))); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/text_format_unittest.cc:414:12: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). return StrCat(FieldValuePrinter::PrintUInt32(val), "u"); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/text_format_unittest.cc:438:12: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). return StrCat("value-is(", FieldValuePrinter::PrintInt32(val), ")"); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/text_format_unittest.cc:473:12: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). return StrCat(FieldValuePrinter::PrintInt32(v), " # x", strings::Hex(v)); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/text_format_unittest.cc:483:12: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). return StrCat( data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/text_format_unittest.cc:526:12: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). return StrCat(" { # 1\n", " # 2\n"); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/internal/datapiece.cc:180:30: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). return InvalidArgument(StrCat("\"", str_, "\"")); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/internal/datapiece.cc:247:14: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). return StrCat("\"", str_.ToString(), "\""); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/internal/datapiece.cc:251:14: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). return StrCat("\"", base64, "\""); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/internal/datapiece.cc:342:28: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). return InvalidArgument(StrCat("\"", str_, "\"")); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/internal/datapiece.cc:346:26: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). return InvalidArgument(StrCat("\"", str_.ToString(), "\"")); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/internal/field_mask_utility.cc:57:12: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). return StrCat(prefix, segment); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/internal/field_mask_utility.cc:59:10: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). return StrCat(prefix, ".", segment); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/internal/field_mask_utility.cc:137:15: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). StrCat("Invalid FieldMask '", paths, data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/internal/field_mask_utility.cc:149:15: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). StrCat("Invalid FieldMask '", paths, data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/internal/field_mask_utility.cc:161:15: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). StrCat("Invalid FieldMask '", paths, data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/internal/field_mask_utility.cc:197:13: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). StrCat("Invalid FieldMask '", paths, data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/internal/field_mask_utility.cc:206:27: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). StrCat("Invalid FieldMask '", paths, data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/internal/field_mask_utility.cc:211:27: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). StrCat("Invalid FieldMask '", paths, data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/internal/json_stream_parser.cc:245:31: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). StrCat("Unknown parse type: ", type)); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/internal/json_stream_parser.cc:756:23: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). StrCat(message, "\n", segment, "\n", location)); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/internal/json_stream_parser.cc:765:26: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). return ReportFailure(StrCat("Unexpected end of string. ", message)); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/internal/proto_writer.cc:465:17: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). StrCat("Missing descriptor for field: ", field->type_url())); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/internal/proto_writer.cc:504:17: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). StrCat("Missing descriptor for field: ", field->type_url())); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/internal/proto_writer.cc:533:17: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). StrCat("Missing descriptor for field: ", field->type_url())); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/internal/proto_writer.cc:548:11: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). StrCat("oneof field '", data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/internal/protostream_objectsource.cc:337:9: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). StrCat("Timestamp seconds exceeds limit for field: ", field_name)); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/internal/protostream_objectsource.cc:343:9: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). StrCat("Timestamp nanos exceeds limit for field: ", field_name)); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/internal/protostream_objectsource.cc:361:9: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). StrCat("Duration seconds exceeds limit for field: ", field_name)); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/internal/protostream_objectsource.cc:367:9: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). StrCat("Duration nanos exceeds limit for field: ", field_name)); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/internal/protostream_objectsource.cc:374:21: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). StrCat("Duration nanos is non-negative, but seconds is " data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/internal/protostream_objectsource.cc:759:21: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). StrCat("Invalid configuration. Could not find the type: ", data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/internal/protostream_objectsource.cc:1079:9: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). StrCat("Message too deep. Max recursion depth reached for type '", data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/internal/protostream_objectsource_test.cc:475:20: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). label->set_key(StrCat("i", i)); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/internal/protostream_objectsource_test.cc:476:22: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). label->set_value(StrCat("v", i)); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/internal/protostream_objectsource_test.cc:536:20: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). next->set_name(StrCat("author_name_", i)); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/internal/protostream_objectsource_test.cc:544:21: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). next->set_m_str(StrCat("count_", i)); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/internal/protostream_objectwriter.cc:371:38: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). parent_->InvalidValue("Any", StrCat("Missing @type for any field in ", data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/internal/protostream_objectwriter.cc:729:25: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). InvalidValue("Map", StrCat("Cannot have repeated items ('", name, data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/internal/protostream_objectwriter.cc:822:18: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). StrCat("Cannot bind a list to map for field '", name, "'.")); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/internal/protostream_objectwriter.cc:926:19: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). StrCat("Invalid data type for timestamp, value is ", data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/internal/protostream_objectwriter.cc:936:37: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). return Status(INVALID_ARGUMENT, StrCat("Invalid time format: ", value)); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/internal/protostream_objectwriter.cc:957:19: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). StrCat("Invalid data type for field mask, value is ", data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/internal/protostream_objectwriter.cc:974:19: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). StrCat("Invalid data type for duration, value is ", data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/internal/protostream_objectwriter.cc:1046:20: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). StrCat("Field '", name, "', ", status.error_message())); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/internal/protostream_objectwriter.cc:1083:22: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). StrCat("Field '", name, "', ", status.error_message())); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/internal/protostream_objectwriter.cc:1117:22: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). StrCat("Field '", name, "', ", status.error_message())); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/internal/protostream_objectwriter.cc:1207:9: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). StrCat("Repeated map key: '", unnormalized_name, "' is already set.")); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/internal/utility.cc:132:10: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). return StrCat(kTypeServiceBaseUrl, "/", simple_type); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/message_differencer.cc:1574:16: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). output = StrCat("0x", strings::Hex(unknown_field->fixed32(), data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/message_differencer.cc:1578:16: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). output = StrCat("0x", strings::Hex(unknown_field->fixed64(), data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/type_resolver_util.cc:187:21: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). StrCat("Invalid type URL, type URLs must be of the form '", data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/third_party/benchmark/src/colorprint.cc:84:5: [4] (format) vprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. vprintf(fmt, args); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/third_party/benchmark/src/colorprint.cc:103:3: [4] (format) vprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. vprintf(fmt, args); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/third_party/benchmark/src/colorprint.cc:111:3: [4] (format) vprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. vprintf(fmt, args); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/third_party/benchmark/src/console_reporter.cc:86:12: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). rate = StrCat(" ", HumanReadableNumber(result.bytes_per_second), "B/s"); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/third_party/benchmark/src/console_reporter.cc:92:13: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). items = StrCat(" ", HumanReadableNumber(result.items_per_second), data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/third_party/benchmark/src/string_util.cc:132:14: [4] (format) vsnprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. auto ret = vsnprintf(local_buff.data(), size, msg, args_cp); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/third_party/benchmark/src/string_util.cc:147:9: [4] (format) vsnprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. ret = vsnprintf(buff_ptr.get(), size, msg, args); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/third_party/benchmark/src/string_util.h:32:20: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). inline std::string StrCat(Args&&... args) data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/third_party/benchmark/src/sysinfo.cc:407:33: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). std::string governor_file = StrCat("/sys/devices/system/cpu/cpu", cpu, data/autofdo-0.19/third_party/protobuf/conformance/conformance_test_runner.cc:190:21: [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. CHECK_SYSCALL(execv(executable.get(), argv)); // Never returns. data/autofdo-0.19/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp:211:9: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. #define snprintf sprintf_s data/autofdo-0.19/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp:213:9: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. #define snprintf std::snprintf data/autofdo-0.19/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp:213:23: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. #define snprintf std::snprintf data/autofdo-0.19/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp:215:9: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. #define snprintf _snprintf data/autofdo-0.19/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp:215:18: [4] (format) _snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. #define snprintf _snprintf data/autofdo-0.19/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp:218:9: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. #define snprintf snprintf data/autofdo-0.19/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp:218:18: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. #define snprintf snprintf data/autofdo-0.19/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp:220:9: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. #define snprintf std::snprintf data/autofdo-0.19/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp:220:23: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. #define snprintf std::snprintf data/autofdo-0.19/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp:224:9: [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. #define sscanf std::sscanf data/autofdo-0.19/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp:224:21: [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. #define sscanf std::sscanf data/autofdo-0.19/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp:1804:13: [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. count = sscanf(buffer, format, &value); data/autofdo-0.19/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp:1807:13: [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. count = sscanf(buffer.c_str(), format, &value); data/autofdo-0.19/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp:4020:9: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. #define snprintf sprintf_s data/autofdo-0.19/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp:4022:9: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. #define snprintf std::snprintf data/autofdo-0.19/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp:4022:23: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. #define snprintf std::snprintf data/autofdo-0.19/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp:4024:9: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. #define snprintf _snprintf data/autofdo-0.19/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp:4024:18: [4] (format) _snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. #define snprintf _snprintf data/autofdo-0.19/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp:4027:9: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. #define snprintf snprintf data/autofdo-0.19/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp:4027:18: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. #define snprintf snprintf data/autofdo-0.19/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp:4029:9: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. #define snprintf std::snprintf data/autofdo-0.19/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp:4029:23: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. #define snprintf std::snprintf data/autofdo-0.19/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp:4035:9: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. #define snprintf _snprintf data/autofdo-0.19/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp:4035:18: [4] (format) _snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. #define snprintf _snprintf data/autofdo-0.19/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp:4118:11: [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. len = snprintf(buffer, sizeof(buffer), formatString, value); data/autofdo-0.19/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp:4122:13: [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. len = snprintf(buffer, sizeof(buffer), useSpecialFloats ? "NaN" : "null"); data/autofdo-0.19/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp:4124:13: [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. len = snprintf(buffer, sizeof(buffer), useSpecialFloats ? "-Infinity" : "-1e+9999"); data/autofdo-0.19/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp:4126:13: [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. len = snprintf(buffer, sizeof(buffer), useSpecialFloats ? "Infinity" : "1e+9999"); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/def.c:485:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(error_msg, "Cannot get enum type for non-enum field '%s'", data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/def.c:505:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(error_msg, "Cannot get message type for non-message field '%s'", data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/encode_decode.c:114:5: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf(err_msg, se->php_error_template, upb_status_errmsg(status)); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/message.c:999:3: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(type_url, "%s%s", TYPE_URL_PREFIX, fully_qualified_name); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/message.c:1033:3: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(type_url, "%s%s", TYPE_URL_PREFIX, fully_qualified_name); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.c:10336:5: [4] (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). strcat(ret, base); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.c:10338:5: [4] (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). strcat(ret, name); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.c:13918:11: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf(dst, (use_hex ? "\\x%02x" : "\\%03o"), (uint8_t)*buf); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.c:13950:13: [4] (format) vsprintf: Potential format string problem (CWE-134). Make format string constant. written = vsprintf(str, fmt, args); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.c:16189:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(buf, inf); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.c:16193:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(buf, neginf); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.h:168:23: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. #define _upb_snprintf snprintf data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.h:169:24: [4] (format) vsnprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. #define _upb_vsnprintf vsnprintf data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.h:181:35: [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. #error Need implementations of [v]snprintf and va_copy data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:8397:5: [4] (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). strcat(ret, base); data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:8399:5: [4] (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). strcat(ret, name); data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:11979:11: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf(dst, (use_hex ? "\\x%02x" : "\\%03o"), (uint8_t)*buf); data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:12011:13: [4] (format) vsprintf: Potential format string problem (CWE-134). Make format string constant. written = vsprintf(str, fmt, args); data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:14250:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(buf, inf); data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:14254:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(buf, neginf); data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.h:61:23: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. #define _upb_snprintf snprintf data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.h:62:24: [4] (format) vsnprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. #define _upb_vsnprintf vsnprintf data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.h:74:35: [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. #error Need implementations of [v]snprintf and va_copy data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/command_line_interface.cc:103:42: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. using google::protobuf::internal::win32::access; data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/command_line_interface.cc:157: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(path.c_str(), F_OK) == -1) { data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/command_line_interface.cc:220:10: [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. return access(file_path.c_str(), F_OK) != -1; data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/command_line_interface.cc:1112: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(input_files_[i].c_str(), F_OK) < 0) { data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/command_line_interface.cc:1418:11: [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(disk_path.c_str(), F_OK) < 0) { data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/command_line_interface.cc:1420:13: [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(parts[i].c_str(), F_OK) < 0) { data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/command_line_interface_unittest.cc:73:42: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. using google::protobuf::internal::win32::access; data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/command_line_interface_unittest.cc:324:11: [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(possible_paths[i], F_OK) == 0) { data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/command_line_interface_unittest.cc:335: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(plugin_path.c_str(), F_OK) != 0) { data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/command_line_interface_unittest.cc:2290:24: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). args.push_back(StrCat( data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_field.cc:98:34: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). (*variables)["field_member"] = StrCat(prefix, (*variables)["name"], "_"); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.cc:460:12: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). return StrCat("::", name); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.cc:462:10: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). return StrCat("::", DotsToColons(package), "::", name); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_map_field.cc:233:9: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). StrCat(key, ".data(), static_cast<int>(", key, ".length()),\n").data(), data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_map_field.cc:239:9: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). StrCat(value, ".data(), static_cast<int>(", value, ".length()),\n") data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_map_field.cc:259:7: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). StrCat("::std::unique_ptr<$map_classname$> entry;\n", data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_map_field.cc:263:29: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). printer->Print(variables, StrCat( data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_map_field.cc:280:9: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). StrCat(utf8_check, "(", (loop_via_iterators ? "&*" : ""), ptr, ");\n") data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc:626:24: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). vars["has_mask"] = StrCat(strings::Hex(1u << (has_bit_index % 32), data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc:2613:9: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). StrCat(strings::Hex(1u << (has_bit_index % 32), strings::ZERO_PAD_8)); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc:3134:33: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). const string mask = StrCat( data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc:3634:27: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). const string mask = StrCat( data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc:3960:16: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). string m = StrCat("0x", strings::Hex(masks[i], strings::ZERO_PAD_8)); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc:3962:21: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). parts.push_back(StrCat("((_has_bits_[", i, "] & ", m, ") ^ ", m, ")")); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc:3968:25: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). : StrCat("(", Join(parts, "\n | "), ")"); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc:4273:17: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). "mask", StrCat(strings::Hex(mask, strings::ZERO_PAD_8))); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/importer.cc:69:42: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. using google::protobuf::internal::win32::access; data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/importer.cc:410:11: [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(shadowing_disk_file->c_str(), F_OK) >= 0) { data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/subprocess.cc:59:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(ns, s); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/subprocess.cc:329:9: [4] (shell) execvp: 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. execvp(argv[0], argv); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/subprocess.cc:332:9: [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(argv[0], argv); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl.cc:61:42: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. using google::protobuf::internal::win32::access; data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc:85:42: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. using google::protobuf::internal::win32::access; data/autofdo-0.19/third_party/protobuf/src/google/protobuf/map_test.cc:3100:12: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). return StrCat(n); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/common.cc:48:9: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. #define snprintf _snprintf // see comment in strutil.cc data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/common.cc:48:18: [4] (format) _snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. #define snprintf _snprintf // see comment in strutil.cc data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/common.cc:232: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(buffer, sizeof(buffer), FORMAT, value); \ data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/io_win32.cc:276:5: [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. int access(const char* path, int mode) { data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/io_win32.h:61:24: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. LIBPROTOBUF_EXPORT int access(const char* path, int mode); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/io_win32_unittest.cc:284:13: [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. EXPECT_EQ(access(test_tmpdir.c_str(), F_OK), 0); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/io_win32_unittest.cc:285:13: [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. EXPECT_EQ(access(path.c_str(), F_OK), 0); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/io_win32_unittest.cc:286:13: [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. EXPECT_EQ(access(path.c_str(), W_OK), 0); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/io_win32_unittest.cc:287:13: [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. EXPECT_EQ(access(file.c_str(), F_OK | W_OK), 0); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/io_win32_unittest.cc:288:13: [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. EXPECT_NE(access((file + ".blah").c_str(), F_OK), 0); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/io_win32_unittest.cc:289:13: [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. EXPECT_NE(access((file + ".blah").c_str(), W_OK), 0); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/io_win32_unittest.cc:291:13: [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. EXPECT_EQ(access(".", F_OK), 0); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/io_win32_unittest.cc:292:13: [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. EXPECT_EQ(access(".", W_OK), 0); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/io_win32_unittest.cc:293:13: [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. EXPECT_EQ(access((test_tmpdir + "/accesstest").c_str(), F_OK | W_OK), 0); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/io_win32_unittest.cc:294:13: [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. ASSERT_EQ(access((test_tmpdir + "/./normalize_me/.././accesstest").c_str(), data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/io_win32_unittest.cc:297:13: [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. EXPECT_NE(access("io_win32_unittest.AccessTest.nonexistent", F_OK), 0); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/io_win32_unittest.cc:298:13: [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. EXPECT_NE(access("io_win32_unittest.AccessTest.nonexistent", W_OK), 0); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/io_win32_unittest.cc:300:13: [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. ASSERT_EQ(access("c:bad", F_OK), -1); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/io_win32_unittest.cc:302:13: [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. ASSERT_EQ(access("/tmp/bad", F_OK), -1); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/io_win32_unittest.cc:304:13: [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. ASSERT_EQ(access("\\bad", F_OK), -1); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/io_win32_unittest.cc:366:13: [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. EXPECT_EQ(access(path.c_str(), F_OK), 0); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/io_win32_unittest.cc:378:13: [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. EXPECT_EQ(access(path.c_str(), F_OK), 0); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/stringprintf.cc:65:16: [4] (format) vsnprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. int result = vsnprintf(space, kSpaceLength, format, backup_ap); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/stringprintf.cc:79:16: [4] (format) vsnprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. result = vsnprintf(NULL, 0, format, backup_ap); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/stringprintf.cc:96:12: [4] (format) vsnprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. result = vsnprintf(buf, length, format, backup_ap); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/strutil.cc:56:9: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. #define snprintf _snprintf data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/strutil.cc:56:18: [4] (format) _snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. #define snprintf _snprintf data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/strutil.cc:524:11: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf(dest + used, (use_hex ? "\\x%02x" : "\\%03o"), data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/strutil.cc:1476:8: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). string StrCat(const AlphaNum &a, const AlphaNum &b) { data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/strutil.cc:1485:8: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). string StrCat(const AlphaNum &a, const AlphaNum &b, const AlphaNum &c) { data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/strutil.cc:1495:8: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). string StrCat(const AlphaNum &a, const AlphaNum &b, const AlphaNum &c, data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/strutil.cc:1505:8: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). string StrCat(const AlphaNum &a, const AlphaNum &b, const AlphaNum &c, data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/strutil.cc:1516:8: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). string StrCat(const AlphaNum &a, const AlphaNum &b, const AlphaNum &c, data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/strutil.cc:1528:8: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). string StrCat(const AlphaNum &a, const AlphaNum &b, const AlphaNum &c, data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/strutil.cc:1542:8: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). string StrCat(const AlphaNum &a, const AlphaNum &b, const AlphaNum &c, data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/strutil.cc:1555:8: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). string StrCat(const AlphaNum &a, const AlphaNum &b, const AlphaNum &c, data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/strutil.h:695:27: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). LIBPROTOBUF_EXPORT string StrCat(const AlphaNum& a, const AlphaNum& b); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/strutil.h:696:27: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). LIBPROTOBUF_EXPORT string StrCat(const AlphaNum& a, const AlphaNum& b, data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/strutil.h:698:27: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). LIBPROTOBUF_EXPORT string StrCat(const AlphaNum& a, const AlphaNum& b, data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/strutil.h:700:27: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). LIBPROTOBUF_EXPORT string StrCat(const AlphaNum& a, const AlphaNum& b, data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/strutil.h:703:27: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). LIBPROTOBUF_EXPORT string StrCat(const AlphaNum& a, const AlphaNum& b, data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/strutil.h:706:27: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). LIBPROTOBUF_EXPORT string StrCat(const AlphaNum& a, const AlphaNum& b, data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/strutil.h:710:27: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). LIBPROTOBUF_EXPORT string StrCat(const AlphaNum& a, const AlphaNum& b, data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/strutil.h:714:27: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). LIBPROTOBUF_EXPORT string StrCat(const AlphaNum& a, const AlphaNum& b, data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/strutil.h:720:15: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). inline string StrCat(const AlphaNum& a) { return string(a.data(), a.size()); } data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/strutil_unittest.cc:42:9: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. #define snprintf _snprintf data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/strutil_unittest.cc:42:18: [4] (format) _snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. #define snprintf _snprintf data/autofdo-0.19/third_party/protobuf/src/google/protobuf/testing/file.cc:61:42: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. using google::protobuf::internal::win32::access; data/autofdo-0.19/third_party/protobuf/src/google/protobuf/testing/file.cc:69:10: [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. return access(name.c_str(), F_OK) == 0; data/autofdo-0.19/third_party/protobuf/src/google/protobuf/text_format.cc:2186:13: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). StrCat(strings::Hex(field.fixed32(), strings::ZERO_PAD_8))); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/text_format.cc:2198:13: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). StrCat(strings::Hex(field.fixed64(), strings::ZERO_PAD_16))); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/text_format_unittest.cc:412:12: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). return StrCat(FieldValuePrinter::PrintUInt32(val), "u"); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/text_format_unittest.cc:436:12: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). return StrCat("value-is(", FieldValuePrinter::PrintInt32(val), ")"); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/text_format_unittest.cc:487:12: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). return StrCat(FieldValuePrinter::PrintInt32(v), " # x", strings::Hex(v)); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/text_format_unittest.cc:497:12: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). return StrCat( data/autofdo-0.19/third_party/protobuf/src/google/protobuf/text_format_unittest.cc:540:12: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). return StrCat(" { # 1\n", " # 2\n"); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/internal/datapiece.cc:180:30: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). return InvalidArgument(StrCat("\"", str_, "\"")); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/internal/datapiece.cc:247:14: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). return StrCat("\"", str_.ToString(), "\""); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/internal/datapiece.cc:251:14: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). return StrCat("\"", base64, "\""); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/internal/datapiece.cc:347:28: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). return InvalidArgument(StrCat("\"", str_, "\"")); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/internal/datapiece.cc:351:26: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). return InvalidArgument(StrCat("\"", str_.ToString(), "\"")); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/internal/field_mask_utility.cc:58:12: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). return StrCat(prefix, segment); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/internal/field_mask_utility.cc:60:10: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). return StrCat(prefix, ".", segment); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/internal/field_mask_utility.cc:138:15: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). StrCat("Invalid FieldMask '", paths, data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/internal/field_mask_utility.cc:150:15: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). StrCat("Invalid FieldMask '", paths, data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/internal/field_mask_utility.cc:162:15: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). StrCat("Invalid FieldMask '", paths, data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/internal/field_mask_utility.cc:198:13: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). StrCat("Invalid FieldMask '", paths, data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/internal/field_mask_utility.cc:207:27: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). StrCat("Invalid FieldMask '", paths, data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/internal/field_mask_utility.cc:212:27: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). StrCat("Invalid FieldMask '", paths, data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/internal/json_stream_parser.cc:242:31: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). StrCat("Unknown parse type: ", type)); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/internal/json_stream_parser.cc:773:23: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). StrCat(message, "\n", segment, "\n", location)); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/internal/json_stream_parser.cc:782:26: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). return ReportFailure(StrCat("Unexpected end of string. ", message)); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/internal/proto_writer.cc:466:17: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). StrCat("Missing descriptor for field: ", field->type_url())); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/internal/proto_writer.cc:505:17: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). StrCat("Missing descriptor for field: ", field->type_url())); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/internal/proto_writer.cc:534:17: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). StrCat("Missing descriptor for field: ", field->type_url())); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/internal/proto_writer.cc:549:11: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). StrCat("oneof field '", data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/internal/protostream_objectsource.cc:337:9: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). StrCat("Timestamp seconds exceeds limit for field: ", field_name)); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/internal/protostream_objectsource.cc:343:9: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). StrCat("Timestamp nanos exceeds limit for field: ", field_name)); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/internal/protostream_objectsource.cc:361:9: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). StrCat("Duration seconds exceeds limit for field: ", field_name)); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/internal/protostream_objectsource.cc:367:9: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). StrCat("Duration nanos exceeds limit for field: ", field_name)); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/internal/protostream_objectsource.cc:374:21: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). StrCat("Duration nanos is non-negative, but seconds is " data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/internal/protostream_objectsource.cc:759:21: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). StrCat("Invalid configuration. Could not find the type: ", data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/internal/protostream_objectsource.cc:1077:9: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). StrCat("Message too deep. Max recursion depth reached for type '", data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/internal/protostream_objectsource_test.cc:478:20: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). label->set_key(StrCat("i", i)); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/internal/protostream_objectsource_test.cc:479:22: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). label->set_value(StrCat("v", i)); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/internal/protostream_objectsource_test.cc:574:20: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). next->set_name(StrCat("author_name_", i)); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/internal/protostream_objectsource_test.cc:582:21: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). next->set_m_str(StrCat("count_", i)); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/internal/protostream_objectwriter.cc:371:38: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). parent_->InvalidValue("Any", StrCat("Missing @type for any field in ", data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/internal/protostream_objectwriter.cc:729:25: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). InvalidValue("Map", StrCat("Cannot have repeated items ('", name, data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/internal/protostream_objectwriter.cc:822:18: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). StrCat("Cannot bind a list to map for field '", name, "'.")); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/internal/protostream_objectwriter.cc:926:19: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). StrCat("Invalid data type for timestamp, value is ", data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/internal/protostream_objectwriter.cc:936:37: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). return Status(INVALID_ARGUMENT, StrCat("Invalid time format: ", value)); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/internal/protostream_objectwriter.cc:957:19: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). StrCat("Invalid data type for field mask, value is ", data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/internal/protostream_objectwriter.cc:974:19: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). StrCat("Invalid data type for duration, value is ", data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/internal/protostream_objectwriter.cc:1046:20: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). StrCat("Field '", name, "', ", status.error_message())); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/internal/protostream_objectwriter.cc:1083:22: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). StrCat("Field '", name, "', ", status.error_message())); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/internal/protostream_objectwriter.cc:1117:22: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). StrCat("Field '", name, "', ", status.error_message())); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/internal/protostream_objectwriter.cc:1207:9: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). StrCat("Repeated map key: '", unnormalized_name, "' is already set.")); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/internal/utility.cc:135:10: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). return StrCat(kTypeServiceBaseUrl, "/", simple_type); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/message_differencer.cc:1634:16: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). output = StrCat("0x", strings::Hex(unknown_field->fixed32(), data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/message_differencer.cc:1638:16: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). output = StrCat("0x", strings::Hex(unknown_field->fixed64(), data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/type_resolver_util.cc:183:21: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). StrCat("Invalid type URL, type URLs must be of the form '", data/autofdo-0.19/third_party/protobuf/third_party/benchmark/src/colorprint.cc:92:14: [4] (format) vsnprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. auto ret = vsnprintf(local_buff, size, msg, args_cp); data/autofdo-0.19/third_party/protobuf/third_party/benchmark/src/colorprint.cc:107:11: [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. ret = vsnprintf(buff.get(), size, msg, args); data/autofdo-0.19/third_party/protobuf/third_party/benchmark/src/colorprint.cc:146:3: [4] (format) vprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. vprintf(fmt, args); data/autofdo-0.19/third_party/protobuf/third_party/benchmark/src/console_reporter.cc:120:12: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). rate = StrCat(" ", HumanReadableNumber(result.bytes_per_second), "B/s"); data/autofdo-0.19/third_party/protobuf/third_party/benchmark/src/console_reporter.cc:127:9: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). StrCat(" ", HumanReadableNumber(result.items_per_second), " items/s"); data/autofdo-0.19/third_party/protobuf/third_party/benchmark/src/string_util.cc:136:14: [4] (format) vsnprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. auto ret = vsnprintf(local_buff.data(), size, msg, args_cp); data/autofdo-0.19/third_party/protobuf/third_party/benchmark/src/string_util.cc:151:9: [4] (format) vsnprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. ret = vsnprintf(buff_ptr.get(), size, msg, args); data/autofdo-0.19/third_party/protobuf/third_party/benchmark/src/string_util.h:29:20: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). inline std::string StrCat(Args&&... args) { data/autofdo-0.19/third_party/protobuf/third_party/benchmark/src/sysinfo.cc:343:9: [4] (buffer) StrCat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). StrCat("/sys/devices/system/cpu/cpu", cpu, "/cpufreq/scaling_governor"); data/autofdo-0.19/third_party/protobuf/third_party/benchmark/src/timers.cc:170:51: [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. #error Per-thread timing is not available on your system. data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/include/gtest/internal/gtest-death-test-internal.h:165:5: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(\ data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/include/gtest/internal/gtest-port.h:2398:20: [4] (buffer) StrNCpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). inline const char* StrNCpy(char* dest, const char* src, size_t n) { data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/include/gtest/internal/gtest-port.h:2469:26: [4] (format) _snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. # define GTEST_SNPRINTF_ _snprintf data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/include/gtest/internal/gtest-port.h:2471:26: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. # define GTEST_SNPRINTF_ snprintf data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/src/gtest.cc:139:10: [4] (format) vsnprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. # define vsnprintf _vsnprintf data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/src/gtest.cc:2988:5: [4] (format) vprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. vprintf(fmt, args); data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/src/gtest.cc:3009:3: [4] (format) vprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. vprintf(fmt, args); data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/src/gtest.cc:3016:3: [4] (format) vprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. vprintf(fmt, args); data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/test/gtest-death-test_test.cc:1302:5: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stderr, InDeathTestChild() ? "Inside" : "Outside"); data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/test/gtest-death-test_test.cc:1312:5: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stderr, InDeathTestChild() ? "Inside" : "Outside"); data/autofdo-0.19/base/port.h:937:9: [3] (tmpfile) tempnam: Temporary file race condition (CWE-377). #define tempnam _tempnam data/autofdo-0.19/base/port.h:944:9: [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. #define random() rand() data/autofdo-0.19/base/port.h:945:9: [3] (random) srandom: 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. #define srandom(x) srand(x) data/autofdo-0.19/base/port.h:945:20: [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. #define srandom(x) srand(x) data/autofdo-0.19/base/port.h:1101:32: [3] (random) setstate: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. #define STREAM_SET(s, bit) (s).setstate(ios_base::bit) data/autofdo-0.19/gflags/gflags.cc:1116: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* envval = getenv(envname.c_str()); data/autofdo-0.19/gflags/gflags.cc:1313: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* const valstr = getenv(varname); data/autofdo-0.19/gflags/gflags.cc:1777:27: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. const char* const val = getenv(varname); data/autofdo-0.19/gflags/mutex.h:231:3: [3] (misc) InitializeCriticalSection: Exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. InitializeCriticalSection(&mutex_); data/autofdo-0.19/gflags/mutex.h:235:3: [3] (misc) InitializeCriticalSection: Exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. InitializeCriticalSection(&mutex_); data/autofdo-0.19/gflags/mutex.h:239:44: [3] (misc) EnterCriticalSection: On some versions of Windows, exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. void Mutex::Lock() { if (is_safe_) EnterCriticalSection(&mutex_); } data/autofdo-0.19/glog/src/base/commandlineflags.h:125:5: [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. (!getenv(envname) ? (dflt) : getenv(envname)) data/autofdo-0.19/glog/src/base/commandlineflags.h:125: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. (!getenv(envname) ? (dflt) : getenv(envname)) data/autofdo-0.19/glog/src/base/commandlineflags.h:128:5: [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. (!getenv(envname) ? (dflt) : memchr("tTyY1\0", getenv(envname)[0], 6) != NULL) data/autofdo-0.19/glog/src/base/commandlineflags.h:128:50: [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. (!getenv(envname) ? (dflt) : memchr("tTyY1\0", getenv(envname)[0], 6) != NULL) data/autofdo-0.19/glog/src/base/commandlineflags.h:131:5: [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. (!getenv(envname) ? (dflt) : strtol(getenv(envname), NULL, 10)) data/autofdo-0.19/glog/src/base/commandlineflags.h:131:39: [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. (!getenv(envname) ? (dflt) : strtol(getenv(envname), NULL, 10)) data/autofdo-0.19/glog/src/base/mutex.h:226:30: [3] (misc) InitializeCriticalSection: Exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. Mutex::Mutex() { InitializeCriticalSection(&mutex_); SetIsSafe(); } data/autofdo-0.19/glog/src/base/mutex.h:228:44: [3] (misc) EnterCriticalSection: On some versions of Windows, exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. void Mutex::Lock() { if (is_safe_) EnterCriticalSection(&mutex_); } data/autofdo-0.19/glog/src/logging.cc:94: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* const valstr = getenv(varname); data/autofdo-0.19/glog/src/logging.cc:152: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. env = getenv("GOOGLE_LOG_DIR"); data/autofdo-0.19/glog/src/logging.cc:156: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. env = getenv("TEST_TMPDIR"); data/autofdo-0.19/glog/src/logging.cc:213: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* const term = getenv("TERM"); data/autofdo-0.19/glog/src/logging.cc:1743:5: [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. getenv("TEST_TMPDIR"), data/autofdo-0.19/glog/src/logging.cc:1746:5: [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. getenv("TMPDIR"), getenv("TMP"), data/autofdo-0.19/glog/src/logging.cc:1746: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. getenv("TMPDIR"), getenv("TMP"), data/autofdo-0.19/glog/src/utilities.cc:288: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* user = getenv("USERNAME"); data/autofdo-0.19/glog/src/utilities.cc:290: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* user = getenv("USER"); data/autofdo-0.19/third_party/perf_data_converter/src/perf_to_profile_lib.cc:51:17: [3] (buffer) getopt: Some older implementations do not protect against internal buffer overflows (CWE-120, CWE-20). Check implementation on installation, or limit the size of all string inputs. while ((opt = getopt(argc, const_cast<char* const*>(argv), ":fi:o:")) != -1) { data/autofdo-0.19/third_party/perf_data_converter/src/quipper/perf_converter.cc:44:17: [3] (buffer) getopt: Some older implementations do not protect against internal buffer overflows (CWE-120, CWE-20). Check implementation on installation, or limit the size of all string inputs. while ((opt = getopt(argc, argv, "i:o:I:O:v:")) != -1) { data/autofdo-0.19/third_party/perf_data_converter/src/quipper/perf_parser_test.cc:61: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/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googlemock/test/gmock-matchers_test.cc:5197: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(static_cast<int>(seed)); data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/include/gtest/gtest.h:925:39: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. void ShuffleTests(internal::Random* random); data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/include/gtest/internal/gtest-port.h:2401:27: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. const char* const env = getenv(name); data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/include/gtest/internal/gtest-port.h:2404:10: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. return getenv(name); data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/src/gtest-internal-inl.h:312:37: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. void ShuffleRange(internal::Random* random, int begin, int end, data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/src/gtest-internal-inl.h:333:39: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. inline void Shuffle(internal::Random* random, std::vector<E>* v) { data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/src/gtest-internal-inl.h:334:16: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. ShuffleRange(random, 0, static_cast<int>(v->size()), v); data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/src/gtest-internal-inl.h:792:21: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. internal::Random* random() { return &random_; } data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/src/gtest-port.cc:243:5: [3] (misc) InitializeCriticalSection: Exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. ::InitializeCriticalSection(critical_section_); data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/src/gtest-port.cc:261:5: [3] (misc) EnterCriticalSection: On some versions of Windows, exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. ::EnterCriticalSection(critical_section_); data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/src/gtest-port.cc:293:11: [3] (misc) InitializeCriticalSection: Exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. ::InitializeCriticalSection(critical_section_); data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/src/gtest.cc:194: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. const char* const testbridge_test_only = getenv(GTEST_TEST_FILTER_ENV_VAR_); data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/src/gtest.cc:2793:47: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. void TestCase::ShuffleTests(internal::Random* random) { data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/src/gtest.cc:2794:11: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. Shuffle(random, &test_indices_); data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/src/gtest.cc:4627:7: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. random()->Reseed(random_seed_); data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/src/gtest.cc:4941:16: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. ShuffleRange(random(), 0, last_death_test_case_ + 1, &test_case_indices_); data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/src/gtest.cc:4944:16: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. ShuffleRange(random(), last_death_test_case_ + 1, data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/src/gtest.cc:4949:34: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. test_cases_[i]->ShuffleTests(random()); data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/test/gtest_unittest.cc:425: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("TZ")) data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/test/gtest_unittest.cc:426: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. saved_tz_ = strdup(getenv("TZ")); data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/test/gtest_unittest.cc:713:29: [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. testing::internal::Random random(42); data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/test/gtest_unittest.cc:715:7: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. random.Generate(0), data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/test/gtest_unittest.cc:718:7: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. random.Generate(testing::internal::Random::kMaxRange + 1), data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/test/gtest_unittest.cc:725:29: [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. testing::internal::Random random(12345); data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/test/gtest_unittest.cc:727:15: [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. EXPECT_LT(random.Generate(kRange), kRange) << " for iteration " << i; data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/test/gtest_unittest.cc:742:29: [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. testing::internal::Random random(kSeed); data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/test/gtest_unittest.cc:744:17: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. values[i] = random.Generate(kRange); data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/test/gtest_unittest.cc:747:3: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. random.Reseed(kSeed); data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/test/gtest_unittest.cc:749:26: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. EXPECT_EQ(values[i], random.Generate(kRange)) << " for iteration " << i; data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/test/gtest_unittest.cc:814:29: [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. testing::internal::Random random(1); data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/test/gtest_unittest.cc:817:21: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. ShuffleRange(&random, -1, 1, &a), data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/test/gtest_unittest.cc:820:21: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. ShuffleRange(&random, 4, 4, &a), data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/test/gtest_unittest.cc:823:21: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. ShuffleRange(&random, 3, 2, &a), data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/test/gtest_unittest.cc:826:21: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. ShuffleRange(&random, 3, 4, &a), data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/command_line_interface.cc:215:5: [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(dirtybuffer, buffer); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_helpers.cc:64:27: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. const char* file_path = getenv("GPB_OBJC_EXPECTED_PACKAGE_PREFIXES"); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/common.cc:330:3: [3] (misc) InitializeCriticalSection: Exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. InitializeCriticalSection(&mInternal->mutex); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/common.cc:339:3: [3] (misc) EnterCriticalSection: On some versions of Windows, exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. EnterCriticalSection(&mInternal->mutex); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/testing/googletest.cc:74:18: [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* result = getenv("srcdir"); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/testing/googletest.cc:103: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. char *from_environment = getenv("TEST_TMPDIR"); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/testing/googletest.cc:112:19: [3] (tmpfile) tmpnam: Temporary file race condition (CWE-377). string result = tmpnam(b); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/third_party/benchmark/src/commandlineflags.cc:81:27: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. const char* const env = getenv(name); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/third_party/benchmark/src/commandlineflags.cc:84:10: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. return getenv(name); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/command_line_interface.cc:200:5: [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(dirtybuffer, buffer); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_helpers.cc:74:27: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. const char* file_path = getenv("GPB_OBJC_EXPECTED_PACKAGE_PREFIXES"); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/testing/googletest.cc:80:18: [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* result = getenv("srcdir"); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/testing/googletest.cc:109: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. char *from_environment = getenv("TEST_TMPDIR"); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/testing/googletest.cc:118:19: [3] (tmpfile) tmpnam: Temporary file race condition (CWE-377). string result = tmpnam(b); data/autofdo-0.19/third_party/protobuf/third_party/benchmark/src/colorprint.cc:174: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* const term = getenv("TERM"); data/autofdo-0.19/third_party/protobuf/third_party/benchmark/src/commandlineflags.cc:97:36: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. const char* const string_value = getenv(env_var.c_str()); data/autofdo-0.19/third_party/protobuf/third_party/benchmark/src/commandlineflags.cc:107:36: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. const char* const string_value = getenv(env_var.c_str()); data/autofdo-0.19/third_party/protobuf/third_party/benchmark/src/commandlineflags.cc:127: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* const value = getenv(env_var.c_str()); data/autofdo-0.19/third_party/protobuf/third_party/googletest/googlemock/test/gmock-matchers_test.cc:5227: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(static_cast<int>(seed)); data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/include/gtest/gtest.h:929:39: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. void ShuffleTests(internal::Random* random); data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/include/gtest/internal/gtest-port.h:2437:27: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. const char* const env = getenv(name); data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/include/gtest/internal/gtest-port.h:2440:10: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. return getenv(name); data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/src/gtest-internal-inl.h:304:37: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. void ShuffleRange(internal::Random* random, int begin, int end, data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/src/gtest-internal-inl.h:325:39: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. inline void Shuffle(internal::Random* random, std::vector<E>* v) { data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/src/gtest-internal-inl.h:326:16: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. ShuffleRange(random, 0, static_cast<int>(v->size()), v); data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/src/gtest-internal-inl.h:782:21: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. internal::Random* random() { return &random_; } data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/src/gtest-port.cc:235:5: [3] (misc) InitializeCriticalSection: Exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. ::InitializeCriticalSection(critical_section_); data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/src/gtest-port.cc:253:5: [3] (misc) EnterCriticalSection: On some versions of Windows, exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. ::EnterCriticalSection(critical_section_); data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/src/gtest-port.cc:285:11: [3] (misc) InitializeCriticalSection: Exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. ::InitializeCriticalSection(critical_section_); data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/src/gtest.cc:187: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. const char* const testbridge_test_only = getenv(GTEST_TEST_FILTER_ENV_VAR_); data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/src/gtest.cc:2782:47: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. void TestCase::ShuffleTests(internal::Random* random) { data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/src/gtest.cc:2783:11: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. Shuffle(random, &test_indices_); data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/src/gtest.cc:4637:7: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. random()->Reseed(random_seed_); data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/src/gtest.cc:4951:16: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. ShuffleRange(random(), 0, last_death_test_case_ + 1, &test_case_indices_); data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/src/gtest.cc:4954:16: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. ShuffleRange(random(), last_death_test_case_ + 1, data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/src/gtest.cc:4959:34: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. test_cases_[i]->ShuffleTests(random()); data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/test/gtest_unittest.cc:417: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("TZ")) data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/test/gtest_unittest.cc:418: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. saved_tz_ = strdup(getenv("TZ")); data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/test/gtest_unittest.cc:705:29: [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. testing::internal::Random random(42); data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/test/gtest_unittest.cc:707:7: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. random.Generate(0), data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/test/gtest_unittest.cc:710:7: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. random.Generate(testing::internal::Random::kMaxRange + 1), data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/test/gtest_unittest.cc:717:29: [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. testing::internal::Random random(12345); data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/test/gtest_unittest.cc:719:15: [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. EXPECT_LT(random.Generate(kRange), kRange) << " for iteration " << i; data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/test/gtest_unittest.cc:734:29: [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. testing::internal::Random random(kSeed); data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/test/gtest_unittest.cc:736:17: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. values[i] = random.Generate(kRange); data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/test/gtest_unittest.cc:739:3: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. random.Reseed(kSeed); data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/test/gtest_unittest.cc:741:26: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. EXPECT_EQ(values[i], random.Generate(kRange)) << " for iteration " << i; data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/test/gtest_unittest.cc:806:29: [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. testing::internal::Random random(1); data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/test/gtest_unittest.cc:809:21: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. ShuffleRange(&random, -1, 1, &a), data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/test/gtest_unittest.cc:812:21: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. ShuffleRange(&random, 4, 4, &a), data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/test/gtest_unittest.cc:815:21: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. ShuffleRange(&random, 3, 2, &a), data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/test/gtest_unittest.cc:818:21: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. ShuffleRange(&random, 3, 4, &a), data/autofdo-0.19/base/port.h:775:56: [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. template<int size> struct AlignType<0, size> { typedef char result[size]; }; data/autofdo-0.19/base/port.h:788:44: [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. typedef BASE_PORT_H_ALIGN_ATTRIBUTE(X) char result[size]; \ data/autofdo-0.19/base/port.h:822:28: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. struct AlignType { typedef char result[Size]; }; data/autofdo-0.19/base/port.h:948:9: [2] (buffer) bcopy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. #define bcopy(s, d, n) memcpy(d, s, n) data/autofdo-0.19/base/port.h:948:24: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. #define bcopy(s, d, n) memcpy(d, s, n) data/autofdo-0.19/base/port.h:1009: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(&bitwise_representation, &x, 4); data/autofdo-0.19/base/port.h:1215: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(&t, p, sizeof t); data/autofdo-0.19/base/port.h:1220: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(p, &v, sizeof v); data/autofdo-0.19/base/port.h:1232: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(&t, p, sizeof t); data/autofdo-0.19/base/port.h:1238: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(&t, p, sizeof t); data/autofdo-0.19/base/port.h:1244: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(&t, p, sizeof t); data/autofdo-0.19/base/port.h:1249: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(p, &v, sizeof v); data/autofdo-0.19/base/port.h:1253: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(p, &v, sizeof v); data/autofdo-0.19/base/port.h:1257: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(p, &v, sizeof v); data/autofdo-0.19/gcov.cc:70:21: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). gcov_var.file = fopen(name, (mode > 0) ? "rb" : "r+b"); data/autofdo-0.19/gcov.cc:75:21: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). gcov_var.file = fopen(name, "w+b"); data/autofdo-0.19/gcov.cc:155: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[1], string, length); data/autofdo-0.19/gflags/gflags.cc:356: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 intbuf[64]; // enough to hold even the biggest number data/autofdo-0.19/gflags/gflags.cc:970: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[kBufSize]; data/autofdo-0.19/gflags/gflags.cc:972: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(filename, "r"); data/autofdo-0.19/gflags/gflags.cc:1717: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(filename.c_str(), "a"); data/autofdo-0.19/gflags/gflags.h:525:33: [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 union { void* align; char s[sizeof(std::string)]; } s_##name[2]; \ data/autofdo-0.19/glog/src/demangle_unittest.cc:52:10: [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 char demangled[4096]; data/autofdo-0.19/glog/src/demangle_unittest.cc:62:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char tmp[10]; data/autofdo-0.19/glog/src/demangle_unittest.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 tmp[20]; data/autofdo-0.19/glog/src/googletest.h:78:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char tmp[MAX_PATH]; data/autofdo-0.19/glog/src/googletest.h:292:18: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). int cap_fd = open(filename_.c_str(), data/autofdo-0.19/glog/src/googletest.h:370:23: [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 * const file = fopen(cap->filename().c_str(), "r"); data/autofdo-0.19/glog/src/googletest.h:441: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(filename.c_str(), "rb"); data/autofdo-0.19/glog/src/googletest.h:443: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[4096]; data/autofdo-0.19/glog/src/googletest.h:447: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 null_str[256]; data/autofdo-0.19/glog/src/googletest.h:448: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(null_str, "%p", static_cast<void*>(NULL)); data/autofdo-0.19/glog/src/googletest.h:453: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 errmsg_buf[100]; data/autofdo-0.19/glog/src/googletest.h:473: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(file.c_str(), "wb"); data/autofdo-0.19/glog/src/logging.cc:191: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[MAX_COMPUTERNAME_LENGTH + 1]; data/autofdo-0.19/glog/src/logging.cc:861: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, O_WRONLY | O_CREAT | O_EXCL, 0664); data/autofdo-0.19/glog/src/logging.cc:1095:8: [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 char fatal_msg_buf_exclusive[LogMessage::kMaxLogMessageLen+1]; data/autofdo-0.19/glog/src/logging.cc:1096:8: [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 char fatal_msg_buf_shared[LogMessage::kMaxLogMessageLen+1]; data/autofdo-0.19/glog/src/logging.cc:1227: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 fileline[128]; data/autofdo-0.19/glog/src/logging.cc:1310:8: [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 char fatal_message[256]; data/autofdo-0.19/glog/src/logging.cc:1388: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(fatal_message, data_->message_text_, copy); data/autofdo-0.19/glog/src/logging.cc:1568: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[100]; data/autofdo-0.19/glog/src/logging.cc:1699:11: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[100]; data/autofdo-0.19/glog/src/logging.cc:1703:11: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[100]; data/autofdo-0.19/glog/src/logging.cc:1733:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char tmp[MAX_PATH]; data/autofdo-0.19/glog/src/logging.cc:1786: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 tmp[MAX_PATH]; data/autofdo-0.19/glog/src/logging.cc:1823: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 copybuf[kCopyBlockSize]; data/autofdo-0.19/glog/src/logging.cc:1830: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(path, flags); data/autofdo-0.19/glog/src/logging_unittest.cc:657: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(files[0].c_str(), "r"); data/autofdo-0.19/glog/src/logging_unittest.cc:659: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[1000]; data/autofdo-0.19/glog/src/logging_unittest.cc:766:18: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). CHECK_ERR(fd = open(path, O_RDWR | O_CREAT | O_TRUNC, 0600)); data/autofdo-0.19/glog/src/logging_unittest.cc:841:18: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). CHECK_ERR(fd = open(path.c_str(), O_APPEND | O_WRONLY)); data/autofdo-0.19/glog/src/logging_unittest.cc:842: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 fdpath[64]; data/autofdo-0.19/glog/src/logging_unittest.cc:1175: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 where[100]; data/autofdo-0.19/glog/src/raw_logging.cc:114:8: [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 char crash_buf[kLogBufSize + 1] = { 0 }; // Will end in '\0' data/autofdo-0.19/glog/src/raw_logging.cc:124: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[kLogBufSize]; data/autofdo-0.19/glog/src/raw_logging.cc:158: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(crash_buf, msg_start, msg_size); // Don't include prefix data/autofdo-0.19/glog/src/signalhandler.cc:157: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]; // Big enough for time info. data/autofdo-0.19/glog/src/signalhandler.cc:178: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]; // Big enough for signal info. data/autofdo-0.19/glog/src/signalhandler.cc:217: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 symbolized[1024]; // Big enough for a sane symbol. data/autofdo-0.19/glog/src/signalhandler.cc:225: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[1024]; // Big enough for stack frame info. data/autofdo-0.19/glog/src/stl_logging_unittest.cc:123: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[256]; data/autofdo-0.19/glog/src/stl_logging_unittest.cc:124: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", i); data/autofdo-0.19/glog/src/symbolize.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 demangled[256]; // Big enough for sane demangled symbols. data/autofdo-0.19/glog/src/symbolize.cc:233: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 header_name[kMaxSectionNameLen]; data/autofdo-0.19/glog/src/symbolize.cc:495:21: [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). NO_INTR(maps_fd = open("/proc/self/maps", O_RDONLY)); data/autofdo-0.19/glog/src/symbolize.cc:503: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[1024]; // Big enough for line of sane /proc/self/maps data/autofdo-0.19/glog/src/symbolize.cc:573:25: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). NO_INTR(object_fd = open(cursor, O_RDONLY)); data/autofdo-0.19/glog/src/symbolize_unittest.cc:70:10: [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 char symbol[4096]; data/autofdo-0.19/glog/src/symbolize_unittest.cc:138:8: [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 char g_symbolize_buffer[4096]; data/autofdo-0.19/glog/src/symbolize_unittest.cc:192: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 altstack[kAlternateStackSize]; data/autofdo-0.19/glog/src/utilities.cc:95:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char tmp[1024]; data/autofdo-0.19/glog/src/utilities.cc:103: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[1024]; data/autofdo-0.19/glog/src/utilities.cc:112: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[100]; data/autofdo-0.19/glog/src/windows/glog/logging.h:1554: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 message_buffer_[2]; data/autofdo-0.19/glog/src/windows/port.h:78:9: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). #define open _open data/autofdo-0.19/profile_creator.cc:52: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(file_name.c_str(), "r"); data/autofdo-0.19/profile_creator.cc:58: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 prefetch_type[5]; data/autofdo-0.19/profile_writer.cc:47: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). imports_file_ = fopen(imports_filename.c_str(), "w"); data/autofdo-0.19/sample_reader.cc:93: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(profile_file.c_str(), "r"); data/autofdo-0.19/sample_reader.cc:164: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(profile_file_.c_str(), "w"); data/autofdo-0.19/sample_reader.cc:192: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(profile_file_.c_str(), "r"); data/autofdo-0.19/symbolize/elf_reader.cc:288:14: [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 header[EI_NIDENT]; data/autofdo-0.19/symbolize/elf_reader.cc:681:9: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). fd_ = open(path.c_str(), O_RDONLY); data/autofdo-0.19/symbolize/elf_reader.cc:842: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 gnu_name[4]; data/autofdo-0.19/symbolize/elf_reader.cc:921:18: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). const int fd = open(path.c_str(), O_RDONLY); data/autofdo-0.19/third_party/perf_data_converter/src/builder.cc:106:26: [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). TEMP_FAILURE_RETRY(open(filename, O_WRONLY | O_CREAT | O_TRUNC, 0444)); data/autofdo-0.19/third_party/perf_data_converter/src/perf_to_profile_lib.cc:32:9: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). file->open(path, std::ios_base::trunc); data/autofdo-0.19/third_party/perf_data_converter/src/quipper/binary_data_utils.cc:31: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 digest[MD5_DIGEST_LENGTH + 1]; data/autofdo-0.19/third_party/perf_data_converter/src/quipper/binary_data_utils.cc:58: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[kNumHexDigitsInByte + 1]; data/autofdo-0.19/third_party/perf_data_converter/src/quipper/buffer_reader.cc:14: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, buffer_ + offset_, size); data/autofdo-0.19/third_party/perf_data_converter/src/quipper/buffer_writer.cc:18:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(buffer_ + offset_, src, size); data/autofdo-0.19/third_party/perf_data_converter/src/quipper/dso.cc:106: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_RDONLY); data/autofdo-0.19/third_party/perf_data_converter/src/quipper/dso_test.cc:110: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 note_name[namesz] = ELF_NOTE_GNU; data/autofdo-0.19/third_party/perf_data_converter/src/quipper/dso_test.cc:111: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 note_desc[descsz]{ data/autofdo-0.19/third_party/perf_data_converter/src/quipper/dso_test_utils.cc:58:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(data_storage, data_str.data(), data_str.size()); data/autofdo-0.19/third_party/perf_data_converter/src/quipper/dso_test_utils.cc:85: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.data(), O_WRONLY | O_CREAT | O_TRUNC, 0660); data/autofdo-0.19/third_party/perf_data_converter/src/quipper/file_reader.cc:14:13: [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). infile_ = fopen(filename.c_str(), "rb"); data/autofdo-0.19/third_party/perf_data_converter/src/quipper/file_utils.h:23: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(filename.c_str(), "wb"); data/autofdo-0.19/third_party/perf_data_converter/src/quipper/kernel/perf_internals.h: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 filename[PATH_MAX]; data/autofdo-0.19/third_party/perf_data_converter/src/quipper/kernel/perf_internals.h:123: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 filename[PATH_MAX]; data/autofdo-0.19/third_party/perf_data_converter/src/quipper/kernel/perf_internals.h:129: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 comm[16]; data/autofdo-0.19/third_party/perf_data_converter/src/quipper/kernel/perf_internals.h:330: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 name[MAX_EVENT_NAME]; data/autofdo-0.19/third_party/perf_data_converter/src/quipper/perf_converter.cc:63:36: [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). quipper::SetVerbosityLevel(atoi(optarg)); data/autofdo-0.19/third_party/perf_data_converter/src/quipper/perf_parser.cc:310: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(dso_path.c_str(), O_RDONLY); data/autofdo-0.19/third_party/perf_data_converter/src/quipper/perf_parser_test.cc:656:32: [2] (tmpfile) tmpfile: Function tmpfile() has a security flaw on some systems (e.g., older System V systems) (CWE-377). testing::WriteElfWithBuildid(tmpfile, ".note.gnu.build-id", data/autofdo-0.19/third_party/perf_data_converter/src/quipper/perf_parser_test.cc:660:18: [2] (tmpfile) tmpfile: Function tmpfile() has a security flaw on some systems (e.g., older System V systems) (CWE-377). ASSERT_EQ(stat(tmpfile.c_str(), &tmp_stat), 0); data/autofdo-0.19/third_party/perf_data_converter/src/quipper/perf_parser_test.cc:794:32: [2] (tmpfile) tmpfile: Function tmpfile() has a security flaw on some systems (e.g., older System V systems) (CWE-377). testing::WriteElfWithBuildid(tmpfile, ".note.gnu.build-id", data/autofdo-0.19/third_party/perf_data_converter/src/quipper/perf_parser_test.cc:800:18: [2] (tmpfile) tmpfile: Function tmpfile() has a security flaw on some systems (e.g., older System V systems) (CWE-377). ASSERT_EQ(stat(tmpfile.c_str(), &tmp_stat), 0); data/autofdo-0.19/third_party/perf_data_converter/src/quipper/perf_parser_test.cc:877:32: [2] (tmpfile) tmpfile: Function tmpfile() has a security flaw on some systems (e.g., older System V systems) (CWE-377). testing::WriteElfWithBuildid(tmpfile, ".note.gnu.build-id", data/autofdo-0.19/third_party/perf_data_converter/src/quipper/perf_parser_test.cc:883:18: [2] (tmpfile) tmpfile: Function tmpfile() has a security flaw on some systems (e.g., older System V systems) (CWE-377). ASSERT_EQ(stat(tmpfile.c_str(), &tmp_stat), 0); data/autofdo-0.19/third_party/perf_data_converter/src/quipper/perf_parser_test.cc:900:61: [2] (tmpfile) tmpfile: Function tmpfile() has a security flaw on some systems (e.g., older System V systems) (CWE-377). testing::ExampleMmap2Event(pid, pid, 0x1c1000, 0x1000, 0, tmpfile, data/autofdo-0.19/third_party/perf_data_converter/src/quipper/perf_parser_test.cc:931:13: [2] (tmpfile) tmpfile: Function tmpfile() has a security flaw on some systems (e.g., older System V systems) (CWE-377). EXPECT_EQ(tmpfile, events[1].dso_and_offset.dso_name()); data/autofdo-0.19/third_party/perf_data_converter/src/quipper/perf_parser_test.cc:962:32: [2] (tmpfile) tmpfile: Function tmpfile() has a security flaw on some systems (e.g., older System V systems) (CWE-377). testing::WriteElfWithBuildid(tmpfile, ".note.gnu.build-id", data/autofdo-0.19/third_party/perf_data_converter/src/quipper/perf_parser_test.cc:969:18: [2] (tmpfile) tmpfile: Function tmpfile() has a security flaw on some systems (e.g., older System V systems) (CWE-377). ASSERT_EQ(stat(tmpfile.c_str(), &tmp_stat), 0); data/autofdo-0.19/third_party/perf_data_converter/src/quipper/perf_parser_test.cc:1051:32: [2] (tmpfile) tmpfile: Function tmpfile() has a security flaw on some systems (e.g., older System V systems) (CWE-377). testing::WriteElfWithBuildid(tmpfile, ".note.gnu.build-id", data/autofdo-0.19/third_party/perf_data_converter/src/quipper/perf_parser_test.cc:1057:18: [2] (tmpfile) tmpfile: Function tmpfile() has a security flaw on some systems (e.g., older System V systems) (CWE-377). ASSERT_EQ(stat(tmpfile.c_str(), &tmp_stat), 0); data/autofdo-0.19/third_party/perf_data_converter/src/quipper/perf_parser_test.cc:1148:32: [2] (tmpfile) tmpfile: Function tmpfile() has a security flaw on some systems (e.g., older System V systems) (CWE-377). testing::WriteElfWithBuildid(tmpfile, ".note.gnu.build-id", data/autofdo-0.19/third_party/perf_data_converter/src/quipper/perf_parser_test.cc:1155:18: [2] (tmpfile) tmpfile: Function tmpfile() has a security flaw on some systems (e.g., older System V systems) (CWE-377). ASSERT_EQ(stat(tmpfile.c_str(), &tmp_stat), 0); data/autofdo-0.19/third_party/perf_data_converter/src/quipper/perf_reader_test.cc:864: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 mmap_filename[10 + 6] = "/dev/zero"; data/autofdo-0.19/third_party/perf_data_converter/src/quipper/perf_reader_test.cc:989: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 mmap_filename[10 + 6] = "/dev/zero"; data/autofdo-0.19/third_party/perf_data_converter/src/quipper/perf_reader_test.cc:1073: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 mmap_filename[10 + 6] = "/dev/zero"; data/autofdo-0.19/third_party/perf_data_converter/src/quipper/perf_serializer.cc:869: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(event->build_id, from.build_id_hash().c_str(), data/autofdo-0.19/third_party/perf_data_converter/src/quipper/run_command.cc:94: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 devnull_fd = open("/dev/null", O_WRONLY); data/autofdo-0.19/third_party/perf_data_converter/src/quipper/sample_info_reader.cc:442:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(ptr, sample.raw_data, sample.raw_size); data/autofdo-0.19/third_party/perf_data_converter/src/quipper/sample_info_reader.cc:459: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++, &sample.branch_stack->entries[i].flags, data/autofdo-0.19/third_party/perf_data_converter/src/quipper/sample_info_reader_test.cc:175: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 mmap_filename[10 + 6] = "/dev/zero"; data/autofdo-0.19/third_party/perf_data_converter/src/quipper/scoped_temp_path.cc:52: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.data()); data/autofdo-0.19/third_party/perf_data_converter/src/quipper/scoped_temp_path_test.cc:53:14: [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(path_template); data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googlemock/test/gmock-internal-utils_test.cc:460:20: [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). int skip_count = atoi(log.substr(expected_message.size()).c_str()); data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googlemock/test/gmock-more-actions_test.cc:628: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 ch[4] = {}; data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/include/gtest/internal/gtest-port.h:2374:10: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). return fopen(path, mode); data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/samples/sample2.cc:44: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(clone, a_c_string, len + 1); data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/src/gtest-death-test.cc:325:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buffer[256]; data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/src/gtest-death-test.cc:741:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char executable_path[_MAX_PATH + 1]; // NOLINT data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/src/gtest-death-test.cc:1027:22: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). const int cwd_fd = open(".", O_RDONLY); data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/src/gtest-filepath.cc:105:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char cwd[GTEST_PATH_MAX_ + 1] = { '\0' }; data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/src/gtest-filepath.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 cwd[GTEST_PATH_MAX_ + 1] = { '\0' }; data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/src/gtest-port.cc:139:18: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). const int fd = open("/proc/self/as", O_RDONLY); data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/src/gtest-port.cc:865:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(buffer, regex, len); data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/src/gtest-port.cc:938:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char temp_dir_path[MAX_PATH + 1] = { '\0' }; // NOLINT data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/src/gtest-port.cc:939:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char temp_file_path[MAX_PATH + 1] = { '\0' }; // NOLINT data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/src/gtest-port.cc:976:29: [2] (tmpfile) mkstemp: Potential for temporary file vulnerability in some circumstances. Some older Unix-like systems create temp files with permission to write by all by default, so be sure to set the umask to override this. Also, some older Unix systems might fail to use O_EXCL when opening the file, so make sure that O_EXCL is used by the library (CWE-377). const int captured_fd = mkstemp(name_template); data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/src/gtest-printers.cc:65:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char text[5] = ""; data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/src/gtest.cc:862:7: [2] (buffer) MultiByteToWideChar: Requires maximum length in CHARACTERS, not bytes (CWE-120). MultiByteToWideChar(CP_ACP, 0, ansi, length, data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/src/gtest.cc:865:3: [2] (buffer) MultiByteToWideChar: Requires maximum length in CHARACTERS, not bytes (CWE-120). MultiByteToWideChar(CP_ACP, 0, ansi, length, data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/src/gtest.cc:1680:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char error_text[kBufSize] = { '\0' }; data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/src/gtest.cc:1764:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char str[5]; // Big enough for the largest valid code point. data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/test/gtest-filepath_test.cc:371: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 current_drive[_MAX_PATH]; // NOLINT data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/test/gtest-filepath_test.cc:388: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 non_drive[_MAX_PATH]; // NOLINT data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/test/gtest-printers_test.cc:131:32: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. UnprintableInFoo() : z_(0) { memcpy(xy_, "\xEF\x12\x0\x0\x34\xAB\x0\x0", 8); } data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/test/gtest-printers_test.cc:134: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 xy_[8]; data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/test/gtest-printers_test.cc:1132: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 array[257]; data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/test/gtest_unittest.cc:7591: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 a[3] = "hi"; data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/test/gtest_unittest.cc:7675: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 a[2][3] = { "hi", "lo" }; data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/xcode/Samples/FrameworkSample/widget_test.cc:58: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[max_size]; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/benchmarks/generate_datasets.cc:84:10: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). writer.open(fname.c_str()); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/conformance/conformance_test.cc:130: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[VARINT_MAX_LEN]; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/conformance/conformance_test.cc:138: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[VARINT_MAX_LEN]; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/conformance/conformance_test_runner.cc:187: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(executable.get(), executable_.c_str(), executable_.size()); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp:142: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. typedef char UIntToStringBuffer[uintToStringBufferSize]; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp:999: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[18 + 16 + 16 + 1]; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp:1802: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(buffer, token.start_, length); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp:2003: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[18 + 16 + 16 + 1]; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp:2448:23: [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 unsigned char ALIGNAS(8) kNull[sizeof(Value)] = { 0 }; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp:2509: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(newString, value, length); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp:2533: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(newString + sizeof(unsigned), value, length); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp:4108: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[32]; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp:4111: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 formatString[6]; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp:4112:3: [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(formatString, "%%.%dg", precision); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/objectivec/GPBDescriptor_PackagePrivate.h:318:17: [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. typedef char GPBInternalCompileAssertSymbol(__LINE__, msg) [ ((test) ? 1 : -1) ] data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/array.c:191: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 memory[NATIVE_SLOT_MAX_SIZE]; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/def.c:93:3: [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(result, "Entry"); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/def.c:444: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(classname + i, prefix, prefix_len); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/encode_decode.c:67: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(sink->ptr + sink->len, ptr, len); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/encode_decode.c:97:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char allocbuf[STACK_ENV_STACKBYTES]; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/encode_decode.c:106: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 err_msg[100] = ""; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/encode_decode.c:339: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 memory[NATIVE_SLOT_MAX_SIZE]; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/encode_decode.c:435: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 key_storage[NATIVE_SLOT_MAX_SIZE]; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/encode_decode.c:436: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 value_storage[NATIVE_SLOT_MAX_SIZE]; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/encode_decode.c:556: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(to, from, len); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/map.c:271: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 keybuf[TABLE_KEY_BUF_LENGTH]; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/map.c:306: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 keybuf[TABLE_KEY_BUF_LENGTH]; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/map.c:336: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 keybuf[TABLE_KEY_BUF_LENGTH]; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/map.c:395: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 keybuf[TABLE_KEY_BUF_LENGTH]; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/protobuf.h:106:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(LOWWERNAME##_handlers, zend_get_std_object_handlers(), \ data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/protobuf.h:272: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(LOWWERNAME##_handlers, zend_get_std_object_handlers(), \ data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/protobuf.h:771: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 value[NATIVE_SLOT_MAX_SIZE]; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/storage.c:269: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[MAX_LENGTH_OF_INT64]; \ data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/storage.c:270: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(buffer, "%lld", DEREF(memory, c_type)); \ data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/upb.c:11:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char str[1]; /* Null-terminated string data follows. */ data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/upb.c:18:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(ret->str, data, len); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/upb.c:2959: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(attr, &from, sizeof(*attr)); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/upb.c:3076: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(&val, p, size); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/upb.c:3083: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(p, &val, size); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/upb.c:3472: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((char*)val.str.ptr + val.str.len, ptr, size); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/upb.c:3724: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(msg, l->default_msg, l->size); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/upb.c:3730: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(msg, &a, sizeof(a)); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/upb.c:4057: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, &tabval, sizeof(tabval)); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/upb.c:5146: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(sink->ptr + sink->len, ptr, len); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/upb.c:5234: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(p, s, len); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/upb.c:5454: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(str, &k2.str.len, sizeof(uint32_t)); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/upb.c:5455: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(str + sizeof(uint32_t), k2.str.str, k2.str.len + 1); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/upb.c:6107: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(status->msg + sizeof(status->msg) - len, ellipsis, len); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/upb.c:6263: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(ret, ptr, oldsize); /* Preserve existing data. */ data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/upb.c:7397: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(ret, buf, n); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/upb.c:8573: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(&dispatch, p, sizeof(void*)); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/upb.c:9098:15: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). FILE *f = fopen("/tmp/upb-bytecode", "w"); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/upb.c:9104:9: [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). f = fopen("/tmp/upb-bytecode.bin", "wb"); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/upb.c:9484: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(d->residual_end, d->buf_param, d->size_param); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/upb.c:9494: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(d->residual, d->ptr, save); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/upb.c:9508: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, d->ptr, bytes); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/upb.c:9552: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, d->ptr, ret); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/upb.c:9555:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy((char *)buf + ret, d->buf_param, copy); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/upb.c:9564: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, d->ptr, bytes); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/upb.c:9658:49: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. static double as_double(uint64_t n) { double d; memcpy(&d, &n, 8); return d; } data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/upb.c:9659:49: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. static float as_float(uint32_t n) { float f; memcpy(&f, &n, 4); return f; } data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/upb.c:9908: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(&d->top->dispatch, d->pc, sizeof(void*)); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/upb.c:10026: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(&actual, d->ptr, 2); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/upb.c:10041: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(&expected, d->pc, 8); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/upb.c:10442: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(e->ptr, data, len); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/upb.c:10512: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[UPB_PB_VARINT_MAX_LEN]; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/upb.c:10541: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 tag[7]; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/upb.c:10585: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(&ret, &d, sizeof(uint64_t)); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/upb.c:10591: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(&ret, &d, sizeof(uint32_t)); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/upb.c:10911: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 dstbuf[4096], *dst = dstbuf, *dstend = dstbuf + sizeof(dstbuf); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/upb.c:11542: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 output[3]; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/upb.c:11595: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 output[2]; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/upb.c:11697: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(p->accumulate_buf, p->accumulated, p->accumulated_len); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/upb.c:11701: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(p->accumulate_buf + p->accumulated_len, buf, len); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/upb.c:11896: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 utf8[3]; /* support \u0000 -- \uFFFF -- need only three bytes. */ data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/upb.c:13153: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 escape_buf[8]; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/upb.c:13239: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[64]; \ data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/upb.c:13443: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 data[16000]; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/upb.h:467: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 msg[UPB_STATUS_MAX_MESSAGE]; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/upb.h:778: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 initial_block_[N + UPB_ARENA_BLOCK_OVERHEAD]; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/upb.h:790: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 initial_block_[N + UPB_ARENA_BLOCK_OVERHEAD]; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/upb.h:896: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(&val->val, &cval, sizeof(cval)); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/upb.h: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(&val->val, &cval, sizeof(cval)); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/upb.h:948: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. if (len) memcpy(len, mem, sizeof(*len)); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/upb.h:8154: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 residual[UPB_DECODER_MAX_RESIDUAL_BYTES]; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/upb.h:8412: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[UPB_PB_VARINT_MAX_LEN]; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/upb.h:8418: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[UPB_PB_VARINT_MAX_LEN]; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/upb.h:8422: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(&ret, buf, bytes); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/encode_decode.c:42: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(p + oldlen, str, len); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/encode_decode.c:259: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 key_storage[NATIVE_SLOT_MAX_SIZE]; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/encode_decode.c:260: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 value_storage[NATIVE_SLOT_MAX_SIZE]; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/encode_decode.c:725: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 allocbuf[STACK_ENV_STACKBYTES]; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/encode_decode.c:889: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(sink->ptr + sink->len, ptr, len); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/map.c:358: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 keybuf[TABLE_KEY_BUF_LENGTH]; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/map.c:383: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 keybuf[TABLE_KEY_BUF_LENGTH]; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/map.c:413: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 keybuf[TABLE_KEY_BUF_LENGTH]; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/map.c:435: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 keybuf[TABLE_KEY_BUF_LENGTH]; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/repeated_field.c:201: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(self->elements, old_elems, self->size * elem_size); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/repeated_field.c:236: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(memory, data, element_size); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/storage.c:337: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(to, from, native_slot_size(type)); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/storage.c:356: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(to, from, native_slot_size(type)); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:11:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char str[1]; /* Null-terminated string data follows. */ data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:18:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(ret->str, data, len); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:3082: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(attr, &from, sizeof(*attr)); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:3199: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(&val, p, size); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:3206: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(p, &val, size); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:3595: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((char*)val.str.ptr + val.str.len, ptr, size); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:3850: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(msg, l->default_msg, l->size); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:3856: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(msg, &a, sizeof(a)); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:4183: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, &tabval, sizeof(tabval)); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:5272: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(sink->ptr + sink->len, ptr, len); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:5360: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(p, s, len); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:5580: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(str, &k2.str.len, sizeof(uint32_t)); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:5581: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(str + sizeof(uint32_t), k2.str.str, k2.str.len + 1); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:6233: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(status->msg + sizeof(status->msg) - len, ellipsis, len); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:6389: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(ret, ptr, oldsize); /* Preserve existing data. */ data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:7518: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(ret, buf, n); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:8676: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(&dispatch, p, sizeof(void*)); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:9201:15: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). FILE *f = fopen("/tmp/upb-bytecode", "w"); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:9207:9: [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). f = fopen("/tmp/upb-bytecode.bin", "wb"); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:9587: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(d->residual_end, d->buf_param, d->size_param); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:9597: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(d->residual, d->ptr, save); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:9611: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, d->ptr, bytes); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:9655: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, d->ptr, ret); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:9658:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy((char *)buf + ret, d->buf_param, copy); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:9667: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, d->ptr, bytes); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:9761:49: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. static double as_double(uint64_t n) { double d; memcpy(&d, &n, 8); return d; } data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:9762:49: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. static float as_float(uint32_t n) { float f; memcpy(&f, &n, 4); return f; } data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:10011: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(&d->top->dispatch, d->pc, sizeof(void*)); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:10129: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(&actual, d->ptr, 2); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:10144: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(&expected, d->pc, 8); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:10545: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(e->ptr, data, len); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:10615: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[UPB_PB_VARINT_MAX_LEN]; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:10644: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 tag[7]; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:10688: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(&ret, &d, sizeof(uint64_t)); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:10694: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(&ret, &d, sizeof(uint32_t)); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:11014: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 dstbuf[4096], *dst = dstbuf, *dstend = dstbuf + sizeof(dstbuf); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:11645: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 output[3]; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:11698: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 output[2]; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:11800: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(p->accumulate_buf, p->accumulated, p->accumulated_len); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:11804: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(p->accumulate_buf + p->accumulated_len, buf, len); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:11999: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 utf8[3]; /* support \u0000 -- \uFFFF -- need only three bytes. */ data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:13256: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 escape_buf[8]; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:13342: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[64]; \ data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:13546: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 data[16000]; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/upb.h:461: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 msg[UPB_STATUS_MAX_MESSAGE]; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/upb.h:772: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 initial_block_[N + UPB_ARENA_BLOCK_OVERHEAD]; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/upb.h:784: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 initial_block_[N + UPB_ARENA_BLOCK_OVERHEAD]; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/upb.h:890: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(&val->val, &cval, sizeof(cval)); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/upb.h:895: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(&val->val, &cval, sizeof(cval)); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/upb.h:942: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. if (len) memcpy(len, mem, sizeof(*len)); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/upb.h:8132: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 residual[UPB_DECODER_MAX_RESIDUAL_BYTES]; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/upb.h:8390: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[UPB_PB_VARINT_MAX_LEN]; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/upb.h:8396: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[UPB_PB_VARINT_MAX_LEN]; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/upb.h:8400: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(&ret, buf, bytes); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/wrap_memcpy.c:44: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. return memcpy(dest, src, n); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/api.pb.cc:991: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(&request_streaming_, &from.request_streaming_, data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/command_line_interface.cc:206: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[MAX_PATH]; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/command_line_interface.cc:209: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[PATH_MAX]; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/command_line_interface.cc:212: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 dirtybuffer[PATH_MAX]; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/command_line_interface.cc:219: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[PATH_MAX]; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/command_line_interface.cc:465:9: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). open(filename.c_str(), O_WRONLY | O_CREAT | O_TRUNC | O_BINARY, 0666); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/command_line_interface.cc:525:7: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). open(filename.c_str(), O_WRONLY | O_CREAT | O_TRUNC | O_BINARY, 0666); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/command_line_interface.cc:702: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(target_ptr, indent_.data(), indent_.size()); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/command_line_interface.cc:710: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(target_ptr, data_.data() + data_pos, line_length); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/command_line_interface.cc:1605:10: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). fd = open(dependency_out_name_.c_str(), data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/command_line_interface.cc:1826:10: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). fd = open(descriptor_set_name_.c_str(), data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/command_line_interface_unittest.cc:1926:14: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). int fd = open(filename.c_str(), O_RDONLY); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/importer.cc:484:23: [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). file_descriptor = open(filename.c_str(), O_RDONLY); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_helpers.cc:1467:10: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). fd = open(path.c_str(), O_RDONLY); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/php/php_generator.cc:354: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 symbol[16] = { data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/plugin.pb.cc:241: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(&major_, &from.major_, data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/profile.pb.cc:207: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(&getters_count_, &from.getters_count_, data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/subprocess.cc:207: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[4096]; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/subprocess.cc:405: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[4096]; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/descriptor.h:782:16: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const char * const kTypeToName[MAX_TYPE + 1]; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/descriptor.h:784:16: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const char * const kCppTypeToName[MAX_CPPTYPE + 1]; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/descriptor.h:786:16: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const char * const kLabelToName[MAX_LABEL + 1]; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/descriptor.pb.cc:2610: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(&start_, &from.start_, data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/descriptor.pb.cc:2947: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(&start_, &from.start_, data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/descriptor.pb.cc:4368: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(&number_, &from.number_, data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/descriptor.pb.cc:7480: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(&client_streaming_, &from.client_streaming_, data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/descriptor.pb.cc:8305: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(&java_multiple_files_, &from.java_multiple_files_, data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/descriptor.pb.cc:9979: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(&message_set_wire_format_, &from.message_set_wire_format_, data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/descriptor.pb.cc:10525: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(&ctype_, &from.ctype_, data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/descriptor.pb.cc:11494: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(&allow_alias_, &from.allow_alias_, data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/descriptor.pb.cc:12638: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(&deprecated_, &from.deprecated_, data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/descriptor.pb.cc:13499: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(&positive_int_value_, &from.positive_int_value_, data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/descriptor.pb.cc:15339: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(&begin_, &from.begin_, data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/descriptor_database.cc:326: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, encoded_file_descriptor, size); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/duration.pb.cc:166:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. ::memcpy(&seconds_, &from.seconds_, data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/generated_message_util.h:153: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 space[sizeof(T)]; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/coded_stream.cc:702: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(buffer_, data, buffer_size_); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/coded_stream.cc:708: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_, data, size); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/coded_stream.cc:714: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(target, data, size); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/coded_stream.h:963: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(value, buffer, sizeof(*value)); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/coded_stream.h:978: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(value, buffer, sizeof(*value)); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/coded_stream.h:1226: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(target, &value, sizeof(value)); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/coded_stream.h:1239: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(target, &value, sizeof(value)); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/coded_stream_inl.h:61: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(z.first, buffer_, size); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/coded_stream_inl.h:74: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(buffer, buffer_, current_buffer_size); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/coded_stream_inl.h:81: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, buffer_, size); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc:195: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_, kVarintCases_case.bytes, kVarintCases_case.size); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc:210: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_, kVarintCases_case.bytes, kVarintCases_case.size); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc:257: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_ + 1, kVarintCases_case.bytes, kVarintCases_case.size); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc:288: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_, kVarintCases_case.bytes, kVarintCases_case.size); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc:306: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_, kVarintCases_case.bytes, kVarintCases_case.size); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc:441: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_, kVarintErrorCases_case.bytes, kVarintErrorCases_case.size); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc:452: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_, kVarintErrorCases_case.bytes, kVarintErrorCases_case.size); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc:466: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_, kVarintErrorCases_case.bytes, kVarintErrorCases_case.size); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc:477: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_, kVarintErrorCases_case.bytes, kVarintErrorCases_case.size); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc:583: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_, kFixed32Cases_case.bytes, sizeof(kFixed32Cases_case.bytes)); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc:598: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_, kFixed64Cases_case.bytes, sizeof(kFixed64Cases_case.bytes)); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc:647: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_, kFixed32Cases_case.bytes, sizeof(kFixed32Cases_case.bytes)); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc:657: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_, kFixed64Cases_case.bytes, sizeof(kFixed64Cases_case.bytes)); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc:672: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_, kRawBytes, sizeof(kRawBytes)); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc:674: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_buffer[sizeof(kRawBytes)]; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc:703: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_, kRawBytes, sizeof(kRawBytes)); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc:747: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_, kRawBytes, sizeof(kRawBytes)); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc:768: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_, kRawBytes, sizeof(kRawBytes)); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc:786: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_, kRawBytes, sizeof(kRawBytes)); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc:810: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_, kRawBytes, sizeof(kRawBytes)); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc:830: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_, kRawBytes, sizeof(kRawBytes)); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc:847: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_, kRawBytes, sizeof(kRawBytes)); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc:867: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_, kRawBytes, sizeof(kRawBytes)); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc:888: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_, kRawBytes, sizeof(kRawBytes)); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc:910: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_, kRawBytes, sizeof(kRawBytes)); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc:939: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_, kSkipTestBytes, sizeof(kSkipTestBytes)); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc:1376: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_[1024]; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/printer.cc:329: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(buffer_, data, buffer_size_); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/printer.cc:340: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_, data, size); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/printer_unittest.cc:56: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[8192]; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/printer_unittest.cc:64: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[8192]; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/printer_unittest.cc:89: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[8192]; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/printer_unittest.cc:117: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[8192]; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/printer_unittest.cc:153: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[8192]; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/printer_unittest.cc:208: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[8192]; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/printer_unittest.cc:251: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[8192]; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/printer_unittest.cc:291: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[8192]; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/printer_unittest.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 buffer[8192]; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/printer_unittest.cc:340: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[8192]; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/printer_unittest.cc:364: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[8192]; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/printer_unittest.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 buffer[8192]; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/printer_unittest.cc:428: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[8192]; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/printer_unittest.cc:443: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[8192]; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/printer_unittest.cc:458: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[8192]; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/printer_unittest.cc:475: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[17]; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/printer_unittest.cc:499: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[16]; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/strtod.cc:61: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 temp[16]; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/strtod.cc:62:14: [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. int size = sprintf(temp, "%.1f", 1.5); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl_lite.cc:235: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 junk[4096]; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc:151: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(out, in, in_size); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.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(out, in, out_size); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc:186: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(out, in, out_size); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc:193: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, in, in_size); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc:727:9: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). open(filename.c_str(), O_RDWR | O_CREAT | O_TRUNC | O_BINARY, 0777); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc:758:9: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). open(filename.c_str(), O_RDWR | O_CREAT | O_TRUNC | O_BINARY, 0777); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/message_unittest.cc:114: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 file = open(filename.c_str(), O_RDONLY | O_BINARY); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/message_unittest.cc:127: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 file = open(filename.c_str(), O_RDONLY | O_BINARY); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/repeated_field.cc:73:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(rep_->elements, old_rep->elements, data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/repeated_field.h:1402:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(to, from, array_size * sizeof(Element)); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/atomicops_internals_x86_gcc.cc:86: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 vendor[13]; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/atomicops_internals_x86_gcc.cc:87: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(vendor, &ebx, 4); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/atomicops_internals_x86_gcc.cc:88: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(vendor + 4, &edx, 4); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/atomicops_internals_x86_gcc.cc:89: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(vendor + 8, &ecx, 4); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/bytestream.cc:61:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(dest_, data, n); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/bytestream.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(outbuf_ + size_, bytes, n); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/bytestream.cc:107:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(buf_ + size_, bytes, n); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/bytestream.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(bigger, buf_, size_); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/bytestream.cc:135:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(just_enough, buf_, size_); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/common.cc:97:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buffer[128]; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/common.cc:230: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[128]; \ data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/fastmem.h:128:14: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. case 1: memcpy(dst, src, 1); break; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/fastmem.h:129:14: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. case 2: memcpy(dst, src, 2); break; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/fastmem.h:130:14: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. case 3: memcpy(dst, src, 3); break; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/fastmem.h:131:14: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. case 4: memcpy(dst, src, 4); break; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/fastmem.h:132:14: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. case 5: memcpy(dst, src, 5); break; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/fastmem.h:133:14: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. case 6: memcpy(dst, src, 6); break; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/fastmem.h:134:14: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. case 7: memcpy(dst, src, 7); break; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/fastmem.h:135:14: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. case 8: memcpy(dst, src, 8); break; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/fastmem.h:136:14: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. case 9: memcpy(dst, src, 9); break; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/fastmem.h:137:14: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. case 10: memcpy(dst, src, 10); break; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/fastmem.h:138:14: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. case 11: memcpy(dst, src, 11); break; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/fastmem.h:139:14: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. case 12: memcpy(dst, src, 12); break; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/fastmem.h:140:14: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. case 13: memcpy(dst, src, 13); break; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/fastmem.h:141:14: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. case 14: memcpy(dst, src, 14); break; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/fastmem.h:142:14: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. case 15: memcpy(dst, src, 15); break; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/fastmem.h:143:14: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. case 16: memcpy(dst, src, 16); break; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/fastmem.h:144:14: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. default: memcpy(dst, src, size); break; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/port.h:270: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(&t, p, sizeof t); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/port.h:276: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(&t, p, sizeof t); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/port.h:282: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(&t, p, sizeof t); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/port.h:287: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(p, &v, sizeof v); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/port.h:291: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(p, &v, sizeof v); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/port.h:295: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(p, &v, sizeof v); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/stringpiece.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(buf, ptr_ + pos, ret); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/stringpiece_unittest.cc:284: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[4] = { '%', '%', '%', '%' }; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/stringprintf.cc:58:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char space[kSpaceLength]; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/stringprintf.cc:138:14: [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 string_printf_empty_block[256] = { '\0' }; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/stringprintf_unittest.cc:112: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 + n - 3, kInvalidCodePoint, 4); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/structurally_valid.cc:295:23: [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 unsigned char utf8acceptnonsurrogates_fast[256] = { data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/strutil.cc:546:10: [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 char c_escaped_len[256] = { data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/strutil.cc:960:14: [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 two_ASCII_digits[100][2] = { data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/strutil.cc:1133: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[kFastToBufferSize]; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/strutil.cc:1140: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[kFastToBufferSize]; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/strutil.cc:1147: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[kFastToBufferSize]; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/strutil.cc:1154: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[kFastToBufferSize]; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/strutil.cc:1161: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[kFastToBufferSize]; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/strutil.cc:1168: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[kFastToBufferSize]; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/strutil.cc:1216: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[kDoubleToBufferSize]; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/strutil.cc:1221: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[kFloatToBufferSize]; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/strutil.cc:1266: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(buffer, "inf"); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/strutil.cc:1269: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(buffer, "-inf"); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/strutil.cc:1272: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(buffer, "nan"); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/strutil.cc:1384: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(buffer, "inf"); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/strutil.cc:1387: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(buffer, "-inf"); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/strutil.cc:1390: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(buffer, "nan"); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/strutil.cc:1448: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(out, x.data(), x.size()); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/strutil.cc:1453: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(out, x1.data(), x1.size()); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/strutil.cc:1456: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(out, x2.data(), x2.size()); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/strutil.cc:1463: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(out, x1.data(), x1.size()); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/strutil.cc:1466: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(out, x2.data(), x2.size()); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/strutil.cc:1469: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(out, x3.data(), x3.size()); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/strutil.cc:1472: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(out, x4.data(), x4.size()); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/strutil.cc:2278: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(output, reinterpret_cast<const char*>(&tmp) + sizeof(tmp) - len, len); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/strutil.cc:2283:23: [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 unsigned char kUTF8LenTbl[256] = { data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/strutil.h:617: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 digits[kFastToBufferSize]; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/strutil_unittest.cc:440: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 encode_buffer[100]; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/strutil_unittest.cc:442: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 decode_buffer[100]; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/strutil_unittest.cc:579: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 websafe[100]; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/substitute.cc:119: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(target, src->data(), src->size()); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/substitute.h:135: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 scratch_[kFastToBufferSize]; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/template_util.h:62: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 dummy[2]; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/testing/file.cc:66: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[1024]; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/testing/file.cc:67: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(name.c_str(), "rb"); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/testing/file.cc:86: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(name.c_str(), "wb"); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/testing/file.cc:105: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(name.c_str(), "wb"); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/testing/googletest.cc:111: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 b[L_tmpnam + 1]; // HPUX multithread return 0 if s is 0 data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/testing/googletest.cc:174: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(stdout_capture_filename_.c_str(), data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/testing/googletest.cc:189: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(stderr_capture_filename_.c_str(), data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/text_format.cc:1244: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(buffer_, data, buffer_size_); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/text_format.cc:1254: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(buffer_, data, size); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/text_format_unittest.cc:403: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[1] = ""; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/timestamp.pb.cc:166:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. ::memcpy(&seconds_, &from.seconds_, data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/type.pb.cc:1201: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(&kind_, &from.kind_, data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/internal/json_escaping.cc:52:14: [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 kCommonEscapes[160][7] = { data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/internal/json_escaping.cc:312: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[12] = "\\udead\\ubee"; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/internal/json_stream_parser.cc:466:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[UTFmax]; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/json_util.cc:59: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(buffer_, bytes, len); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/json_util.cc:64: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(buffer_, bytes, buffer_size_); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/json_util_test.cc:379: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[kOutputBufferLength]; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/wire_format_lite_inl.h:699: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(target, ii, bytes); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/third_party/benchmark/src/sysinfo.cc:74: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(file, O_RDONLY); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/third_party/benchmark/src/sysinfo.cc:76: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 line[1024]; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/third_party/benchmark/src/sysinfo.cc:93:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char line[1024]; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/third_party/benchmark/src/sysinfo.cc:126: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(pname, O_RDONLY); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/third_party/benchmark/src/sysinfo.cc:321:18: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). cputime_fd = open("/proc/self/cputime_ns", O_RDONLY); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/third_party/benchmark/src/sysinfo.cc:327: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 buff[64]; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/third_party/benchmark/src/sysinfo.cc:409: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* file = fopen(governor_file.c_str(), "r"); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/third_party/benchmark/src/sysinfo.cc:411: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[16]; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/third_party/benchmark/src/walltime.cc:83: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(&w, &f, sizeof(f)); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/third_party/benchmark/src/walltime.cc:230: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 storage[128]; data/autofdo-0.19/third_party/protobuf/conformance/conformance_test.cc:132: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[VARINT_MAX_LEN]; data/autofdo-0.19/third_party/protobuf/conformance/conformance_test.cc:140: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[VARINT_MAX_LEN]; data/autofdo-0.19/third_party/protobuf/conformance/conformance_test_runner.cc:186: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(executable.get(), executable_.c_str(), executable_.size()); data/autofdo-0.19/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp:142: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. typedef char UIntToStringBuffer[uintToStringBufferSize]; data/autofdo-0.19/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp:999: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[18 + 16 + 16 + 1]; data/autofdo-0.19/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp:1802: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(buffer, token.start_, length); data/autofdo-0.19/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp:2003: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[18 + 16 + 16 + 1]; data/autofdo-0.19/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp:2448:23: [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 unsigned char ALIGNAS(8) kNull[sizeof(Value)] = { 0 }; data/autofdo-0.19/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp:2509: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(newString, value, length); data/autofdo-0.19/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp:2533: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(newString + sizeof(unsigned), value, length); data/autofdo-0.19/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp:4108: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[32]; data/autofdo-0.19/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp:4111: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 formatString[6]; data/autofdo-0.19/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp:4112:3: [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(formatString, "%%.%dg", precision); data/autofdo-0.19/third_party/protobuf/objectivec/GPBDescriptor_PackagePrivate.h:314:17: [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. typedef char GPBInternalCompileAssertSymbol(__LINE__, msg) [ ((test) ? 1 : -1) ] data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/array.c:186: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 memory[NATIVE_SLOT_MAX_SIZE]; data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/def.c:105:3: [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(result, "Entry"); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/def.c:484: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 error_msg[100]; data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/def.c:504: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 error_msg[100]; data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/def.c:819: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(classname + i, prefix, prefix_len); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/encode_decode.c:67: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(sink->ptr + sink->len, ptr, len); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/encode_decode.c:97:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char allocbuf[STACK_ENV_STACKBYTES]; data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/encode_decode.c:106: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 err_msg[100] = ""; data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/encode_decode.c:368: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 memory[NATIVE_SLOT_MAX_SIZE]; data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/encode_decode.c:464: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 key_storage[NATIVE_SLOT_MAX_SIZE]; data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/encode_decode.c:465: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 value_storage[NATIVE_SLOT_MAX_SIZE]; data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/encode_decode.c:585: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(to, from, len); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/map.c:275: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 keybuf[TABLE_KEY_BUF_LENGTH]; data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/map.c:343: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 keybuf[TABLE_KEY_BUF_LENGTH]; data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/map.c:368: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 keybuf[TABLE_KEY_BUF_LENGTH]; data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/map.c:427: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 keybuf[TABLE_KEY_BUF_LENGTH]; data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/message.c:1193: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 formated_time[50]; data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/protobuf.h:155:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(LOWWERNAME##_handlers, zend_get_std_object_handlers(), \ data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/protobuf.h:421: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(LOWWERNAME##_handlers, zend_get_std_object_handlers(), \ data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/protobuf.h:1157: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 value[NATIVE_SLOT_MAX_SIZE]; data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/storage.c:320: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[MAX_LENGTH_OF_INT64]; \ data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/storage.c:321: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(buffer, "%lld", DEREF(memory, c_type)); \ data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.c:1983: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(val, *ptr, 8); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.c:1991: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(val, *ptr, 4); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.c:2027: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((char*)msg + ofs, &val, sizeof(val)); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.c:2204: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(field_mem, &val, sizeof(val)); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.c:2210: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(field_mem, &val32, sizeof(val32)); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.c:2215: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(field_mem, &valbool, sizeof(valbool)); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.c:2220: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(field_mem, &decoded, sizeof(decoded)); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.c:2225: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(field_mem, &decoded, sizeof(decoded)); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.c:2250: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(field_mem, &val, sizeof(val)); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.c:2274: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(field_mem, &val, sizeof(val)); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.c:2292: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(field_mem, data.data, data.size); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.c:2313: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(field_mem, &decoded, sizeof(ctype)); \ data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.c:2323: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(field_mem, &val, sizeof(val)); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.c:2395: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(field_mem, &val, sizeof(val)); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.c:2513:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char str[1]; /* Null-terminated string data follows. */ data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.c:2520: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(ret->str, data, len); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.c:4951: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(e->ptr, data, len); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.c:4979: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(&u64, &d, sizeof(uint64_t)); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.c:4986: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(&u32, &d, sizeof(uint32_t)); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.c:5888: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(attr, &from, sizeof(*attr)); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.c:6006: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(&val, p, size); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.c:6013: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(p, &val, size); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.c:6420: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((char*)val.str.data + val.str.size, ptr, size); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.c:6676: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(msg, l->data.default_msg, l->data.size); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.c:6972: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, &tabval, sizeof(tabval)); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.c:8061: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(sink->ptr + sink->len, ptr, len); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.c:8149: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(p, s, len); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.c:8369: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(str, &k2.str.len, sizeof(uint32_t)); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.c:8370: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(str + sizeof(uint32_t), k2.str.str, k2.str.len + 1); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.c:9022: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(status->msg + sizeof(status->msg) - len, ellipsis, len); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.c:9178: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(ret, ptr, oldsize); /* Preserve existing data. */ data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.c:10317: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(ret, buf, n); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.c:11542: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(&dispatch, p, sizeof(void*)); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.c:12067:15: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). FILE *f = fopen("/tmp/upb-bytecode", "w"); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.c:12073:9: [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). f = fopen("/tmp/upb-bytecode.bin", "wb"); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.c:12453: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(d->residual_end, d->buf_param, d->size_param); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.c:12463: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(d->residual, d->ptr, save); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.c:12477: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, d->ptr, bytes); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.c:12521: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, d->ptr, ret); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.c:12524:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy((char *)buf + ret, d->buf_param, copy); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.c:12533: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, d->ptr, bytes); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.c:12627:49: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. static double as_double(uint64_t n) { double d; memcpy(&d, &n, 8); return d; } data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.c:12628:49: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. static float as_float(uint32_t n) { float f; memcpy(&f, &n, 4); return f; } data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.c:12878: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(&d->top->dispatch, d->pc, sizeof(void*)); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.c:12996: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(&actual, d->ptr, 2); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.c:13011: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(&expected, d->pc, 8); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.c:13412: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(e->ptr, data, len); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.c:13482: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[UPB_PB_VARINT_MAX_LEN]; data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.c:13511: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 tag[7]; data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.c:13555: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(&ret, &d, sizeof(uint64_t)); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.c:13561: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(&ret, &d, sizeof(uint32_t)); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.c:13888: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 dstbuf[4096], *dst = dstbuf, *dstend = dstbuf + sizeof(dstbuf); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.c:14469: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 output[3]; data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.c:14522: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 output[2]; data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.c:14624: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(p->accumulate_buf, p->accumulated, p->accumulated_len); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.c:14628: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(p->accumulate_buf + p->accumulated_len, buf, len); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.c:14823: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 utf8[3]; /* support \u0000 -- \uFFFF -- need only three bytes. */ data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.c:16145: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 escape_buf[8]; data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.c:16244: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[64]; \ data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.c:16448: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 data[16000]; data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.h:516: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 msg[UPB_STATUS_MAX_MESSAGE]; data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.h:827: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 initial_block_[N + UPB_ARENA_BLOCK_OVERHEAD]; data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.h:839: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 initial_block_[N + UPB_ARENA_BLOCK_OVERHEAD]; data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.h:945: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(&val->val, &cval, sizeof(cval)); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.h:950: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(&val->val, &cval, sizeof(cval)); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.h:997: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. if (len) memcpy(len, mem, sizeof(*len)); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.h:8929: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 residual[UPB_DECODER_MAX_RESIDUAL_BYTES]; data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.h:9161: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[UPB_PB_VARINT_MAX_LEN]; data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.h:9167: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[UPB_PB_VARINT_MAX_LEN]; data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.h:9171: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(&ret, buf, bytes); data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/encode_decode.c:42: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(p + oldlen, str, len); data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/encode_decode.c: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(sink->ptr + sink->len, ptr, len); data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/encode_decode.c:309: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 key_storage[NATIVE_SLOT_MAX_SIZE]; data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/encode_decode.c:310: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 value_storage[NATIVE_SLOT_MAX_SIZE]; data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/encode_decode.c:783: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 allocbuf[STACK_ENV_STACKBYTES]; data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/map.c:366: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 keybuf[TABLE_KEY_BUF_LENGTH]; data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/map.c:391: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 keybuf[TABLE_KEY_BUF_LENGTH]; data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/map.c:421: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 keybuf[TABLE_KEY_BUF_LENGTH]; data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/map.c:443: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 keybuf[TABLE_KEY_BUF_LENGTH]; data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/repeated_field.c:201: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(self->elements, old_elems, self->size * elem_size); data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/repeated_field.c:236: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(memory, data, element_size); data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/storage.c:348: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(to, from, native_slot_size(type)); data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/storage.c:367: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(to, from, native_slot_size(type)); data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c: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(val, *ptr, 8); data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:92: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(val, *ptr, 4); data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:128: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((char*)msg + ofs, &val, sizeof(val)); data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:304: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(field_mem, &val, sizeof(val)); data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:310: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(field_mem, &val32, sizeof(val32)); data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:315: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(field_mem, &valbool, sizeof(valbool)); data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:320: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(field_mem, &decoded, sizeof(decoded)); data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:325: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(field_mem, &decoded, sizeof(decoded)); data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:350: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(field_mem, &val, sizeof(val)); data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:374: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(field_mem, &val, sizeof(val)); data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:392: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(field_mem, data.data, data.size); data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:413: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(field_mem, &decoded, sizeof(ctype)); \ data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:423: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(field_mem, &val, sizeof(val)); data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:473: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(field_mem, &val, sizeof(val)); data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:590:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char str[1]; /* Null-terminated string data follows. */ data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:597: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(ret->str, data, len); data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:3028: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(e->ptr, data, len); data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:3056: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(&u64, &d, sizeof(uint64_t)); data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:3063: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(&u32, &d, sizeof(uint32_t)); data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:3957: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(attr, &from, sizeof(*attr)); data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:4075: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(&val, p, size); data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:4082: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(p, &val, size); data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:4481: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((char*)val.str.data + val.str.size, ptr, size); data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:4737: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(msg, l->data.default_msg, l->data.size); data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:5033: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, &tabval, sizeof(tabval)); data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:6122: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(sink->ptr + sink->len, ptr, len); data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:6210: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(p, s, len); data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:6430: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(str, &k2.str.len, sizeof(uint32_t)); data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:6431: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(str + sizeof(uint32_t), k2.str.str, k2.str.len + 1); data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:7083: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(status->msg + sizeof(status->msg) - len, ellipsis, len); data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:7239: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(ret, ptr, oldsize); /* Preserve existing data. */ data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:8378: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(ret, buf, n); data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:9603: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(&dispatch, p, sizeof(void*)); data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:10128:15: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). FILE *f = fopen("/tmp/upb-bytecode", "w"); data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:10134:9: [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). f = fopen("/tmp/upb-bytecode.bin", "wb"); data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:10514: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(d->residual_end, d->buf_param, d->size_param); data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:10524: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(d->residual, d->ptr, save); data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:10538: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, d->ptr, bytes); data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:10582: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, d->ptr, ret); data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:10585:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy((char *)buf + ret, d->buf_param, copy); data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:10594: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, d->ptr, bytes); data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:10688:49: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. static double as_double(uint64_t n) { double d; memcpy(&d, &n, 8); return d; } data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:10689:49: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. static float as_float(uint32_t n) { float f; memcpy(&f, &n, 4); return f; } data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:10939: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(&d->top->dispatch, d->pc, sizeof(void*)); data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:11057: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(&actual, d->ptr, 2); data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:11072: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(&expected, d->pc, 8); data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:11473: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(e->ptr, data, len); data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:11543: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[UPB_PB_VARINT_MAX_LEN]; data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:11572: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 tag[7]; data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:11616: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(&ret, &d, sizeof(uint64_t)); data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:11622: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(&ret, &d, sizeof(uint32_t)); data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:11949: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 dstbuf[4096], *dst = dstbuf, *dstend = dstbuf + sizeof(dstbuf); data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:12530: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 output[3]; data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:12583: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 output[2]; data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:12685: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(p->accumulate_buf, p->accumulated, p->accumulated_len); data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:12689: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(p->accumulate_buf + p->accumulated_len, buf, len); data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:12884: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 utf8[3]; /* support \u0000 -- \uFFFF -- need only three bytes. */ data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:14206: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 escape_buf[8]; data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:14305: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[64]; \ data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:14509: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 data[16000]; data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.h:409: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 msg[UPB_STATUS_MAX_MESSAGE]; data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.h:720: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 initial_block_[N + UPB_ARENA_BLOCK_OVERHEAD]; data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.h:732: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 initial_block_[N + UPB_ARENA_BLOCK_OVERHEAD]; data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.h:938: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(&val->val, &cval, sizeof(cval)); data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.h:943: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(&val->val, &cval, sizeof(cval)); data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.h:990: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. if (len) memcpy(len, mem, sizeof(*len)); data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.h:8274: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 residual[UPB_DECODER_MAX_RESIDUAL_BYTES]; data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.h:8506: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[UPB_PB_VARINT_MAX_LEN]; data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.h:8512: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[UPB_PB_VARINT_MAX_LEN]; data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.h:8516: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(&ret, buf, bytes); data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/wrap_memcpy.c:44: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. return memcpy(dest, src, n); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/api.pb.cc:792: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(&request_streaming_, &from.request_streaming_, data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/command_line_interface.cc:106:42: [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). using google::protobuf::internal::win32::open; data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/command_line_interface.cc:191: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[MAX_PATH]; data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/command_line_interface.cc:194: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[PATH_MAX]; data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/command_line_interface.cc:197: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 dirtybuffer[PATH_MAX]; data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/command_line_interface.cc:204: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[PATH_MAX]; data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/command_line_interface.cc:478:9: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). open(filename.c_str(), O_WRONLY | O_CREAT | O_TRUNC | O_BINARY, 0666); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/command_line_interface.cc:538:7: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). open(filename.c_str(), O_WRONLY | O_CREAT | O_TRUNC | O_BINARY, 0666); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/command_line_interface.cc:755: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(target_ptr, indent_.data(), indent_.size()); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/command_line_interface.cc:763: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(target_ptr, data_.data() + data_pos, line_length); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/command_line_interface.cc:999: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(descriptor_set_in_names_[i].c_str(), O_RDONLY | O_BINARY); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/command_line_interface.cc:1856:10: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). fd = open(dependency_out_name_.c_str(), data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/command_line_interface.cc:2081:10: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). fd = open(descriptor_set_out_name_.c_str(), data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/command_line_interface_unittest.cc:77:42: [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). using google::protobuf::internal::win32::open; data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/command_line_interface_unittest.cc:2258:14: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). int fd = open(filename.c_str(), O_RDONLY); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/importer.cc:70:42: [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). using google::protobuf::internal::win32::open; data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/importer.cc:485:23: [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). file_descriptor = open(filename.c_str(), O_RDONLY); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_helpers.cc:66:44: [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). using ::google::protobuf::internal::win32::open; data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_helpers.cc:68:9: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). using ::open; data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_helpers.cc:1477: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). fd = posix::open(path.c_str(), O_RDONLY); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/php/php_generator.cc:515: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 symbol[16] = { data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/plugin.pb.cc:273: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(&major_, &from.major_, data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/subprocess.cc:217: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[4096]; data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/subprocess.cc:414: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[4096]; data/autofdo-0.19/third_party/protobuf/src/google/protobuf/descriptor.h:795:16: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const char * const kTypeToName[MAX_TYPE + 1]; data/autofdo-0.19/third_party/protobuf/src/google/protobuf/descriptor.h:797:16: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const char * const kCppTypeToName[MAX_CPPTYPE + 1]; data/autofdo-0.19/third_party/protobuf/src/google/protobuf/descriptor.h:799:16: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const char * const kLabelToName[MAX_LABEL + 1]; data/autofdo-0.19/third_party/protobuf/src/google/protobuf/descriptor.pb.cc:2614: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(&start_, &from.start_, data/autofdo-0.19/third_party/protobuf/src/google/protobuf/descriptor.pb.cc:2967: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(&start_, &from.start_, data/autofdo-0.19/third_party/protobuf/src/google/protobuf/descriptor.pb.cc:4350: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(&number_, &from.number_, data/autofdo-0.19/third_party/protobuf/src/google/protobuf/descriptor.pb.cc:5423: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(&start_, &from.start_, data/autofdo-0.19/third_party/protobuf/src/google/protobuf/descriptor.pb.cc:7062: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(&client_streaming_, &from.client_streaming_, data/autofdo-0.19/third_party/protobuf/src/google/protobuf/descriptor.pb.cc:7634: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(&cc_enable_arenas_, &from.cc_enable_arenas_, data/autofdo-0.19/third_party/protobuf/src/google/protobuf/descriptor.pb.cc:8734: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(&message_set_wire_format_, &from.message_set_wire_format_, data/autofdo-0.19/third_party/protobuf/src/google/protobuf/descriptor.pb.cc:9178: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(&ctype_, &from.ctype_, data/autofdo-0.19/third_party/protobuf/src/google/protobuf/descriptor.pb.cc:9994: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(&allow_alias_, &from.allow_alias_, data/autofdo-0.19/third_party/protobuf/src/google/protobuf/descriptor.pb.cc:11024: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(&deprecated_, &from.deprecated_, data/autofdo-0.19/third_party/protobuf/src/google/protobuf/descriptor.pb.cc:11767: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(&positive_int_value_, &from.positive_int_value_, data/autofdo-0.19/third_party/protobuf/src/google/protobuf/descriptor.pb.cc:13105: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(&begin_, &from.begin_, data/autofdo-0.19/third_party/protobuf/src/google/protobuf/descriptor_database.cc:327: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, encoded_file_descriptor, size); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/duration.pb.cc:145: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(&seconds_, &from.seconds_, data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/coded_stream.cc:682: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(buffer_, data, buffer_size_); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/coded_stream.cc:688: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_, data, size); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/coded_stream.cc:694: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(target, data, size); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/coded_stream.h:946: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(value, buffer, sizeof(*value)); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/coded_stream.h:961: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(value, buffer, sizeof(*value)); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/coded_stream.h:1172: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(target, &value, sizeof(value)); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/coded_stream.h:1185: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(target, &value, sizeof(value)); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/coded_stream_inl.h:61: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(z.first, buffer_, size); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/coded_stream_inl.h:74: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(buffer, buffer_, current_buffer_size); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/coded_stream_inl.h:81: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, buffer_, size); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc:192: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_, kVarintCases_case.bytes, kVarintCases_case.size); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc:207: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_, kVarintCases_case.bytes, kVarintCases_case.size); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc:254: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_ + 1, kVarintCases_case.bytes, kVarintCases_case.size); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc:285: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_, kVarintCases_case.bytes, kVarintCases_case.size); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc:303: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_, kVarintCases_case.bytes, kVarintCases_case.size); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc:438: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_, kVarintErrorCases_case.bytes, kVarintErrorCases_case.size); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc:449: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_, kVarintErrorCases_case.bytes, kVarintErrorCases_case.size); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc:463: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_, kVarintErrorCases_case.bytes, kVarintErrorCases_case.size); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc:474: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_, kVarintErrorCases_case.bytes, kVarintErrorCases_case.size); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc:580: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_, kFixed32Cases_case.bytes, sizeof(kFixed32Cases_case.bytes)); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc:595: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_, kFixed64Cases_case.bytes, sizeof(kFixed64Cases_case.bytes)); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc:644: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_, kFixed32Cases_case.bytes, sizeof(kFixed32Cases_case.bytes)); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc:654: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_, kFixed64Cases_case.bytes, sizeof(kFixed64Cases_case.bytes)); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc:669: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_, kRawBytes, sizeof(kRawBytes)); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc:671: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_buffer[sizeof(kRawBytes)]; data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc:700: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_, kRawBytes, sizeof(kRawBytes)); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc:744: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_, kRawBytes, sizeof(kRawBytes)); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc:765: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_, kRawBytes, sizeof(kRawBytes)); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc:783: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_, kRawBytes, sizeof(kRawBytes)); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc:807: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_, kRawBytes, sizeof(kRawBytes)); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc:827: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_, kRawBytes, sizeof(kRawBytes)); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc:844: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_, kRawBytes, sizeof(kRawBytes)); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc:864: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_, kRawBytes, sizeof(kRawBytes)); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc:885: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_, kRawBytes, sizeof(kRawBytes)); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc:907: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_, kRawBytes, sizeof(kRawBytes)); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc:936: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_, kSkipTestBytes, sizeof(kSkipTestBytes)); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc:1373: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_[1024]; data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/printer.cc:353: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(buffer_, data, buffer_size_); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/printer.cc:364: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_, data, size); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/printer_unittest.cc:56: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[8192]; data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/printer_unittest.cc:64: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[8192]; data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/printer_unittest.cc:89: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[8192]; data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/printer_unittest.cc:117: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[8192]; data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/printer_unittest.cc:153: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[8192]; data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/printer_unittest.cc:208: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[8192]; data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/printer_unittest.cc:251: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[8192]; data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/printer_unittest.cc:291: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[8192]; data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/printer_unittest.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 buffer[8192]; data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/printer_unittest.cc:340: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[8192]; data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/printer_unittest.cc:364: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[8192]; data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/printer_unittest.cc:413: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[8192]; data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/printer_unittest.cc:441: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[8192]; data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/printer_unittest.cc:494: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[8192]; data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/printer_unittest.cc:505: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[8192]; data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/printer_unittest.cc:520: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[8192]; data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/printer_unittest.cc:535: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[8192]; data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/printer_unittest.cc:552: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[17]; data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/printer_unittest.cc:576: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[16]; data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/strtod.cc:61: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 temp[16]; data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/strtod.cc:62:14: [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. int size = sprintf(temp, "%.1f", 1.5); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl.cc:63:42: [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). using google::protobuf::internal::win32::open; data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl_lite.cc:200: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 junk[4096]; data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc:87:42: [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). using google::protobuf::internal::win32::open; data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc:153: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(out, in, in_size); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc:158: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, in, out_size); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc:188: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(out, in, out_size); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc:195:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(out, in, in_size); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc:729:9: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). open(filename.c_str(), O_RDWR | O_CREAT | O_TRUNC | O_BINARY, 0777); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc:760:9: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). open(filename.c_str(), O_RDWR | O_CREAT | O_TRUNC | O_BINARY, 0777); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/message_lite.h:123: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 space[sizeof(T)]; data/autofdo-0.19/third_party/protobuf/src/google/protobuf/repeated_field.cc:73:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(rep_->elements, old_rep->elements, data/autofdo-0.19/third_party/protobuf/src/google/protobuf/repeated_field.h:1426:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(to, from, static_cast<size_t>(array_size) * sizeof(Element)); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/bytestream.cc:61:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(dest_, data, n); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/bytestream.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(outbuf_ + size_, bytes, n); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/bytestream.cc:107:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(buf_ + size_, bytes, n); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/bytestream.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(bigger, buf_, size_); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/bytestream.cc:135:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(just_enough, buf_, size_); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/common.cc:98: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[128]; data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/common.cc:231: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[128]; \ data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/fastmem.h:129:14: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. case 1: memcpy(dst, src, 1); break; data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/fastmem.h:130:14: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. case 2: memcpy(dst, src, 2); break; data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/fastmem.h:131:14: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. case 3: memcpy(dst, src, 3); break; data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/fastmem.h:132:14: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. case 4: memcpy(dst, src, 4); break; data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/fastmem.h:133:14: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. case 5: memcpy(dst, src, 5); break; data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/fastmem.h:134:14: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. case 6: memcpy(dst, src, 6); break; data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/fastmem.h:135:14: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. case 7: memcpy(dst, src, 7); break; data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/fastmem.h:136:14: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. case 8: memcpy(dst, src, 8); break; data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/fastmem.h:137:14: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. case 9: memcpy(dst, src, 9); break; data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/fastmem.h:138:14: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. case 10: memcpy(dst, src, 10); break; data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/fastmem.h:139:14: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. case 11: memcpy(dst, src, 11); break; data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/fastmem.h:140:14: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. case 12: memcpy(dst, src, 12); break; data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/fastmem.h:141:14: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. case 13: memcpy(dst, src, 13); break; data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/fastmem.h:142:14: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. case 14: memcpy(dst, src, 14); break; data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/fastmem.h:143:14: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. case 15: memcpy(dst, src, 15); break; data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/fastmem.h:144:14: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. case 16: memcpy(dst, src, 16); break; data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/fastmem.h:145:14: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. default: memcpy(dst, src, size); break; data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/io_win32.cc:250:5: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). int open(const char* path, int flags, int mode) { data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/io_win32.cc:315:7: [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* fopen(const char* path, const char* mode) { data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/io_win32.cc:333:12: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). return ::fopen(path, mode); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/io_win32.cc:389:7: [2] (buffer) MultiByteToWideChar: Requires maximum length in CHARACTERS, not bytes (CWE-120). MultiByteToWideChar(inUtf8 ? CP_UTF8 : CP_ACP, 0, s, -1, NULL, 0); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/io_win32.cc:394:3: [2] (buffer) MultiByteToWideChar: Requires maximum length in CHARACTERS, not bytes (CWE-120). MultiByteToWideChar( data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/io_win32.h:60:26: [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). LIBPROTOBUF_EXPORT FILE* fopen(const char* path, const char* mode); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/io_win32.h:67:24: [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). LIBPROTOBUF_EXPORT int open(const char* path, int flags, int mode = 0); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/io_win32_unittest.cc:277: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(file.c_str(), O_CREAT | O_WRONLY, 0644); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/io_win32_unittest.cc:317: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(file.c_str(), O_CREAT | O_WRONLY, 0644); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/io_win32_unittest.cc:325:13: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). ASSERT_EQ(open("c:bad.txt", O_CREAT | O_WRONLY, 0644), -1); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/io_win32_unittest.cc:327:13: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). ASSERT_EQ(open("/tmp/bad.txt", O_CREAT | O_WRONLY, 0644), -1); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/io_win32_unittest.cc:329:13: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). ASSERT_EQ(open("\\bad.txt", O_CREAT | O_WRONLY, 0644), -1); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/port.h:329: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(&t, p, sizeof t); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/port.h:335: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(&t, p, sizeof t); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/port.h:341: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(&t, p, sizeof t); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/port.h:346: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(p, &v, sizeof v); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/port.h:350: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(p, &v, sizeof v); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/port.h:354: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(p, &v, sizeof v); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/stringpiece.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(buf, ptr_ + pos, ret); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/stringpiece_unittest.cc:284: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[4] = { '%', '%', '%', '%' }; data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/stringprintf.cc:58:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char space[kSpaceLength]; data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/stringprintf.cc:138:14: [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 string_printf_empty_block[256] = { '\0' }; data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/stringprintf_unittest.cc:112: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 + n - 3, kInvalidCodePoint, 4); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/structurally_valid.cc:324:23: [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 unsigned char utf8acceptnonsurrogates_fast[256] = { data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/strutil.cc:546:10: [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 char c_escaped_len[256] = { data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/strutil.cc:960:14: [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 two_ASCII_digits[100][2] = { data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/strutil.cc:1133: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[kFastToBufferSize]; data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/strutil.cc:1140: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[kFastToBufferSize]; data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/strutil.cc:1147: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[kFastToBufferSize]; data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/strutil.cc:1154: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[kFastToBufferSize]; data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/strutil.cc:1161: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[kFastToBufferSize]; data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/strutil.cc:1168: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[kFastToBufferSize]; data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/strutil.cc:1216: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[kDoubleToBufferSize]; data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/strutil.cc:1221: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[kFloatToBufferSize]; data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/strutil.cc:1266: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(buffer, "inf"); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/strutil.cc:1269: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(buffer, "-inf"); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/strutil.cc:1272: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(buffer, "nan"); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/strutil.cc:1384: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(buffer, "inf"); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/strutil.cc:1387: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(buffer, "-inf"); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/strutil.cc:1390: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(buffer, "nan"); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/strutil.cc:1448: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(out, x.data(), x.size()); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/strutil.cc:1453: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(out, x1.data(), x1.size()); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/strutil.cc:1456: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(out, x2.data(), x2.size()); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/strutil.cc:1463: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(out, x1.data(), x1.size()); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/strutil.cc:1466: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(out, x2.data(), x2.size()); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/strutil.cc:1469: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(out, x3.data(), x3.size()); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/strutil.cc:1472: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(out, x4.data(), x4.size()); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/strutil.cc:2278: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(output, reinterpret_cast<const char*>(&tmp) + sizeof(tmp) - len, len); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/strutil.cc:2283:23: [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 unsigned char kUTF8LenTbl[256] = { data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/strutil.h:617: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 digits[kFastToBufferSize]; data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/strutil_unittest.cc:440: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 encode_buffer[100]; data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/strutil_unittest.cc:442: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 decode_buffer[100]; data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/strutil_unittest.cc:579: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 websafe[100]; data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/substitute.cc:119: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(target, src->data(), src->size()); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/substitute.h:135: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 scratch_[kFastToBufferSize]; data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/template_util.h:62: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 dummy[2]; data/autofdo-0.19/third_party/protobuf/src/google/protobuf/testing/file.cc:63:42: [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). using google::protobuf::internal::win32::fopen; data/autofdo-0.19/third_party/protobuf/src/google/protobuf/testing/file.cc:73: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[1024]; data/autofdo-0.19/third_party/protobuf/src/google/protobuf/testing/file.cc:74: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(name.c_str(), "rb"); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/testing/file.cc:93: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(name.c_str(), "wb"); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/testing/file.cc:112: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(name.c_str(), "wb"); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/testing/googletest.cc:62:42: [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). using google::protobuf::internal::win32::open; data/autofdo-0.19/third_party/protobuf/src/google/protobuf/testing/googletest.cc:117: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 b[L_tmpnam + 1]; // HPUX multithread return 0 if s is 0 data/autofdo-0.19/third_party/protobuf/src/google/protobuf/testing/googletest.cc:198: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(stdout_capture_filename_.c_str(), data/autofdo-0.19/third_party/protobuf/src/google/protobuf/testing/googletest.cc:213: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(stderr_capture_filename_.c_str(), data/autofdo-0.19/third_party/protobuf/src/google/protobuf/text_format.cc:1264: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(buffer_, data, buffer_size_); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/text_format.cc:1275: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(buffer_, data, size); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/text_format_unittest.cc:401: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[1] = ""; data/autofdo-0.19/third_party/protobuf/src/google/protobuf/timestamp.pb.cc:145: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(&seconds_, &from.seconds_, data/autofdo-0.19/third_party/protobuf/src/google/protobuf/type.pb.cc:984: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(&kind_, &from.kind_, data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/internal/json_escaping.cc:52:14: [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 kCommonEscapes[160][7] = { data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/internal/json_escaping.cc:312: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[12] = "\\udead\\ubee"; data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/internal/json_stream_parser.cc:463:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[UTFmax]; data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/json_util.cc:61: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(buffer_, bytes, len); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/json_util.cc:67: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(buffer_, bytes, buffer_size_); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/json_util_test.cc:462: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[kOutputBufferLength]; data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/json_util_test.cc:546: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 proto_buffer[10000]; data/autofdo-0.19/third_party/protobuf/src/google/protobuf/wire_format_lite_inl.h:640: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(target, ii, static_cast<size_t>(bytes)); data/autofdo-0.19/third_party/protobuf/third_party/benchmark/src/benchmark.cc:605: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). output_file.open(fname); data/autofdo-0.19/third_party/protobuf/third_party/benchmark/src/colorprint.cc:91: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 local_buff[256]; data/autofdo-0.19/third_party/protobuf/third_party/benchmark/src/sysinfo.cc:73: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(file, O_RDONLY); data/autofdo-0.19/third_party/protobuf/third_party/benchmark/src/sysinfo.cc:75:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char line[1024]; data/autofdo-0.19/third_party/protobuf/third_party/benchmark/src/sysinfo.cc:110: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 line[1024]; data/autofdo-0.19/third_party/protobuf/third_party/benchmark/src/sysinfo.cc:143: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(pname, O_RDONLY); data/autofdo-0.19/third_party/protobuf/third_party/benchmark/src/sysinfo.cc:344: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* file = fopen(governor_file.c_str(), "r"); data/autofdo-0.19/third_party/protobuf/third_party/benchmark/src/sysinfo.cc:346: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[16]; data/autofdo-0.19/third_party/protobuf/third_party/benchmark/src/timers.cc:180: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 storage[kStorageSize]; data/autofdo-0.19/third_party/protobuf/third_party/benchmark/test/donotoptimize_test.cc:20:21: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static unsigned char arr[2] = {}; data/autofdo-0.19/third_party/protobuf/third_party/benchmark/test/donotoptimize_test.cc:31: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 buffer8[8]; data/autofdo-0.19/third_party/protobuf/third_party/benchmark/test/donotoptimize_test.cc:34: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 buffer20[20]; data/autofdo-0.19/third_party/protobuf/third_party/benchmark/test/donotoptimize_test.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 buffer1024[1024]; data/autofdo-0.19/third_party/protobuf/third_party/googletest/googlemock/src/gmock.cc:139:12: [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). *value = atoi(value_str); data/autofdo-0.19/third_party/protobuf/third_party/googletest/googlemock/test/gmock-internal-utils_test.cc:451:20: [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). int skip_count = atoi(log.substr(expected_message.size()).c_str()); data/autofdo-0.19/third_party/protobuf/third_party/googletest/googlemock/test/gmock-more-actions_test.cc:631: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 ch[4] = {}; data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/include/gtest/internal/gtest-port.h:2410:10: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). return fopen(path, mode); data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/samples/sample2.cc:44: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(clone, a_c_string, len + 1); data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/src/gtest-death-test.cc:317:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buffer[256]; data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/src/gtest-death-test.cc:733:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char executable_path[_MAX_PATH + 1]; // NOLINT data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/src/gtest-death-test.cc:1021:22: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). const int cwd_fd = open(".", O_RDONLY); data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/src/gtest-filepath.cc:105:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char cwd[GTEST_PATH_MAX_ + 1] = { '\0' }; data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/src/gtest-filepath.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 cwd[GTEST_PATH_MAX_ + 1] = { '\0' }; data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/src/gtest-port.cc:131:18: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). const int fd = open("/proc/self/as", O_RDONLY); data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/src/gtest-port.cc:857:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(buffer, regex, len); data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/src/gtest-port.cc:930:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char temp_dir_path[MAX_PATH + 1] = { '\0' }; // NOLINT data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/src/gtest-port.cc:931:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char temp_file_path[MAX_PATH + 1] = { '\0' }; // NOLINT data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/src/gtest-port.cc:968:29: [2] (tmpfile) mkstemp: Potential for temporary file vulnerability in some circumstances. Some older Unix-like systems create temp files with permission to write by all by default, so be sure to set the umask to override this. Also, some older Unix systems might fail to use O_EXCL when opening the file, so make sure that O_EXCL is used by the library (CWE-377). const int captured_fd = mkstemp(name_template); data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/src/gtest-printers.cc:65:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char text[5] = ""; data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/src/gtest.cc:853:7: [2] (buffer) MultiByteToWideChar: Requires maximum length in CHARACTERS, not bytes (CWE-120). MultiByteToWideChar(CP_ACP, 0, ansi, length, data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/src/gtest.cc:856:3: [2] (buffer) MultiByteToWideChar: Requires maximum length in CHARACTERS, not bytes (CWE-120). MultiByteToWideChar(CP_ACP, 0, ansi, length, data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/src/gtest.cc:1672:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char error_text[kBufSize] = { '\0' }; data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/src/gtest.cc:1756:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char str[5]; // Big enough for the largest valid code point. data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/test/gtest-filepath_test.cc:361: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 current_drive[_MAX_PATH]; // NOLINT data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/test/gtest-filepath_test.cc:378: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 non_drive[_MAX_PATH]; // NOLINT data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/test/gtest-printers_test.cc:136:32: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. UnprintableInFoo() : z_(0) { memcpy(xy_, "\xEF\x12\x0\x0\x34\xAB\x0\x0", 8); } data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/test/gtest-printers_test.cc:139: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 xy_[8]; data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/test/gtest-printers_test.cc:1189: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 array[257]; data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/test/gtest_unittest.cc:7595: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 a[3] = "hi"; data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/test/gtest_unittest.cc:7679: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 a[2][3] = { "hi", "lo" }; data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/xcode/Samples/FrameworkSample/widget_test.cc:58: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[max_size]; data/autofdo-0.19/addr2line.cc:172:14: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if (!read) break; data/autofdo-0.19/addr2line.cc:173:16: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). pos += read; data/autofdo-0.19/base/port.h:715:10: [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. return memalign(minimum_alignment, size); data/autofdo-0.19/gcov.cc:148:14: [1] (buffer) strlen: Does not handle 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(string); data/autofdo-0.19/gflags/gflags.cc:322: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). if (errno || end != value + strlen(value)) return false; // bad parse data/autofdo-0.19/gflags/gflags.cc:330: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). if (errno || end != value + strlen(value)) return false; // bad parse data/autofdo-0.19/gflags/gflags.cc:338: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). if (errno || end != value + strlen(value)) return false; // bad parse data/autofdo-0.19/gflags/gflags.cc:344: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). if (errno || end != value + strlen(value)) return false; // bad parse data/autofdo-0.19/gflags/gflags.cc:542: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). const char* clean_name = filename() + strlen(filename()) - 1; data/autofdo-0.19/gflags/gflags.cc:950: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). len = static_cast<int>(strlen(value)); data/autofdo-0.19/gflags/gflags.cc:1233: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). : strlen(flagfile_contents); data/autofdo-0.19/gflags/gflags.cc:1280: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). space = word + strlen(word); data/autofdo-0.19/gflags/gflags_completions.cc:521:9: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strlen(header) > 0) { data/autofdo-0.19/gflags/gflags_completions.cc:524:9: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strlen(footer) > 0) { data/autofdo-0.19/gflags/gflags_reporting.cc:122: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). assert(chars_left == strlen(c_string)); // Unless there's a \0 in there? data/autofdo-0.19/gflags/gflags_reporting.cc:257: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). strlen(target->c_str() + 1)) == 0) data/autofdo-0.19/glog/src/googletest.h:575: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(t * 1000); data/autofdo-0.19/glog/src/logging.cc:1314: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). const int n = strlen(fatal_message); data/autofdo-0.19/glog/src/logging.cc:1337: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). WriteToStderr(w, strlen(w)); data/autofdo-0.19/glog/src/logging.cc:1409: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). if (write(STDERR_FILENO, message, strlen(message)) < 0) { data/autofdo-0.19/glog/src/logging.cc:1695: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). fwrite(body, sizeof(char), strlen(body), pipe); data/autofdo-0.19/glog/src/logging.cc:1828: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 (strncmp(procfd_prefix, path, strlen(procfd_prefix))) flags |= O_NOFOLLOW; data/autofdo-0.19/glog/src/logging.cc:1970:7: [1] (buffer) strncat: Easily used incorrectly (e.g., incorrectly computing the correct maximum size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf, or automatically resizing strings. strncat(buf, rc, len-1); data/autofdo-0.19/glog/src/logging_unittest.cc:773: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). int bytes = min<int64>(dsize - written, strlen(discardstr)); data/autofdo-0.19/glog/src/logging_unittest.cc:779: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). int bytes = min<int64>(ksize - written, strlen(keepstr)); data/autofdo-0.19/glog/src/logging_unittest.cc:796:13: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). CHECK_ERR(read(fd, buf, buf_size)); data/autofdo-0.19/glog/src/logging_unittest.cc:801: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). int bytes = min<int64>(expect - checked, strlen(keepstr)); data/autofdo-0.19/glog/src/logging_unittest.cc:1044: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). const size_t buf_size = strlen(msg) + 1; data/autofdo-0.19/glog/src/raw_logging.cc:153: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). safe_write(STDERR_FILENO, buffer, strlen(buffer)); data/autofdo-0.19/glog/src/symbolize.cc:85:18: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). size_t len = strlen(demangled); data/autofdo-0.19/glog/src/symbolize.cc:131:19: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). NO_INTR(len = read(fd, buf0 + num_bytes, count - num_bytes)); data/autofdo-0.19/glog/src/symbolize.cc:640:14: [1] (buffer) strlen: Does not handle 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 ((int)strlen(info.dli_sname) < out_size) { data/autofdo-0.19/glog/src/utilities.cc:82: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). if (write(STDERR_FILENO, data, strlen(data)) < 0) { data/autofdo-0.19/glog/src/vlog_is_on.cc:163: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 const pattern_len = strlen(module_pattern); data/autofdo-0.19/glog/src/vlog_is_on.cc:214: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). size_t base_length = base_end ? size_t(base_end - base) : strlen(base); data/autofdo-0.19/glog/src/windows/port.h:79:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). #define read _read data/autofdo-0.19/module_grouper.cc:404: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 char *num_ptr = curr + strlen(module_name) + 1; data/autofdo-0.19/module_grouper.cc:473: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). curr = curr + strlen(curr) + 1 + len; data/autofdo-0.19/module_grouper.cc:493: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). curr += strlen(curr) + 1; data/autofdo-0.19/profile_writer.cc:175: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). int len = strlen(c); data/autofdo-0.19/symbol_map.h:125: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). return (name && strlen(name) > 0) ? name : "noname"; data/autofdo-0.19/symbolize/dwarf2reader.cc:224: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). return start + strlen(start) + 1; data/autofdo-0.19/symbolize/dwarf2reader.cc:506: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). return start + strlen(str) + 1; data/autofdo-0.19/symbolize/dwarf2reader.cc:1067: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). if (!AdvanceLinePtr(strlen(*dirname) + 1, lineptr)) { data/autofdo-0.19/symbolize/dwarf2reader.cc:1194: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). if (!AdvanceLinePtr(strlen(dirname) + 1, &lineptr)) { data/autofdo-0.19/symbolize/dwarf2reader.cc:1210: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). if (!AdvanceLinePtr(strlen(filename) + 1, &lineptr)) { data/autofdo-0.19/symbolize/dwarf2reader.cc:1573: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). templen = strlen(filename) + 1; data/autofdo-0.19/symbolize/elf_reader.cc:465: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). if (strncmp(name, ".debug", strlen(".debug")) == 0) data/autofdo-0.19/symbolize/elf_reader.cc:827: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). const string name_suffix(name, strlen(".debug_")); data/autofdo-0.19/symbolize/elf_reader.cc:828: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). const string sh_name_suffix(sh_name, strlen(".zdebug_")); data/autofdo-0.19/third_party/perf_data_converter/src/perf_data_handler.cc:174:29: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). const size_t needle_len = strlen(needle); data/autofdo-0.19/third_party/perf_data_converter/src/perf_data_handler.cc:181:29: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). const size_t needle_len = strlen(needle); data/autofdo-0.19/third_party/perf_data_converter/src/quipper/kernel/perf_internals.h:266:22: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). struct sample_read read; data/autofdo-0.19/third_party/perf_data_converter/src/quipper/kernel/perf_internals.h:269:5: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). read.group.values = NULL; data/autofdo-0.19/third_party/perf_data_converter/src/quipper/kernel/perf_internals.h:275:14: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). delete[] read.group.values; data/autofdo-0.19/third_party/perf_data_converter/src/quipper/kernel/perf_internals.h:382:21: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). struct read_event read; data/autofdo-0.19/third_party/perf_data_converter/src/quipper/perf_parser.h:106: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. std::equal(callchain.begin(), callchain.end(), data/autofdo-0.19/third_party/perf_data_converter/src/quipper/perf_parser.h:108: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. std::equal(branch_stack.begin(), branch_stack.end(), data/autofdo-0.19/third_party/perf_data_converter/src/quipper/perf_parser_test.cc:299: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. EXPECT_TRUE(std::equal(parser_events.begin(), parser_events.end(), data/autofdo-0.19/third_party/perf_data_converter/src/quipper/perf_parser_test.cc:748:18: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ssize_t sz = read(pipe_fd[0], &nonce, sizeof(nonce)); data/autofdo-0.19/third_party/perf_data_converter/src/quipper/perf_reader.cc:1894:24: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ByteSwap(&event->read.pid); data/autofdo-0.19/third_party/perf_data_converter/src/quipper/perf_reader.cc:1895:24: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ByteSwap(&event->read.tid); data/autofdo-0.19/third_party/perf_data_converter/src/quipper/perf_reader.cc:1896:24: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ByteSwap(&event->read.value); data/autofdo-0.19/third_party/perf_data_converter/src/quipper/perf_reader.cc:1897:24: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ByteSwap(&event->read.time_enabled); data/autofdo-0.19/third_party/perf_data_converter/src/quipper/perf_reader.cc:1898:24: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ByteSwap(&event->read.time_running); data/autofdo-0.19/third_party/perf_data_converter/src/quipper/perf_reader.cc:1899:24: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ByteSwap(&event->read.id); data/autofdo-0.19/third_party/perf_data_converter/src/quipper/perf_recorder_test.cc:62: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). EXPECT_EQ(strlen("/tmp/quipper.XXXXXX"), command.Get(3).value().size()); data/autofdo-0.19/third_party/perf_data_converter/src/quipper/perf_recorder_test.cc:64: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). command.Get(3).value().substr(0, strlen("/tmp/quipper"))); data/autofdo-0.19/third_party/perf_data_converter/src/quipper/perf_serializer.cc:384:49: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). read_info->set_time_enabled(sample_info.read.time_enabled); data/autofdo-0.19/third_party/perf_data_converter/src/quipper/perf_serializer.cc:386:49: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). read_info->set_time_running(sample_info.read.time_running); data/autofdo-0.19/third_party/perf_data_converter/src/quipper/perf_serializer.cc:388:44: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). for (size_t i = 0; i < sample_info.read.group.nr; i++) { data/autofdo-0.19/third_party/perf_data_converter/src/quipper/perf_serializer.cc:390:45: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). read_value->set_value(sample_info.read.group.values[i].value); data/autofdo-0.19/third_party/perf_data_converter/src/quipper/perf_serializer.cc:391:42: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). read_value->set_id(sample_info.read.group.values[i].id); data/autofdo-0.19/third_party/perf_data_converter/src/quipper/perf_serializer.cc:395:43: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). read_value->set_value(sample_info.read.one.value); data/autofdo-0.19/third_party/perf_data_converter/src/quipper/perf_serializer.cc:396:40: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). read_value->set_id(sample_info.read.one.id); data/autofdo-0.19/third_party/perf_data_converter/src/quipper/perf_serializer.cc:455:21: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). sample_info.read.time_enabled = read_info.time_enabled(); data/autofdo-0.19/third_party/perf_data_converter/src/quipper/perf_serializer.cc:457:21: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). sample_info.read.time_running = read_info.time_running(); data/autofdo-0.19/third_party/perf_data_converter/src/quipper/perf_serializer.cc:459:21: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). sample_info.read.group.nr = read_info.read_value_size(); data/autofdo-0.19/third_party/perf_data_converter/src/quipper/perf_serializer.cc:460:21: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). sample_info.read.group.values = data/autofdo-0.19/third_party/perf_data_converter/src/quipper/perf_serializer.cc:462:44: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). for (size_t i = 0; i < sample_info.read.group.nr; i++) { data/autofdo-0.19/third_party/perf_data_converter/src/quipper/perf_serializer.cc:463:23: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). sample_info.read.group.values[i].value = data/autofdo-0.19/third_party/perf_data_converter/src/quipper/perf_serializer.cc:465:23: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). sample_info.read.group.values[i].id = read_info.read_value(i).id(); data/autofdo-0.19/third_party/perf_data_converter/src/quipper/perf_serializer.cc:468:21: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). sample_info.read.one.value = read_info.read_value(0).value(); data/autofdo-0.19/third_party/perf_data_converter/src/quipper/perf_serializer.cc:469:21: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). sample_info.read.one.id = read_info.read_value(0).id(); data/autofdo-0.19/third_party/perf_data_converter/src/quipper/perf_serializer.cc:681:41: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). const struct read_event& read = event.read; data/autofdo-0.19/third_party/perf_data_converter/src/quipper/perf_serializer.cc:682:19: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). sample->set_pid(read.pid); data/autofdo-0.19/third_party/perf_data_converter/src/quipper/perf_serializer.cc:683:19: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). sample->set_tid(read.tid); data/autofdo-0.19/third_party/perf_data_converter/src/quipper/perf_serializer.cc:684:21: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). sample->set_value(read.value); data/autofdo-0.19/third_party/perf_data_converter/src/quipper/perf_serializer.cc:685:28: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). sample->set_time_enabled(read.time_enabled); data/autofdo-0.19/third_party/perf_data_converter/src/quipper/perf_serializer.cc:686:28: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). sample->set_time_running(read.time_running); data/autofdo-0.19/third_party/perf_data_converter/src/quipper/perf_serializer.cc:687:18: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). sample->set_id(read.id); data/autofdo-0.19/third_party/perf_data_converter/src/quipper/perf_serializer.cc:694:36: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). struct read_event& read = event->read; data/autofdo-0.19/third_party/perf_data_converter/src/quipper/perf_serializer.cc:695:3: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). read.pid = sample.pid(); data/autofdo-0.19/third_party/perf_data_converter/src/quipper/perf_serializer.cc:696:3: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). read.tid = sample.tid(); data/autofdo-0.19/third_party/perf_data_converter/src/quipper/perf_serializer.cc:697:3: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). read.value = sample.value(); data/autofdo-0.19/third_party/perf_data_converter/src/quipper/perf_serializer.cc:698:3: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). read.time_enabled = sample.time_enabled(); data/autofdo-0.19/third_party/perf_data_converter/src/quipper/perf_serializer.cc:699:3: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). read.time_running = sample.time_running(); data/autofdo-0.19/third_party/perf_data_converter/src/quipper/perf_serializer.cc:700:3: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). read.id = sample.id(); data/autofdo-0.19/third_party/perf_data_converter/src/quipper/run_command.cc:44:17: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). read_sz = read(fd, output->data() + read_off, kReadSize); data/autofdo-0.19/third_party/perf_data_converter/src/quipper/run_command.cc:138:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). read(errno_pipefd[0], &child_exec_errno, sizeof(child_exec_errno)); data/autofdo-0.19/third_party/perf_data_converter/src/quipper/sample_info_reader.cc:47:31: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). reader->ReadUint64(&sample->read.one.value); data/autofdo-0.19/third_party/perf_data_converter/src/quipper/sample_info_reader.cc:49:33: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). reader->ReadUint64(&sample->read.time_enabled); data/autofdo-0.19/third_party/perf_data_converter/src/quipper/sample_info_reader.cc:51:33: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). reader->ReadUint64(&sample->read.time_running); data/autofdo-0.19/third_party/perf_data_converter/src/quipper/sample_info_reader.cc:52:65: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if (read_format & PERF_FORMAT_ID) reader->ReadUint64(&sample->read.one.id); data/autofdo-0.19/third_party/perf_data_converter/src/quipper/sample_info_reader.cc:62:33: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). reader->ReadUint64(&sample->read.time_enabled); data/autofdo-0.19/third_party/perf_data_converter/src/quipper/sample_info_reader.cc:64:33: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). reader->ReadUint64(&sample->read.time_running); data/autofdo-0.19/third_party/perf_data_converter/src/quipper/sample_info_reader.cc:68:46: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). CHECK_EQ(static_cast<void*>(NULL), sample->read.group.values); data/autofdo-0.19/third_party/perf_data_converter/src/quipper/sample_info_reader.cc:74:11: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). sample->read.group.nr = num; data/autofdo-0.19/third_party/perf_data_converter/src/quipper/sample_info_reader.cc:75:11: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). sample->read.group.values = values; data/autofdo-0.19/third_party/perf_data_converter/src/quipper/sample_info_reader.cc:406:25: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). *array++ = sample.read.group.nr; data/autofdo-0.19/third_party/perf_data_converter/src/quipper/sample_info_reader.cc:408:27: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). *array++ = sample.read.time_enabled; data/autofdo-0.19/third_party/perf_data_converter/src/quipper/sample_info_reader.cc:410:27: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). *array++ = sample.read.time_running; data/autofdo-0.19/third_party/perf_data_converter/src/quipper/sample_info_reader.cc:411:37: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). for (size_t i = 0; i < sample.read.group.nr; i++) { data/autofdo-0.19/third_party/perf_data_converter/src/quipper/sample_info_reader.cc:412:27: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). *array++ = sample.read.group.values[i].value; data/autofdo-0.19/third_party/perf_data_converter/src/quipper/sample_info_reader.cc:413:66: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if (attr.read_format & PERF_FORMAT_ID) *array++ = sample.read.one.id; data/autofdo-0.19/third_party/perf_data_converter/src/quipper/sample_info_reader.cc:416:25: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). *array++ = sample.read.one.value; data/autofdo-0.19/third_party/perf_data_converter/src/quipper/sample_info_reader.cc:418:27: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). *array++ = sample.read.time_enabled; data/autofdo-0.19/third_party/perf_data_converter/src/quipper/sample_info_reader.cc:420:27: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). *array++ = sample.read.time_running; data/autofdo-0.19/third_party/perf_data_converter/src/quipper/sample_info_reader.cc:421:64: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if (attr.read_format & PERF_FORMAT_ID) *array++ = sample.read.one.id; data/autofdo-0.19/third_party/perf_data_converter/src/quipper/sample_info_reader.cc:595:29: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). offset = sizeof(event.read); data/autofdo-0.19/third_party/perf_data_converter/src/quipper/sample_info_reader_test.cc:258:48: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). EXPECT_EQ(1415837014 * 1000000000ULL, sample.read.time_enabled); data/autofdo-0.19/third_party/perf_data_converter/src/quipper/sample_info_reader_test.cc:259:48: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). EXPECT_EQ(1234567890 * 1000000000ULL, sample.read.time_running); data/autofdo-0.19/third_party/perf_data_converter/src/quipper/sample_info_reader_test.cc:260:30: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). EXPECT_EQ(0xabcdef, sample.read.one.id); data/autofdo-0.19/third_party/perf_data_converter/src/quipper/sample_info_reader_test.cc:261:29: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). EXPECT_EQ(1000000, sample.read.one.value); data/autofdo-0.19/third_party/perf_data_converter/src/quipper/sample_info_reader_test.cc:300:30: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). EXPECT_EQ(0xabcdef, sample.read.one.id); data/autofdo-0.19/third_party/perf_data_converter/src/quipper/sample_info_reader_test.cc:301:29: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). EXPECT_EQ(1000000, sample.read.one.value); data/autofdo-0.19/third_party/perf_data_converter/src/quipper/sample_info_reader_test.cc:339:29: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). EXPECT_EQ(1000000, sample.read.one.value); data/autofdo-0.19/third_party/perf_data_converter/src/quipper/sample_info_reader_test.cc:383:23: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). EXPECT_EQ(3, sample.read.group.nr); data/autofdo-0.19/third_party/perf_data_converter/src/quipper/sample_info_reader_test.cc:384:46: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ASSERT_NE(static_cast<void*>(NULL), sample.read.group.values); data/autofdo-0.19/third_party/perf_data_converter/src/quipper/sample_info_reader_test.cc:385:30: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). EXPECT_EQ(0xabcdef, sample.read.group.values[0].id); data/autofdo-0.19/third_party/perf_data_converter/src/quipper/sample_info_reader_test.cc:386:29: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). EXPECT_EQ(1000000, sample.read.group.values[0].value); data/autofdo-0.19/third_party/perf_data_converter/src/quipper/sample_info_reader_test.cc:387:30: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). EXPECT_EQ(0xdecaf0, sample.read.group.values[1].id); data/autofdo-0.19/third_party/perf_data_converter/src/quipper/sample_info_reader_test.cc:388:29: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). EXPECT_EQ(2000000, sample.read.group.values[1].value); data/autofdo-0.19/third_party/perf_data_converter/src/quipper/sample_info_reader_test.cc:389:30: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). EXPECT_EQ(0xbeef00, sample.read.group.values[2].id); data/autofdo-0.19/third_party/perf_data_converter/src/quipper/sample_info_reader_test.cc:390:29: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). EXPECT_EQ(3000000, sample.read.group.values[2].value); data/autofdo-0.19/third_party/perf_data_converter/src/quipper/scoped_temp_path_test.cc:26: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). const size_t kTemplateSuffixSize = strlen("XXXXXX"); data/autofdo-0.19/third_party/perf_data_converter/src/quipper/scoped_temp_path_test.cc:45: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 buf_size = dir.size() + strlen(kPathTemplateSuffix) + 1; data/autofdo-0.19/third_party/perf_data_converter/src/quipper/scoped_temp_path_test.cc:77: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_EQ(strlen(kTempPathTemplatePrefix) + kTemplateSuffixSize, data/autofdo-0.19/third_party/perf_data_converter/src/quipper/scoped_temp_path_test.cc:80: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). path.substr(0, strlen(kTempPathTemplatePrefix))); data/autofdo-0.19/third_party/perf_data_converter/src/quipper/scoped_temp_path_test.cc:122: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_EQ(strlen(kTempPathTemplatePrefix) + kTemplateSuffixSize + 1, data/autofdo-0.19/third_party/perf_data_converter/src/quipper/scoped_temp_path_test.cc:125: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). path.substr(0, strlen(kTempPathTemplatePrefix))); data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googlemock/test/gmock-generated-matchers_test.cc:466: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). nested.push_back(list<char>(strings[i], strings[i] + strlen(strings[i]))); data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googlemock/test/gmock-matchers_test.cc:3929:59: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). int operator()(const char* s) { return static_cast<int>(strlen(s)); } data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/include/gtest/internal/gtest-port.h:2363:10: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). return strncpy(dest, src, n); data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/include/gtest/internal/gtest-port.h:2385:27: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). return static_cast<int>(read(fd, buf, count)); data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/samples/sample2.cc:42:22: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). const size_t len = strlen(a_c_string); data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/samples/sample2.h:77: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). return c_string_ == NULL ? 0 : strlen(c_string_); data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/src/gtest-port.cc:599:33: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). const size_t full_regex_len = strlen(regex) + 10; data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/src/gtest-port.cc:853:22: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). const size_t len = strlen(regex); data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/src/gtest-port.cc:1065: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). else if (temp_dir[strlen(temp_dir) - 1] == '\\') data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/src/gtest-printers.cc:325:29: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). PrintCharsAsStringTo(s, strlen(s), os); data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/src/gtest-printers.cc:342:34: [1] (buffer) wcslen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). PrintCharsAsStringTo(s, std::wcslen(s), os); data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/src/gtest.cc:860:22: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). const int length = strlen(ansi); data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/src/gtest.cc:1825:34: [1] (buffer) wcslen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). num_chars = static_cast<int>(wcslen(str)); data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/src/gtest.cc:3598:32: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). segment = next_segment + strlen("]]>"); data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/src/gtest.cc:3763:18: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). result.reserve(strlen(str) + 1); data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/src/gtest.cc:5002:29: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). const size_t prefix_len = strlen(prefix); data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/test/gtest-printers_test.cc:872: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. EXPECT_TRUE(std::equal(a, a + kSize, numbers.begin())); data/autofdo-0.19/third_party/perf_data_converter/third_party/googletest/googletest/xcode/Samples/FrameworkSample/widget.cc:60:3: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(buffer, name_.c_str(), max_size-1); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/conformance/conformance_cpp.cc:68:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ssize_t bytes_read = read(fd, (char*)buf + ofs, len); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/conformance/conformance_test_runner.cc:206:28: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ssize_t bytes_read = read(fd, (char*)buf + ofs, len); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp:2542: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). *length = static_cast<unsigned>(strlen(prefixed)); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp:2771: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). value_.string_ = duplicateAndPrefixStringValue(value, static_cast<unsigned>(strlen(value))); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp:2842: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). otherComment.comment_, strlen(otherComment.comment_)); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp:3392: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). key, static_cast<unsigned>(strlen(key)), CZString::noDuplication); // NOTE! data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp:3443: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). Value const* found = find(key, key + strlen(key)); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp:3455: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). return resolveReference(key, key + strlen(key)); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp:3487: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). return get(key, key + strlen(key), defaultValue); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp:3510: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). return removeMember(key, key + strlen(key), removed); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp:3524: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). removeMember(key, key + strlen(key), &removed); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp:3569: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). return isMember(key, key + strlen(key)); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp:3732: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). setComment(comment, strlen(comment), placement); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp:4150:7: [1] (buffer) strlen: Does not handle 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(value) * 2 + 3; // allescaped+quotes+NULL data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/def.c:78: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). for (i = 0; i < strlen(field_name); ++i) { data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/def.c:365: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). size_t pkg_name_len = package_name == NULL ? 0 : strlen(package_name); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/def.c:367: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). size_t message_len = (strlen(fullname) - message_name_start); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/def.c:409: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). size_t package_len = package == NULL ? 0 : strlen(package); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/def.c:410: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). size_t prefix_len = prefix == NULL ? 0 : strlen(prefix); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/def.c:411: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 classname_len = strlen(classname); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/def.c:494: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). size_t classname_len = strlen(fullname) + 5; \ data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/def.c:496: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). classname_len += strlen(prefix_given); \ data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/def.c:504: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). if (php_proto_zend_lookup_class(classname, strlen(classname), &pce) == \ data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/protobuf.h:101: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). INIT_CLASS_ENTRY_EX(class_type, CLASSNAME, strlen(CLASSNAME), \ data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/protobuf.h:267: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). INIT_CLASS_ENTRY_EX(class_type, CLASSNAME, strlen(CLASSNAME), \ data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/protobuf.h:799: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). #define STR(str) (str), strlen(str) data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/upb.c:107: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). if (!upb_isident(fullname, strlen(fullname), true, s)) { data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/upb.c:502: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). if (!upb_isident(name, strlen(name), false, status)) { data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/upb.c:907: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). if (len) *len = strlen(ret); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/upb.c:1205: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). upb_fielddef_setdefaultstr(f, str, str ? strlen(str) : 0, s); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/upb.c:1702: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). if (!upb_isident(name, strlen(name), true, s)) { data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/upb.c:1960: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). if (!upb_isident(package, strlen(package), true, s)) return false; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/upb.c:2089:6: [1] (buffer) strlen: Does not handle 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(sym) == 0) return NULL; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/upb.c:5220: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). return upb_strdup2(s, strlen(s), a); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/upb.c:6105: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(ellipsis); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/upb.c:6143:3: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(status->msg, msg, sizeof(status->msg)); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/upb.c:7348: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(str) == n && memcmp(str, buf, n) == 0; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/upb.c:7408: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). if (!base || strlen(base) == 0) { data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/upb.c:7411: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). char *ret = upb_gmalloc(strlen(base) + strlen(name) + 2); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/upb.c:7411: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). char *ret = upb_gmalloc(strlen(base) + strlen(name) + 2); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/upb.c:7417:5: [1] (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 character. strcat(ret, "."); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/upb.c:9702:37: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). int32_t ok = getbytes(d, &data, read); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/upb.c:9705:14: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). } else if (read < bytes && memcmp(&data, &expected, read) == 0) { data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/upb.c:9705:55: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). } else if (read < bytes && memcmp(&data, &expected, read) == 0) { data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/upb.c:13085: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). ret->len = strlen(ret->ptr); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/upb.c:13170: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). print_data(p, escape, strlen(escape)); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/upb.c:13304: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). putstring(p, symbolic_name, strlen(symbolic_name)); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/upb.c:13319: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). putstring(p, symbolic_name, strlen(symbolic_name)); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/upb.h:1191: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 upb_strtable_insert2(t, key, strlen(key), val); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/upb.h:1203: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 upb_strtable_lookup2(t, key, strlen(key), v); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/upb.h:1220: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 upb_strtable_remove2(t, key, strlen(key), v); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/upb.h:2413: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). return FindFieldByName(name, strlen(name)); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/upb.h:2416: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). return FindFieldByName(name, strlen(name)); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/upb.h:2432: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). return FindOneofByName(name, strlen(name)); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/upb.h:2435: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). return FindOneofByName(name, strlen(name)); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/upb.h:2605: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). return upb_msgdef_ntof(m, name, strlen(name)); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/upb.h:2626: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). return upb_msgdef_ntoo(m, name, strlen(name)); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/upb.h:2643: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). return upb_msgdef_lookupname(m, name, strlen(name), f, o); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/upb.h:2783: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). return upb_enumdef_ntoi(e, name, strlen(name), num); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/upb.h:2847: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). return FindFieldByName(name, strlen(name)); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/upb.h:2850: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). return FindFieldByName(name, strlen(name)); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/upb.h:2932: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). return upb_oneofdef_ntof(o, name, strlen(name)); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/php/ext/google/protobuf/upb.h:3221: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). UPB_ASSERT(str.size() == std::strlen(str.c_str())); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:107: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). if (!upb_isident(fullname, strlen(fullname), true, s)) { data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:501: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). if (!upb_isident(name, strlen(name), false, status)) { data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:736: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). char *newname = upb_gmalloc(strlen(f->sub.def->fullname) + 2); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:741: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(newname, "."); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:943: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). if (len) *len = strlen(ret); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:1241: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). upb_fielddef_setdefaultstr(f, str, str ? strlen(str) : 0, s); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:1794: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). if (!upb_isident(name, strlen(name), true, s)) { data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:2046: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). if (!upb_isident(package, strlen(package), true, s)) return false; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:2163:6: [1] (buffer) strlen: Does not handle 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(sym) == 0) return NULL; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:5346: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). return upb_strdup2(s, strlen(s), a); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:6231: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(ellipsis); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:6269:3: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(status->msg, msg, sizeof(status->msg)); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:7469: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(str) == n && memcmp(str, buf, n) == 0; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:7529: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). if (!base || strlen(base) == 0) { data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:7532: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). char *ret = upb_gmalloc(strlen(base) + strlen(name) + 2); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:7532: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). char *ret = upb_gmalloc(strlen(base) + strlen(name) + 2); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:7538:5: [1] (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 character. strcat(ret, "."); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:9805:37: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). int32_t ok = getbytes(d, &data, read); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:9808:14: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). } else if (read < bytes && memcmp(&data, &expected, read) == 0) { data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:9808:55: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). } else if (read < bytes && memcmp(&data, &expected, read) == 0) { data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:13188: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). ret->len = strlen(ret->ptr); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:13273: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). print_data(p, escape, strlen(escape)); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:13407: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). putstring(p, symbolic_name, strlen(symbolic_name)); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:13422: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). putstring(p, symbolic_name, strlen(symbolic_name)); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/upb.h:1185: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 upb_strtable_insert2(t, key, strlen(key), val); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/upb.h:1197: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 upb_strtable_lookup2(t, key, strlen(key), v); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/upb.h:1214: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 upb_strtable_remove2(t, key, strlen(key), v); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/upb.h:2407: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). return FindFieldByName(name, strlen(name)); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/upb.h:2410: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). return FindFieldByName(name, strlen(name)); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/upb.h:2426: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). return FindOneofByName(name, strlen(name)); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/upb.h:2429: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). return FindOneofByName(name, strlen(name)); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/upb.h:2599: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). return upb_msgdef_ntof(m, name, strlen(name)); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/upb.h:2620: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). return upb_msgdef_ntoo(m, name, strlen(name)); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/upb.h:2637: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). return upb_msgdef_lookupname(m, name, strlen(name), f, o); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/upb.h:2777: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). return upb_enumdef_ntoi(e, name, strlen(name), num); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/upb.h:2841: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). return FindFieldByName(name, strlen(name)); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/upb.h:2844: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). return FindFieldByName(name, strlen(name)); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/upb.h:2926: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). return upb_oneofdef_ntof(o, name, strlen(name)); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/ruby/ext/google/protobuf_c/upb.h:3207: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). UPB_ASSERT(str.size() == std::strlen(str.c_str())); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/arena_unittest.cc:305: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). EXPECT_EQ(strlen(original.optional_string().c_str()), data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/arena_unittest.cc:306:13: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). strlen(arena_message->optional_string().c_str())); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/command_line_interface.cc:216: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). len = strlen(buffer); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/importer_unittest.cc:109: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). return new io::ArrayInputStream(contents, strlen(contents)); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/parser_unittest.cc:109: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). raw_input_.reset(new io::ArrayInputStream(text, strlen(text))); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/subprocess.cc:329: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). ignored = write(STDERR_FILENO, argv[0], strlen(argv[0])); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/subprocess.cc:331: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). ignored = write(STDERR_FILENO, message, strlen(message)); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/compiler/subprocess.cc:406:15: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). int n = read(child_stdout_, buffer, sizeof(buffer)); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc:710: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). EXPECT_TRUE(coded_input.ReadString(&str, strlen(kRawBytes))); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc:714: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). EXPECT_EQ(strlen(kRawBytes), input.ByteCount()); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc:756: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). EXPECT_TRUE(coded_input.ReadString(&str, strlen(kRawBytes))); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc:757: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). EXPECT_EQ(sizeof(kRawBytes) - strlen(kRawBytes), data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc:761: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). EXPECT_GE(str.capacity(), strlen(kRawBytes)); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc:764: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). EXPECT_EQ(strlen(kRawBytes), input.ByteCount()); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc:776: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). EXPECT_TRUE(coded_input.ReadString(&str, strlen(kRawBytes))); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc:779: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). EXPECT_GE(str.capacity(), strlen(kRawBytes)); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc:782: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). EXPECT_EQ(strlen(kRawBytes), input.ByteCount()); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc:796: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). EXPECT_TRUE(coded_input.ReadString(&str, strlen(kRawBytes))); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc:803: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). EXPECT_GE(str.capacity(), strlen(kRawBytes)); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc:806: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). EXPECT_EQ(strlen(kRawBytes), input.ByteCount()); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc:858:47: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). EXPECT_FALSE(coded_input.ReadString(&str, strlen(kRawBytes))); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc:862: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(kRawBytes), str.capacity()); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc:878:47: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). EXPECT_FALSE(coded_input.ReadString(&str, strlen(kRawBytes))); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc:882: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(kRawBytes), str.capacity()); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc:900:47: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). EXPECT_FALSE(coded_input.ReadString(&str, strlen(kRawBytes))); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc:904: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(kRawBytes), str.capacity()); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc:923:47: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). EXPECT_FALSE(coded_input.ReadString(&str, strlen(kRawBytes))); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc:927: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(kRawBytes), str.capacity()); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc:946: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). EXPECT_TRUE(coded_input.ReadString(&str, strlen("<Before skipping>"))); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc:948: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). EXPECT_TRUE(coded_input.Skip(strlen("<To be skipped>"))); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc:949: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). EXPECT_TRUE(coded_input.ReadString(&str, strlen("<After skipping>"))); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc:953: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). EXPECT_EQ(strlen(kSkipTestBytes), input.ByteCount()); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/printer.cc:111:14: [1] (buffer) strlen: Does not handle 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 size = strlen(text); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/printer.cc:312: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). WriteRaw(data, strlen(data)); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/strtod.cc:69:18: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). result.reserve(strlen(input) + size - 3); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/strtod.cc:103: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). int size_diff = localized.size() - strlen(text); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/tokenizer_unittest.cc:297: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). TestInputStream input(text, strlen(text), kBlockSizes_case); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/tokenizer_unittest.cc:492: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). TestInputStream input(text, strlen(text), kBlockSizes_case); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/tokenizer_unittest.cc:988: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). EXPECT_EQ(strlen("foo"), input.ByteCount()); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl.cc:143:14: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). result = read(file_, buffer, size); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl.cc:302:11: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). input_->read(reinterpret_cast<char*>(buffer), size); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc:308: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). coded_output->WriteVarint32(strlen(strA)); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc:309: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). coded_output->WriteRaw(strA, strlen(strA)); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc:316: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). coded_output->WriteVarint32(strlen(strB)); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc:317: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). coded_output->WriteRaw(strB, strlen(strB)); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc:327: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). EXPECT_EQ(strlen(strA), insize); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc:332: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). EXPECT_EQ(strlen(strB), insize); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc:615: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). int32 outlen = strlen(strA) + 1; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc:626: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). outlen = strlen(strB) + 1; data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc:640: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). EXPECT_EQ(strlen(strA) + 1, insize); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc:646: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). EXPECT_EQ(strlen(strB) + 1, insize); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc:1467: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. EXPECT_TRUE(std::equal(fibonacci.begin(), data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc:1470: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. EXPECT_TRUE(std::equal(protobuffer.repeated_int32().begin(), data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc:1476: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. EXPECT_TRUE(std::equal(halves.begin(), data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc:1479: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. EXPECT_TRUE(std::equal(protobuffer.repeated_double().begin(), data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/stringpiece.h:215: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). length_ = CheckedSsizeTFromSizeT(strlen(str)); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/stringpiece.h:264: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). length_ = CheckedSsizeTFromSizeT(strlen(str)); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/strutil.cc:285: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). int delim_length = strlen(delim); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/strutil.cc:1254: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). memmove(target, buffer, strlen(buffer) + 1); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/strutil.h:636: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). : piece_data_(digits), piece_size_(strlen(FloatToBuffer(f, digits))) {} data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/strutil.h:638: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). : piece_data_(digits), piece_size_(strlen(DoubleToBuffer(f, digits))) {} data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/strutil.h:643: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). : piece_data_(c_str), piece_size_(strlen(c_str)) {} data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/strutil_unittest.cc:453: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). cypher_length = strlen(base64_tests[i].cyphertext); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/strutil_unittest.cc:581:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(websafe, base64_tests[i].cyphertext, cypher_length); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/strutil_unittest.cc:783: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). int plain_length = strlen(base64_strings[i].plaintext); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/strutil_unittest.cc:784: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). int cypher_length = strlen(base64_strings[i].cyphertext); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/substitute.h:90: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). : text_(value), size_(strlen(text_)) {} data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/substitute.h:107: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). : text_(FastInt32ToBuffer(value, scratch_)), size_(strlen(text_)) {} data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/substitute.h:109: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). : text_(FastUInt32ToBuffer(value, scratch_)), size_(strlen(text_)) {} data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/substitute.h: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). : text_(FastInt32ToBuffer(value, scratch_)), size_(strlen(text_)) {} data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/substitute.h:113: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). : text_(FastUInt32ToBuffer(value, scratch_)), size_(strlen(text_)) {} data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/substitute.h:115: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). : text_(FastLongToBuffer(value, scratch_)), size_(strlen(text_)) {} data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/substitute.h:117: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). : text_(FastULongToBuffer(value, scratch_)), size_(strlen(text_)) {} data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/substitute.h:119: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). : text_(FastInt64ToBuffer(value, scratch_)), size_(strlen(text_)) {} data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/substitute.h:121: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). : text_(FastUInt64ToBuffer(value, scratch_)), size_(strlen(text_)) {} data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/substitute.h:123: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). : text_(FloatToBuffer(value, scratch_)), size_(strlen(text_)) {} data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/substitute.h:125: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). : text_(DoubleToBuffer(value, scratch_)), size_(strlen(text_)) {} data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/stubs/substitute.h:127: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). : text_(value ? "true" : "false"), size_(strlen(text_)) {} data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/testing/zcgzip.cc:75:15: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). readlen = read(STDIN_FILENO, outptr, outlen); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/text_format.cc:1198: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). Print(text, strlen(text)); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/internal/json_stream_parser.cc:70: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). static const int true_len = strlen("true"); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/internal/json_stream_parser.cc:71:30: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). static const int false_len = strlen("false"); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/src/google/protobuf/util/internal/json_stream_parser.cc:72: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). static const int null_len = strlen("null"); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/third_party/benchmark/src/benchmark.cc:868: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). name_field_width += std::strlen("_stddev"); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/third_party/benchmark/src/sysinfo.cc:79:11: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). CHECK(read(fd, line, sizeof(line) - 1)); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/third_party/benchmark/src/sysinfo.cc:143: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). const size_t oldlinelen = strlen(line); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/third_party/benchmark/src/sysinfo.cc:151:30: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). const size_t linelen = strlen(line); data/autofdo-0.19/third_party/perf_data_converter/third_party/protobuf/third_party/benchmark/src/sysinfo.cc:154:20: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). chars_read = read(fd, line + linelen, bytes_to_read); data/autofdo-0.19/third_party/protobuf/conformance/conformance_cpp.cc:72:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ssize_t bytes_read = read(fd, (char*)buf + ofs, len); data/autofdo-0.19/third_party/protobuf/conformance/conformance_test_runner.cc:205:28: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ssize_t bytes_read = read(fd, (char*)buf + ofs, len); data/autofdo-0.19/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp:2542: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). *length = static_cast<unsigned>(strlen(prefixed)); data/autofdo-0.19/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp:2771: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). value_.string_ = duplicateAndPrefixStringValue(value, static_cast<unsigned>(strlen(value))); data/autofdo-0.19/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp:2842: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). otherComment.comment_, strlen(otherComment.comment_)); data/autofdo-0.19/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp:3392: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). key, static_cast<unsigned>(strlen(key)), CZString::noDuplication); // NOTE! data/autofdo-0.19/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp:3443: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). Value const* found = find(key, key + strlen(key)); data/autofdo-0.19/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp:3455: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). return resolveReference(key, key + strlen(key)); data/autofdo-0.19/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp:3487: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). return get(key, key + strlen(key), defaultValue); data/autofdo-0.19/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp:3510: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). return removeMember(key, key + strlen(key), removed); data/autofdo-0.19/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp:3524: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). removeMember(key, key + strlen(key), &removed); data/autofdo-0.19/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp:3569: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). return isMember(key, key + strlen(key)); data/autofdo-0.19/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp:3732: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). setComment(comment, strlen(comment), placement); data/autofdo-0.19/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp:4150:7: [1] (buffer) strlen: Does not handle 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(value) * 2 + 3; // allescaped+quotes+NULL data/autofdo-0.19/third_party/protobuf/objectivec/Tests/GPBTestUtilities.h:43: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). return [NSData dataWithBytes:str length:strlen(str)]; data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/def.c:90: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). for (i = 0; i < strlen(field_name); ++i) { data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/def.c:215: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). PHP_PROTO_RETVAL_STRINGL(classname, strlen(classname), 1); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/def.c:221: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). PHP_PROTO_RETVAL_STRINGL(fullname, strlen(fullname), 1); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/def.c:388: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). PHP_PROTO_RETVAL_STRINGL(intern->name, strlen(intern->name), 1); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/def.c:457: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). PHP_PROTO_RETVAL_STRINGL(name, strlen(name), 1); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/def.c:544: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). PHP_PROTO_RETVAL_STRINGL(name, strlen(name), 1); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/def.c:725: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). size_t pkg_name_len = package_name == NULL ? 0 : strlen(package_name); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/def.c:727: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). size_t message_len = (strlen(fullname) - message_name_start); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/def.c:749: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). char* lower = ALLOC_N(char, strlen(classname) + 1); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/def.c:774: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). size_t prefix_len = prefix == NULL ? 0 : strlen(prefix); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/def.c:775: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 classname_len = strlen(classname); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/def.c:779: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). size_t package_len = package == NULL ? 0 : strlen(package); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/def.c:781: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). namespace_given == NULL ? 0 : strlen(namespace_given); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/def.c:863: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). size_t classname_len = strlen(fullname) + 5; \ data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/def.c:865: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). classname_len += strlen(prefix_given); \ data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/def.c:868: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). classname_len += strlen(php_namespace); \ data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/def.c:876: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). if (php_proto_zend_lookup_class(classname, strlen(classname), &pce) == \ data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/message.c:429:47: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). msg->descriptor->msgdef, LOWER_FIELD, strlen(LOWER_FIELD)); \ data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/message.c:880: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). zend_declare_property_string(any_type, "type_url", strlen("type_url"), data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/message.c:882: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). zend_declare_property_string(any_type, "value", strlen("value"), data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/message.c:888: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). int hex_len = strlen(hex); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/message.c:927: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 url_prefix_len = strlen(TYPE_URL_PREFIX); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/message.c:997:7: [1] (buffer) strlen: Does not handle 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(TYPE_URL_PREFIX) + strlen(fully_qualified_name) + 1; data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/message.c:997: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). strlen(TYPE_URL_PREFIX) + strlen(fully_qualified_name) + 1; data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/message.c:1031:7: [1] (buffer) strlen: Does not handle 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(TYPE_URL_PREFIX) + strlen(fully_qualified_name) + 1; data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/message.c:1031: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). strlen(TYPE_URL_PREFIX) + strlen(fully_qualified_name) + 1; data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/message.c:1070: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). zend_declare_property_long(duration_type, "seconds", strlen("seconds"), data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/message.c:1072: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). zend_declare_property_long(duration_type, "nanos", strlen("nanos"), data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/message.c:1106: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). zend_declare_property_long(timestamp_type, "seconds", strlen("seconds"), data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/message.c:1108: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). zend_declare_property_long(timestamp_type, "nanos", strlen("nanos"), data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/message.c:1262: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). zend_declare_property_null(api_type, "name", strlen("name"), data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/message.c:1264: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). zend_declare_property_null(api_type, "methods", strlen("methods"), data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/message.c:1266: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). zend_declare_property_null(api_type, "options", strlen("options"), data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/message.c:1268: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). zend_declare_property_null(api_type, "version", strlen("version"), data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/message.c:1270: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). zend_declare_property_null(api_type, "source_context", strlen("source_context"), data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/message.c:1272: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). zend_declare_property_null(api_type, "mixins", strlen("mixins"), data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/message.c:1274: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). zend_declare_property_null(api_type, "syntax", strlen("syntax"), data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/message.c:1309: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). zend_declare_property_null(bool_value_type, "value", strlen("value"), data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/message.c:1338: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). zend_declare_property_null(bytes_value_type, "value", strlen("value"), data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/message.c:1367: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). zend_declare_property_null(double_value_type, "value", strlen("value"), data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/message.c:1404: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). zend_declare_property_null(enum_type, "name", strlen("name"), data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/message.c:1406: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). zend_declare_property_null(enum_type, "enumvalue", strlen("enumvalue"), data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/message.c:1408: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). zend_declare_property_null(enum_type, "options", strlen("options"), data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/message.c:1410:59: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). zend_declare_property_null(enum_type, "source_context", strlen("source_context"), data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/message.c:1412: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). zend_declare_property_null(enum_type, "syntax", strlen("syntax"), data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/message.c:1449: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). zend_declare_property_null(enum_value_type, "name", strlen("name"), data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/message.c:1451: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). zend_declare_property_null(enum_value_type, "number", strlen("number"), data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/message.c:1453: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). zend_declare_property_null(enum_value_type, "options", strlen("options"), data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/message.c:1484: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). zend_declare_property_null(field_mask_type, "paths", strlen("paths"), data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/message.c:1531: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). zend_declare_property_null(field_type, "kind", strlen("kind"), data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/message.c:1533: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). zend_declare_property_null(field_type, "cardinality", strlen("cardinality"), data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/message.c:1535: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). zend_declare_property_null(field_type, "number", strlen("number"), data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/message.c:1537: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). zend_declare_property_null(field_type, "name", strlen("name"), data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/message.c:1539: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). zend_declare_property_null(field_type, "type_url", strlen("type_url"), data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/message.c:1541: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). zend_declare_property_null(field_type, "oneof_index", strlen("oneof_index"), data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/message.c:1543: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). zend_declare_property_null(field_type, "packed", strlen("packed"), data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/message.c:1545: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). zend_declare_property_null(field_type, "options", strlen("options"), data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/message.c:1547: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). zend_declare_property_null(field_type, "json_name", strlen("json_name"), data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/message.c:1549:59: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). zend_declare_property_null(field_type, "default_value", strlen("default_value"), data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/message.c:1587: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). zend_declare_property_null(float_value_type, "value", strlen("value"), data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/message.c:1640: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). zend_declare_property_null(int32_value_type, "value", strlen("value"), data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/message.c:1669: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). zend_declare_property_null(int64_value_type, "value", strlen("value"), data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/message.c:1698: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). zend_declare_property_null(list_value_type, "values", strlen("values"), data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/message.c:1739: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). zend_declare_property_null(method_type, "name", strlen("name"), data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/message.c:1741:63: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). zend_declare_property_null(method_type, "request_type_url", strlen("request_type_url"), data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/message.c:1743: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). zend_declare_property_null(method_type, "request_streaming", strlen("request_streaming"), data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/message.c:1745: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). zend_declare_property_null(method_type, "response_type_url", strlen("response_type_url"), data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/message.c:1747:65: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). zend_declare_property_null(method_type, "response_streaming", strlen("response_streaming"), data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/message.c:1749: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). zend_declare_property_null(method_type, "options", strlen("options"), data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/message.c:1751: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). zend_declare_property_null(method_type, "syntax", strlen("syntax"), data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/message.c:1788: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). zend_declare_property_null(mixin_type, "name", strlen("name"), data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/message.c:1790: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). zend_declare_property_null(mixin_type, "root", strlen("root"), data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/message.c:1822: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). zend_declare_property_null(option_type, "name", strlen("name"), data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/message.c:1824: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). zend_declare_property_null(option_type, "value", strlen("value"), data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/message.c:1854: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). zend_declare_property_null(source_context_type, "file_name", strlen("file_name"), data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/message.c:1883: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). zend_declare_property_null(string_value_type, "value", strlen("value"), data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/message.c:1912: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). zend_declare_property_null(struct_type, "fields", strlen("fields"), data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/message.c:1951: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). zend_declare_property_null(type_type, "name", strlen("name"), data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/message.c:1953: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). zend_declare_property_null(type_type, "fields", strlen("fields"), data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/message.c:1955: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). zend_declare_property_null(type_type, "oneofs", strlen("oneofs"), data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/message.c:1957: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). zend_declare_property_null(type_type, "options", strlen("options"), data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/message.c:1959:59: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). zend_declare_property_null(type_type, "source_context", strlen("source_context"), data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/message.c:1961: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). zend_declare_property_null(type_type, "syntax", strlen("syntax"), data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/message.c:1995:59: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). zend_declare_property_null(u_int32_value_type, "value", strlen("value"), data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/message.c:2024:59: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). zend_declare_property_null(u_int64_value_type, "value", strlen("value"), data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/message.c:2064: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). zend_declare_property_null(value_type, "kind", strlen("kind"), data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/protobuf.c:139: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). add_to_strtable(proto_to_php_obj_map, proto, strlen(proto), value); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/protobuf.c:144:62: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). proto, strlen(proto)); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/protobuf.c:188: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). return (php_proto_zend_hash_find(reserved_names, name, strlen(name), data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/protobuf.c:261: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). strlen(kReservedNames[i])); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/protobuf.h:129: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). INIT_CLASS_ENTRY_EX(class_type, CLASSNAME, strlen(CLASSNAME), \ data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/protobuf.h:140: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). INIT_CLASS_ENTRY_EX(class_type, CLASSNAME, strlen(CLASSNAME), \ data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/protobuf.h:150: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). INIT_CLASS_ENTRY_EX(class_type, CLASSNAME, strlen(CLASSNAME), \ data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/protobuf.h:395: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). INIT_CLASS_ENTRY_EX(class_type, CLASSNAME, strlen(CLASSNAME), \ data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/protobuf.h:406: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). INIT_CLASS_ENTRY_EX(class_type, CLASSNAME, strlen(CLASSNAME), \ data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/protobuf.h:416: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). INIT_CLASS_ENTRY_EX(class_type, CLASSNAME, strlen(CLASSNAME), \ data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/protobuf.h:1440: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). #define STR(str) (str), strlen(str) data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/storage.c:630: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). ZVAL_STRINGL(&member, fieldname, strlen(fieldname), 0); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/storage.c:634: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). zend_string* member = zend_string_init(fieldname, strlen(fieldname), 1); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/storage.c:691: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). ZVAL_STRINGL(&member, oneofname, strlen(oneofname), 0); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/storage.c:695: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). zend_string* member = zend_string_init(oneofname, strlen(oneofname), 1); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.c:2609: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). if (!upb_isident(fullname, strlen(fullname), true, s)) { data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.c:3005: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). if (!upb_isident(name, strlen(name), false, status)) { data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.c:3410: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). if (len) *len = strlen(ret); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.c:3708: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). upb_fielddef_setdefaultstr(f, str, str ? strlen(str) : 0, s); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.c:4205: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). if (!upb_isident(name, strlen(name), true, s)) { data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.c:4469: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). if (!upb_isident(package, strlen(package), true, s)) return false; data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.c:4610:6: [1] (buffer) strlen: Does not handle 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(sym) == 0) return NULL; data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.c:8135: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). return upb_strdup2(s, strlen(s), a); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.c:9020: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(ellipsis); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.c:9058:3: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(status->msg, msg, sizeof(status->msg)); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.c:10267: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(str) == n && memcmp(str, buf, n) == 0; data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.c:10328: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). if (!base || strlen(base) == 0) { data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.c:10331: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). char *ret = upb_gmalloc(strlen(base) + strlen(name) + 2); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.c:10331: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). char *ret = upb_gmalloc(strlen(base) + strlen(name) + 2); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.c:10337:5: [1] (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 character. strcat(ret, "."); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.c:12671:37: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). int32_t ok = getbytes(d, &data, read); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.c:12674:14: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). } else if (read < bytes && memcmp(&data, &expected, read) == 0) { data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.c:12674:55: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). } else if (read < bytes && memcmp(&data, &expected, read) == 0) { data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.c:14874: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(buf); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.c:14947:14: [1] (buffer) strlen: Does not handle 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 (len == strlen("Infinity") && strcmp(buf, "Infinity") == 0) { data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.c:14950: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). } else if (len == strlen("-Infinity") && strcmp(buf, "-Infinity") == 0) { data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.c:16077: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). ret->len = strlen(ret->ptr); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.c:16162: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). print_data(p, escape, strlen(escape)); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.c:16188: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). CHKLENGTH(length >= strlen(inf)); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.c:16190: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(inf); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.c:16192: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). CHKLENGTH(length >= strlen(neginf)); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.c:16194: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(neginf); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.c:16309: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). putstring(p, symbolic_name, strlen(symbolic_name)); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.c:16324: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). putstring(p, symbolic_name, strlen(symbolic_name)); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.h:1240: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 upb_strtable_insert2(t, key, strlen(key), val); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.h:1252: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 upb_strtable_lookup2(t, key, strlen(key), v); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.h:1269: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 upb_strtable_remove2(t, key, strlen(key), v); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.h:2465: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). return FindFieldByName(name, strlen(name)); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.h:2468: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). return FindFieldByName(name, strlen(name)); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.h:2484: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). return FindOneofByName(name, strlen(name)); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.h:2487: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). return FindOneofByName(name, strlen(name)); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.h:2657: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). return upb_msgdef_ntof(m, name, strlen(name)); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.h:2678: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). return upb_msgdef_ntoo(m, name, strlen(name)); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.h:2695: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). return upb_msgdef_lookupname(m, name, strlen(name), f, o); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.h:2835: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). return upb_enumdef_ntoi(e, name, strlen(name), num); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.h:2899: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). return FindFieldByName(name, strlen(name)); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.h:2902: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). return FindFieldByName(name, strlen(name)); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.h:2984: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). return upb_oneofdef_ntof(o, name, strlen(name)); data/autofdo-0.19/third_party/protobuf/php/ext/google/protobuf/upb.h:3282: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). UPB_ASSERT(str.size() == std::strlen(str.c_str())); data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:686: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). if (!upb_isident(fullname, strlen(fullname), true, s)) { data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:1082: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). if (!upb_isident(name, strlen(name), false, status)) { data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:1487: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). if (len) *len = strlen(ret); data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:1785: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). upb_fielddef_setdefaultstr(f, str, str ? strlen(str) : 0, s); data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:2282: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). if (!upb_isident(name, strlen(name), true, s)) { data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:2546: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). if (!upb_isident(package, strlen(package), true, s)) return false; data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:2687:6: [1] (buffer) strlen: Does not handle 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(sym) == 0) return NULL; data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:6196: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). return upb_strdup2(s, strlen(s), a); data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:7081: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(ellipsis); data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:7119:3: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(status->msg, msg, sizeof(status->msg)); data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:8328: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(str) == n && memcmp(str, buf, n) == 0; data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:8389: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). if (!base || strlen(base) == 0) { data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:8392: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). char *ret = upb_gmalloc(strlen(base) + strlen(name) + 2); data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:8392: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). char *ret = upb_gmalloc(strlen(base) + strlen(name) + 2); data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:8398:5: [1] (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 character. strcat(ret, "."); data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:10732:37: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). int32_t ok = getbytes(d, &data, read); data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:10735:14: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). } else if (read < bytes && memcmp(&data, &expected, read) == 0) { data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:10735:55: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). } else if (read < bytes && memcmp(&data, &expected, read) == 0) { data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:12935: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(buf); data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:13008:14: [1] (buffer) strlen: Does not handle 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 (len == strlen("Infinity") && strcmp(buf, "Infinity") == 0) { data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:13011: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). } else if (len == strlen("-Infinity") && strcmp(buf, "-Infinity") == 0) { data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:14138: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). ret->len = strlen(ret->ptr); data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:14223: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). print_data(p, escape, strlen(escape)); data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:14249: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). CHKLENGTH(length >= strlen(inf)); data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:14251: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(inf); data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:14253: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). CHKLENGTH(length >= strlen(neginf)); data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:14255: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(neginf); data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:14370: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). putstring(p, symbolic_name, strlen(symbolic_name)); data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c:14385: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). putstring(p, symbolic_name, strlen(symbolic_name)); data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.h:1233: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 upb_strtable_insert2(t, key, strlen(key), val); data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.h:1245: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 upb_strtable_lookup2(t, key, strlen(key), v); data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.h:1262: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 upb_strtable_remove2(t, key, strlen(key), v); data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.h:2455: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). return FindFieldByName(name, strlen(name)); data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.h:2458: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). return FindFieldByName(name, strlen(name)); data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.h:2474: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). return FindOneofByName(name, strlen(name)); data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.h:2477: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). return FindOneofByName(name, strlen(name)); data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.h:2647: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). return upb_msgdef_ntof(m, name, strlen(name)); data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.h:2668: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). return upb_msgdef_ntoo(m, name, strlen(name)); data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.h:2685: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). return upb_msgdef_lookupname(m, name, strlen(name), f, o); data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.h:2825: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). return upb_enumdef_ntoi(e, name, strlen(name), num); data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.h:2889: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). return FindFieldByName(name, strlen(name)); data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.h:2892: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). return FindFieldByName(name, strlen(name)); data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.h:2974: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). return upb_oneofdef_ntof(o, name, strlen(name)); data/autofdo-0.19/third_party/protobuf/ruby/ext/google/protobuf_c/upb.h:3272: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). UPB_ASSERT(str.size() == std::strlen(str.c_str())); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/arena_unittest.cc:308: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). EXPECT_EQ(strlen(original.optional_string().c_str()), data/autofdo-0.19/third_party/protobuf/src/google/protobuf/arena_unittest.cc:309:13: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). strlen(arena_message->optional_string().c_str())); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/command_line_interface.cc:201: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). len = strlen(buffer); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/importer_unittest.cc:106: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). return new io::ArrayInputStream(contents, strlen(contents)); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/parser_unittest.cc:107: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). raw_input_.reset(new io::ArrayInputStream(text, strlen(text))); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/subprocess.cc:57: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). char* ns = (char*) malloc(strlen(s) + 1); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/subprocess.cc:339: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). ignored = write(STDERR_FILENO, argv[0], strlen(argv[0])); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/subprocess.cc:341: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). ignored = write(STDERR_FILENO, message, strlen(message)); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/compiler/subprocess.cc:415:15: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). int n = read(child_stdout_, buffer, sizeof(buffer)); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc:707: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). EXPECT_TRUE(coded_input.ReadString(&str, strlen(kRawBytes))); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc:711: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). EXPECT_EQ(strlen(kRawBytes), input.ByteCount()); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc:753: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). EXPECT_TRUE(coded_input.ReadString(&str, strlen(kRawBytes))); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc:754: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). EXPECT_EQ(sizeof(kRawBytes) - strlen(kRawBytes), data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc:758: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). EXPECT_GE(str.capacity(), strlen(kRawBytes)); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc:761: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). EXPECT_EQ(strlen(kRawBytes), input.ByteCount()); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc:773: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). EXPECT_TRUE(coded_input.ReadString(&str, strlen(kRawBytes))); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc:776: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). EXPECT_GE(str.capacity(), strlen(kRawBytes)); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc:779: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). EXPECT_EQ(strlen(kRawBytes), input.ByteCount()); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc:793: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). EXPECT_TRUE(coded_input.ReadString(&str, strlen(kRawBytes))); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc:800: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). EXPECT_GE(str.capacity(), strlen(kRawBytes)); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc:803: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). EXPECT_EQ(strlen(kRawBytes), input.ByteCount()); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc:855:47: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). EXPECT_FALSE(coded_input.ReadString(&str, strlen(kRawBytes))); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc:859: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(kRawBytes), str.capacity()); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc:875:47: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). EXPECT_FALSE(coded_input.ReadString(&str, strlen(kRawBytes))); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc:879: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(kRawBytes), str.capacity()); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc:897:47: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). EXPECT_FALSE(coded_input.ReadString(&str, strlen(kRawBytes))); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc:901: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(kRawBytes), str.capacity()); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc:920:47: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). EXPECT_FALSE(coded_input.ReadString(&str, strlen(kRawBytes))); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc:924: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(kRawBytes), str.capacity()); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc:943: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). EXPECT_TRUE(coded_input.ReadString(&str, strlen("<Before skipping>"))); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc:945: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). EXPECT_TRUE(coded_input.Skip(strlen("<To be skipped>"))); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc:946: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). EXPECT_TRUE(coded_input.ReadString(&str, strlen("<After skipping>"))); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/coded_stream_unittest.cc:950: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). EXPECT_EQ(strlen(kSkipTestBytes), input.ByteCount()); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/printer.cc:111:14: [1] (buffer) strlen: Does not handle 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 size = strlen(text); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/printer.cc:317: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). WriteRaw(data, strlen(data)); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/strtod.cc:69:18: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). result.reserve(strlen(input) + size - 3); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/strtod.cc:103: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). int size_diff = localized.size() - strlen(text); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/tokenizer_unittest.cc:297: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). TestInputStream input(text, strlen(text), kBlockSizes_case); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/tokenizer_unittest.cc:492: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). TestInputStream input(text, strlen(text), kBlockSizes_case); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/tokenizer_unittest.cc:988: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). EXPECT_EQ(strlen("foo"), input.ByteCount()); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl.cc:64:42: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). using google::protobuf::internal::win32::read; data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl.cc:146:14: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). result = read(file_, buffer, size); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl.cc:303:11: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). input_->read(reinterpret_cast<char*>(buffer), size); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc:310: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). coded_output->WriteVarint32(strlen(strA)); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc:311: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). coded_output->WriteRaw(strA, strlen(strA)); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc:318: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). coded_output->WriteVarint32(strlen(strB)); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc:319: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). coded_output->WriteRaw(strB, strlen(strB)); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc:329: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). EXPECT_EQ(strlen(strA), insize); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc:334: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). EXPECT_EQ(strlen(strB), insize); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc:617: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). int32 outlen = strlen(strA) + 1; data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc:628: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). outlen = strlen(strB) + 1; data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc:642: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). EXPECT_EQ(strlen(strA) + 1, insize); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/io/zero_copy_stream_unittest.cc:648: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). EXPECT_EQ(strlen(strB) + 1, insize); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc:1717: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. EXPECT_TRUE(std::equal(fibonacci.begin(), data/autofdo-0.19/third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc:1720: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. EXPECT_TRUE(std::equal(protobuffer.repeated_int32().begin(), data/autofdo-0.19/third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc:1726: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. EXPECT_TRUE(std::equal(halves.begin(), data/autofdo-0.19/third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc:1729: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. EXPECT_TRUE(std::equal(protobuffer.repeated_double().begin(), data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/io_win32.cc:343:5: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). int read(int fd, void* buffer, size_t size) { data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/io_win32.h:68:24: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). LIBPROTOBUF_EXPORT int read(int fd, void* buffer, size_t size); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/stringpiece.h:215: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). length_ = CheckedSsizeTFromSizeT(strlen(str)); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/stringpiece.h:264: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). length_ = CheckedSsizeTFromSizeT(strlen(str)); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/strutil.cc:285: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). int delim_length = strlen(delim); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/strutil.cc:1254: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). memmove(target, buffer, strlen(buffer) + 1); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/strutil.h:636: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). : piece_data_(digits), piece_size_(strlen(FloatToBuffer(f, digits))) {} data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/strutil.h:638: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). : piece_data_(digits), piece_size_(strlen(DoubleToBuffer(f, digits))) {} data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/strutil.h:643: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). : piece_data_(c_str), piece_size_(strlen(c_str)) {} data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/strutil_unittest.cc:453: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). cypher_length = strlen(base64_tests[i].cyphertext); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/strutil_unittest.cc:581:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(websafe, base64_tests[i].cyphertext, cypher_length); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/strutil_unittest.cc:783: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). int plain_length = strlen(base64_strings[i].plaintext); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/strutil_unittest.cc:784: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). int cypher_length = strlen(base64_strings[i].cyphertext); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/substitute.h:90: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). : text_(value), size_(strlen(text_)) {} data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/substitute.h:107: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). : text_(FastInt32ToBuffer(value, scratch_)), size_(strlen(text_)) {} data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/substitute.h:109: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). : text_(FastUInt32ToBuffer(value, scratch_)), size_(strlen(text_)) {} data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/substitute.h: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). : text_(FastInt32ToBuffer(value, scratch_)), size_(strlen(text_)) {} data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/substitute.h:113: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). : text_(FastUInt32ToBuffer(value, scratch_)), size_(strlen(text_)) {} data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/substitute.h:115: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). : text_(FastLongToBuffer(value, scratch_)), size_(strlen(text_)) {} data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/substitute.h:117: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). : text_(FastULongToBuffer(value, scratch_)), size_(strlen(text_)) {} data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/substitute.h:119: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). : text_(FastInt64ToBuffer(value, scratch_)), size_(strlen(text_)) {} data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/substitute.h:121: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). : text_(FastUInt64ToBuffer(value, scratch_)), size_(strlen(text_)) {} data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/substitute.h:123: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). : text_(FloatToBuffer(value, scratch_)), size_(strlen(text_)) {} data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/substitute.h:125: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). : text_(DoubleToBuffer(value, scratch_)), size_(strlen(text_)) {} data/autofdo-0.19/third_party/protobuf/src/google/protobuf/stubs/substitute.h:127: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). : text_(value ? "true" : "false"), size_(strlen(text_)) {} data/autofdo-0.19/third_party/protobuf/src/google/protobuf/testing/zcgzip.cc:75:15: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). readlen = read(STDIN_FILENO, outptr, outlen); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/internal/json_stream_parser.cc:67: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). static const int true_len = strlen("true"); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/internal/json_stream_parser.cc:68: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). static const int false_len = strlen("false"); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/internal/json_stream_parser.cc:69: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). static const int null_len = strlen("null"); data/autofdo-0.19/third_party/protobuf/src/google/protobuf/util/json_util_test.cc:545: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). io::ArrayInputStream input_stream(json, strlen(json)); data/autofdo-0.19/third_party/protobuf/third_party/benchmark/src/benchmark.cc:489: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). if (has_repetitions) name_field_width += std::strlen("_stddev"); data/autofdo-0.19/third_party/protobuf/third_party/benchmark/src/sysinfo.cc:78:24: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ssize_t read_err = read(fd, line, sizeof(line) - 1); data/autofdo-0.19/third_party/protobuf/third_party/benchmark/src/sysinfo.cc:161: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). const size_t oldlinelen = strlen(line); data/autofdo-0.19/third_party/protobuf/third_party/benchmark/src/sysinfo.cc:169:30: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). const size_t linelen = strlen(line); data/autofdo-0.19/third_party/protobuf/third_party/benchmark/src/sysinfo.cc:172:20: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). chars_read = read(fd, line + linelen, bytes_to_read); data/autofdo-0.19/third_party/protobuf/third_party/googletest/googlemock/test/gmock-generated-matchers_test.cc:465: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). nested.push_back(list<char>(strings[i], strings[i] + strlen(strings[i]))); data/autofdo-0.19/third_party/protobuf/third_party/googletest/googlemock/test/gmock-matchers_test.cc:3957:59: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). int operator()(const char* s) { return static_cast<int>(strlen(s)); } data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/include/gtest/internal/gtest-port.h:2399:10: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). return strncpy(dest, src, n); data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/include/gtest/internal/gtest-port.h:2421:27: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). return static_cast<int>(read(fd, buf, count)); data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/samples/sample2.cc:42:22: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). const size_t len = strlen(a_c_string); data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/samples/sample2.h:77: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). return c_string_ == NULL ? 0 : strlen(c_string_); data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/src/gtest-port.cc:591:33: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). const size_t full_regex_len = strlen(regex) + 10; data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/src/gtest-port.cc:845:22: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). const size_t len = strlen(regex); data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/src/gtest-printers.cc:328:29: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). PrintCharsAsStringTo(s, strlen(s), os); data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/src/gtest-printers.cc:345:34: [1] (buffer) wcslen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). PrintCharsAsStringTo(s, std::wcslen(s), os); data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/src/gtest.cc:851:22: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). const int length = strlen(ansi); data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/src/gtest.cc:1817:34: [1] (buffer) wcslen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). num_chars = static_cast<int>(wcslen(str)); data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/src/gtest.cc:3611:32: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). segment = next_segment + strlen("]]>"); data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/src/gtest.cc:3777:18: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). result.reserve(strlen(str) + 1); data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/src/gtest.cc:5012:29: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). const size_t prefix_len = strlen(prefix); data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/src/gtest.cc:5408: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). else if (temp_dir[strlen(temp_dir) - 1] == '\\') data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/test/gtest-printers_test.cc:930: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. EXPECT_TRUE(std::equal(a, a + kSize, numbers.begin())); data/autofdo-0.19/third_party/protobuf/third_party/googletest/googletest/xcode/Samples/FrameworkSample/widget.cc:60:3: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(buffer, name_.c_str(), max_size-1); ANALYSIS SUMMARY: Hits = 2155 Lines analyzed = 972598 in approximately 22.87 seconds (42530 lines/second) Physical Source Lines of Code (SLOC) = 664414 Hits@level = [0] 606 [1] 663 [2] 964 [3] 117 [4] 409 [5] 2 Hits@level+ = [0+] 2761 [1+] 2155 [2+] 1492 [3+] 528 [4+] 411 [5+] 2 Hits/KSLOC@level+ = [0+] 4.15554 [1+] 3.24346 [2+] 2.24559 [3+] 0.794685 [4+] 0.61859 [5+] 0.00301017 Dot directories skipped = 2 (--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.