Protocol Buffers - Google's data interchange format (grpc依赖)
https://developers.google.com/protocol-buffers/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
511 B
16 lines
511 B
2 years ago
|
// Copyright 2022 Google LLC
|
||
|
//
|
||
|
// Use of this source code is governed by an MIT-style
|
||
|
// license that can be found in the LICENSE file or at
|
||
|
// https://opensource.org/licenses/MIT.
|
||
|
|
||
|
#include "utf8_validity.h"
|
||
|
|
||
|
extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
|
||
|
utf8_range::IsStructurallyValid(
|
||
|
absl::string_view(reinterpret_cast<const char *>(data), size));
|
||
|
utf8_range::SpanStructurallyValid(
|
||
|
absl::string_view(reinterpret_cast<const char *>(data), size));
|
||
|
return 0;
|
||
|
}
|