blob: 34171914b05f40dc00ce2ceeca63239929b0f9a6 [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 <stddef.h>
#include <stdint.h>
#include <string>
#include <base/check_op.h>
#include "featured/service.h"
namespace featured {
extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) {
const std::string data_string(data, data + size);
JsonFeatureParser parser;
parser.ParseFileContents(data_string);
return 0;
}
} // namespace featured