ble_scan_parser_impl_fuzzer.cc 430 B

12345678910111213
  1. // Copyright 2019 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. #include <stddef.h>
  5. #include <stdint.h>
  6. #include "services/data_decoder/ble_scan_parser_impl.h"
  7. extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) {
  8. data_decoder::BleScanParserImpl::ParseBleScan(base::make_span(data, size));
  9. return 0;
  10. }