blob: 9aabc03b8f4943886ab42c1800e6537e23ee690e [file] [log] [blame]
// Copyright 2019 The Chromium OS 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 <fuzzer/FuzzedDataProvider.h>
#include <stddef.h>
#include <stdint.h>
#include "bluetooth/newblued/util.h"
extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t dataSize) {
FuzzedDataProvider provider(data, dataSize);
auto tempString = provider.ConsumeRemainingBytesAsString();
bluetooth::TrimAdapterFromObjectPath(&tempString);
return 0;
}