blob: daa3832710d4d682335ff35b3a0951c69f0b59a6 [file] [log] [blame]
// Copyright 2021 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 <cstddef>
#include <cstdint>
#include "mems_setup/delegate_impl.h"
extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) {
std::map<std::string, std::string> cache;
std::string fuzz_string(reinterpret_cast<const char*>(data), size);
mems_setup::LoadVpdFromString(fuzz_string, &cache);
return 0;
}