blob: ca673f5a8d192ee12575d54c71fd2a38a69adfd8 [file] [log] [blame]
// Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chromecast/device/bluetooth/le/le_scan_result.h"
// Entry point for LibFuzzer.
extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) {
base::span<const uint8_t> adv_data(data, size);
chromecast::bluetooth::LeScanResult res;
res.SetAdvData(adv_data);
return 0;
}