blob: f645c6371e152de1aa6638ae17293bc2079723d0 [file] [log] [blame]
// Copyright 2021 The Fuchsia 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 "src/connectivity/bluetooth/core/bt-host/public/pw_bluetooth_sapphire/internal/host/common/log.h"
// Prevent "undefined symbol: __zircon_driver_rec__" error.
#ifdef PW_LOG_DECLARE_FAKE_DRIVER
PW_LOG_DECLARE_FAKE_DRIVER();
#endif
// Entry point for libFuzzer that switches logging to printf output with lower
// verbosity.
extern "C" int LLVMFuzzerInitialize(int* argc, char*** argv) {
bt::UsePrintf(bt::LogSeverity::ERROR);
return 0;
}