blob: a3a5ce6786f0e3214cae647b029de21f3d4a7e91 [file] [log] [blame]
// Copyright 2019 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 <map>
#include <string>
#include <vector>
#include "src/ledger/bin/storage/impl/clock_serialization.h"
extern "C" int LLVMFuzzerTestOneInput(const uint8_t* Data, size_t Size) {
std::string bytes(reinterpret_cast<const char*>(Data), Size);
storage::Clock clock;
if (storage::ExtractClockFromStorage(bytes, &clock)) {
return 0;
}
return 0;
}